decidim-initiatives 0.23.2 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/assets/stylesheet/decidim/initiatives/initiatives.scss +6 -0
  4. data/app/assets/stylesheet/decidim/initiatives/print-initiative.css.scss +22 -0
  5. data/app/cells/decidim/initiatives/content_blocks/highlighted_initiatives/show.erb +4 -8
  6. data/app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_cell.rb +5 -1
  7. data/app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form/show.erb +2 -1
  8. data/app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb +12 -1
  9. data/app/cells/decidim/initiatives/initiative_m/tags.erb +1 -1
  10. data/app/commands/decidim/initiatives/admin/update_initiative.rb +3 -3
  11. data/app/commands/decidim/initiatives/admin/update_initiative_answer.rb +3 -3
  12. data/app/commands/decidim/initiatives/approve_membership_request.rb +40 -0
  13. data/app/commands/decidim/initiatives/create_initiative.rb +5 -4
  14. data/app/commands/decidim/initiatives/revoke_membership_request.rb +40 -0
  15. data/app/commands/decidim/initiatives/send_initiative_to_technical_validation.rb +57 -0
  16. data/app/commands/decidim/initiatives/spawn_committee_request.rb +18 -0
  17. data/app/commands/decidim/initiatives/update_initiative.rb +74 -0
  18. data/app/controllers/decidim/initiatives/admin/committee_requests_controller.rb +15 -4
  19. data/app/controllers/decidim/initiatives/admin/initiatives_controller.rb +1 -1
  20. data/app/controllers/decidim/initiatives/admin/moderations/reports_controller.rb +18 -0
  21. data/app/controllers/decidim/initiatives/committee_requests_controller.rb +32 -0
  22. data/app/controllers/decidim/initiatives/initiative_signatures_controller.rb +1 -3
  23. data/app/controllers/decidim/initiatives/initiatives_controller.rb +58 -1
  24. data/app/events/decidim/initiatives/approve_membership_request_event.rb +61 -0
  25. data/app/events/decidim/initiatives/initiative_sent_to_technical_validation_event.rb +19 -0
  26. data/app/events/decidim/initiatives/revoke_membership_request_event.rb +61 -0
  27. data/app/events/decidim/initiatives/spawn_committee_request_event.rb +61 -0
  28. data/app/forms/decidim/initiatives/admin/initiative_form.rb +8 -4
  29. data/app/forms/decidim/initiatives/admin/initiative_type_form.rb +3 -0
  30. data/app/forms/decidim/initiatives/initiative_form.rb +25 -2
  31. data/app/forms/decidim/initiatives/vote_form.rb +3 -1
  32. data/app/helpers/decidim/initiatives/admin/initiative_admin_menu_helper.rb +15 -0
  33. data/app/helpers/decidim/initiatives/create_initiative_helper.rb +3 -2
  34. data/app/models/concerns/decidim/initiatives/has_area.rb +1 -1
  35. data/app/models/decidim/initiative.rb +0 -1
  36. data/app/permissions/decidim/initiatives/admin/permissions.rb +5 -4
  37. data/app/permissions/decidim/initiatives/permissions.rb +47 -20
  38. data/app/queries/decidim/initiatives/initiatives_promoted.rb +1 -1
  39. data/app/queries/decidim/initiatives/organization_prioritized_initiatives.rb +13 -2
  40. data/app/serializers/decidim/initiatives/initiative_serializer.rb +3 -0
  41. data/app/services/decidim/initiatives/dummy_timestamp.rb +1 -1
  42. data/app/services/decidim/initiatives/initiative_search.rb +15 -13
  43. data/app/services/decidim/initiatives/pdf_signature_example.rb +27 -27
  44. data/app/views/decidim/initiatives/admin/initiatives/edit.html.erb +1 -1
  45. data/app/views/decidim/initiatives/admin/initiatives/index.html.erb +6 -0
  46. data/app/views/decidim/initiatives/admin/initiatives_type_scopes/edit.html.erb +24 -17
  47. data/app/views/decidim/initiatives/admin/initiatives_type_scopes/new.html.erb +17 -11
  48. data/app/views/decidim/initiatives/create_initiative/_finish_help.html.erb +2 -7
  49. data/app/views/decidim/initiatives/create_initiative/fill_data.html.erb +4 -17
  50. data/app/views/decidim/initiatives/create_initiative/finish.html.erb +11 -11
  51. data/app/views/decidim/initiatives/initiative_signatures/error_on_vote.js.erb +5 -0
  52. data/app/views/decidim/initiatives/initiatives/_committee_members.html.erb +73 -0
  53. data/app/views/decidim/initiatives/initiatives/_filters_small_view.html.erb +1 -1
  54. data/app/views/decidim/initiatives/initiatives/_form.html.erb +112 -0
  55. data/app/views/decidim/initiatives/initiatives/_result.html.erb +1 -1
  56. data/app/views/decidim/initiatives/initiatives/_send_to_technical_validation.html.erb +8 -0
  57. data/app/views/decidim/initiatives/initiatives/edit.html.erb +78 -0
  58. data/app/views/decidim/initiatives/initiatives/print.html.erb +156 -0
  59. data/app/views/decidim/initiatives/initiatives/show.html.erb +19 -7
  60. data/app/views/layouts/decidim/admin/initiative.html.erb +0 -1
  61. data/app/views/layouts/decidim/admin/initiatives.html.erb +2 -15
  62. data/config/locales/ar.yml +2 -29
  63. data/config/locales/ca.yml +90 -30
  64. data/config/locales/cs.yml +98 -38
  65. data/config/locales/de.yml +91 -31
  66. data/config/locales/el.yml +2 -35
  67. data/config/locales/en.yml +94 -34
  68. data/config/locales/es-MX.yml +94 -34
  69. data/config/locales/es-PY.yml +94 -34
  70. data/config/locales/es.yml +93 -33
  71. data/config/locales/eu.yml +2 -29
  72. data/config/locales/fi-plain.yml +94 -34
  73. data/config/locales/fi.yml +94 -34
  74. data/config/locales/fr-CA.yml +96 -36
  75. data/config/locales/fr.yml +96 -36
  76. data/config/locales/gl.yml +2 -33
  77. data/config/locales/hu.yml +3 -32
  78. data/config/locales/id-ID.yml +2 -29
  79. data/config/locales/is-IS.yml +2 -14
  80. data/config/locales/it.yml +2 -35
  81. data/config/locales/ja.yml +2 -35
  82. data/config/locales/lv.yml +2 -33
  83. data/config/locales/nl.yml +31 -34
  84. data/config/locales/no.yml +2 -32
  85. data/config/locales/pl.yml +101 -33
  86. data/config/locales/pt-BR.yml +2 -29
  87. data/config/locales/pt.yml +3 -36
  88. data/config/locales/ro-RO.yml +2 -35
  89. data/config/locales/ru.yml +2 -22
  90. data/config/locales/sk.yml +2 -31
  91. data/config/locales/sr-CS.yml +0 -7
  92. data/config/locales/sv.yml +2 -34
  93. data/config/locales/tr-TR.yml +68 -34
  94. data/config/locales/uk.yml +2 -22
  95. data/config/locales/zh-CN.yml +2 -35
  96. data/db/migrate/20171017095143_update_initiative_scoped_type.rb +0 -1
  97. data/db/migrate/20191107134847_add_scopes_to_initiatives_votes.rb +1 -1
  98. data/db/migrate/20191118105634_allow_multiple_offline_votes.rb +1 -1
  99. data/db/migrate/20210310120720_add_followable_counter_cache_to_initiatives.rb +16 -0
  100. data/lib/decidim/api/initiative_api_type.rb +26 -0
  101. data/lib/decidim/api/initiative_committee_member_type.rb +18 -0
  102. data/lib/decidim/api/initiative_type.rb +49 -0
  103. data/lib/decidim/api/initiative_type_interface.rb +8 -3
  104. data/lib/decidim/initiatives.rb +1 -0
  105. data/lib/decidim/initiatives/admin_engine.rb +23 -1
  106. data/lib/decidim/initiatives/api.rb +3 -0
  107. data/lib/decidim/initiatives/engine.rb +14 -9
  108. data/lib/decidim/initiatives/initiatives_filter_form_builder.rb +19 -12
  109. data/lib/decidim/initiatives/participatory_space.rb +6 -6
  110. data/lib/decidim/initiatives/query_extensions.rb +42 -19
  111. data/lib/decidim/initiatives/test/factories.rb +36 -0
  112. data/lib/decidim/initiatives/version.rb +1 -1
  113. metadata +34 -17
  114. data/app/types/decidim/initiatives/initiative_api_type.rb +0 -26
  115. data/app/types/decidim/initiatives/initiative_committee_member_type.rb +0 -18
  116. data/app/types/decidim/initiatives/initiative_type.rb +0 -42
