decidim-consultations 0.11.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +51 -0
  3. data/Rakefile +3 -0
  4. data/app/assets/config/decidim_consultations_manifest.js +5 -0
  5. data/app/assets/config/decidim_consultations_manifest.scss +3 -0
  6. data/app/assets/images/decidim/consultations/icon.svg +70 -0
  7. data/app/assets/images/decidim/consultations/icon2.svg +88 -0
  8. data/app/assets/javascripts/decidim/consultations/show_more.js.es6 +12 -0
  9. data/app/assets/javascripts/decidim/consultations/social_share.js +2 -0
  10. data/app/assets/javascripts/decidim/consultations/utils.js.es6 +19 -0
  11. data/app/assets/javascripts/decidim/consultations/vote_dialog.js +36 -0
  12. data/app/assets/stylesheets/decidim/consultations/_question.scss +46 -0
  13. data/app/assets/stylesheets/decidim/consultations/_stats.scss +22 -0
  14. data/app/assets/stylesheets/decidim/consultations/_video_wrapper.scss +14 -0
  15. data/app/assets/stylesheets/decidim/consultations/banners/_block-banner.scss +39 -0
  16. data/app/assets/stylesheets/decidim/consultations/consultations.scss +6 -0
  17. data/app/assets/stylesheets/decidim/consultations/consultations/_consultations-banner.scss +13 -0
  18. data/app/assets/stylesheets/decidim/consultations/consultations/_consultations-card.scss +17 -0
  19. data/app/assets/stylesheets/decidim/consultations/consultations/_consultations-header.scss +115 -0
  20. data/app/assets/stylesheets/decidim/consultations/consultations/_consultations-home-banner.scss +15 -0
  21. data/app/assets/stylesheets/decidim/consultations/consultations/_consultations-home-intro.scss +30 -0
  22. data/app/assets/stylesheets/decidim/consultations/consultations/_consultations-intro.scss +11 -0
  23. data/app/assets/stylesheets/decidim/consultations/consultations/_consultations-title.scss +26 -0
  24. data/app/assets/stylesheets/decidim/consultations/consultations/_consultations_nav.scss +7 -0
  25. data/app/assets/stylesheets/decidim/consultations/consultations/introductory_image.scss +3 -0
  26. data/app/assets/stylesheets/decidim/consultations/highlighted-content-banner.css.scss +42 -0
  27. data/app/assets/stylesheets/decidim/consultations/social_share.css.scss +18 -0
  28. data/app/commands/decidim/consultations/admin/create_consultation.rb +61 -0
  29. data/app/commands/decidim/consultations/admin/create_question.rb +68 -0
  30. data/app/commands/decidim/consultations/admin/create_response.rb +39 -0
  31. data/app/commands/decidim/consultations/admin/publish_consultation.rb +34 -0
  32. data/app/commands/decidim/consultations/admin/publish_consultation_results.rb +34 -0
  33. data/app/commands/decidim/consultations/admin/publish_question.rb +34 -0
  34. data/app/commands/decidim/consultations/admin/unpublish_consultation.rb +34 -0
  35. data/app/commands/decidim/consultations/admin/unpublish_consultation_results.rb +34 -0
  36. data/app/commands/decidim/consultations/admin/unpublish_question.rb +34 -0
  37. data/app/commands/decidim/consultations/admin/update_consultation.rb +64 -0
  38. data/app/commands/decidim/consultations/admin/update_question.rb +72 -0
  39. data/app/commands/decidim/consultations/admin/update_response.rb +46 -0
  40. data/app/commands/decidim/consultations/unvote_question.rb +37 -0
  41. data/app/commands/decidim/consultations/vote_question.rb +42 -0
  42. data/app/constraints/decidim/consultations/current_component.rb +28 -0
  43. data/app/constraints/decidim/consultations/current_question.rb +36 -0
  44. data/app/controllers/concerns/decidim/consultations/action_authorization.rb +38 -0
  45. data/app/controllers/concerns/decidim/consultations/admin/consultation_admin.rb +24 -0
  46. data/app/controllers/concerns/decidim/consultations/admin/question_admin.rb +28 -0
  47. data/app/controllers/concerns/decidim/consultations/needs_consultation.rb +54 -0
  48. data/app/controllers/concerns/decidim/consultations/needs_question.rb +79 -0
  49. data/app/controllers/concerns/decidim/consultations/orderable.rb +52 -0
  50. data/app/controllers/decidim/consultations/admin/application_controller.rb +14 -0
  51. data/app/controllers/decidim/consultations/admin/categories_controller.rb +13 -0
  52. data/app/controllers/decidim/consultations/admin/component_permissions_controller.rb +13 -0
  53. data/app/controllers/decidim/consultations/admin/components_controller.rb +13 -0
  54. data/app/controllers/decidim/consultations/admin/consultation_publications_controller.rb +44 -0
  55. data/app/controllers/decidim/consultations/admin/consultation_results_publications_controller.rb +44 -0
  56. data/app/controllers/decidim/consultations/admin/consultations_controller.rb +100 -0
  57. data/app/controllers/decidim/consultations/admin/question_attachments_controller.rb +25 -0
  58. data/app/controllers/decidim/consultations/admin/question_publications_controller.rb +44 -0
  59. data/app/controllers/decidim/consultations/admin/questions_controller.rb +88 -0
  60. data/app/controllers/decidim/consultations/admin/responses_controller.rb +85 -0
  61. data/app/controllers/decidim/consultations/consultation_widgets_controller.rb +25 -0
  62. data/app/controllers/decidim/consultations/consultations_controller.rb +75 -0
  63. data/app/controllers/decidim/consultations/question_votes_controller.rb +40 -0
  64. data/app/controllers/decidim/consultations/question_widgets_controller.rb +26 -0
  65. data/app/controllers/decidim/consultations/questions_controller.rb +23 -0
  66. data/app/forms/decidim/consultations/admin/consultation_form.rb +56 -0
  67. data/app/forms/decidim/consultations/admin/question_form.rb +74 -0
  68. data/app/forms/decidim/consultations/admin/response_form.rb +18 -0
  69. data/app/forms/decidim/consultations/vote_form.rb +28 -0
  70. data/app/helpers/decidim/consultations/admin/consultations_helper.rb +14 -0
  71. data/app/helpers/decidim/consultations/admin/questions_helper.rb +14 -0
  72. data/app/helpers/decidim/consultations/consultations_helper.rb +17 -0
  73. data/app/models/concerns/decidim/consultations/override_categorization.rb +21 -0
  74. data/app/models/concerns/decidim/consultations/publicable_results.rb +51 -0
  75. data/app/models/decidim/consultation.rb +79 -0
  76. data/app/models/decidim/consultations/abilities/admin/consultation_admin_ability.rb +34 -0
  77. data/app/models/decidim/consultations/abilities/admin/question_admin_ability.rb +30 -0
  78. data/app/models/decidim/consultations/abilities/admin/response_admin_ability.rb +26 -0
  79. data/app/models/decidim/consultations/abilities/current_user_ability.rb +45 -0
  80. data/app/models/decidim/consultations/abilities/everyone_ability.rb +23 -0
  81. data/app/models/decidim/consultations/application_record.rb +9 -0
  82. data/app/models/decidim/consultations/question.rb +127 -0
  83. data/app/models/decidim/consultations/response.rb +19 -0
  84. data/app/models/decidim/consultations/vote.rb +26 -0
  85. data/app/presenters/decidim/consultations/question_stats_presenter.rb +52 -0
  86. data/app/queries/decidim/consultations/admin/admin_users.rb +40 -0
  87. data/app/queries/decidim/consultations/organization_active_consultations.rb +20 -0
  88. data/app/queries/decidim/consultations/organization_consultations.rb +20 -0
  89. data/app/queries/decidim/consultations/organization_questions.rb +20 -0
  90. data/app/services/decidim/consultations/consultation_search.rb +51 -0
  91. data/app/views/decidim/consultations/_consultation.html.erb +32 -0
  92. data/app/views/decidim/consultations/admin/consultations/_form.html.erb +58 -0
  93. data/app/views/decidim/consultations/admin/consultations/edit.html.erb +42 -0
  94. data/app/views/decidim/consultations/admin/consultations/index.html.erb +74 -0
  95. data/app/views/decidim/consultations/admin/consultations/new.html.erb +11 -0
  96. data/app/views/decidim/consultations/admin/questions/_form.html.erb +84 -0
  97. data/app/views/decidim/consultations/admin/questions/edit.html.erb +32 -0
  98. data/app/views/decidim/consultations/admin/questions/index.html.erb +74 -0
  99. data/app/views/decidim/consultations/admin/questions/new.html.erb +13 -0
  100. data/app/views/decidim/consultations/admin/responses/_form.html.erb +11 -0
  101. data/app/views/decidim/consultations/admin/responses/edit.html.erb +18 -0
  102. data/app/views/decidim/consultations/admin/responses/index.html.erb +48 -0
  103. data/app/views/decidim/consultations/admin/responses/new.html.erb +13 -0
  104. data/app/views/decidim/consultations/consultation_widgets/show.html.erb +5 -0
  105. data/app/views/decidim/consultations/consultations/_consultation_card.html.erb +24 -0
  106. data/app/views/decidim/consultations/consultations/_consultation_details.html.erb +17 -0
  107. data/app/views/decidim/consultations/consultations/_consultations.html.erb +16 -0
  108. data/app/views/decidim/consultations/consultations/_count.html.erb +1 -0
  109. data/app/views/decidim/consultations/consultations/_filters.html.erb +25 -0
  110. data/app/views/decidim/consultations/consultations/_filters_small_view.html.erb +23 -0
  111. data/app/views/decidim/consultations/consultations/_highlighted_questions.html.erb +13 -0
  112. data/app/views/decidim/consultations/consultations/_question.html.erb +40 -0
  113. data/app/views/decidim/consultations/consultations/_regular_questions.html.erb +14 -0
  114. data/app/views/decidim/consultations/consultations/finished.html.erb +15 -0
  115. data/app/views/decidim/consultations/consultations/index.html.erb +27 -0
  116. data/app/views/decidim/consultations/consultations/index.js.erb +10 -0
  117. data/app/views/decidim/consultations/consultations/show.html.erb +11 -0
  118. data/app/views/decidim/consultations/question_votes/update_vote_button.js.erb +9 -0
  119. data/app/views/decidim/consultations/question_widgets/show.html.erb +2 -0
  120. data/app/views/decidim/consultations/questions/_results.html.erb +15 -0
  121. data/app/views/decidim/consultations/questions/_right_column.html.erb +20 -0
  122. data/app/views/decidim/consultations/questions/_statistics.html.erb +31 -0
  123. data/app/views/decidim/consultations/questions/_technical_data.html.erb +38 -0
  124. data/app/views/decidim/consultations/questions/_vote_button.html.erb +76 -0
  125. data/app/views/decidim/consultations/questions/_vote_modal.html.erb +27 -0
  126. data/app/views/decidim/consultations/questions/_vote_modal_confirm.html.erb +33 -0
  127. data/app/views/decidim/consultations/questions/show.html.erb +58 -0
  128. data/app/views/layouts/decidim/_consultation_header.html.erb +16 -0
  129. data/app/views/layouts/decidim/_consultation_voting_data.html.erb +10 -0
  130. data/app/views/layouts/decidim/_question_components.html.erb +38 -0
  131. data/app/views/layouts/decidim/_question_header.html.erb +46 -0
  132. data/app/views/layouts/decidim/admin/consultation.html.erb +28 -0
  133. data/app/views/layouts/decidim/admin/consultations.html.erb +16 -0
  134. data/app/views/layouts/decidim/admin/question.html.erb +72 -0
  135. data/app/views/layouts/decidim/consultation.html.erb +17 -0
  136. data/app/views/layouts/decidim/consultation_choose.html.erb +7 -0
  137. data/app/views/layouts/decidim/question.html.erb +19 -0
  138. data/config/locales/ca.yml +248 -0
  139. data/config/locales/en.yml +249 -0
  140. data/config/locales/es.yml +248 -0
  141. data/config/locales/eu.yml +248 -0
  142. data/config/locales/fi.yml +248 -0
  143. data/config/locales/fr.yml +248 -0
  144. data/config/locales/gl.yml +248 -0
  145. data/config/locales/it.yml +248 -0
  146. data/config/locales/nl.yml +248 -0
  147. data/config/locales/pl.yml +258 -0
  148. data/config/locales/pt-BR.yml +248 -0
  149. data/config/locales/pt.yml +248 -0
  150. data/config/locales/ru.yml +6 -0
  151. data/config/locales/sv.yml +248 -0
  152. data/config/locales/uk.yml +6 -0
  153. data/db/migrate/20180109092205_create_decidim_consultations.rb +37 -0
  154. data/db/migrate/20180112053247_create_decidim_consultations_questions.rb +35 -0
  155. data/db/migrate/20180115132000_add_end_voting_date_to_decidim_consultations.rb +18 -0
  156. data/db/migrate/20180115170933_add_slug_to_decidim_consultations_questions.rb +32 -0
  157. data/db/migrate/20180119084217_create_decidim_consultations_votes.rb +17 -0
  158. data/db/migrate/20180119084331_add_votes_count_to_decidim_consultations_question.rb +7 -0
  159. data/db/migrate/20180122113155_add_origin_scope_to_decidim_consultations_questions.rb +8 -0
  160. data/db/migrate/20180122113400_add_origin_title_to_decidim_consultations_questions.rb +8 -0
  161. data/db/migrate/20180122113447_add_origin_string_to_decidim_consultations_questions.rb +7 -0
  162. data/db/migrate/20180126142459_add_enable_highlighted_banner_to_decidim_consultations.rb +7 -0
  163. data/db/migrate/20180129063438_add_i_frame_url_to_decidim_consultations_questions.rb +8 -0
  164. data/db/migrate/20180129063700_create_decidim_consultations_responses.rb +14 -0
  165. data/db/migrate/20180129122226_rename_decidim_consultations_vote_to_decidim_consultations_endorsement.rb +7 -0
  166. data/db/migrate/20180129122504_rename_decidim_consultations_questions_votes_count_to_endorsements_count.rb +7 -0
  167. data/db/migrate/20180130060754_add_responses_count_to_decidim_consultations_questions.rb +22 -0
  168. data/db/migrate/20180130110449_rename_vote_related_attributes.rb +9 -0
  169. data/db/migrate/20180130142018_add_decidim_user_group_id_to_decidim_consultations_endorsements.rb +7 -0
  170. data/db/migrate/20180130142411_rename_vote_indexes_to_endorsement_indexes.rb +36 -0
  171. data/db/migrate/20180131083844_add_response_to_decidim_consultations_endorsements.rb +10 -0
  172. data/db/migrate/20180201135823_rename_endorsement_to_vote.rb +23 -0
  173. data/db/migrate/20180202050920_add_hero_image_to_decidim_consultations_question.rb +8 -0
  174. data/db/migrate/20180202085309_add_results_published_at_to_decidim_consultations.rb +7 -0
  175. data/db/migrate/20180202133655_add_votes_count_to_decidim_consultations_response.rb +7 -0
  176. data/db/migrate/20180212100503_remove_enable_highlighted_banner_flag.rb +7 -0
  177. data/db/migrate/20180219092120_add_order_to_decidim_consultations_questions.rb +7 -0
  178. data/db/migrate/20180320100658_add_introductory_image_to_decidim_consultations.rb +7 -0
  179. data/db/seeds/Exampledocument.pdf +0 -0
  180. data/db/seeds/city.jpeg +0 -0
  181. data/db/seeds/city2.jpeg +0 -0
  182. data/db/seeds/homepage_image.jpg +0 -0
  183. data/lib/decidim/consultations.rb +18 -0
  184. data/lib/decidim/consultations/admin.rb +10 -0
  185. data/lib/decidim/consultations/admin_engine.rb +72 -0
  186. data/lib/decidim/consultations/engine.rb +83 -0
  187. data/lib/decidim/consultations/participatory_space.rb +171 -0
  188. data/lib/decidim/consultations/test/factories.rb +104 -0
  189. data/lib/decidim/consultations/version.rb +9 -0
  190. metadata +288 -0
