decidim-initiatives 0.26.4 → 0.26.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/commands/decidim/initiatives/create_initiative.rb +2 -1
- data/app/constraints/decidim/initiatives/current_initiative.rb +1 -1
- data/app/controllers/decidim/initiatives/admin/initiatives_controller.rb +1 -1
- data/app/controllers/decidim/initiatives/application_controller.rb +7 -0
- data/app/controllers/decidim/initiatives/create_initiative_controller.rb +15 -0
- data/app/controllers/decidim/initiatives/initiatives_controller.rb +3 -0
- data/app/forms/decidim/initiatives/initiative_form.rb +3 -0
- data/app/helpers/decidim/initiatives/{create_initiative_helper.rb → signature_type_options_helper.rb} +1 -1
- data/app/views/decidim/initiatives/admin/initiatives/_form.html.erb +1 -1
- data/app/views/decidim/initiatives/admin/initiatives_types/_form.html.erb +1 -1
- data/app/views/decidim/initiatives/create_initiative/fill_data.html.erb +27 -12
- data/app/views/decidim/initiatives/create_initiative/previous_form.html.erb +1 -1
- data/app/views/decidim/initiatives/initiatives/_author.html.erb +1 -1
- data/app/views/decidim/initiatives/initiatives/_count.html.erb +1 -1
- data/app/views/decidim/initiatives/initiatives/_form.html.erb +29 -23
- data/app/views/decidim/initiatives/initiatives/print.html.erb +1 -1
- data/config/locales/ar.yml +4 -8
- data/config/locales/ca.yml +18 -9
- data/config/locales/cs.yml +11 -2
- data/config/locales/de.yml +1 -2
- data/config/locales/el.yml +0 -4
- data/config/locales/en.yml +12 -3
- data/config/locales/es-MX.yml +10 -1
- data/config/locales/es-PY.yml +10 -1
- data/config/locales/es.yml +10 -1
- data/config/locales/eu.yml +1 -5
- data/config/locales/fa-IR.yml +1 -0
- data/config/locales/fi-plain.yml +10 -1
- data/config/locales/fi.yml +13 -2
- data/config/locales/fr-CA.yml +12 -3
- data/config/locales/fr.yml +10 -1
- data/config/locales/gl.yml +0 -4
- data/config/locales/hu.yml +0 -4
- data/config/locales/id-ID.yml +0 -3
- data/config/locales/is-IS.yml +0 -1
- data/config/locales/it.yml +0 -4
- data/config/locales/ja.yml +10 -1
- data/config/locales/ka-GE.yml +1 -0
- data/config/locales/kaa.yml +1 -0
- data/config/locales/lb.yml +0 -4
- data/config/locales/lt.yml +0 -6
- data/config/locales/lv.yml +0 -5
- data/config/locales/nl.yml +0 -4
- data/config/locales/no.yml +0 -4
- data/config/locales/pl.yml +0 -6
- data/config/locales/pt-BR.yml +0 -4
- data/config/locales/pt.yml +0 -4
- data/config/locales/ro-RO.yml +9 -5
- data/config/locales/ru.yml +0 -6
- data/config/locales/sk.yml +0 -6
- data/config/locales/sv.yml +10 -4
- data/config/locales/tr-TR.yml +0 -4
- data/config/locales/uk.yml +0 -6
- data/config/locales/zh-CN.yml +0 -3
- data/config/locales/zh-TW.yml +622 -0
- data/lib/decidim/initiatives/engine.rb +2 -1
- data/lib/decidim/initiatives/version.rb +1 -1
- metadata +18 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5434782f1886bba7a75e2b762513b7de19548de11cd8e4197f0ae93485a13910
|
4
|
+
data.tar.gz: 52496641bbb82f4ecd9b86ec7d6d4d6c7876a3105fba936c848bcc6f0e04ff19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 644b87421cc7c3623ec05c1c61b2f055ace79e6671b201237296cb2135de43769f54b6c85a6ae16d6eb1c4f964c2ce56ee5817481f7b902d4e2b74b0f8cac36c
|
7
|
+
data.tar.gz: b171982c491930b9e7154ac7d10e0d09da2d982ab352107e4990fda8e72252210beccbd7ed3a802ee8a289c66e32844382de5ef6d8d9185502b70646e38c0b97
|
@@ -8,7 +8,7 @@ module Decidim
|
|
8
8
|
class CurrentInitiative
|
9
9
|
include InitiativeSlug
|
10
10
|
|
11
|
-
# Public: Matches the request against an
|
11
|
+
# Public: Matches the request against an initiative and injects it
|
12
12
|
# into the environment.
|
13
13
|
#
|
14
14
|
# request - The request that holds the initiative relevant
|
@@ -14,7 +14,7 @@ module Decidim
|
|
14
14
|
|
15
15
|
helper ::Decidim::Admin::ResourcePermissionsHelper
|
16
16
|
helper Decidim::Initiatives::InitiativeHelper
|
17
|
-
helper Decidim::Initiatives::
|
17
|
+
helper Decidim::Initiatives::SignatureTypeOptionsHelper
|
18
18
|
|
19
19
|
# GET /admin/initiatives
|
20
20
|
def index
|
@@ -11,6 +11,13 @@ module Decidim
|
|
11
11
|
::Decidim::Admin::Permissions,
|
12
12
|
::Decidim::Permissions)
|
13
13
|
|
14
|
+
before_action do
|
15
|
+
if Decidim::InitiativesType.joins(:scopes).where(organization: current_organization).all.empty?
|
16
|
+
flash[:alert] = t("index.uninitialized", scope: "decidim.initiatives")
|
17
|
+
redirect_to(decidim.root_path)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
14
21
|
def permissions_context
|
15
22
|
super.merge(
|
16
23
|
current_participatory_space: try(:current_participatory_space)
|
@@ -16,6 +16,8 @@ module Decidim
|
|
16
16
|
|
17
17
|
helper Decidim::Admin::IconLinkHelper
|
18
18
|
helper InitiativeHelper
|
19
|
+
helper SignatureTypeOptionsHelper
|
20
|
+
|
19
21
|
helper_method :similar_initiatives
|
20
22
|
helper_method :scopes
|
21
23
|
helper_method :areas
|
@@ -23,6 +25,8 @@ module Decidim
|
|
23
25
|
helper_method :initiative_type
|
24
26
|
helper_method :promotal_committee_required?
|
25
27
|
|
28
|
+
before_action :authenticate_user!
|
29
|
+
|
26
30
|
steps :select_initiative_type,
|
27
31
|
:previous_form,
|
28
32
|
:show_similar_initiatives,
|
@@ -30,6 +34,8 @@ module Decidim
|
|
30
34
|
:promotal_committee,
|
31
35
|
:finish
|
32
36
|
|
37
|
+
before_action :ensure_type_exists, only: :show
|
38
|
+
|
33
39
|
def show
|
34
40
|
enforce_permission_to :create, :initiative
|
35
41
|
send("#{step}_step", initiative: session_initiative)
|
@@ -42,6 +48,15 @@ module Decidim
|
|
42
48
|
|
43
49
|
private
|
44
50
|
|
51
|
+
def ensure_type_exists
|
52
|
+
destination_step = single_initiative_type? ? :previous_form : :select_initiative_type
|
53
|
+
|
54
|
+
return if step == destination_step
|
55
|
+
return if initiative_type_id.present? && initiative_type.present?
|
56
|
+
|
57
|
+
redirect_to wizard_path(destination_step)
|
58
|
+
end
|
59
|
+
|
45
60
|
def select_initiative_type_step(_parameters)
|
46
61
|
@form = form(Decidim::Initiatives::SelectInitiativeTypeForm).instance
|
47
62
|
session[:initiative] = {}
|
@@ -18,6 +18,8 @@ module Decidim
|
|
18
18
|
helper Decidim::ResourceReferenceHelper
|
19
19
|
helper PaginateHelper
|
20
20
|
helper InitiativeHelper
|
21
|
+
helper SignatureTypeOptionsHelper
|
22
|
+
|
21
23
|
include InitiativeSlug
|
22
24
|
include FilterResource
|
23
25
|
include Paginable
|
@@ -86,6 +88,7 @@ module Decidim
|
|
86
88
|
enforce_permission_to :update, :initiative, initiative: current_initiative
|
87
89
|
|
88
90
|
params[:id] = params[:slug]
|
91
|
+
params[:type_id] = current_initiative.type&.id
|
89
92
|
@form = form(Decidim::Initiatives::InitiativeForm)
|
90
93
|
.from_params(params, initiative_type: current_initiative.type, initiative: current_initiative)
|
91
94
|
|
@@ -39,6 +39,9 @@ module Decidim
|
|
39
39
|
def map_model(model)
|
40
40
|
self.type_id = model.type.id
|
41
41
|
self.scope_id = model.scope&.id
|
42
|
+
self.signature_type = model.signature_type
|
43
|
+
self.title = translated_attribute(model.title)
|
44
|
+
self.description = translated_attribute(model.description)
|
42
45
|
end
|
43
46
|
|
44
47
|
def signature_type_updatable?
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Decidim
|
4
4
|
module Initiatives
|
5
5
|
# Helper methods for the create initiative wizard.
|
6
|
-
module
|
6
|
+
module SignatureTypeOptionsHelper
|
7
7
|
def signature_type_options(initiative_form)
|
8
8
|
return all_signature_type_options unless initiative_form.signature_type_updatable?
|
9
9
|
|
@@ -9,7 +9,7 @@
|
|
9
9
|
</div>
|
10
10
|
|
11
11
|
<div class="row column">
|
12
|
-
<%= form.translated :editor, :description,
|
12
|
+
<%= form.translated :editor, :description, lines: 8, disabled: !allowed_to?(:update, :initiative, initiative: current_initiative) %>
|
13
13
|
</div>
|
14
14
|
|
15
15
|
<div class="row column">
|
@@ -20,12 +20,23 @@
|
|
20
20
|
<div class="card__content">
|
21
21
|
<%= decidim_form_for(@form, url: next_wizard_path, method: :put, html: { class: "form new_initiative_form" }) do |f| %>
|
22
22
|
<%= form_required_explanation %>
|
23
|
-
<%= f.hidden_field :type_id %>
|
24
23
|
<div class=section>
|
25
|
-
<%
|
24
|
+
<% if single_initiative_type? %>
|
25
|
+
<%= f.hidden_field :type_id %>
|
26
|
+
<% else %>
|
26
27
|
<div class="field">
|
27
|
-
|
28
|
-
|
28
|
+
<%= f.select :type_id,
|
29
|
+
initiative_type_options,
|
30
|
+
{},
|
31
|
+
{
|
32
|
+
disabled: !@form.signature_type_updatable?,
|
33
|
+
"data-scope-selector": "initiative_decidim_scope_id",
|
34
|
+
"data-scope-id": f.object.scope_id.to_s,
|
35
|
+
"data-scope-search-url": decidim_initiatives.initiative_type_scopes_search_url,
|
36
|
+
"data-signature-types-selector": "initiative_signature_type",
|
37
|
+
"data-signature-type": current_initiative&.signature_type,
|
38
|
+
"data-signature-types-search-url": decidim_initiatives.initiative_type_signature_types_search_url
|
39
|
+
} %>
|
29
40
|
</div>
|
30
41
|
<% end %>
|
31
42
|
|
@@ -34,7 +45,11 @@
|
|
34
45
|
</div>
|
35
46
|
|
36
47
|
<div class="field">
|
37
|
-
<%= f
|
48
|
+
<%= text_editor_for(f, :description, lines: 8, toolbar: :content) %>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<div class="field">
|
52
|
+
<%= f.text_field :hashtag %>
|
38
53
|
</div>
|
39
54
|
|
40
55
|
<% signature_type_options = signature_type_options(f.object) %>
|
@@ -46,6 +61,12 @@
|
|
46
61
|
</div>
|
47
62
|
<% end %>
|
48
63
|
|
64
|
+
<% if initiative_type.custom_signature_end_date_enabled? %>
|
65
|
+
<div class="field">
|
66
|
+
<%= f.date_field :signature_end_date %>
|
67
|
+
</div>
|
68
|
+
<% end %>
|
69
|
+
|
49
70
|
<% if scopes.length == 1 %>
|
50
71
|
<%= f.hidden_field :scope_id, value: scopes.first.scope&.id %>
|
51
72
|
<% else %>
|
@@ -57,12 +78,6 @@
|
|
57
78
|
</div>
|
58
79
|
<% end %>
|
59
80
|
|
60
|
-
<% if initiative_type.custom_signature_end_date_enabled? %>
|
61
|
-
<div class="field">
|
62
|
-
<%= f.date_field :signature_end_date %>
|
63
|
-
</div>
|
64
|
-
<% end %>
|
65
|
-
|
66
81
|
<% if initiative_type.area_enabled? %>
|
67
82
|
<div class="field">
|
68
83
|
<%= f.areas_select :area_id, areas_for_select(current_organization), prompt: t(".select_area") %>
|
@@ -73,7 +88,7 @@
|
|
73
88
|
<div class="field">
|
74
89
|
<%= f.select :decidim_user_group_id,
|
75
90
|
Decidim::UserGroups::ManageableUserGroups.for(current_user).verified.map { |g| [g.name, g.id] },
|
76
|
-
include_blank: current_user.name %>
|
91
|
+
include_blank: current_user.name, help_text: t(".decidim_user_group_id_help") %>
|
77
92
|
</div>
|
78
93
|
<% end %>
|
79
94
|
|
@@ -1 +1 @@
|
|
1
|
-
<%= t(".title", count: initiatives.
|
1
|
+
<%= t(".title", count: initiatives.total_count) %>
|
@@ -1,24 +1,5 @@
|
|
1
1
|
<%= form_required_explanation %>
|
2
2
|
|
3
|
-
<div class="field">
|
4
|
-
<%= form.text_field :title, autofocus: true, disabled: !allowed_to?(:update, :initiative, initiative: current_initiative), value: translated_attribute(@form.title) %>
|
5
|
-
</div>
|
6
|
-
|
7
|
-
<div class="field">
|
8
|
-
<%= form.editor :description, toolbar: :full, lines: 8, disabled: !allowed_to?(:update, :initiative, initiative: current_initiative), value: translated_attribute(@form.description) %>
|
9
|
-
</div>
|
10
|
-
|
11
|
-
<div class="field">
|
12
|
-
<%= form.text_field :hashtag, disabled: !allowed_to?(:update, :initiative, initiative: current_initiative) %>
|
13
|
-
</div>
|
14
|
-
|
15
|
-
<div class="field">
|
16
|
-
<%= form.select :state,
|
17
|
-
Decidim::Initiative.states.keys.map { |state| [I18n.t(state, scope: "decidim.initiatives.admin_states"), state] },
|
18
|
-
{},
|
19
|
-
{ disabled: !@form.state_updatable? } %>
|
20
|
-
</div>
|
21
|
-
|
22
3
|
<% unless single_initiative_type? %>
|
23
4
|
<div class="field">
|
24
5
|
<%= form.select :type_id,
|
@@ -37,17 +18,38 @@
|
|
37
18
|
<% end %>
|
38
19
|
|
39
20
|
<div class="field">
|
40
|
-
<%= form.
|
41
|
-
@form.available_scopes.map { |scope| [translated_attribute(scope.scope_name), scope&.scope&.id] },
|
42
|
-
{ disabled: !@form.state_updatable? } %>
|
21
|
+
<%= form.text_field :title, autofocus: true, disabled: !allowed_to?(:update, :initiative, initiative: current_initiative), value: translated_attribute(@form.title) %>
|
43
22
|
</div>
|
44
23
|
|
24
|
+
<div class="field">
|
25
|
+
<%= text_editor_for(form, :description, toolbar: :content, lines: 8, disabled: !allowed_to?(:update, :initiative, initiative: current_initiative), value: translated_attribute(@form.description)) %>
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<div class="field">
|
29
|
+
<%= form.text_field :hashtag, disabled: !allowed_to?(:update, :initiative, initiative: current_initiative) %>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<% signature_type_options = signature_type_options(form.object) %>
|
33
|
+
<% if signature_type_options.length == 1 %>
|
34
|
+
<%= form.hidden_field :signature_type %>
|
35
|
+
<% else %>
|
36
|
+
<div class="field">
|
37
|
+
<%= form.select :signature_type, signature_type_options, {}, { disabled: !@form.signature_type_updatable? } %>
|
38
|
+
</div>
|
39
|
+
<% end %>
|
40
|
+
|
45
41
|
<% if can_edit_custom_signature_end_date?(current_initiative) %>
|
46
42
|
<div class="row column">
|
47
43
|
<%= form.date_field :signature_end_date, disabled: !allowed_to?(:update, :initiative, initiative: current_initiative) %>
|
48
44
|
</div>
|
49
45
|
<% end %>
|
50
46
|
|
47
|
+
<div class="field">
|
48
|
+
<%= form.select :scope_id,
|
49
|
+
@form.available_scopes.map { |scope| [translated_attribute(scope.scope_name), scope&.scope&.id] },
|
50
|
+
{ disabled: !@form.state_updatable? } %>
|
51
|
+
</div>
|
52
|
+
|
51
53
|
<% if current_initiative.area_enabled? %>
|
52
54
|
<div class="field">
|
53
55
|
<%= form.areas_select :area_id,
|
@@ -61,8 +63,12 @@
|
|
61
63
|
<% end %>
|
62
64
|
|
63
65
|
<div class="field">
|
64
|
-
<%= form.select :
|
66
|
+
<%= form.select :state,
|
67
|
+
Decidim::Initiative.states.keys.map { |state| [I18n.t(state, scope: "decidim.initiatives.admin_states"), state] },
|
68
|
+
{},
|
69
|
+
{ disabled: !@form.state_updatable? } %>
|
65
70
|
</div>
|
71
|
+
|
66
72
|
<% if current_initiative.type.attachments_enabled? %>
|
67
73
|
<fieldset class="attachments_container">
|
68
74
|
<legend><%= t("attachment_legend", scope: "decidim.initiatives.form") %></legend>
|
data/config/locales/ar.yml
CHANGED
@@ -40,13 +40,6 @@ ar:
|
|
40
40
|
name: اكمل الاسم
|
41
41
|
activerecord:
|
42
42
|
models:
|
43
|
-
decidim/initiative:
|
44
|
-
zero: بعض المبادرات
|
45
|
-
one: بالمبادرة
|
46
|
-
two: بعض المبادرات
|
47
|
-
few: بعض المبادرات
|
48
|
-
many: بعض المبادرات
|
49
|
-
other: بعض المبادرات
|
50
43
|
decidim/initiative_comittee:
|
51
44
|
zero: Comittees
|
52
45
|
one: إحداث الهيئة
|
@@ -260,7 +253,6 @@ ar:
|
|
260
253
|
fill_data:
|
261
254
|
back: الى الخلف
|
262
255
|
continue: استمر
|
263
|
-
initiative_type: نوع المبادرة
|
264
256
|
more_information: "(معلومات اكثر)"
|
265
257
|
select_scope: حدد النطاق
|
266
258
|
finish:
|
@@ -300,6 +292,8 @@ ar:
|
|
300
292
|
email_outro: لقد تلقيت هذا الإشعار لأنك تتابع %{author_nickname}. يمكنك إيقاف تلقي الإخطارات باتباع الرابط السابق.
|
301
293
|
email_subject: المبادرة التي أقرتها %{author_nickname}
|
302
294
|
notification_title: تمت الموافقة على مبادرة <a href="%{resource_path}">%{resource_title}</a> من قبل <a href="%{author_path}">%{author_name} %{author_nickname}</a>.
|
295
|
+
form:
|
296
|
+
delete_attachment: حذف
|
303
297
|
index:
|
304
298
|
title: المبادرات
|
305
299
|
initiative_signatures:
|
@@ -379,6 +373,7 @@ ar:
|
|
379
373
|
recent: الأحدث
|
380
374
|
print:
|
381
375
|
city: مدينة
|
376
|
+
full_name: الاسم الكامل
|
382
377
|
initiative:
|
383
378
|
description: 'الوصف:'
|
384
379
|
result:
|
@@ -428,6 +423,7 @@ ar:
|
|
428
423
|
see_all_initiatives: رؤية جميع المبادرات
|
429
424
|
show:
|
430
425
|
badge_name:
|
426
|
+
accepted: ما يكفي من التوقيعات
|
431
427
|
validating: تحقق تقني
|
432
428
|
states:
|
433
429
|
accepted: وافقت
|
data/config/locales/ca.yml
CHANGED
@@ -2,9 +2,13 @@ ca:
|
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
4
|
initiative:
|
5
|
+
answer: Resposta
|
6
|
+
answer_url: URL de la resposta
|
5
7
|
area_id: Àrea
|
8
|
+
decidim_scope_id: Àmbit
|
6
9
|
decidim_user_group_id: Autoria
|
7
10
|
description: Descripció
|
11
|
+
hashtag: Etiqueta (hashtag)
|
8
12
|
offline_votes: Signatures presencials
|
9
13
|
offline_votes_for_scope: Signatures presencials per a %{scope_name}
|
10
14
|
scope_id: Àmbit
|
@@ -17,6 +21,7 @@ ca:
|
|
17
21
|
online: Digital
|
18
22
|
state: Estat
|
19
23
|
title: Títol
|
24
|
+
type_id: Tipus
|
20
25
|
initiatives_committee_member:
|
21
26
|
user: Membre del comitè
|
22
27
|
initiatives_settings:
|
@@ -39,6 +44,9 @@ ca:
|
|
39
44
|
title: Títol
|
40
45
|
undo_online_signatures_enabled: Permetre a les participants desfer les seves signatures digitals
|
41
46
|
validate_sms_code_on_votes: Afegeix el pas de validació mitjançant SMS al procés de signatura
|
47
|
+
initiatives_type_scope:
|
48
|
+
decidim_scopes_id: Àmbits
|
49
|
+
supports_required: Es requereixen suports
|
42
50
|
initiatives_vote:
|
43
51
|
date_of_birth: Data de naixement
|
44
52
|
document_number: Número de document
|
@@ -203,7 +211,7 @@ ca:
|
|
203
211
|
committee_requests:
|
204
212
|
index:
|
205
213
|
approve: Aprova
|
206
|
-
confirm_revoke:
|
214
|
+
confirm_revoke: Segur?
|
207
215
|
invite_to_committee_help: Comparteix aquest enllaç per convidar altres persones al comitè promotor
|
208
216
|
no_members_yet: No hi ha membres al comitè promotor
|
209
217
|
revoke: Revocar
|
@@ -220,8 +228,8 @@ ca:
|
|
220
228
|
initiatives:
|
221
229
|
edit:
|
222
230
|
accept: Accepta la iniciativa
|
223
|
-
confirm:
|
224
|
-
confirm_send_to_technical_validation:
|
231
|
+
confirm: Segur?
|
232
|
+
confirm_send_to_technical_validation: Segur?
|
225
233
|
discard: Descarta la iniciativa
|
226
234
|
export_pdf_signatures: Exporta PDF de signatures
|
227
235
|
export_votes: Exportar signatures
|
@@ -253,7 +261,7 @@ ca:
|
|
253
261
|
success: L'àmbit s'ha eliminat correctament
|
254
262
|
edit:
|
255
263
|
back: Torna
|
256
|
-
confirm_destroy:
|
264
|
+
confirm_destroy: Segur?
|
257
265
|
destroy: Suprimeix
|
258
266
|
title: Edita l'àmbit del tipus d'iniciativa
|
259
267
|
update: Actualitza
|
@@ -271,7 +279,7 @@ ca:
|
|
271
279
|
destroy:
|
272
280
|
success: S'ha eliminat correctament el tipus d'iniciativa
|
273
281
|
edit:
|
274
|
-
confirm_destroy:
|
282
|
+
confirm_destroy: Segur?
|
275
283
|
destroy: Suprimeix
|
276
284
|
update: Actualitza
|
277
285
|
form:
|
@@ -332,8 +340,8 @@ ca:
|
|
332
340
|
fill_data:
|
333
341
|
back: Torna
|
334
342
|
continue: Continua
|
343
|
+
decidim_user_group_id_help: No és possible canviar l'autoria de la iniciativa després de crear-la
|
335
344
|
fill_data_help: "<ul> <li>Revisa el contingut de la teva iniciativa. El títol és fàcil d'entendre? L'objectiu de la teva iniciativa és clar?</li> <li>Has d'escollir el tipus de signatura. Presencial, digital o una combinació de totes dues.</li> <li>Quin és l'àmbit geogràfic de la iniciativa?</li> </ul>"
|
336
|
-
initiative_type: Tipus d'iniciativa
|
337
345
|
more_information: "(Més informació)"
|
338
346
|
select_area: Selecciona una àrea
|
339
347
|
select_scope: Selecciona un àmbit d'aplicació
|
@@ -375,7 +383,7 @@ ca:
|
|
375
383
|
edit:
|
376
384
|
accept: Accepta la iniciativa
|
377
385
|
back: Tornar
|
378
|
-
confirm:
|
386
|
+
confirm: Segur?
|
379
387
|
discard: Descarta la iniciativa
|
380
388
|
export_pdf_signatures: Exporta PDF de signatures
|
381
389
|
export_votes: Exportar signatures
|
@@ -414,6 +422,7 @@ ca:
|
|
414
422
|
delete_attachment: Esborrar
|
415
423
|
index:
|
416
424
|
title: Iniciatives
|
425
|
+
uninitialized: Les iniciatives no han estat configurades encara des de l'administració.
|
417
426
|
initiative_signatures:
|
418
427
|
fill_personal_data:
|
419
428
|
continue: Continua
|
@@ -450,7 +459,7 @@ ca:
|
|
450
459
|
other: i %{count} persones més
|
451
460
|
committee_members:
|
452
461
|
approve: Aprova
|
453
|
-
confirm_revoke:
|
462
|
+
confirm_revoke: Segur?
|
454
463
|
invite_to_committee_help: Comparteix aquest enllaç per convidar altres persones a la comissió promotora
|
455
464
|
no_members_yet: No hi ha membres a la comissió promotora
|
456
465
|
revoke: Revocar
|
@@ -522,7 +531,7 @@ ca:
|
|
522
531
|
initiative_rejected_reason: Aquesta iniciativa ha estat rebutjada per falta de signatures.
|
523
532
|
show:
|
524
533
|
any_vote_method: Aquesta iniciativa recull signatures digitals i presencials.
|
525
|
-
confirm: Estàs a punt d'enviar la iniciativa perquè una administradora la revisi i la publiqui. Un cop publicada no la podràs editar.
|
534
|
+
confirm: Estàs a punt d'enviar la iniciativa perquè una administradora la revisi i la publiqui. Un cop publicada no la podràs editar. Segur?
|
526
535
|
edit: Editar
|
527
536
|
follow_description: Rebre una notificació quan hi hagi novetats sobre aquesta iniciativa
|
528
537
|
offline_method: Aquesta iniciativa només recull signatures presencials.
|
data/config/locales/cs.yml
CHANGED
@@ -2,9 +2,13 @@ cs:
|
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
4
|
initiative:
|
5
|
+
answer: Odpověď
|
6
|
+
answer_url: URL odpovědi
|
5
7
|
area_id: Oblast
|
8
|
+
decidim_scope_id: Oblast působnosti
|
6
9
|
decidim_user_group_id: Autor
|
7
10
|
description: Popis
|
11
|
+
hashtag: Hashtag
|
8
12
|
offline_votes: Osobní fyzické podpisy
|
9
13
|
offline_votes_for_scope: Podepsané osoby pro %{scope_name}
|
10
14
|
scope_id: Rozsah
|
@@ -17,6 +21,7 @@ cs:
|
|
17
21
|
online: OnLine
|
18
22
|
state: Stav
|
19
23
|
title: Titul
|
24
|
+
type_id: Typ
|
20
25
|
initiatives_committee_member:
|
21
26
|
user: Člen výboru
|
22
27
|
initiatives_settings:
|
@@ -39,6 +44,9 @@ cs:
|
|
39
44
|
title: Titul
|
40
45
|
undo_online_signatures_enabled: Povolit účastníkům vrátit zpět své online podpisy
|
41
46
|
validate_sms_code_on_votes: Přidejte krok ověření SMS kódu do procesu podpisu
|
47
|
+
initiatives_type_scope:
|
48
|
+
decidim_scopes_id: Oblasti působnosti
|
49
|
+
supports_required: Potřebné podpory
|
42
50
|
initiatives_vote:
|
43
51
|
date_of_birth: Datum narození
|
44
52
|
document_number: Číslo dokumentu
|
@@ -62,7 +70,7 @@ cs:
|
|
62
70
|
one: Iniciativa
|
63
71
|
few: Iniciativy
|
64
72
|
many: Iniciativ
|
65
|
-
other:
|
73
|
+
other: Iniciativ
|
66
74
|
decidim/initiative_comittee:
|
67
75
|
one: Výbor
|
68
76
|
few: Výbory
|
@@ -338,8 +346,8 @@ cs:
|
|
338
346
|
fill_data:
|
339
347
|
back: Zpět
|
340
348
|
continue: Pokračovat
|
349
|
+
decidim_user_group_id_help: Po vytvoření není možné změnit autoritu iniciativy
|
341
350
|
fill_data_help: "<ul> <li>Přečtěte si obsah vaší iniciativy. Je váš název snadno srozumitelný? Je cíl vaší iniciativy jasný?</li> <li>Musíte zvolit typ podpisu. Osobní, on-line nebo kombinace obou</li> <li>Jaká je geografická oblast působnosti?</li> </ul>"
|
342
|
-
initiative_type: Typ iniciativy
|
343
351
|
more_information: "(Více informací)"
|
344
352
|
select_area: Vybrat oblast
|
345
353
|
select_scope: Zvolte rozsah
|
@@ -420,6 +428,7 @@ cs:
|
|
420
428
|
delete_attachment: Smazat
|
421
429
|
index:
|
422
430
|
title: Iniciativy
|
431
|
+
uninitialized: Iniciativy ještě nejsou nakonfigurovány správcem
|
423
432
|
initiative_signatures:
|
424
433
|
fill_personal_data:
|
425
434
|
continue: Pokračovat
|
data/config/locales/de.yml
CHANGED
@@ -57,7 +57,7 @@ de:
|
|
57
57
|
activerecord:
|
58
58
|
models:
|
59
59
|
decidim/initiative:
|
60
|
-
one:
|
60
|
+
one: Initiative
|
61
61
|
other: Initiativen
|
62
62
|
decidim/initiative_comittee:
|
63
63
|
one: Komitee
|
@@ -329,7 +329,6 @@ de:
|
|
329
329
|
back: Zurück
|
330
330
|
continue: Fortsetzen
|
331
331
|
fill_data_help: "<ul> <li>Inhalt Ihrer Initiative überprüfen. Ist Ihr Titel leicht verständlich? Ist das Ziel Ihrer Initiative klar?</li> <li>Sie müssen die Art der Unterschrift wählen. Persönlich, online oder eine Kombination aus beidem</li> <li>Was ist die geografische Reichweite der Initiative? Stadt, Bezirk?</li> </ul>"
|
332
|
-
initiative_type: Art der Initiative
|
333
332
|
more_information: "(Weitere Informationen)"
|
334
333
|
select_area: Wählen Sie einen Bereich aus
|
335
334
|
select_scope: Wählen Sie einen Bereich aus
|
data/config/locales/el.yml
CHANGED
@@ -51,9 +51,6 @@ el:
|
|
51
51
|
title: Ο τίτλος δεν πρέπει να είναι κενός
|
52
52
|
activerecord:
|
53
53
|
models:
|
54
|
-
decidim/initiative:
|
55
|
-
one: Πρωτοβουλία
|
56
|
-
other: Πρωτοβουλίες
|
57
54
|
decidim/initiative_comittee:
|
58
55
|
one: Επιτροπή
|
59
56
|
other: Επιτροπές
|
@@ -284,7 +281,6 @@ el:
|
|
284
281
|
fill_data:
|
285
282
|
back: Πίσω
|
286
283
|
continue: Συνέχεια
|
287
|
-
initiative_type: Τύπος πρωτοβουλίας
|
288
284
|
more_information: "(Περισσότερες πληροφορίες)"
|
289
285
|
select_area: Επιλέξτε τομέα
|
290
286
|
select_scope: Επιλέξτε πεδίο εφαρμογής
|
data/config/locales/en.yml
CHANGED
@@ -3,9 +3,13 @@ en:
|
|
3
3
|
activemodel:
|
4
4
|
attributes:
|
5
5
|
initiative:
|
6
|
+
answer: Answer
|
7
|
+
answer_url: Answer URL
|
6
8
|
area_id: Area
|
9
|
+
decidim_scope_id: Scope
|
7
10
|
decidim_user_group_id: Author
|
8
11
|
description: Description
|
12
|
+
hashtag: Hashtag
|
9
13
|
offline_votes: In-person signatures
|
10
14
|
offline_votes_for_scope: In-person signatures for %{scope_name}
|
11
15
|
scope_id: Scope
|
@@ -18,6 +22,7 @@ en:
|
|
18
22
|
online: Online
|
19
23
|
state: Status
|
20
24
|
title: Title
|
25
|
+
type_id: Type
|
21
26
|
initiatives_committee_member:
|
22
27
|
user: Committee member
|
23
28
|
initiatives_settings:
|
@@ -40,6 +45,9 @@ en:
|
|
40
45
|
title: Title
|
41
46
|
undo_online_signatures_enabled: Enable participants to undo their online signatures
|
42
47
|
validate_sms_code_on_votes: Add SMS code validation step to signature process
|
48
|
+
initiatives_type_scope:
|
49
|
+
decidim_scopes_id: Scopes
|
50
|
+
supports_required: Supports required
|
43
51
|
initiatives_vote:
|
44
52
|
date_of_birth: Date of birth
|
45
53
|
document_number: Document number
|
@@ -60,8 +68,8 @@ en:
|
|
60
68
|
activerecord:
|
61
69
|
models:
|
62
70
|
decidim/initiative:
|
63
|
-
one:
|
64
|
-
other:
|
71
|
+
one: Initiative
|
72
|
+
other: Initiatives
|
65
73
|
decidim/initiative_comittee:
|
66
74
|
one: Comittee
|
67
75
|
other: Comittees
|
@@ -333,8 +341,8 @@ en:
|
|
333
341
|
fill_data:
|
334
342
|
back: Back
|
335
343
|
continue: Continue
|
344
|
+
decidim_user_group_id_help: It's not possible to change initiative authorship after creation
|
336
345
|
fill_data_help: "<ul> <li>Review the content of your initiative. Is your title easy to understand? Is the objective of your initiative clear?</li> <li>You have to choose the type of signature. In-person, online or a combination of both</li> <li>Which is the geographic scope of the initiative?</li> </ul>"
|
337
|
-
initiative_type: Initiative type
|
338
346
|
more_information: "(More information)"
|
339
347
|
select_area: Select an area
|
340
348
|
select_scope: Select a scope
|
@@ -415,6 +423,7 @@ en:
|
|
415
423
|
delete_attachment: Delete
|
416
424
|
index:
|
417
425
|
title: Initiatives
|
426
|
+
uninitialized: Initiatives are not yet configured by an administrator
|
418
427
|
initiative_signatures:
|
419
428
|
fill_personal_data:
|
420
429
|
continue: Continue
|