@@ -15,14 +15,6 @@ el:
15
15
  online: Ηλεκτρονική
16
16
  state: Κατάσταση
17
17
  title: Τίτλος
18
- initiative_author:
19
- address: Διεύθυνση
20
- city: Πόλη
21
- id_document: NI/NIE
22
- name: Όνομα και επώνυμο
23
- phone_number: Αριθμός τηλεφώνου
24
- post_code: Τ.Κ.
25
- province: Επαρχία
26
18
  initiatives_committee_member:
27
19
  user: Μέλος επιτροπής
28
20
  initiatives_type:
@@ -139,10 +131,7 @@ el:
139
131
  email_subject: Επιτεύχθηκε νέο ορόσημο!
140
132
  notification_title: Η πρωτοβουλία <a href="%{resource_path}">%{resource_title}</a> έχει συμπληρώσει το %{percentage}% των υπογραφών.
141
133
  support_threshold_reached:
142
- email_intro: Η πρωτοβουλία %{resource_title} έχει συμπληρώσει το όριο υποστήριξης
143
134
  email_outro: Λάβατε αυτήν την ειδοποίηση επειδή είστε διαχειριστής της πλατφόρμας.
144
- email_subject: Το όριο υποστήριξης συμπληρώθηκε
145
- notification_title: Η πρωτοβουλία <a href="%{resource_path}">%{resource_title}</a> έχει συμπληρώσει το όριο υποστήριξης
146
135
  gamification:
147
136
  badges:
148
137
  initiatives:
@@ -295,7 +284,6 @@ el:
295
284
  fill_data:
296
285
  back: Πίσω
297
286
  continue: Συνέχεια
298
- fill_data_help: "<ul> <li>Ελέγξτε το περιεχόμενο της πρωτοβουλίας σας. Είναι ο τίτλος σας κατανοητός; Είναι σαφής ο στόχος της πρωτοβουλίας σας;</li> <li>Πρέπει να επιλέξετε τον τύπο υπογραφής. Αυτοπροσώπως, ηλεκτρονική ή συνδυασμός και των δύο</li> <li>Ποιο είναι το γεωγραφικό πεδίο της πρωτοβουλίας; Πόλη, περιφέρεια;</li> </ul>"
299
287
  initiative_type: Τύπος πρωτοβουλίας
300
288
  more_information: "(Περισσότερες πληροφορίες)"
301
289
  select_area: Επιλέξτε τομέα
@@ -303,19 +291,8 @@ el:
303
291
  finish:
304
292
  back: Πίσω
305
293
  back_to_initiatives: Επιστροφή στις πρωτοβουλίες
306
- callout_text: Συγχαρητήρια! Η πρωτοβουλία πολιτών δημιουργήθηκε με επιτυχία.
307
- confirm: Επιβεβαίωση
308
- edit_my_initiative: Επεξεργασία των πρωτοβουλιών μου
309
294
  go_to_my_initiatives: Μετάβαση στις πρωτοβουλίες μου
310
295
  more_information: "(Περισσότερες πληροφορίες)"
