decidim-initiatives 0.28.3 → 0.29.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/app/cells/decidim/initiatives/initiative_g_cell.rb +6 -4
- data/app/cells/decidim/initiatives_votes/vote_cell.rb +1 -3
- data/app/commands/decidim/initiatives/admin/create_initiative_type.rb +9 -58
- data/app/commands/decidim/initiatives/admin/create_initiative_type_scope.rb +5 -43
- data/app/commands/decidim/initiatives/admin/update_initiative.rb +25 -42
- data/app/commands/decidim/initiatives/admin/update_initiative_answer.rb +3 -4
- data/app/commands/decidim/initiatives/admin/update_initiative_type.rb +11 -61
- data/app/commands/decidim/initiatives/admin/update_initiative_type_scope.rb +2 -33
- data/app/commands/decidim/initiatives/admin/update_initiatives_settings.rb +2 -35
- data/app/commands/decidim/initiatives/create_initiative.rb +5 -6
- data/app/commands/decidim/initiatives/spawn_committee_request.rb +3 -4
- data/app/commands/decidim/initiatives/update_initiative.rb +3 -3
- data/app/commands/decidim/initiatives/validate_sms_code.rb +3 -3
- data/app/controllers/concerns/decidim/initiatives/needs_initiative.rb +1 -1
- data/app/controllers/decidim/initiatives/admin/answers_controller.rb +1 -1
- data/app/controllers/decidim/initiatives/admin/initiatives_controller.rb +7 -1
- data/app/controllers/decidim/initiatives/admin/initiatives_settings_controller.rb +1 -1
- data/app/controllers/decidim/initiatives/admin/initiatives_type_scopes_controller.rb +2 -2
- data/app/controllers/decidim/initiatives/admin/initiatives_types_controller.rb +2 -2
- data/app/controllers/decidim/initiatives/application_controller.rb +5 -2
- data/app/controllers/decidim/initiatives/committee_requests_controller.rb +1 -1
- data/app/controllers/decidim/initiatives/create_initiative_controller.rb +1 -1
- data/app/controllers/decidim/initiatives/initiatives_controller.rb +1 -1
- data/app/events/decidim/initiatives/approve_membership_request_event.rb +9 -29
- data/app/events/decidim/initiatives/create_initiative_event.rb +17 -36
- data/app/events/decidim/initiatives/revoke_membership_request_event.rb +10 -33
- data/app/events/decidim/initiatives/spawn_committee_request_event.rb +10 -33
- data/app/forms/decidim/initiatives/admin/initiative_form.rb +2 -2
- data/app/forms/decidim/initiatives/initiative_form.rb +11 -1
- data/app/forms/decidim/initiatives/vote_form.rb +2 -2
- data/app/helpers/decidim/initiatives/initiative_helper.rb +0 -74
- data/app/helpers/decidim/initiatives/initiatives_helper.rb +0 -7
- data/app/models/decidim/initiative.rb +1 -1
- data/app/packs/src/decidim/initiatives/admin/invite_users.js +1 -1
- data/app/serializers/decidim/initiatives/initiative_serializer.rb +1 -1
- data/app/views/decidim/initiatives/admin/answers/_info_initiative.html.erb +1 -1
- data/app/views/decidim/initiatives/admin/committee_requests/index.html.erb +1 -1
- data/app/views/decidim/initiatives/admin/exports/_dropdown.html.erb +6 -6
- data/app/views/decidim/initiatives/admin/initiatives/index.html.erb +74 -68
- data/app/views/decidim/initiatives/admin/initiatives_type_scopes/_form.html.erb +1 -1
- data/app/views/decidim/initiatives/admin/initiatives_types/_initiative_type_scopes.html.erb +1 -1
- data/app/views/decidim/initiatives/admin/initiatives_types/index.html.erb +1 -1
- data/app/views/decidim/initiatives/committee_requests/new.html.erb +3 -4
- data/app/views/decidim/initiatives/initiative_signatures/fill_personal_data.html.erb +1 -1
- data/app/views/decidim/initiatives/initiatives/_interactions.html.erb +1 -1
- data/app/views/decidim/initiatives/initiatives/_new_initiative_button.html.erb +1 -1
- data/app/views/decidim/initiatives/initiatives/_vote_button.html.erb +1 -1
- data/app/views/decidim/initiatives/initiatives/print.html.erb +2 -2
- data/app/views/decidim/initiatives/initiatives/show.html.erb +2 -3
- data/app/views/layouts/decidim/_initiative_header.html.erb +6 -6
- data/app/views/layouts/decidim/initiative.html.erb +2 -2
- data/app/views/layouts/decidim/initiative_head.html.erb +1 -1
- data/config/initializers/wicked_pdf.rb +5 -5
- data/config/locales/ar.yml +0 -1
- data/config/locales/bg.yml +1 -3
- data/config/locales/ca.yml +5 -2
- data/config/locales/cs.yml +4 -2
- data/config/locales/de.yml +6 -3
- data/config/locales/el.yml +0 -1
- data/config/locales/en.yml +6 -3
- data/config/locales/es-MX.yml +5 -2
- data/config/locales/es-PY.yml +5 -2
- data/config/locales/es.yml +5 -2
- data/config/locales/eu.yml +6 -3
- data/config/locales/fi-plain.yml +5 -2
- data/config/locales/fi.yml +6 -3
- data/config/locales/fr-CA.yml +1 -3
- data/config/locales/fr.yml +1 -3
- data/config/locales/gl.yml +0 -1
- data/config/locales/he-IL.yml +0 -6
- data/config/locales/hu.yml +0 -3
- data/config/locales/id-ID.yml +0 -1
- data/config/locales/it.yml +0 -1
- data/config/locales/ja.yml +6 -3
- data/config/locales/lt.yml +0 -3
- data/config/locales/lv.yml +0 -1
- data/config/locales/nl.yml +0 -1
- data/config/locales/no.yml +0 -1
- data/config/locales/pl.yml +5 -2
- data/config/locales/pt-BR.yml +0 -2
- data/config/locales/pt.yml +0 -1
- data/config/locales/ro-RO.yml +0 -1
- data/config/locales/ru.yml +0 -1
- data/config/locales/sk.yml +0 -1
- data/config/locales/sv.yml +14 -41
- data/config/locales/tr-TR.yml +0 -1
- data/config/locales/uk.yml +0 -1
- data/config/locales/zh-CN.yml +0 -1
- data/config/locales/zh-TW.yml +0 -3
- data/decidim-initiatives.gemspec +1 -1
- data/lib/decidim/api/initiative_api_type.rb +2 -2
- data/lib/decidim/initiatives/engine.rb +1 -0
- data/lib/decidim/initiatives/menu.rb +12 -1
- data/lib/decidim/initiatives/seeds.rb +89 -64
- data/lib/decidim/initiatives/version.rb +1 -1
- data/lib/decidim/initiatives.rb +0 -12
- data/lib/tasks/decidim_initiatives.rake +3 -3
- data/lib/tasks/initiatives/upgrade/decidim_initiatives_upgrade_tasks.rake +9 -11
- metadata +18 -20
- data/app/forms/decidim/initiatives/previous_form.rb +0 -24
- data/app/queries/decidim/initiatives/similar_initiatives.rb +0 -54
@@ -10,79 +10,85 @@
|
|
10
10
|
</h1>
|
11
11
|
</div>
|
12
12
|
<%= admin_filter_selector(:initiatives) %>
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
<
|
21
|
-
<th><%= sort_link(query, :created_at, t("models.initiatives.fields.created_at", scope: "decidim.admin"), default_order: :desc) %></th>
|
22
|
-
<th><%= sort_link(query, :published_at, t("models.initiatives.fields.published_at", scope: "decidim.admin"), default_order: :desc) %></th>
|
23
|
-
<th class="actions"><%= t ".actions_title" %></th>
|
24
|
-
</tr>
|
25
|
-
</thead>
|
26
|
-
<tbody>
|
27
|
-
<% @initiatives.each do |initiative| %>
|
13
|
+
|
14
|
+
<% if show_initiative_type_callout? %>
|
15
|
+
<% link = link_to(t("button", scope:"decidim.initiatives.admin.index.initiatives_types"), new_initiatives_type_path, class: "button button__sm button__secondary mt-4") %>
|
16
|
+
<%= cell("decidim/announcement", t("alert_html", scope:"decidim.initiatives.admin.index.initiatives_types", link:), callout_class: "alert") %>
|
17
|
+
<% else %>
|
18
|
+
<div class="table-scroll">
|
19
|
+
<table class="table-list">
|
20
|
+
<thead>
|
28
21
|
<tr>
|
29
|
-
<
|
30
|
-
<
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
<
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
22
|
+
<th><%= t("models.initiatives.fields.id", scope: "decidim.admin") %></th>
|
23
|
+
<th class="!text-left"><%= t("models.initiatives.fields.title", scope: "decidim.admin") %></th>
|
24
|
+
<th><%= t("models.initiatives.fields.state", scope: "decidim.admin") %></th>
|
25
|
+
<th><%= sort_link(query, :supports_count, t("models.initiatives.fields.supports_count", scope: "decidim.admin"), default_order: :desc) %></th>
|
26
|
+
<th><%= sort_link(query, :created_at, t("models.initiatives.fields.created_at", scope: "decidim.admin"), default_order: :desc) %></th>
|
27
|
+
<th><%= sort_link(query, :published_at, t("models.initiatives.fields.published_at", scope: "decidim.admin"), default_order: :desc) %></th>
|
28
|
+
<th><%= t ".actions_title" %></th>
|
29
|
+
</tr>
|
30
|
+
</thead>
|
31
|
+
<tbody>
|
32
|
+
<% @initiatives.each do |initiative| %>
|
33
|
+
<tr>
|
34
|
+
<td><%= initiative.id %></td>
|
35
|
+
<td class="!text-left">
|
36
|
+
<% if allowed_to? :edit, :initiative, initiative: initiative %>
|
37
|
+
<%= link_to translated_attribute(initiative.title),
|
38
|
+
decidim_admin_initiatives.edit_initiative_path(initiative.to_param) %>
|
39
|
+
<% else %>
|
40
|
+
<%= translated_attribute(initiative.title) %>
|
41
|
+
<% end %>
|
42
|
+
</td>
|
43
|
+
<td><%= humanize_admin_state initiative.state %></td>
|
44
|
+
<td><%= initiative.supports_count %>/<%= initiative.scoped_type.supports_required %></td>
|
45
|
+
<td class="table-list__date"><%= l initiative.created_at, format: :short %></td>
|
46
|
+
<td class="table-list__date"><%= initiative.published_at? ? l(initiative.published_at, format: :short) : "" %></td>
|
47
|
+
<td class="table-list__actions">
|
48
|
+
<% if allowed_to? :edit, :initiative, initiative: initiative %>
|
49
|
+
<%= icon_link_to "pencil-line",
|
50
|
+
decidim_admin_initiatives.edit_initiative_path(initiative.to_param),
|
51
|
+
t("actions.configure", scope: "decidim.admin"),
|
52
|
+
class: "action-icon--edit" %>
|
53
|
+
<% else %>
|
54
|
+
<span class="action-space icon"></span>
|
55
|
+
<% end %>
|
51
56
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
+
<% if allowed_to?(:answer, :initiative, initiative: initiative) %>
|
58
|
+
<%= icon_link_to "chat-1-line", edit_initiative_answer_path(initiative.slug), t("actions.answer", scope: "decidim.initiatives"), class: "action-icon action-icon--answer" %>
|
59
|
+
<% else %>
|
60
|
+
<%= icon "chat-1-line", scope: "decidim.admin", class: "action-icon action-icon--disabled", role: "img", "aria-hidden": true %>
|
61
|
+
<% end %>
|
57
62
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
63
|
+
<% if allowed_to? :read, :initiative, initiative: initiative %>
|
64
|
+
<%= icon_link_to "printer-line",
|
65
|
+
decidim_initiatives.print_initiative_path(initiative),
|
66
|
+
t(".print"),
|
67
|
+
class: "action-icon--print",
|
68
|
+
target: "_blank",
|
69
|
+
data: { "external-link": false } %>
|
70
|
+
<% else %>
|
71
|
+
<span class="action-space icon"></span>
|
72
|
+
<% end %>
|
68
73
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
74
|
+
<% if allowed_to? :preview, :initiative, initiative: initiative %>
|
75
|
+
<%= icon_link_to "eye-line",
|
76
|
+
decidim_initiatives.initiative_path(initiative.to_param),
|
77
|
+
t(".preview"),
|
78
|
+
class: "action-icon--preview",
|
79
|
+
target: "_blank",
|
80
|
+
data: { "external-link": false } %>
|
81
|
+
<% else %>
|
82
|
+
<span class="action-space icon"></span>
|
83
|
+
<% end %>
|
79
84
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
85
|
+
<%= free_resource_permissions_link(initiative) || content_tag(:span, nil, class: "action-space icon") %>
|
86
|
+
</td>
|
87
|
+
</tr>
|
88
|
+
<% end %>
|
89
|
+
</tbody>
|
90
|
+
</table>
|
91
|
+
<% end %>
|
86
92
|
</div>
|
87
93
|
</div>
|
88
94
|
<%= decidim_paginate @initiatives %>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="card pt-4">
|
3
3
|
<div class="card-section">
|
4
4
|
<div class="row column">
|
5
|
-
<%= scopes_select_field form, :decidim_scopes_id, root: nil %>
|
5
|
+
<%= scopes_select_field form, :decidim_scopes_id, root: nil, options: { include_blank: t("decidim.scopes.global") } %>
|
6
6
|
</div>
|
7
7
|
<div class="row column">
|
8
8
|
<%= form.number_field :supports_required, min: 1, step: 1 %>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<tr>
|
16
16
|
<th><%= t("models.initiatives_types.fields.title", scope: "decidim.admin") %></th>
|
17
17
|
<th><%= t("models.initiatives_types.fields.created_at", scope: "decidim.admin") %></th>
|
18
|
-
<th
|
18
|
+
<th><%= t("initiatives_type.actions.title", scope: "decidim.resources") %></th>
|
19
19
|
</tr>
|
20
20
|
</thead>
|
21
21
|
<tbody>
|
@@ -1,13 +1,12 @@
|
|
1
1
|
<% add_decidim_meta_tags({
|
2
|
-
image_url: current_initiative.type.attached_uploader(:banner_image).
|
2
|
+
image_url: current_initiative.type.attached_uploader(:banner_image).path,
|
3
3
|
description: translated_attribute(current_initiative.description),
|
4
4
|
title: translated_attribute(current_initiative.title),
|
5
|
-
url: initiative_url(current_initiative.id)
|
6
|
-
twitter_handler: current_organization.twitter_handler
|
5
|
+
url: initiative_url(current_initiative.id)
|
7
6
|
}) %>
|
8
7
|
|
9
8
|
<% add_decidim_page_title(translated_attribute(current_initiative.title)) %>
|
10
|
-
<% provide :meta_image_url, current_initiative.type.attached_uploader(:banner_image).
|
9
|
+
<% provide :meta_image_url, current_initiative.type.attached_uploader(:banner_image).path %>
|
11
10
|
|
12
11
|
<%= render layout: "layouts/decidim/shared/layout_center" do %>
|
13
12
|
<div class="text-center py-10">
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div class="row collapse
|
1
|
+
<div class="row collapse">
|
2
2
|
<div class="column collapse">
|
3
3
|
<%= link_to "#comments", class: "button small compact hollow button--nomargin expanded" do %>
|
4
4
|
<%= icon "chat-1-line", class: "icon--small", role: "img", "aria-hidden": true %>
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<% end %>
|
19
19
|
<% else %>
|
20
20
|
<% content_for(:redirect_after_login) { create_initiative_url(:select_initiative_type) } %>
|
21
|
-
<button type="button" class="
|
21
|
+
<button type="button" class="button button__xl button__secondary w-full" data-dialog-open="loginModal" aria-controls="loginModal" aria-haspopup="dialog" tabindex="0">
|
22
22
|
<%= t("new_initiative", scope: "decidim.initiatives.initiatives.index_header") %>
|
23
23
|
<%= icon "add-fill" %>
|
24
24
|
</button>
|
@@ -28,7 +28,7 @@
|
|
28
28
|
<%= unvote_label %>
|
29
29
|
<% end %>
|
30
30
|
<% else %>
|
31
|
-
<button class='button button__xl w-full button__secondary success
|
31
|
+
<button class='button button__xl w-full button__secondary success' disabled>
|
32
32
|
<%= icon "check-line" %>
|
33
33
|
<%= unvote_label %>
|
34
34
|
</button>
|
@@ -2,10 +2,10 @@
|
|
2
2
|
<div class="pt-10">
|
3
3
|
<div class="initiative-letterhead">
|
4
4
|
<% if current_organization.logo.present? %>
|
5
|
-
<%= image_tag current_organization.attached_uploader(:logo).
|
5
|
+
<%= image_tag current_organization.attached_uploader(:logo).path(variant: :medium), title: current_organization_name %>
|
6
6
|
<% end %>
|
7
7
|
|
8
|
-
<%=
|
8
|
+
<%= current_organization_name %>
|
9
9
|
</div>
|
10
10
|
<h3 class="print-section-title"><%= t "section", scope: "decidim.initiatives.initiatives.print" %></h3>
|
11
11
|
<div class="initiative-print-title">
|
@@ -1,9 +1,8 @@
|
|
1
1
|
<% add_decidim_meta_tags({
|
2
|
-
image_url: current_initiative.type.attached_uploader(:banner_image).
|
2
|
+
image_url: current_initiative.type.attached_uploader(:banner_image).path,
|
3
3
|
description: translated_attribute(current_initiative.description),
|
4
4
|
title: translated_attribute(current_initiative.title),
|
5
|
-
url: initiative_url(current_initiative.id)
|
6
|
-
twitter_handler: current_organization.twitter_handler
|
5
|
+
url: initiative_url(current_initiative.id)
|
7
6
|
}) %>
|
8
7
|
|
9
8
|
<%
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<div class="process-header">
|
2
|
-
<div
|
3
|
-
<div class="row column
|
4
|
-
style="background-image:url('<%= current_participatory_space.type.attached_uploader(:banner_image).
|
2
|
+
<div>
|
3
|
+
<div class="row column"
|
4
|
+
style="background-image:url('<%= current_participatory_space.type.attached_uploader(:banner_image).path %>');">
|
5
5
|
</div>
|
6
|
-
<div class="
|
7
|
-
<div class="columns
|
6
|
+
<div class="row collapse column">
|
7
|
+
<div class="columns">
|
8
8
|
<div>
|
9
9
|
<h1>
|
10
10
|
<%= participatory_space_helpers.translated_attribute(current_participatory_space.title) %>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
<div>
|
14
14
|
<p>
|
15
15
|
<% if current_participatory_space.hashtag.present? %>
|
16
|
-
<span
|
16
|
+
<span>
|
17
17
|
<%= link_to "##{current_participatory_space.hashtag}", twitter_hashtag_url(current_participatory_space.hashtag), target: "_blank" %>
|
18
18
|
</span>
|
19
19
|
<% end %>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<%= append_javascript_pack_tag "decidim_initiatives" %>
|
2
2
|
<%= append_stylesheet_pack_tag "decidim_initiatives", media: "all" %>
|
3
3
|
|
4
|
-
<% provide :meta_image_url, current_participatory_space.type.attached_uploader(:banner_image).
|
4
|
+
<% provide :meta_image_url, current_participatory_space.type.attached_uploader(:banner_image).path %>
|
5
5
|
|
6
6
|
<%= render "layouts/decidim/application" do %>
|
7
7
|
<%= render layout: "layouts/decidim/shared/layout_center" do %>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
</main>
|
11
11
|
<% if content_for? :expanded %>
|
12
12
|
<div class="expanded">
|
13
|
-
<div class="wrapper
|
13
|
+
<div class="wrapper">
|
14
14
|
<div class="row">
|
15
15
|
<%= yield :expanded %>
|
16
16
|
</div>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<%= append_javascript_pack_tag "decidim_initiatives" %>
|
2
2
|
<%= append_stylesheet_pack_tag "decidim_initiatives", media: "all" %>
|
3
3
|
|
4
|
-
<% provide :meta_image_url, current_initiative.type.attached_uploader(:banner_image).
|
4
|
+
<% provide :meta_image_url, current_initiative.type.attached_uploader(:banner_image).path %>
|
5
5
|
|
6
6
|
<%= render partial: "layouts/decidim/header/follow_space_menu_bar_button", locals: { participatory_space: current_participatory_space } %>
|
7
7
|
|
@@ -10,14 +10,14 @@
|
|
10
10
|
#
|
11
11
|
# https://github.com/mileszs/wicked_pdf/blob/master/README.md
|
12
12
|
|
13
|
-
WickedPdf.
|
13
|
+
WickedPdf.configure do |config|
|
14
14
|
# Path to the wkhtmltopdf executable: This usually is not needed if using
|
15
15
|
# one of the wkhtmltopdf-binary family of gems.
|
16
|
-
# exe_path: '/usr/local/bin/wkhtmltopdf',
|
17
16
|
# or
|
18
|
-
exe_path
|
17
|
+
# config.exe_path = '/usr/local/bin/wkhtmltopdf',
|
18
|
+
config.exe_path = Gem.bin_path("wkhtmltopdf-binary", "wkhtmltopdf")
|
19
19
|
|
20
20
|
# Layout file to be used for all PDFs
|
21
21
|
# (but can be overridden in `render :pdf` calls)
|
22
|
-
# layout
|
23
|
-
|
22
|
+
# config.layout = 'pdf.html'
|
23
|
+
end
|
data/config/locales/ar.yml
CHANGED
data/config/locales/bg.yml
CHANGED
@@ -101,7 +101,7 @@ bg:
|
|
101
101
|
title_or_description_or_id_string_or_author_name_or_author_nickname_cont: Търсете в %{collection} по заглавие, описание, идент. № или име на автора.
|
102
102
|
initiatives_settings:
|
103
103
|
update:
|
104
|
-
error: Възникна
|
104
|
+
error: Възникна грешка.
|
105
105
|
success: Настройките на инициативите са актуализирани успешно.
|
106
106
|
menu:
|
107
107
|
attachments: Прикачени файлове
|
@@ -292,7 +292,6 @@ bg:
|
|
292
292
|
initiatives_types:
|
293
293
|
create:
|
294
294
|
error: Възникна грешка.
|
295
|
-
success: Успешно е създаден нов тип инициатива.
|
296
295
|
destroy:
|
297
296
|
success: Типът инициатива беше премахнат успешно.
|
298
297
|
edit:
|
@@ -540,7 +539,6 @@ bg:
|
|
540
539
|
other: " подписи"
|
541
540
|
vote_cabin:
|
542
541
|
already_voted: Вече подписани
|
543
|
-
supports_required: "Необходими са %{total_supports} подписа"
|
544
542
|
verification_required: Потвърдете профила си, за да подпишете инициативата
|
545
543
|
vote: Подписване
|
546
544
|
votes_blocked: Подписването е деактивирано
|
data/config/locales/ca.yml
CHANGED
@@ -237,6 +237,10 @@ ca:
|
|
237
237
|
most_recent: Més recents
|
238
238
|
exports:
|
239
239
|
initiatives: Iniciatives
|
240
|
+
index:
|
241
|
+
initiatives_types:
|
242
|
+
alert_html: "<p>Has de crear com a mínim un tipus d'iniciativa per tal que les participants puguin començar a crear les seves iniciatives.</p><p>%{link}</p>"
|
243
|
+
button: Nou tipus d'iniciativa
|
240
244
|
initiatives:
|
241
245
|
edit:
|
242
246
|
accept: Accepta la iniciativa
|
@@ -292,7 +296,7 @@ ca:
|
|
292
296
|
initiatives_types:
|
293
297
|
create:
|
294
298
|
error: S'ha produït un error.
|
295
|
-
success: S'ha creat
|
299
|
+
success: S'ha creat amb èxit un nou tipus d'iniciativa. Has de definir com a mínim un àmbit per aquest tipus d'iniciativa perquè es pugui fer servir.
|
296
300
|
destroy:
|
297
301
|
success: S'ha eliminat correctament el tipus d'iniciativa.
|
298
302
|
edit:
|
@@ -540,7 +544,6 @@ ca:
|
|
540
544
|
other: " signatures"
|
541
545
|
vote_cabin:
|
542
546
|
already_voted: Ja has signat
|
543
|
-
supports_required: "Es requereixen %{total_supports} signatures"
|
544
547
|
verification_required: Verifica el teu compte per a signar la iniciativa
|
545
548
|
vote: Signar
|
546
549
|
votes_blocked: S'ha desactivat la signatura
|
data/config/locales/cs.yml
CHANGED
@@ -243,6 +243,9 @@ cs:
|
|
243
243
|
most_recent: Nejnovější
|
244
244
|
exports:
|
245
245
|
initiatives: Iniciativy
|
246
|
+
index:
|
247
|
+
initiatives_types:
|
248
|
+
button: Nový typ iniciativy
|
246
249
|
initiatives:
|
247
250
|
edit:
|
248
251
|
accept: Přijmout iniciativu
|
@@ -298,7 +301,7 @@ cs:
|
|
298
301
|
initiatives_types:
|
299
302
|
create:
|
300
303
|
error: Došlo k chybě.
|
301
|
-
success:
|
304
|
+
success: Byl úspěšně vytvořen nový typ iniciativy. Musíte definovat alespoň jeden rozsah pro tento typ iniciativy, aby mohl být použit.
|
302
305
|
destroy:
|
303
306
|
success: Druh iniciativy byl úspěšně odstraněn.
|
304
307
|
edit:
|
@@ -554,7 +557,6 @@ cs:
|
|
554
557
|
other: " podpisy"
|
555
558
|
vote_cabin:
|
556
559
|
already_voted: Již jste podepsal
|
557
|
-
supports_required: "Vyžaduje %{total_supports} podpisů"
|
558
560
|
verification_required: Ověřte svůj účet, abyste podepsali iniciativu
|
559
561
|
vote: Podepsat
|
560
562
|
votes_blocked: Podpis zakázán
|
data/config/locales/de.yml
CHANGED
@@ -101,7 +101,7 @@ de:
|
|
101
101
|
title_or_description_or_id_string_or_author_name_or_author_nickname_cont: Suche in %{collection} nach Titel, Beschreibung, ID oder Autoren.
|
102
102
|
initiatives_settings:
|
103
103
|
update:
|
104
|
-
error:
|
104
|
+
error: Es ist ein Fehler aufgetreten.
|
105
105
|
success: Die Einstellungen für Initiativen wurden erfolgreich aktualisiert.
|
106
106
|
menu:
|
107
107
|
attachments: Anhänge
|
@@ -237,6 +237,10 @@ de:
|
|
237
237
|
most_recent: Neueste zuerst
|
238
238
|
exports:
|
239
239
|
initiatives: Initiativen
|
240
|
+
index:
|
241
|
+
initiatives_types:
|
242
|
+
alert_html: "<p>Sie müssen mindestens einen Initiativentyp erstellen, damit die Teilnehmenden Initiativen erstellen können.</p><p> %{link}</p>"
|
243
|
+
button: Neuer Initiativentyp
|
240
244
|
initiatives:
|
241
245
|
edit:
|
242
246
|
accept: Initiative akzeptieren
|
@@ -292,7 +296,7 @@ de:
|
|
292
296
|
initiatives_types:
|
293
297
|
create:
|
294
298
|
error: Ein Fehler ist aufgetreten.
|
295
|
-
success: Ein neuer Initiativentyp wurde erfolgreich erstellt.
|
299
|
+
success: Ein neuer Initiativentyp wurde erfolgreich erstellt. Sie müssen mindestens einen Bereich für diese Initiative festlegen, damit er genutzt werden kann.
|
296
300
|
destroy:
|
297
301
|
success: Der Initiativentyp wurde erfolgreich entfernt.
|
298
302
|
edit:
|
@@ -540,7 +544,6 @@ de:
|
|
540
544
|
other: " Signaturen"
|
541
545
|
vote_cabin:
|
542
546
|
already_voted: Schon unterschrieben
|
543
|
-
supports_required: "%{total_supports} Signaturen erforderlich"
|
544
547
|
verification_required: Bestätigen Sie Ihr Konto, um die Initiative zu unterzeichnen
|
545
548
|
vote: Signieren
|
546
549
|
votes_blocked: Die Anmeldung ist deaktiviert
|
data/config/locales/el.yml
CHANGED
@@ -331,7 +331,6 @@ el:
|
|
331
331
|
other: "υπογραφές"
|
332
332
|
vote_cabin:
|
333
333
|
already_voted: Έχει ήδη υπογραφεί
|
334
|
-
supports_required: "Απαιτούνται %{total_supports} υπογραφές"
|
335
334
|
verification_required: Επαληθεύστε τον λογαριασμό σας για να υπογράψετε την πρωτοβουλία
|
336
335
|
vote: Υπογραφή
|
337
336
|
votes_blocked: Η υπογραφή απενεργοποιήθηκε
|
data/config/locales/en.yml
CHANGED
@@ -101,7 +101,7 @@ en:
|
|
101
101
|
title_or_description_or_id_string_or_author_name_or_author_nickname_cont: Search %{collection} by title, description, ID or author name.
|
102
102
|
initiatives_settings:
|
103
103
|
update:
|
104
|
-
error: An error has
|
104
|
+
error: An error has occurred.
|
105
105
|
success: The initiatives settings have been successfully updated.
|
106
106
|
menu:
|
107
107
|
attachments: Attachments
|
@@ -237,6 +237,10 @@ en:
|
|
237
237
|
most_recent: Most recent
|
238
238
|
exports:
|
239
239
|
initiatives: Initiatives
|
240
|
+
index:
|
241
|
+
initiatives_types:
|
242
|
+
alert_html: "<p>You must create at least one initiative type so participants can start creating initiatives.</p><p> %{link}</p>"
|
243
|
+
button: New initiative type
|
240
244
|
initiatives:
|
241
245
|
edit:
|
242
246
|
accept: Accept initiative
|
@@ -292,7 +296,7 @@ en:
|
|
292
296
|
initiatives_types:
|
293
297
|
create:
|
294
298
|
error: An error has occurred.
|
295
|
-
success: A new initiative type has been successfully created.
|
299
|
+
success: A new initiative type has been successfully created. You need to define at least one scope for this initiative type so it can be used.
|
296
300
|
destroy:
|
297
301
|
success: The initiative type has been successfully removed.
|
298
302
|
edit:
|
@@ -540,7 +544,6 @@ en:
|
|
540
544
|
other: " signatures"
|
541
545
|
vote_cabin:
|
542
546
|
already_voted: Already signed
|
543
|
-
supports_required: "%{total_supports} signatures required"
|
544
547
|
verification_required: Verify your account to sign the initiative
|
545
548
|
vote: Sign
|
546
549
|
votes_blocked: Signing disabled
|
data/config/locales/es-MX.yml
CHANGED
@@ -237,6 +237,10 @@ es-MX:
|
|
237
237
|
most_recent: Más recientes
|
238
238
|
exports:
|
239
239
|
initiatives: Iniciativas
|
240
|
+
index:
|
241
|
+
initiatives_types:
|
242
|
+
alert_html: "<p>Tienes que crear por lo menos un tipo de iniciativa para que las participantes puedan empezar a crear sus iniciativas.</p><p>%{link}</p>"
|
243
|
+
button: Nuevo tipo de iniciativa
|
240
244
|
initiatives:
|
241
245
|
edit:
|
242
246
|
accept: Aceptar iniciativa
|
@@ -292,7 +296,7 @@ es-MX:
|
|
292
296
|
initiatives_types:
|
293
297
|
create:
|
294
298
|
error: Se ha producido un error.
|
295
|
-
success:
|
299
|
+
success: Un nuevo tipo de iniciativa ha sido creado con éxito. Necesitas definir al menos un ámbito para este tipo de iniciativa para que se pueda utilizar.
|
296
300
|
destroy:
|
297
301
|
success: El tipo de iniciativa se ha eliminado correctamente.
|
298
302
|
edit:
|
@@ -540,7 +544,6 @@ es-MX:
|
|
540
544
|
other: " firmas"
|
541
545
|
vote_cabin:
|
542
546
|
already_voted: Ha sido firmado
|
543
|
-
supports_required: "Se requieren %{total_supports} firmas"
|
544
547
|
verification_required: Verifica tu cuenta para firmar la iniciativa.
|
545
548
|
vote: Firmar
|
546
549
|
votes_blocked: Firma desactivada
|
data/config/locales/es-PY.yml
CHANGED
@@ -237,6 +237,10 @@ es-PY:
|
|
237
237
|
most_recent: Más recientes
|
238
238
|
exports:
|
239
239
|
initiatives: Iniciativas
|
240
|
+
index:
|
241
|
+
initiatives_types:
|
242
|
+
alert_html: "<p>Tienes que crear por lo menos un tipo de iniciativa para que las participantes puedan empezar a crear sus iniciativas.</p><p>%{link}</p>"
|
243
|
+
button: Nuevo tipo de iniciativa
|
240
244
|
initiatives:
|
241
245
|
edit:
|
242
246
|
accept: Aceptar iniciativa
|
@@ -292,7 +296,7 @@ es-PY:
|
|
292
296
|
initiatives_types:
|
293
297
|
create:
|
294
298
|
error: Se ha producido un error.
|
295
|
-
success:
|
299
|
+
success: Un nuevo tipo de iniciativa ha sido creado con éxito. Necesitas definir al menos un ámbito para este tipo de iniciativa para que se pueda utilizar.
|
296
300
|
destroy:
|
297
301
|
success: El tipo de iniciativa se ha eliminado correctamente.
|
298
302
|
edit:
|
@@ -540,7 +544,6 @@ es-PY:
|
|
540
544
|
other: " firmas"
|
541
545
|
vote_cabin:
|
542
546
|
already_voted: Ha sido firmado
|
543
|
-
supports_required: "Se requieren %{total_supports} firmas"
|
544
547
|
verification_required: Verifica tu cuenta para firmar la iniciativa.
|
545
548
|
vote: Firmar
|
546
549
|
votes_blocked: Firma desactivada
|
data/config/locales/es.yml
CHANGED
@@ -237,6 +237,10 @@ es:
|
|
237
237
|
most_recent: Más recientes
|
238
238
|
exports:
|
239
239
|
initiatives: Iniciativas
|
240
|
+
index:
|
241
|
+
initiatives_types:
|
242
|
+
alert_html: "<p>Tienes que crear por lo menos un tipo de iniciativa para que las participantes puedan empezar a crear sus iniciativas.</p><p>%{link}</p>"
|
243
|
+
button: Nuevo tipo de iniciativa
|
240
244
|
initiatives:
|
241
245
|
edit:
|
242
246
|
accept: Aceptar iniciativa
|
@@ -292,7 +296,7 @@ es:
|
|
292
296
|
initiatives_types:
|
293
297
|
create:
|
294
298
|
error: Se ha producido un error.
|
295
|
-
success:
|
299
|
+
success: Un nuevo tipo de iniciativa ha sido creado con éxito. Necesitas definir al menos un ámbito para este tipo de iniciativa para que se pueda utilizar.
|
296
300
|
destroy:
|
297
301
|
success: El tipo de iniciativa se ha eliminado correctamente.
|
298
302
|
edit:
|
@@ -540,7 +544,6 @@ es:
|
|
540
544
|
other: " firmas"
|
541
545
|
vote_cabin:
|
542
546
|
already_voted: Ya has firmado
|
543
|
-
supports_required: "Se requieren %{total_supports} firmas"
|
544
547
|
verification_required: Verifica tu cuenta para firmar la iniciativa
|
545
548
|
vote: Firmar
|
546
549
|
votes_blocked: Se ha desactivado la firma
|