@@ -0,0 +1,17 @@
1
+ <%= render "layouts/decidim/application" do %>
2
+ <div class="wrapper">
3
+ <%= render partial: "layouts/decidim/consultation_header" %>
4
+ <%= yield %>
5
+ </div>
6
+ <% if content_for? :expanded %>
7
+ <div class="expanded">
8
+ <div class="wrapper wrapper--inner">
9
+ <div class="row">
10
+ <%= yield :expanded %>
11
+ </div>
12
+ </div>
13
+ </div>
14
+ <% end %>
15
+
16
+ <%= stylesheet_link_tag "decidim/consultations/consultations", media: :all %>
17
+ <% end %>
@@ -0,0 +1,7 @@
1
+ <%= render "layouts/decidim/application" do %>
2
+ <div class="wrapper">
3
+ <%= yield %>
4
+ </div>
5
+
6
+ <%= stylesheet_link_tag "decidim/consultations/consultations", media: :all %>
7
+ <% end %>
@@ -0,0 +1,19 @@
1
+ <%= render "layouts/decidim/application" do %>
2
+ <div class="wrapper">
3
+ <%= render partial: "layouts/decidim/question_header", locals: { question: current_participatory_space } %>
4
+ <%= yield %>
5
+ </div>
6
+ <% if content_for? :expanded %>
7
+ <div class="expanded">
8
+ <div class="wrapper wrapper--inner">
9
+ <div class="row">
10
+ <%= yield :expanded %>
11
+ </div>
12
+ </div>
13
+ </div>
14
+ <% end %>
15
+
16
+ <%= javascript_include_tag "decidim/consultations/social_share" %>
17
+ <%= stylesheet_link_tag "decidim/consultations/social_share" %>
18
+ <%= stylesheet_link_tag "decidim/consultations/consultations", media: :all %>
19
+ <% end %>
@@ -0,0 +1,248 @@
1
+ ca:
2
+ activemodel:
3
+ attributes:
4
+ consultation:
5
+ banner_image: Imatge del bàner
6
+ decidim_highlighted_scope_id: Abast destacat
7
+ description: Descripció
8
+ end_voting_date: Data de finalització
9
+ introductory_image: Imatge introductòria
10
+ introductory_video_url: URL de vídeo introductori
11
+ slug: Nom curt d'URL
12
+ start_voting_date: Data d'inici
13
+ subtitle: Subtítol
14
+ title: Títol
15
+ question:
16
+ banner_image: Imatge del bàner
17
+ decidim_scope_id: Àrea municipal
18
+ hashtag: Etiqueta
19
+ hero_image: Imatge inicial
20
+ i_frame_url: URL del sistema de votació externa
21
+ origin_scope: Abast
22
+ origin_title: Origen
23
+ origin_url: URL d'origen
24
+ participatory_scope: Àmbit participatiu
25
+ promoter_group: Grup promotor
26
+ question_context: Context
27
+ reference: Referència
28
+ scope: Àrea municipal
29
+ slug: URL slug
30
+ subtitle: Subtítol
31
+ title: Títol
32
+ vote: Sistema de votació extern
33
+ what_is_decided: El que es decideix
34
+ errors:
35
+ vote:
36
+ decidim_consultations_response_id:
37
+ not_found: La resposta no s'ha trobat.
38
+ decidim:
39
+ admin:
40
+ actions:
41
+ publish_results: Publica els resultats
42
+ unpublish_results: Despublicar resultats
43
+ consultation_publications:
44
+ create:
45
+ error: S'ha produït un error en publicar aquesta consulta.
46
+ success: S'ha publicat la consulta amb èxit.
47
+ destroy:
48
+ error: S'ha produït un error en publicar aquesta consulta.
49
+ success: La consulta no s'ha publicat correctament.
50
+ consultation_results_publications:
51
+ create:
52
+ error: S'ha produït un error en publicar els resultats d'aquesta consulta.
53
+ success: Els resultats de la consulta s'han publicat correctament.
54
+ destroy:
55
+ error: S'ha produït un error en publicar els resultats d'aquesta consulta.
56
+ success: Els resultats de la consulta no s'han publicat correctament.
57
+ consultations:
58
+ create:
59
+ error: S'ha produït un error en crear una nova consulta.
60
+ success: S'ha creat la consulta amb èxit.
61
+ destroy:
62
+ success: S'ha destruït la consulta amb èxit.
63
+ edit:
64
+ update: Actualització
65
+ form:
66
+ slug_help: 'Els noms curts d''URL s''utilitzen per generar els URL que apunten a aquesta consulta. Només accepta lletres, números i guions, i ha de començar amb una lletra. Exemple: %{url}'
67
+ title: Informació general
68
+ index:
69
+ not_published: No s'ha publicat
70
+ published: Publicat
71
+ new:
72
+ create: Crear
73
+ title: Nova consulta
74
+ update:
75
+ error: S'ha produït un error en actualitzar aquesta consulta.
76
+ success: La consulta s'ha actualitzat correctament.
77
+ menu:
78
+ consultations: Consultes
79
+ consultations_submenu:
80
+ info: Informació
81
+ questions: Preguntes
82
+ questions_submenu:
83
+ components: Components
84
+ consultation: Consulta
85
+ info: Informació
86
+ responses: Respostes
87
+ models:
88
+ consultation:
89
+ fields:
90
+ created_at: Creat el
91
+ published: Publicat
92
+ title: Títol
93
+ name:
94
+ one: Consulta
95
+ other: Consultes
96
+ question:
97
+ fields:
98
+ created_at: Creat el
99
+ published: Publicat
100
+ title: Títol
101
+ name:
102
+ one: Pregunta
103
+ other: Preguntes
104
+ response:
105
+ fields:
106
+ created_at: Creat el
107
+ title: Títol
108
+ name:
109
+ one: Resposta
110
+ other: Respostes
111
+ question_publications:
112
+ create:
113
+ error: S'ha produït un error en publicar aquesta pregunta.
114
+ success: La pregunta s'ha publicat correctament.
115
+ destroy:
116
+ error: S'ha produït un error en publicar aquesta pregunta.
117
+ success: Pregunta despublicada amb èxit.
118
+ questions:
119
+ create:
120
+ error: S'ha produït un error en crear una pregunta nova.
121
+ success: S'ha creat una pregunta correctament.
122
+ destroy:
123
+ success: S'ha destruït la pregunta amb èxit.
124
+ edit:
125
+ update: Actualitzar
126
+ form:
127
+ title: Informació general
128
+ index:
129
+ not_published: No s'ha publicat
130
+ published: Publicat
131
+ new:
132
+ create: Crear
133
+ title: Nova pregunta
134
+ update:
135
+ error: S'ha produït un error en actualitzar aquesta pregunta.
136
+ success: La pregunta s'ha actualitzat correctament.
137
+ responses:
138
+ create:
139
+ error: S'ha produït un error en crear una resposta nova.
140
+ success: La resposta s'ha creat correctament.
141
+ destroy:
142
+ error: S'ha produït un error en eliminar la resposta.
143
+ success: La resposta s'ha destruït amb èxit.
144
+ edit:
145
+ update: Actualitza
146
+ form:
147
+ title: Informació general
148
+ new:
149
+ create: Crea
150
+ title: Nova resposta
151
+ update:
152
+ error: S'ha produït un error en actualitzar aquesta resposta.
153
+ success: La resposta s'ha actualitzat correctament.
154
+ titles:
155
+ consultations: Consultes
156
+ questions: Preguntes
157
+ responses: Respostes
158
+ consultations:
159
+ consultation:
160
+ start_voting_date: Votant des de
161
+ view_results: Veure resultats
162
+ consultation_card:
163
+ view_results: Veure resultats
164
+ consultations:
165
+ orders:
166
+ label: 'Ordena les consultes per:'
167
+ random: Aleatori
168
+ recent: Més recent
169
+ count:
170
+ title:
171
+ one: "%{count} consulta"
172
+ other: "%{count} consultes"
173
+ filters:
174
+ active: Actiu
175
+ all: Tots
176
+ finished: Acabat
177
+ search: Cerca
178
+ state: Estat
179
+ upcoming: Proper
180
+ filters_small_view:
181
+ close_modal: Tanca la finestra
182
+ filter: Filtre
183
+ filter_by: Filtra per
184
+ unfold: Desplegar
185
+ finished:
186
+ active_consultations: Consultes actives
187
+ past_consultations: Consultes passades
188
+ highlighted_questions:
189
+ title: Consultes de %{scope_name}
190
+ index:
191
+ title: Consultes
192
+ question:
193
+ take_part: Formar part
194
+ view_results: Veure resultats
195
+ votes_out_of:
196
+ one: vot d'un total de
197
+ other: vots d'un total de
198
+ question_votes:
199
+ create:
200
+ error: Hi ha hagut errors en votar la pregunta
201
+ regular_questions:
202
+ title: Altres consultes
203
+ show:
204
+ see_finished_consultations: Veure consultes prèvies
205
+ menu:
206
+ consultations: Consultes
207
+ questions:
208
+ results:
209
+ title: Resultats
210
+ show:
211
+ read_more: Llegeix més
212
+ statistics:
213
+ assistants_count_title: Assistents
214
+ comments_count_title: Comentaris
215
+ meetings_count_title: Reunions
216
+ supports_count_title: Adhesions
217
+ technical_info:
218
+ technical_data: Dades tècniques
219
+ vote_button:
220
+ already_voted: Ja he votat
221
+ already_voted_hover: Revoca el suport
222
+ starting_from: A partir de %{date}
223
+ vote: Votació
224
+ vote_modal:
225
+ contextual_help: Seleccioneu una opció. Tingueu en compte que una vegada que heu confirmat, no es pot canviar el vostre suport.
226
+ title: 'Consulta: suport a la pregunta'
227
+ vote_modal_confirm:
228
+ change: Canvia
229
+ confirm: Confirma
230
+ contextual_help: Confirmeu l'opció seleccionada.
231
+ title: 'Consulta: confirma el suport'
232
+ layouts:
233
+ decidim:
234
+ admin:
235
+ question:
236
+ attachments: Fitxers adjunts
237
+ categories: Categories
238
+ consultation_voting_data:
239
+ start_voting_date: Votació des de
240
+ question_components:
241
+ question_menu_item: La pregunta
242
+ unfold: Desplegar
243
+ question_header:
244
+ back_to_consultation: Veure totes les consultes
245
+ pages:
246
+ home:
247
+ statistics:
248
+ consultations_count: Consultes
@@ -0,0 +1,249 @@
1
+ ---
2
+ en:
3
+ activemodel:
4
+ attributes:
5
+ consultation:
6
+ banner_image: Banner image
7
+ decidim_highlighted_scope_id: Highlighted scope
8
+ description: Description
9
+ end_voting_date: End date
10
+ introductory_image: Introductory image
11
+ introductory_video_url: Introductory video URL
12
+ slug: URL slug
13
+ start_voting_date: Start date
14
+ subtitle: Subtitle
15
+ title: Title
16
+ question:
17
+ banner_image: Banner image
18
+ decidim_scope_id: Municipal area
19
+ hashtag: Hashtag
20
+ hero_image: Home image
21
+ i_frame_url: External voting system URL
22
+ origin_scope: Scope
23
+ origin_title: Origin
24
+ origin_url: Origin URL
25
+ participatory_scope: Participatory scope
26
+ promoter_group: Promoter group
27
+ question_context: Context
28
+ reference: Reference
29
+ scope: Municipal area
30
+ slug: URL slug
31
+ subtitle: Subtitle
32
+ title: Title
33
+ vote: External voting system
34
+ what_is_decided: What is decided
35
+ errors:
36
+ vote:
37
+ decidim_consultations_response_id:
38
+ not_found: Response not found.
39
+ decidim:
40
+ admin:
41
+ actions:
42
+ publish_results: Publish results
43
+ unpublish_results: Unpublish results
44
+ consultation_publications:
45
+ create:
46
+ error: There was an error publishing this consultation.
47
+ success: Consultation published successfully.
48
+ destroy:
49
+ error: There was an error unpublishing this consultation.
50
+ success: Consultation unpublished successfully.
51
+ consultation_results_publications:
52
+ create:
53
+ error: There was an error publishing the results for this consultation.
54
+ success: Consultation results published successfully.
55
+ destroy:
56
+ error: There was an error unpublishing the results for this consultation.
57
+ success: Consultation results unpublished successfully.
58
+ consultations:
59
+ create:
60
+ error: There was an error creating a new consultation.
61
+ success: Consultation successfully created.
62
+ destroy:
63
+ success: Consultation successfully destroyed.
64
+ edit:
65
+ update: Update
66
+ form:
67
+ slug_help: 'URL slugs are used to generate the URLs that point to this consultation. Only accepts letters, numbers and dashes, and must start with a letter. Example: %{url}'
68
+ title: General information
69
+ index:
70
+ not_published: Not published
71
+ published: Published
72
+ new:
73
+ create: Create
74
+ title: New consultation
75
+ update:
76
+ error: There was an error when updating this consultation.
77
+ success: Consultation updated successfully.
78
+ menu:
79
+ consultations: Consultations
80
+ consultations_submenu:
81
+ info: Information
82
+ questions: Questions
83
+ questions_submenu:
84
+ components: Components
85
+ consultation: Consultation
86
+ info: Information
87
+ responses: Responses
88
+ models:
89
+ consultation:
90
+ fields:
91
+ created_at: Created at
92
+ published: Published
93
+ title: Title
94
+ name:
95
+ one: Consultation
96
+ other: Consultations
97
+ question:
98
+ fields:
99
+ created_at: Created at
100
+ published: Published
101
+ title: Title
102
+ name:
103
+ one: Question
104
+ other: Questions
105
+ response:
106
+ fields:
107
+ created_at: Created at
108
+ title: Title
109
+ name:
110
+ one: Response
111
+ other: Responses
112
+ question_publications:
113
+ create:
114
+ error: There was an error publishing this question.
115
+ success: Question published successfully.
116
+ destroy:
117
+ error: There was an error unpublishing this question.
118
+ success: Question unpublished successfully.
119
+ questions:
120
+ create:
121
+ error: There was an error creating a new question.
122
+ success: Question successfully created.
123
+ destroy:
124
+ success: Question successfully destroyed.
125
+ edit:
126
+ update: Update
127
+ form:
128
+ title: General information
129
+ index:
130
+ not_published: Not published
131
+ published: Published
132
+ new:
133
+ create: Create
134
+ title: New question
135
+ update:
136
+ error: There was an error when updating this question.
137
+ success: Question updated successfully.
138
+ responses:
139
+ create:
140
+ error: There was an error creating a new response.
141
+ success: Response successfully created.
142
+ destroy:
143
+ error: There was an error when removing the response.
144
+ success: Response successfully destroyed.
145
+ edit:
146
+ update: Update
147
+ form:
148
+ title: General information
149
+ new:
150
+ create: Create
151
+ title: New response
152
+ update:
153
+ error: There was an error when updating this response.
154
+ success: Response updated successfully.
155
+ titles:
156
+ consultations: Consultations
157
+ questions: Questions
158
+ responses: Responses
159
+ consultations:
160
+ consultation:
161
+ start_voting_date: Voting from
162
+ view_results: View results
163
+ consultation_card:
164
+ view_results: View results
165
+ consultations:
166
+ orders:
167
+ label: 'Sort consultations by:'
168
+ random: Random
169
+ recent: Most recent
170
+ count:
171
+ title:
172
+ one: "%{count} consultation"
173
+ other: "%{count} consultations"
174
+ filters:
175
+ active: Active
176
+ all: All
177
+ finished: Finished
178
+ search: Search
179
+ state: State
180
+ upcoming: Upcoming
181
+ filters_small_view:
182
+ close_modal: Close window
183
+ filter: Filter
184
+ filter_by: Filter by
185
+ unfold: Unfold
186
+ finished:
187
+ active_consultations: Active consultations
188
+ past_consultations: Past consultations
189
+ highlighted_questions:
190
+ title: Consultations from %{scope_name}
191
+ index:
192
+ title: Consultations
193
+ question:
194
+ take_part: Take part
195
+ view_results: View results
196
+ votes_out_of:
197
+ one: vote out of
198
+ other: votes out of
199
+ question_votes:
200
+ create:
201
+ error: There have been errors when voting the question
202
+ regular_questions:
203
+ title: Other consultations
204
+ show:
205
+ see_finished_consultations: See previous consultations
206
+ menu:
207
+ consultations: Consultations
208
+ questions:
209
+ results:
210
+ title: Results
211
+ show:
212
+ read_more: Read more
213
+ statistics:
214
+ assistants_count_title: Assistants
215
+ comments_count_title: Comments
216
+ meetings_count_title: Meetings
217
+ supports_count_title: Adhesions
218
+ technical_info:
219
+ technical_data: Technical data
220
+ vote_button:
221
+ already_voted: Already voted
222
+ already_voted_hover: Revoke support
223
+ starting_from: Starting from %{date}
224
+ vote: Vote
225
+ vote_modal:
226
+ contextual_help: Please, select an option. Keep in mind that once you have confirmed Your support can not be changed.
227
+ title: 'Consultation: question support'
228
+ vote_modal_confirm:
229
+ change: Change
230
+ confirm: Confirm
231
+ contextual_help: Please confirm the selected option.
232
+ title: 'Consultation: confirm support'
233
+ layouts:
234
+ decidim:
235
+ admin:
236
+ question:
237
+ attachments: Attachments
238
+ categories: Categories
239
+ consultation_voting_data:
240
+ start_voting_date: Voting from
241
+ question_components:
242
+ question_menu_item: The question
243
+ unfold: Unfold
244
+ question_header:
245
+ back_to_consultation: See all consultations
246
+ pages:
247
+ home:
248
+ statistics:
249
+ consultations_count: Consultations