311
- send_my_initiative: Αποστολή της πρωτοβουλίας μου
312
- finish_help:
313
- access_reminder: Να θυμάστε ότι θα έχετε πάντα τη δυνατότητα πρόσβασης στις πρωτοβουλίες σας μέσω του μενού συμμετεχόντων.
314
- help_for_organizations: Εάν είστε σύλλογος, θα πρέπει να πραγματοποιήσετε αποστολή των πρακτικών του διοικητικού συμβουλίου όλων των οργανισμών που αποτελούν την Επιτροπή Προώθησης
315
- help_in_person_signatures: Εάν έχετε επιλέξει να συλλέξετε τις υπογραφές αυτοπροσώπως ή σε συνδυασμό με ηλεκτρονικές υπογραφές, θα πρέπει να πραγματοποιήσετε αποστολή των απαιτούμενων πληροφοριών.
316
- help_text: Να θυμάστε ότι για να επεξεργαστείτε σωστά την πρωτοβουλία, πρέπει να έχετε πρόσβαση στον πίνακα διαχείρισης όπου θα βρείτε το μενού χρήστη, να πραγματοποιήσετε αποστολή των απαιτούμενων πληροφοριών και να τις στείλετε για επεξεργασία.
317
- initiatives_page_link: Μπορείτε να αναζητήσετε όλες αυτές τις πληροφορίες στη διεύθυνση %{link}, που είναι αφιερωμένη στην ενημέρωση σχετικά με τις πρωτοβουλίες.
318
- page: σελίδα
319
296
  previous_form:
320
297
  back: Πίσω
321
298
  continue: Συνέχεια
@@ -323,14 +300,12 @@ el:
323
300
  more_information: "(Περισσότερες πληροφορίες)"
324
301
  promotal_committee:
325
302
  back: Πίσω
326
- individual_help_text: Αυτό το είδος πρωτοβουλίας πολιτών απαιτεί μια Επιτροπή Προώθησης αποτελούμενη τουλάχιστον από %{committee_size} άτομα (μάρτυρες). Πρέπει να κοινοποιήσετε τον ακόλουθο σύνδεσμο στα άλλα άτομα που αποτελούν μέρος αυτής της πρωτοβουλίας. Όταν οι επαφές σας λάβουν αυτόν τον σύνδεσμο, θα πρέπει να ακολουθήσουν τα υποδεικνυόμενα βήματα.
327
303
  more_information: "(Περισσότερες πληροφορίες)"
328
304
  select_initiative_type:
329
305
  back: Πίσω
330
306
  choose_html: Θέλω να δημιουργήσω μια πρωτοβουλία <strong>%{title}</strong>
331
307
  more_information: "(Περισσότερες πληροφορίες)"
332
308
  select: Θέλω να προωθήσω αυτήν την πρωτοβουλία
333
- select_initiative_type_help: Οι πρωτοβουλίες πολιτών είναι ένα μέσο με το οποίο οι πολίτες μπορούν να παρέμβουν, έτσι ώστε το Δημοτικό Συμβούλιο να μπορεί να αναλάβει δράσεις υπεράσπισης του γενικού συμφέροντος που εμπίπτουν σε τομείς δημοτικής δικαιοδοσίας. Ποια πρωτοβουλία θέλετε να ξεκινήσετε;
334
309
  share_committee_link:
335
310
  continue: Συνέχεια
336
311
  invite_to_committee_help: Σύνδεσμος για να προσκαλέσετε άτομα που θα είναι μέλη της επιτροπής προώθησης
@@ -418,19 +393,12 @@ el:
418
393
  random: Τυχαία
419
394
  recent: Πιο πρόσφατες
420
395
  recently_published: Δημοσιεύτηκαν πιο πρόσφατα
396
+ print:
397
+ city: Πόλη
421
398
  result:
422
- answer_title:
423
- accepted: Αυτή η πρόταση έγινε αποδεκτή επειδή
424
- created: Αυτή η πρόταση δημιουργήθηκε
425
- discarded: Αυτή η πρόταση απορρίφθηκε επειδή
426
- published: Αυτή η πρόταση δημοσιεύτηκε επειδή
427
- rejected: Αυτή η πρόταση απορρίφθηκε επειδή
428
- validating: Αυτή η πρόταση αξιολογείται
429
399
  initiative_rejected_reason: Αυτή η πρωτοβουλία απορρίφθηκε λόγω της έλλειψης υπογραφών.
430
400
  show:
431
- any_vote_method: Αυτή η πρωτοβουλία πολιτών συλλέγει τόσο ηλεκτρονικές όσο και υπογραφές αυτοπροσώπως.
432
401
  follow_description: Λήψη ειδοποίησης όταν υπάρχουν νέα σε αυτήν την πρωτοβουλία
433
- offline_method: Αυτή η πρωτοβουλία πολιτών συλλέγει μόνο υπογραφές αυτοπροσώπως.
434
402
  signatures_count:
435
403
  one: "υπογραφή"
436
404
  other: "υπογραφές"
@@ -490,7 +458,6 @@ el:
490
458
  decidim:
491
459
  admin:
492
460
  initiative:
493
- attachments: Συνημμένα
494
461
  committee_members: Μέλη επιτροπής
495
462
  components: Στοιχεία
496
463
  information: Πληροφορίες
@@ -17,14 +17,6 @@ en:
17
17
  online: Online
18
18
  state: Status
19
19
  title: Title
20
- initiative_author:
21
- address: Address
22
- city: City
23
- id_document: DNI/NIE
24
- name: Name and Surname
25
- phone_number: Phone number
26
- post_code: Post code
27
- province: Province
28
20
  initiatives_committee_member:
29
21
  user: Committee member
30
22
  initiatives_type:
@@ -146,6 +138,11 @@ en:
146
138
  email_outro: You have received this notification because you are following %{resource_title}. You can stop receiving notifications following the previous link.
147
139
  email_subject: Initiative signatures end date extended!
148
140
  notification_title: The signatures end date for the <a href="%{resource_path}">%{resource_title}</a> initiative have been extended.
