decidim-initiatives 0.28.4 → 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/approve_membership_request.rb +1 -1
- data/app/commands/decidim/initiatives/create_initiative.rb +5 -6
- data/app/commands/decidim/initiatives/revoke_membership_request.rb +1 -1
- data/app/commands/decidim/initiatives/spawn_committee_request.rb +4 -5
- 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 -6
- 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 -2
- 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 +6 -13
- data/config/locales/cs.yml +4 -12
- data/config/locales/de.yml +6 -13
- data/config/locales/el.yml +0 -1
- data/config/locales/en.yml +6 -13
- data/config/locales/es-MX.yml +5 -12
- data/config/locales/es-PY.yml +5 -12
- data/config/locales/es.yml +5 -12
- data/config/locales/eu.yml +7 -14
- data/config/locales/fi-plain.yml +5 -12
- data/config/locales/fi.yml +11 -18
- 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 +8 -15
- 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 -15
- data/config/locales/pt.yml +0 -1
- data/config/locales/ro-RO.yml +0 -11
- data/config/locales/ru.yml +0 -1
- data/config/locales/sk.yml +0 -1
- data/config/locales/sv.yml +69 -194
- 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
@@ -113,7 +113,7 @@ ca:
|
|
113
113
|
see_initiative: Veure la iniciativa
|
114
114
|
initiatives_settings: Configuració
|
115
115
|
initiatives_submenu:
|
116
|
-
info:
|
116
|
+
info: Sobre aquesta iniciativa
|
117
117
|
initiatives_types: Tipus d'iniciatives
|
118
118
|
moderations: Moderacions
|
119
119
|
models:
|
@@ -237,11 +237,11 @@ 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
|
-
accept:
|
242
|
-
success: La iniciativa s'ha acceptat correctament.
|
243
|
-
discard:
|
244
|
-
success: La iniciativa s'ha descartat correctament.
|
245
245
|
edit:
|
246
246
|
accept: Accepta la iniciativa
|
247
247
|
confirm: Segur?
|
@@ -265,12 +265,6 @@ ca:
|
|
265
265
|
edit: Edita
|
266
266
|
new: Nou
|
267
267
|
photos: Fotografies
|
268
|
-
publish:
|
269
|
-
success: La iniciativa s'ha publicat correctament.
|
270
|
-
reject:
|
271
|
-
success: La iniciativa s'ha rebutjat correctament.
|
272
|
-
unpublish:
|
273
|
-
success: La iniciativa s'ha despublicat correctament.
|
274
268
|
update:
|
275
269
|
error: S'ha produït un error.
|
276
270
|
success: La iniciativa s'ha actualitzat correctament.
|
@@ -302,7 +296,7 @@ ca:
|
|
302
296
|
initiatives_types:
|
303
297
|
create:
|
304
298
|
error: S'ha produït un error.
|
305
|
-
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.
|
306
300
|
destroy:
|
307
301
|
success: S'ha eliminat correctament el tipus d'iniciativa.
|
308
302
|
edit:
|
@@ -550,7 +544,6 @@ ca:
|
|
550
544
|
other: " signatures"
|
551
545
|
vote_cabin:
|
552
546
|
already_voted: Ja has signat
|
553
|
-
supports_required: "Es requereixen %{total_supports} signatures"
|
554
547
|
verification_required: Verifica el teu compte per a signar la iniciativa
|
555
548
|
vote: Signar
|
556
549
|
votes_blocked: S'ha desactivat la signatura
|
data/config/locales/cs.yml
CHANGED
@@ -243,11 +243,10 @@ 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
|
-
accept:
|
248
|
-
success: Iniciativa byla úspěšně přijata.
|
249
|
-
discard:
|
250
|
-
success: Iniciativa byla úspěšně zrušena.
|
251
250
|
edit:
|
252
251
|
accept: Přijmout iniciativu
|
253
252
|
confirm: Jste si jisti?
|
@@ -271,12 +270,6 @@ cs:
|
|
271
270
|
edit: Upravit
|
272
271
|
new: Nový
|
273
272
|
photos: Fotky
|
274
|
-
publish:
|
275
|
-
success: Iniciativa byla úspěšně publikována.
|
276
|
-
reject:
|
277
|
-
success: Iniciativa byla úspěšně zamítnuta.
|
278
|
-
unpublish:
|
279
|
-
success: Iniciativa byla úspěšně zneveřejněna.
|
280
273
|
update:
|
281
274
|
error: Došlo k chybě.
|
282
275
|
success: Tato iniciativa byla úspěšně aktualizována.
|
@@ -308,7 +301,7 @@ cs:
|
|
308
301
|
initiatives_types:
|
309
302
|
create:
|
310
303
|
error: Došlo k chybě.
|
311
|
-
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.
|
312
305
|
destroy:
|
313
306
|
success: Druh iniciativy byl úspěšně odstraněn.
|
314
307
|
edit:
|
@@ -564,7 +557,6 @@ cs:
|
|
564
557
|
other: " podpisy"
|
565
558
|
vote_cabin:
|
566
559
|
already_voted: Již jste podepsal
|
567
|
-
supports_required: "Vyžaduje %{total_supports} podpisů"
|
568
560
|
verification_required: Ověřte svůj účet, abyste podepsali iniciativu
|
569
561
|
vote: Podepsat
|
570
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,11 +237,11 @@ 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
|
-
accept:
|
242
|
-
success: Die Initiative wurde erfolgreich akzeptiert.
|
243
|
-
discard:
|
244
|
-
success: Die Initiative wurde erfolgreich gelöscht.
|
245
245
|
edit:
|
246
246
|
accept: Initiative akzeptieren
|
247
247
|
confirm: Sind Sie sich sicher?
|
@@ -265,12 +265,6 @@ de:
|
|
265
265
|
edit: Bearbeiten
|
266
266
|
new: Neu
|
267
267
|
photos: Fotos
|
268
|
-
publish:
|
269
|
-
success: Die Initiative wurde erfolgreich veröffentlicht.
|
270
|
-
reject:
|
271
|
-
success: Die Initiative wurde erfolgreich zurückgewiesen.
|
272
|
-
unpublish:
|
273
|
-
success: Die Veröffentlichung der Initiative wurde erfolgreich zurückgezogen.
|
274
268
|
update:
|
275
269
|
error: Ein Fehler ist aufgetreten.
|
276
270
|
success: Die Initiative wurde erfolgreich aktualisiert.
|
@@ -302,7 +296,7 @@ de:
|
|
302
296
|
initiatives_types:
|
303
297
|
create:
|
304
298
|
error: Ein Fehler ist aufgetreten.
|
305
|
-
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.
|
306
300
|
destroy:
|
307
301
|
success: Der Initiativentyp wurde erfolgreich entfernt.
|
308
302
|
edit:
|
@@ -550,7 +544,6 @@ de:
|
|
550
544
|
other: " Signaturen"
|
551
545
|
vote_cabin:
|
552
546
|
already_voted: Schon unterschrieben
|
553
|
-
supports_required: "%{total_supports} Signaturen erforderlich"
|
554
547
|
verification_required: Bestätigen Sie Ihr Konto, um die Initiative zu unterzeichnen
|
555
548
|
vote: Signieren
|
556
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,11 +237,11 @@ 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
|
-
accept:
|
242
|
-
success: The initiative has been successfully accepted.
|
243
|
-
discard:
|
244
|
-
success: The initiative has been successfully discarded.
|
245
245
|
edit:
|
246
246
|
accept: Accept initiative
|
247
247
|
confirm: Are you sure?
|
@@ -265,12 +265,6 @@ en:
|
|
265
265
|
edit: Edit
|
266
266
|
new: New
|
267
267
|
photos: Photos
|
268
|
-
publish:
|
269
|
-
success: The initiative has been successfully published.
|
270
|
-
reject:
|
271
|
-
success: The initiative has been successfully rejected.
|
272
|
-
unpublish:
|
273
|
-
success: The initiative has been successfully unpublished.
|
274
268
|
update:
|
275
269
|
error: An error has occurred.
|
276
270
|
success: The initiative has been successfully updated.
|
@@ -302,7 +296,7 @@ en:
|
|
302
296
|
initiatives_types:
|
303
297
|
create:
|
304
298
|
error: An error has occurred.
|
305
|
-
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.
|
306
300
|
destroy:
|
307
301
|
success: The initiative type has been successfully removed.
|
308
302
|
edit:
|
@@ -550,7 +544,6 @@ en:
|
|
550
544
|
other: " signatures"
|
551
545
|
vote_cabin:
|
552
546
|
already_voted: Already signed
|
553
|
-
supports_required: "%{total_supports} signatures required"
|
554
547
|
verification_required: Verify your account to sign the initiative
|
555
548
|
vote: Sign
|
556
549
|
votes_blocked: Signing disabled
|