141
+ initiative_sent_to_technical_validation:
142
+ email_intro: The initiative "%{resource_title}" has been sent to technical validation. Check it out at <a href="%{admin_initiative_url}">the admin panel</a>
143
+ email_outro: You have received this notification because you are an admin of the platform.
144
+ email_subject: Initiative "%{resource_title}" was sent to technical validation.
145
+ notification_title: The initiative "%{resource_title}" has been sent to technical validation. Check it out at <a href="%{admin_initiative_path}">the admin panel</a>
149
146
  milestone_completed:
150
147
  affected_user:
151
148
  email_intro: Your initiative %{resource_title} has achieved the %{percentage}% of signatures!
@@ -158,10 +155,10 @@ en:
158
155
  email_subject: New milestone completed!
159
156
  notification_title: The <a href="%{resource_path}">%{resource_title}</a> initiative has achieved the %{percentage}% of signatures.
160
157
  support_threshold_reached:
161
- email_intro: The initiative %{resource_title} has reached the support threshold
158
+ email_intro: The initiative %{resource_title} has reached the signatures threshold
162
159
  email_outro: You have received this notification because you are an admin of the platform.
163
- email_subject: Support threshold reached
164
- notification_title: The <a href="%{resource_path}">%{resource_title}</a> initiative has reached the support threshold
160
+ email_subject: Signatures threshold reached
161
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> initiative has reached the signatures threshold
165
162
  gamification:
166
163
  badges:
167
164
  initiatives:
@@ -206,12 +203,17 @@ en:
206
203
  content_blocks:
207
204
  highlighted_initiatives:
208
205
  max_results: Maximum amount of elements to show
206
+ order:
207
+ default: Default (Least recent)
208
+ label: 'Order element by:'
209
+ most_recent: Most recent
209
210
  exports:
210
211
  initiatives: Initiatives
211
212
  initiatives:
212
213
  edit:
213
214
  accept: Accept initiative
214
215
  confirm: Are you sure?
216
+ confirm_send_to_technical_validation: Are you sure?
215
217
  discard: Discard the initiative
216
218
  export_pdf_signatures: Export PDF of signatures
217
219
  export_votes: Export signatures
@@ -268,7 +270,7 @@ en:
268
270
  update: Update
269
271
  form:
270
272
  authorizations: Authorization settings
271
- child_scope_threshold_enabled_help: 'This config flag doesn''t support offline votes, it enables sub-jauges and works with an authorization handler that associates a scope to the user, make sure you select that authorization, bellow in authorization settings. For it to work scopes need to be configured in hierarchical way : 1 Parent - N Child. For more info on how this configuration works, see this <a href="https://docs.decidim.org/admin-manual/en/initiatives/" target="_blank">link</a>.'
273
+ child_scope_threshold_enabled_help: 'This config flag doesn''t support offline votes, it enables sub-scopes and works with an authorization handler that associates a scope to the user, make sure you select that authorization, bellow in authorization settings. For it to work scopes need to be configured in hierarchical way : 1 Parent - N Child. For more info on how this configuration works, see this <a href="https://docs.decidim.org/admin-manual/en/initiatives/" target="_blank">link</a>.'
272
274
  only_global_scope_enabled_help: Tick this flag if you enabled "Child scope signature" and configured the global scope as your parent scope. By enabling this, initiative type selection will be skipped in the initiative creation wizard. For more info on how this configuration works, see this <a href="https://docs.decidim.org/admin-manual/en/initiatives/" target="_blank">link</a>.
273
275
  options: Options
274
276
  title: General information
@@ -308,9 +310,13 @@ en:
308
310
  filter_type_values:
309
311
  all: All
310
312
  committee_requests:
313
+ approve:
314
+ success: Request has been approved.
311
315
  new:
312
316
  continue: Continue
313
317
  help_text: You are about to request becoming a member of the promoter committee of this initiative
318
+ revoke:
319
+ success: Request has been revoked.
314
320
  spawn:
315
321
  success: Your request has been sent to the initiative author.
316
322
  content_blocks:
@@ -320,7 +326,7 @@ en:
320
326
  fill_data:
321
327
  back: Back
322
328
  continue: Continue
323
- 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? City, district?</li> </ul>"
329
+ 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>"
324
330
  initiative_type: Initiative type
325
331
  more_information: "(More information)"
326
332
  select_area: Select an area
@@ -328,19 +334,15 @@ en:
328
334
  finish:
329
335
  back: Back
330
336
  back_to_initiatives: Back to initiatives
331
- callout_text: Congratulations! Your citizen initiative has been successfully created.
332
- confirm: Confirm
333
- edit_my_initiative: Edit my initiatives
337
+ callout_text: Congratulations! Your initiative has been successfully created.
338
+ confirm: You are going to send the initiative for an admin to review it and publish it. Once published you will not be able to edit it. Are you sure?
339
+ edit_my_initiative: Edit my initiative
334
340
  go_to_my_initiatives: Go to my initiatives
335
341
  more_information: "(More information)"
336
- send_my_initiative: Send my initiative
342
+ send_my_initiative: Send my initiative to technical validation
337
343
  finish_help:
338
- access_reminder: Remember that you will always be able to access your initiatives through the participant menu.
339
- help_for_organizations: If you are an association you will have to upload the minutes of the management board of all the organisations that form the Promoting Commission
340
- help_in_person_signatures: If you have chosen to collect the signatures in-person or combined with online, you will have to upload the required information.
341
- help_text: Remember that in order to properly process the initiative you must access the administration panel where you will find the user menu, upload the information required and send it for processing.
342
- initiatives_page_link: You can look up all this information on the %{link} dedicated to inform about initiatives.
343
- page: page
344
+ access_reminder: You can access your initiatives through the %{link} filter on the Initiatives page.
345
+ publish_helper_text: Remember that for your initiative to be published you must complete the required information and <strong>send it to technical validation</strong> for an administrator to review it.
344
346
  previous_form:
345
347
  back: Back
346
348
  continue: Continue
@@ -348,14 +350,14 @@ en:
348
350
  more_information: "(More information)"
349
351
  promotal_committee:
350
352
  back: Back
351
- individual_help_text: This kind of citizen initiative requires a Promoting Commission consisting of at least %{committee_size} people (attestors). You must share the following link with the other people that are part of this initiative. When your contacts receive this link they will have to follow the indicated steps.
353
+ individual_help_text: This kind of initiative requires a Promoting Commission consisting of at least %{committee_size} people (attestors). You must share the following link with the other people that are part of this initiative. When your contacts receive this link they will have to follow the indicated steps.
352
354
  more_information: "(More information)"
353
355
  select_initiative_type:
354
356
  back: Back
355
357
  choose_html: I want to create a <strong>%{title}</strong>
356
358
  more_information: "(More information)"
357
359
  select: I want to promote this initiative
358
- select_initiative_type_help: Citizen initiatives are a means by which the citizenship can intervene so that the City Council can undertake actions in defence of the general interest that are within fields of municipal jurisdiction. Which initiative do you want to launch?
360
+ select_initiative_type_help: Initiatives are a means by which the participants can intervene so that the organization can undertake actions in defence of the general interest. Which initiative do you want to launch?
359
361
  share_committee_link:
360
362
  continue: Continue
361
363
  invite_to_committee_help: Link to invite people that will be part of the promoter committee
@@ -364,7 +366,22 @@ en:
364
366
  compare_help: If any of the following initiatives is similar to yours we encourage you to sign it. Your proposal will have more possibilities to get done.
365
367
  continue: My initiative is different
366
368
  more_information: "(More information)"
369
+ edit:
370
+ accept: Accept the initiative
371
+ back: Back
372
+ confirm: Are you sure?
373
+ discard: Discard the initiative
374
+ export_pdf_signatures: Export PDF of signatures
375
+ export_votes: Export signatures
376
+ reject: Reject initiative
377
+ title: Edit Initiative
378
+ update: Update
367
379
  events:
380
+ approve_membership_request:
381
+ email_intro: "%{author_nickname} accepted your application to be part of the promoter committee for the initiative %{resource_title}."
382
+ email_outro: 'You received this notification because you applied to this initiative: %{resource_title}'
383
+ email_subject: "%{author_nickname} accepted your application to the promoter committee"
384
+ notification_title: <a href="%{author_profile_url}">%{author_nickname}</a> accepted your application to be part of the promoter committee for the following initiative <a href="%{resource_url}">%{resource_title}</a>.
368
385
  create_initiative_event:
369
386
  email_intro: "%{author_name} %{author_nickname}, who you are following, has created a new initiative, check it out and contribute:"
370
387
  email_outro: You have received this notification because you are following %{author_nickname}. You can stop receiving notifications following the previous link.
@@ -375,6 +392,20 @@ en:
375
392
  email_outro: You have received this notification because you are following %{author_nickname}. You can stop receiving notifications following the previous link.
376
393
  email_subject: Initiative endorsed by %{author_nickname}
377
394
  notification_title: The <a href="%{resource_path}">%{resource_title}</a> initiative was endorsed by <a href="%{author_path}">%{author_name} %{author_nickname}</a>.
395
+ revoke_membership_request:
396
+ email_intro: "%{author_nickname} rejected your application to be part of the promoter committee for the following initiative %{resource_title}."
397
+ email_outro: 'You received this notification because you applied to this initiative: %{resource_title}.'
398
+ email_subject: "%{author_nickname} rejected your application to the promoter committee"
399
+ notification_title: <a href="%{author_profile_url}">%{author_nickname}</a> rejected your application to be part of the promoter committee for the following initiative <a href="%{resource_url}">%{resource_title}</a>.
400
+ spawn_committee_request_event:
401
+ email_intro: "%{applicant_nickname} applied for the promoter committee of your initiative %{resource_title}. To accept or reject the application, go to the edit form of your initiative."
402
+ email_outro: 'You received this notification because you are the author of this initiative: %{resource_title}'
403
+ email_subject: "%{applicant_nickname} wants to join your initiative"
404
+ notification_title: <a href="%{applicant_profile_url}">%{applicant_nickname}</a> applied for the promoter committee of your initiative <a href="%{resource_url}">%{resource_title}</a>. To accept or reject click <a href="%{resource_url}/edit">here</a>.
405
+ form:
406
+ add_attachments: Documents
407
+ attachment_legend: "(Optional) Add Attachments"
408
+ delete_attachment: Delete
378
409
  index:
379
410
  title: Initiatives
380
411
  initiative_signatures:
@@ -411,6 +442,13 @@ en:
411
442
  hidden_authors_count:
412
443
  one: and 1 more person
413
444
  other: and %{count} more people
445
+ committee_members:
446
+ approve: Approve
447
+ confirm_revoke: Are you sure?
448
+ invite_to_committee_help: Share this link to invite other participants to the promoter committee
449
+ no_members_yet: There are no members in the promoter committee
450
+ revoke: Revoke
451
+ title: Committee members
414
452
  count:
415
453
  title:
416
454
  one: "%{count} initiative"
@@ -451,19 +489,38 @@ en:
451
489
  random: Random
452
490
  recent: Most recent
453
491
  recently_published: Most recently published
492
+ print:
493
+ address: Address
494
+ author_title: Author of the initiative
495
+ city: City
496
+ email: Email
497
+ full_name: Full Name
498
+ general_title: Application for admission of an initiative
499
+ id_number: ID Number
500
+ initiative:
501
+ attachments: Attached documentation (please write the name of each document below)
502
+ description: 'Description:'
503
+ title: 'Title:'
504
+ type: Type of initiative
505
+ legal_text: The personal data collected will be incorporated and treated confidentially by the organization, according to current legislation.
506
+ phone_number: Phone Number
507
+ place_date: Place, Date
508
+ postal_code: Postal Code/ZIP
509
+ print: Print
510
+ province: Province/State
511
+ section: 'If requested by the organization, please print and fill out this form to submit where indicated:'
512
+ signature: Signature
454
513
  result:
455
- answer_title:
456
- accepted: This proposal has been accepted because
457
- created: This proposal has been created
458
- discarded: This proposal has been discarded because
459
- published: This proposal is published because
460
- rejected: This proposal has been rejected because
461
- validating: This proposal is being evaluated
514
+ answer_title: This initiative has been answered
462
515
  initiative_rejected_reason: This initiative has been rejected due to its lack of signatures.
463
516
  show:
464
- any_vote_method: This citizen initiative collects both online and in-person signatures.
517
+ any_vote_method: This initiative collects both online and in-person signatures.
518
+ confirm: You are going to send the initiative for an admin to review it and publish it. Once published you will not be able to edit it. Are you sure?
519
+ edit: Edit
465
520
  follow_description: Receive a notification when there are news in this initiative
466
- offline_method: This citizen initiative only collects in-person signatures.
521
+ offline_method: This initiative only collects in-person signatures.
522
+ print: Print Initiative
523
+ send_to_technical_validation: Send to technical validation
467
524
  signatures_count:
468
525
  one: " signature"
469
526
  other: " signatures"
@@ -509,6 +566,9 @@ en:
509
566
  accepted: Accepted
510
567
  expired: Expired
511
568
  unavailable_scope: Unavailable scope
569
+ update:
570
+ error: An error has occurred
571
+ success: The initiative has been successfully updated
512
572
  versions:
513
573
  shared:
514
574
  back_to_resource: Go back to initiative
@@ -16,14 +16,6 @@ es-MX:
16
16
  online: En línea
17
17
  state: Estado
18
18
  title: Título
19
- initiative_author:
20
- address: Dirección
21
- city: Ciudad
22
- id_document: DNI / NIE
23
- name: Nombre y apellido
24
- phone_number: Número de teléfono
25
- post_code: Código postal
26
- province: Provincia
27
19
  initiatives_committee_member:
28
20
  user: Miembro del Comité
29
21
  initiatives_type:
@@ -145,6 +137,11 @@ es-MX:
145
137
  email_outro: Has recibido esta notificación porque está siguiendo %{resource_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
146
138
  email_subject: '¡Ampliado el términio de recogida de firmas para esta iniciativa!'
147
139
  notification_title: La fecha de recogida de firmas para la iniciativa <a href="%{resource_path}">%{resource_title}</a> se ha ampliado.
140
+ initiative_sent_to_technical_validation:
141
+ email_intro: La iniciativa "%{resource_title}" ha sido enviada a la validación técnica. Compruébala en <a href="%{admin_initiative_url}">el panel de administración</a>
142
+ email_outro: Has recibido esta notificación porque eres una administradora de la plataforma.
143
+ email_subject: La iniciativa "%{resource_title}" fue enviada a validación técnica.
144
+ notification_title: La iniciativa "%{resource_title}" ha sido enviada a validación técnica. Compruébalo en <a href="%{admin_initiative_path}">el panel de administración</a>
148
145
  milestone_completed:
149
146
  affected_user:
150
147
  email_intro: '¡Tu iniciativa %{resource_title} ha conseguido el %{percentage}% de firmas!'
@@ -157,10 +154,10 @@ es-MX:
157
154
  email_subject: '¡Nuevo hito completado!'
158
155
  notification_title: La iniciativa <a href="%{resource_path}">%{resource_title}</a> ha logrado el %{percentage}% de las firmas.
159
156
  support_threshold_reached:
160
- email_intro: La iniciativa %{resource_title} ha alcanzado el umbral de apoyos
157
+ email_intro: La iniciativa %{resource_title} ha alcanzado el umbral de firmas
161
158
  email_outro: Has recibido esta notificación porque eres una de las administradoras de la plataforma.
162
- email_subject: Umbral de apoyos alcanzado
163
- notification_title: La iniciativa <a href="%{resource_path}">%{resource_title}</a> ha llegado el umbral de apoyos
159
+ email_subject: Umbral de firmas alcanzado
160
+ notification_title: La iniciativa <a href="%{resource_path}">%{resource_title}</a> ha alcanzado el umbral de firmas
164
161
  gamification:
165
162
  badges:
166
163
  initiatives:
@@ -205,12 +202,17 @@ es-MX:
205
202
  content_blocks:
206
203
  highlighted_initiatives:
207
204
  max_results: Cantidad máxima de elementos para mostrar
205
+ order:
206
+ default: Por defecto (menos recientes)
207
+ label: 'Ordenar elemento por:'
208
+ most_recent: Más recientes
208
209
  exports:
209
210
  initiatives: Iniciativas
210
211
  initiatives:
211
212
  edit:
212
213
  accept: Aceptar iniciativa
213
214
  confirm: '¿Estás seguro?'
215
+ confirm_send_to_technical_validation: '¿Estás seguro/a?'
214
216
  discard: Descartar la iniciativa
215
217
  export_pdf_signatures: Exportar PDF de Firmas.
216
218
  export_votes: Soportes de exportación
@@ -307,9 +309,13 @@ es-MX:
307
309
  filter_type_values:
308
310
  all: Todos
309
311
  committee_requests:
312
+ approve:
313
+ success: La solicitud ha sido aprobada.
310
314
  new:
311
315
  continue: Continuar
312
316
  help_text: Estás a punto de solicitar convertirte en miembro del comité promotor de esta iniciativa
317
+ revoke:
318
+ success: La solicitud ha sido revocada.
313
319
  spawn:
314
320
  success: Tu solicitud ha sido enviada al autor de la iniciativa.
315
321
  content_blocks:
@@ -319,7 +325,7 @@ es-MX:
319
325
  fill_data:
320
326
  back: Volver
321
327
  continue: Continuar
322
- fill_data_help: "<ul> <li>Revisa el contenido de tu iniciativa. ¿Tu título es fácil de entender? ¿Está claro el objetivo de tu iniciativa?</li> <li>Tienes que elegir el tipo de firma. En persona, en línea o una combinación de ambos</li> <li>¿Cuál es el alcance geográfico de la iniciativa? ¿Distrito de la ciudad?</li> </ul>"
328
+ fill_data_help: "<ul> <li>Revisa el contenido de tu iniciativa. ¿Tu título es fácil de entender? ¿Está claro el objetivo de tu iniciativa?</li> <li>Tienes que elegir el tipo de firma. En persona, en línea o una combinación de ambos</li> <li>¿Cuál es el alcance geográfico de la iniciativa?</li> </ul>"
323
329
  initiative_type: Tipo de iniciativa
324
330
  more_information: "(Más información)"
325
331
  select_area: Selecciona una área
@@ -327,19 +333,15 @@ es-MX:
327
333
  finish:
328
334
  back: Volver
329
335
  back_to_initiatives: Volver a iniciativas
330
- callout_text: '¡Felicidades! Tu iniciativa ciudadana ha sido creada con éxito.'
331
- confirm: Confirmar
332
- edit_my_initiative: Editar mis iniciativas
336
+ callout_text: '¡Enhorabuena! Tu iniciativa se ha creado correctamente.'
337
+ confirm: Vas a enviar la iniciativa para que una administradora la revise y publique. Una vez publicada no podrás editarla. ¿Estás segura?
338
+ edit_my_initiative: Editar mi iniciativa
333
339
  go_to_my_initiatives: Ir a mis iniciativas
334
340
  more_information: "(Más información)"
335
- send_my_initiative: Enviar la meva iniciativa
341
+ send_my_initiative: Enviar mi iniciativa a validación técnica
336
342
  finish_help:
337
- access_reminder: Recuerda que siempre podrás acceder a tus iniciativas a través del menú de usuario.
338
- help_for_organizations: Si sois una asociación, tendréis que facilitar los datos de los miembros de la junta de todas las organizaciones que conforman la Comisión Promotora.
339
- help_in_person_signatures: Si eliges recolectar las firmas en persona o combinadas en línea, tendrás que cargar la información requerida.
340
- help_text: Recuerda que para procesar correctamente la iniciativa debes acceder al panel de administración donde encontrarás el menú de usuario, cargar la información solicitada y enviarla para su tramitación.
341
- initiatives_page_link: Puedes buscar toda esta información en el %{link} dedicado a informar sobre iniciativas.
342
- page: página
343
+ access_reminder: Puede acceder a tus iniciativas a través del filtro %{link} en la página de Iniciativas.
344
+ publish_helper_text: Recuerda que para que tu iniciativa sea publicada debes completar la información requerida y <strong>enviarla a validación técnica</strong> para que una administradora la revise.
343
345
  previous_form:
344
346
  back: Volver
345
347
  continue: Continuar
@@ -347,14 +349,14 @@ es-MX:
347
349
  more_information: "(Más información)"
348
350
  promotal_committee:
349
351
  back: Volver
350
- individual_help_text: Este tipo de iniciativa ciudadana requiere una Comisión de Promoción compuesta por al menos %{committee_size} personas (atestores). Debe compartir el siguiente enlace con las otras personas que forman parte de esta iniciativa. Cuando sus contactos reciban este enlace deberán seguir los pasos indicados.
352
+ individual_help_text: Este tipo de iniciativa ciudadana requiere un comité promotor compuesto por al menos %{committee_size} miembros (certificadores). Debes compartir el siguiente enlace con las demás personas que forman parte de esta iniciativa. Cuando tus contactos reciban este enlace, tendrán que seguir los pasos que se les indiquen.
351
353
  more_information: "(Más información)"
352
354
  select_initiative_type:
353
355
  back: Volver
354
356
  choose_html: Quiero crear un <strong>%{title}</strong>
355
357
  more_information: "(Más información)"
356
358
  select: Quiero promover esta iniciativa.
357
- select_initiative_type_help: Las iniciativas ciudadanas son un medio por el cual la ciudadanía puede intervenir para que el Ayuntamiento pueda emprender acciones en defensa del interés general que se encuentran dentro de los ámbitos de competencia municipal. ¿Qué iniciativa quieres lanzar?
359
+ select_initiative_type_help: Las iniciativas son un medio por el que las participantes pueden intervenir para que la organización emprenda acciones en defensa del interés general. ¿Qué iniciativa quieres lanzar?
358
360
  share_committee_link:
359
361
  continue: Continuar
360
362
  invite_to_committee_help: Enlace para invitar a personas que formarán parte del Comisión Promotora.
@@ -363,7 +365,22 @@ es-MX:
363
365
  compare_help: Si alguna de las siguientes iniciativas es similar a la suya, lo alentamos a que la respalde. Su propuesta tendrá más posibilidades de hacerse.
364
366
  continue: Mi iniciativa es diferente
365
367
  more_information: "(Más información)"
368
+ edit:
369
+ accept: Aceptar la iniciativa
370
+ back: Volver
371
+ confirm: '¿Estás seguro/a?'
372
+ discard: Descartar la iniciativa
373
+ export_pdf_signatures: Exportar PDF de firmas
374
+ export_votes: Exportar firmas
375
+ reject: Rechazar la iniciativa
376
+ title: Editar Iniciativa
377
+ update: Actualizar
366
378
  events:
379
+ approve_membership_request:
380
+ email_intro: "%{author_nickname} ha aceptado tu solicitud para formar parte del comité promotor de la iniciativa %{resource_title}."
381
+ email_outro: 'Has recibido esta notificación porque has solicitado unirte a esta iniciativa: %{resource_title}'
382
+ email_subject: "%{author_nickname} aceptó tu solicitud para unirte al comité promotor"
383
+ notification_title: <a href="%{author_profile_url}">%{author_nickname}</a> aceptó tu solicitud para formar parte del comité promotor de la siguiente iniciativa <a href="%{resource_url}">%{resource_title}</a>.
367
384
  create_initiative_event:
368
385
  email_intro: "%{author_name} %{author_nickname}, a quien sigues, ha creado una nueva iniciativa, compruébalo y contribuye:"
369
386
  email_outro: Recibiste esta notificación porque estás siguiendo %{author_nickname}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
@@ -374,6 +391,20 @@ es-MX:
374
391
  email_outro: Has recibido esta notificación porque estás siguiendo a %{author_nickname}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
375
392
  email_subject: Iniciativa respaldada por %{author_nickname}
376
393
  notification_title: La iniciativa <a href="%{resource_path}">%{resource_title}</a> fue respaldada por <a href="%{author_path}">%{author_name} %{author_nickname}</a>.
394
+ revoke_membership_request:
395
+ email_intro: "%{author_nickname} rechazó tu solicitud para formar parte del comité promotor de la siguiente iniciativa %{resource_title}."
396
+ email_outro: 'Has recibido esta notificación porque has solicitado unirte a esta iniciativa: %{resource_title}.'
397
+ email_subject: "%{author_nickname} rechazó tu solicitud para unirte al comité promotor"
398
+ notification_title: <a href="%{author_profile_url}">%{author_nickname}</a> rechazó tu solicitud para formar parte del comité promotor de la siguiente iniciativa <a href="%{resource_url}">%{resource_title}</a>.
399
+ spawn_committee_request_event:
400
+ email_intro: "%{applicant_nickname} ha solicitado unirse al comité promotor de tu iniciativa %{resource_title}. Para aceptar o rechazar la solicitud, ve al formulario de edición de tu iniciativa."
401
+ email_outro: 'Has recibido esta notificación porque eres la autora de la iniciativa %{resource_title}'
402
+ email_subject: "%{applicant_nickname} quiere unirse a tu iniciativa"
403
+ notification_title: <a href="%{applicant_profile_url}">%{applicant_nickname}</a> ha solicitado unirse al comité promotor de tu iniciativa <a href="%{resource_url}">%{resource_title}</a>. Para aceptar o rechazar la solicitud haz clic <a href="%{resource_url}/edit">aquí</a>.
404
+ form:
405
+ add_attachments: Documentos
406
+ attachment_legend: "(Opcional) Añadir adjuntos"
407
+ delete_attachment: Borrar
377
408
  index:
378
409
  title: Iniciativas
379
410
  initiative_signatures:
@@ -410,6 +441,13 @@ es-MX:
410
441
  hidden_authors_count:
411
442
  one: y 1 persona más
412
443
  other: y %{count} personas más
444
+ committee_members:
445
+ approve: Aprobar
446
+ confirm_revoke: '¿Estás seguro/a?'
447
+ invite_to_committee_help: Comparte este enlace para invitar a otras participantes al comité promotor
448
+ no_members_yet: No hay miembros en el comité promotor
449
+ revoke: Revocar
450
+ title: Miembros del comité
413
451
  count:
414
452
  title:
415
453
  one: "%{count} iniciativa"
@@ -450,19 +488,38 @@ es-MX:
450
488
  random: Aleatorio
451
489
  recent: Más reciente
452
490
  recently_published: Publicada más recientemente
491
+ print:
492
+ address: Dirección
493
+ author_title: Autora de la iniciativa
494
+ city: Ciudad
495
+ email: Correo electrónico
496
+ full_name: Nombre completo
497
+ general_title: Solicitud de admisión de una iniciativa
498
+ id_number: Número de ID
499
+ initiative:
500
+ attachments: Documentación adjunta (por favor escribe el nombre de cada documento abajo)
501
+ description: 'Descripción:'
502
+ title: 'Título:'
503
+ type: Tipo de iniciativa
504
+ legal_text: Los datos personales recogidos serán incorporados y tratados confidencialmente por la organización, de acuerdo con la legislación vigente.
505
+ phone_number: Número de teléfono
506
+ place_date: Lugar, fecha
507
+ postal_code: Código postal
508
+ print: Imprimir
509
+ province: Provincia
510
+ section: 'Si lo solicita la organización, por favor imprime y rellena este formulario para enviar donde se indique:'
511
+ signature: Firma
453
512
  result:
454
- answer_title:
455
- accepted: Esta propuesta ha sido aceptada porque
456
- created: Esta propuesta ha sido creada.
457
- discarded: Esta propuesta ha sido descartada porque.
458
- published: Esta propuesta se publica porque
459
- rejected: Esta propuesta ha sido rechazada porque
460
- validating: Esta propuesta está siendo evaluada.
513
+ answer_title: Esta iniciativa ha sido respondida
461
514
  initiative_rejected_reason: Esta iniciativa ha sido rechazada debido a la falta de apoyo.
462
515
  show:
463
- any_vote_method: Esta iniciativa ciudadana recoge apoyos en línea y presencialmente.
516
+ any_vote_method: Esta iniciativa recoge firmas digitales y presenciales.
517
+ confirm: Vas a enviar la iniciativa para que una administrador ala revise y publique. Una vez publicada no podrás editarla. ¿Estás segura?
518
+ edit: Editar
464
519
  follow_description: Recibir una notificación cuando haya novedades en esta iniciativa.
465
- offline_method: Esta iniciativa ciudadana solo recoge firmas presenciales.
520
+ offline_method: Esta iniciativa solo recoge firmas presenciales.
521
+ print: Imprimir Iniciativa
522
+ send_to_technical_validation: Enviar a validación técnica
466
523
  signatures_count:
467
524
  one: " firma"
468
525
  other: " firmas"
@@ -508,6 +565,9 @@ es-MX:
508
565
  accepted: Aceptado
509
566
  expired: Caducado
510
567
  unavailable_scope: Alcance no disponible
568
+ update:
569
+ error: Se ha producido un error
570
+ success: La iniciativa se ha actualizado correctamente
511
571
  versions:
512
572
  shared:
513
573
  back_to_resource: Volver a la iniciativa
@@ -523,7 +583,7 @@ es-MX:
523
583
  admin:
524
584
  initiative:
525
585
  attachments: Archivos adjuntos
526
- committee_members: Miembros del comisión
586
+ committee_members: Miembros del comité
527
587
  components: Componentes
528
588
  information: Información
529
589
  initiative_creation_header: