decidim-consultations 0.19.1 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/decidim/consultations/icon.svg +1 -3
  3. data/app/assets/images/decidim/consultations/icon2.svg +1 -88
  4. data/app/assets/javascripts/decidim/consultations/utils_multiple.js +1 -1
  5. data/app/assets/stylesheets/decidim/consultations/_question.scss +0 -6
  6. data/app/assets/stylesheets/decidim/consultations/_question_multiple_votes.scss +22 -0
  7. data/app/assets/stylesheets/decidim/consultations/consultations.scss +1 -0
  8. data/app/assets/stylesheets/decidim/consultations/consultations/_consultations-header.scss +0 -1
  9. data/app/cells/decidim/consultations/consultation_m/data.erb +1 -1
  10. data/app/cells/decidim/consultations/consultation_m/footer.erb +1 -1
  11. data/app/cells/decidim/consultations/content_blocks/highlighted_consultations/show.erb +3 -3
  12. data/app/commands/decidim/consultations/admin/create_response.rb +2 -1
  13. data/app/commands/decidim/consultations/admin/create_response_group.rb +40 -0
  14. data/app/commands/decidim/consultations/admin/destroy_response_group.rb +39 -0
  15. data/app/commands/decidim/consultations/admin/update_consultation.rb +9 -4
  16. data/app/commands/decidim/consultations/admin/update_response.rb +3 -2
  17. data/app/commands/decidim/consultations/admin/update_response_group.rb +46 -0
  18. data/app/controllers/concerns/decidim/consultations/admin/filterable.rb +27 -0
  19. data/app/controllers/decidim/consultations/admin/consultations_controller.rb +2 -1
  20. data/app/controllers/decidim/consultations/admin/response_groups_controller.rb +88 -0
  21. data/app/controllers/decidim/consultations/admin/responses_controller.rb +1 -0
  22. data/app/forms/decidim/consultations/admin/consultation_form.rb +5 -6
  23. data/app/forms/decidim/consultations/admin/question_form.rb +5 -6
  24. data/app/forms/decidim/consultations/admin/response_form.rb +5 -0
  25. data/app/forms/decidim/consultations/admin/response_group_form.rb +18 -0
  26. data/app/helpers/decidim/consultations/admin/questions_helper.rb +11 -0
  27. data/app/models/decidim/consultation.rb +25 -0
  28. data/app/models/decidim/consultations/question.rb +34 -1
  29. data/app/models/decidim/consultations/response.rb +11 -0
  30. data/app/models/decidim/consultations/response_group.rb +23 -0
  31. data/app/permissions/decidim/consultations/admin/permissions.rb +16 -0
  32. data/app/permissions/decidim/consultations/permissions.rb +2 -0
  33. data/app/presenters/decidim/consultations/question_stats_presenter.rb +1 -1
  34. data/app/types/decidim/consultations/consultation_question_type.rb +57 -0
  35. data/app/types/decidim/consultations/consultation_type.rb +32 -0
  36. data/app/views/decidim/consultations/admin/consultations/index.html.erb +3 -2
  37. data/app/views/decidim/consultations/admin/response_groups/_form.html.erb +11 -0
  38. data/app/views/decidim/consultations/admin/response_groups/edit.html.erb +18 -0
  39. data/app/views/decidim/consultations/admin/response_groups/index.html.erb +56 -0
  40. data/app/views/decidim/consultations/admin/response_groups/new.html.erb +13 -0
  41. data/app/views/decidim/consultations/admin/responses/_form.html.erb +3 -0
  42. data/app/views/decidim/consultations/admin/responses/index.html.erb +12 -1
  43. data/app/views/decidim/consultations/consultations/_consultation_card.html.erb +3 -3
  44. data/app/views/decidim/consultations/consultations/_consultation_details.html.erb +2 -2
  45. data/app/views/decidim/consultations/consultations/_filters.html.erb +9 -4
  46. data/app/views/decidim/consultations/consultations/_question.html.erb +2 -2
  47. data/app/views/decidim/consultations/consultations/index.html.erb +3 -3
  48. data/app/views/decidim/consultations/question_multiple_votes/_form.html.erb +14 -10
  49. data/app/views/decidim/consultations/question_multiple_votes/show.html.erb +8 -2
  50. data/app/views/decidim/consultations/questions/_vote_button.html.erb +70 -67
  51. data/app/views/decidim/consultations/questions/_vote_modal.html.erb +1 -1
  52. data/app/views/decidim/consultations/questions/_vote_modal_confirm.html.erb +1 -1
  53. data/app/views/decidim/consultations/questions/show.html.erb +4 -4
  54. data/app/views/layouts/decidim/_question_components.html.erb +3 -3
  55. data/app/views/layouts/decidim/_question_header.html.erb +1 -1
  56. data/app/views/layouts/decidim/admin/question.html.erb +1 -1
  57. data/app/views/layouts/decidim/consultation.html.erb +1 -0
  58. data/config/locales/am-ET.yml +1 -0
  59. data/config/locales/ar.yml +29 -1
  60. data/config/locales/bg-BG.yml +1 -0
  61. data/config/locales/bg.yml +1 -0
  62. data/config/locales/ca.yml +29 -1
  63. data/config/locales/cs.yml +37 -9
  64. data/config/locales/da-DK.yml +1 -0
  65. data/config/locales/da.yml +1 -0
  66. data/config/locales/de.yml +82 -1
  67. data/config/locales/el-GR.yml +1 -0
  68. data/config/locales/el.yml +377 -0
  69. data/config/locales/en.yml +29 -1
  70. data/config/locales/eo.yml +1 -0
  71. data/config/locales/es-MX.yml +29 -1
  72. data/config/locales/es-PY.yml +29 -1
  73. data/config/locales/es.yml +29 -1
  74. data/config/locales/et-EE.yml +1 -0
  75. data/config/locales/et.yml +1 -0
  76. data/config/locales/eu.yml +0 -1
  77. data/config/locales/fi-plain.yml +29 -1
  78. data/config/locales/fi.yml +38 -10
  79. data/config/locales/fr-CA.yml +377 -0
  80. data/config/locales/fr.yml +30 -2
  81. data/config/locales/ga-IE.yml +1 -0
  82. data/config/locales/gl.yml +0 -1
  83. data/config/locales/hr-HR.yml +1 -0
  84. data/config/locales/hr.yml +1 -0
  85. data/config/locales/hu.yml +25 -1
  86. data/config/locales/id-ID.yml +0 -1
  87. data/config/locales/is-IS.yml +185 -0
  88. data/config/locales/is.yml +185 -0
  89. data/config/locales/it.yml +82 -54
  90. data/config/locales/ja-JP.yml +367 -0
  91. data/config/locales/ja.yml +367 -0
  92. data/config/locales/ko-KR.yml +1 -0
  93. data/config/locales/ko.yml +1 -0
  94. data/config/locales/lt-LT.yml +1 -0
  95. data/config/locales/lt.yml +1 -0
  96. data/config/locales/lv.yml +383 -0
  97. data/config/locales/mt-MT.yml +1 -0
  98. data/config/locales/mt.yml +1 -0
  99. data/config/locales/nl.yml +29 -1
  100. data/config/locales/no.yml +312 -1
  101. data/config/locales/om-ET.yml +1 -0
  102. data/config/locales/pl.yml +183 -102
  103. data/config/locales/pt-BR.yml +1 -2
  104. data/config/locales/pt.yml +156 -75
  105. data/config/locales/ro-RO.yml +338 -0
  106. data/config/locales/ru.yml +0 -1
  107. data/config/locales/sk-SK.yml +394 -0
  108. data/config/locales/sk.yml +393 -0
  109. data/config/locales/sl.yml +9 -0
  110. data/config/locales/so-SO.yml +1 -0
  111. data/config/locales/sr-CS.yml +1 -0
  112. data/config/locales/sv.yml +60 -11
  113. data/config/locales/ti-ER.yml +1 -0
  114. data/config/locales/tr-TR.yml +0 -1
  115. data/config/locales/uk.yml +0 -1
  116. data/config/locales/vi-VN.yml +1 -0
  117. data/config/locales/vi.yml +1 -0
  118. data/config/locales/zh-CN.yml +367 -0
  119. data/config/locales/zh-TW.yml +1 -0
  120. data/db/migrate/20190708114204_create_decidim_consultations_response_groups.rb +16 -0
  121. data/db/migrate/20190708120345_add_response_groups_count_to_decidim_consultations_questions.rb +7 -0
  122. data/db/migrate/20190708121643_add_response_groups_to_decidim_consultations_responses.rb +10 -0
  123. data/db/migrate/20200320105916_index_foreign_keys_in_decidim_consultations_votes.rb +7 -0
  124. data/db/migrate/20200827154143_add_commentable_counter_cache_to_consultations.rb +9 -0
  125. data/db/seeds/city.jpeg +0 -0
  126. data/db/seeds/city2.jpeg +0 -0
  127. data/lib/decidim/consultations/admin_engine.rb +2 -0
  128. data/lib/decidim/consultations/participatory_space.rb +23 -17
  129. data/lib/decidim/consultations/test/factories.rb +6 -0
  130. data/lib/decidim/consultations/version.rb +1 -1
  131. metadata +67 -11
@@ -3,7 +3,7 @@
3
3
  <h3 class="reveal__title">
4
4
  <%= t "questions.vote_modal.title", scope: "decidim" %>
5
5
  </h3>
6
- <button class="close-button" data-close aria-label="Close modal" type="button">
6
+ <button class="close-button" data-close aria-label="<%= t "questions.vote_modal.close_modal", scope: "decidim" %>" type="button">
7
7
  <span aria-hidden="true">&times;</span>
8
8
  </button>
9
9
  </div>
@@ -3,7 +3,7 @@
3
3
  <h3 class="reveal__title">
4
4
  <%= t "questions.vote_modal_confirm.title", scope: "decidim" %>
5
5
  </h3>
6
- <button class="close-button" data-close aria-label="Close modal" type="button">
6
+ <button class="close-button" data-close aria-label="<%= t("questions.vote_modal_confirm.close_modal", scope: "decidim") %>" type="button">
7
7
  <span aria-hidden="true">&times;</span>
8
8
  </button>
9
9
  </div>
@@ -5,7 +5,7 @@
5
5
  <%= decidim_sanitize translated_attribute current_question.question_context %>
6
6
 
7
7
  <div class="show-more">
8
- <button class="button button--muted small"><%= t "read_more", scope: "decidim.questions.show" %></button>
8
+ <button class="button hollow small"><%= t "read_more", scope: "decidim.questions.show" %></button>
9
9
  </div>
10
10
 
11
11
  <div class="hide show-more-panel">
@@ -13,12 +13,12 @@
13
13
 
14
14
  <div class="section">
15
15
  <h2 class=section-heading><%= t "question.what_is_decided", scope: "activemodel.attributes" %></h2>
16
- <p><%= decidim_sanitize translated_attribute current_question.what_is_decided %></p>
16
+ <p><%= decidim_sanitize translated_attribute(current_question.what_is_decided), strip_tags: true %></p>
17
17
  </div>
18
18
 
19
19
  <div class="section">
20
20
  <h2 class=section-heading><%= t "question.question_context", scope: "activemodel.attributes" %></h2>
21
- <p><%= decidim_sanitize translated_attribute current_question.question_context %></p>
21
+ <p><%= decidim_sanitize translated_attribute(current_question.question_context), strip_tags: true %></p>
22
22
  </div>
23
23
  </div>
24
24
  </div>
@@ -36,7 +36,7 @@
36
36
  <%= content_for :question_header_details do %>
37
37
  <div id="question-header-details" class="row consultations-home-intro">
38
38
  <div class="columns medium-5">
39
- <img src="<%= current_question.hero_image&.url %>">
39
+ <%= image_tag current_question.hero_image&.url, alt: t("question.hero_image", scope: "activemodel.attributes") if current_question.hero_image&.url %>
40
40
  </div>
41
41
 
42
42
  <div class="columns medium-5">
@@ -2,15 +2,15 @@
2
2
  <div class="process-nav consultations-nav">
3
3
  <button class="process-nav__trigger hide-for-medium" data-toggle="process-nav-content">
4
4
  <%= icon "caret-bottom", class: "icon--small process-nav__trigger__icon", aria_label: t(".unfold"), role: "img" %>
5
- <div class="process-nav__link">
5
+ <span class="process-nav__link">
6
6
  <% if self.try(:current_component) %>
7
7
  <%= component_icon(current_component) %>
8
8
  <%= translated_attribute(current_component.name) %>
9
9
  <% else %>
10
- <%= external_icon "decidim/pages/icon.svg" %>
10
+ <%= external_icon "decidim/pages/icon.svg", role: "img", "aria-hidden": true %>
11
11
  <%= t ".question_menu_item" %>
12
12
  <% end %>
13
- </div>
13
+ </span>
14
14
  </button>
15
15
 
16
16
  <%
@@ -10,7 +10,7 @@
10
10
  </h1>
11
11
  <%= link_to decidim_consultations.consultations_path, class: "consultations-header__link" do %>
12
12
  <%= t ".back_to_consultation" %>
13
- <%= icon "media-play" %>
13
+ <%= icon "media-play", role: "img", "aria-hidden": true %>
14
14
  <% end %>
15
15
  </div>
16
16
  </div>
@@ -29,7 +29,7 @@
29
29
  <% end %>
30
30
 
31
31
  <% if allowed_to? :read, :response %>
32
- <li <% if is_active_link?(decidim_admin_consultations.responses_path(current_participatory_space)) %> class="is-active" <% end %>>
32
+ <li <% if is_active_link?(decidim_admin_consultations.responses_path(current_participatory_space)) || is_active_link?(decidim_admin_consultations.response_groups_path(current_participatory_space)) %> class="is-active" <% end %>>
33
33
  <%= aria_selected_link_to t("responses", scope: "decidim.admin.menu.questions_submenu"),
34
34
  decidim_admin_consultations.responses_path(current_participatory_space) %>
35
35
  </li>
@@ -1,6 +1,7 @@
1
1
  <%= render "layouts/decidim/application" do %>
2
2
  <div class="wrapper">
3
3
  <%= render partial: "layouts/decidim/consultation_header" %>
4
+ <%= cell "decidim/translation_bar", current_organization %>
4
5
  <%= yield %>
5
6
  </div>
6
7
  <% if content_for? :expanded %>
@@ -0,0 +1 @@
1
+ am:
@@ -19,6 +19,7 @@ ar:
19
19
  hashtag: رابطة هاشتاق
20
20
  hero_image: الصورة الرئيسية
21
21
  i_frame_url: عنوان URL لنظام التصويت الخارجي
22
+ instructions: تعليمات إضافية خاصة بالتصويت
22
23
  max_votes: الحد الأقصى لعدد الأصوات
23
24
  min_votes: الحد الأدنى لعدد الأصوات
24
25
  origin_scope: نطاق
@@ -31,14 +32,21 @@ ar:
31
32
  scope: منطقة البلدية
32
33
  slug: سبيكة العنوان الشبكي
33
34
  subtitle: عنوان فرعي
34
- title: عنوان
35
35
  vote: نظام التصويت الخارجي
36
36
  what_is_decided: ما الذي تقرر
37
+ response:
38
+ decidim_consultations_response_group_id: الفريق
37
39
  errors:
38
40
  vote:
39
41
  decidim_consultations_response_id:
40
42
  not_found: الرد غير موجود.
41
43
  activerecord:
44
+ errors:
45
+ models:
46
+ decidim/consultations/vote:
47
+ attributes:
48
+ question:
49
+ invalid_num_votes: عدد الأصوات غير صالح
42
50
  models:
43
51
  decidim/consultation:
44
52
  zero: المشاورات
@@ -71,9 +79,11 @@ ar:
71
79
  decidim:
72
80
  admin:
73
81
  actions:
82
+ back_to_responses: العودة إلى الأجوبة
74
83
  new_consultation: استشارة جديدة
75
84
  new_question: سؤال جديد
76
85
  new_response: استجابة جديدة
86
+ new_response_group: فريق جديد
77
87
  publish_results: نشر النتائج
78
88
  unpublish_results: نتائج غير منشورة
79
89
  consultation_publications:
@@ -119,6 +129,7 @@ ar:
119
129
  results: النتائج
120
130
  questions_submenu:
121
131
  components: المكونات
132
+ configuration: الإعدادا
122
133
  consultation: تشاور
123
134
  info: معلومات
124
135
  responses: استجابات
@@ -150,6 +161,7 @@ ar:
150
161
  response:
151
162
  fields:
152
163
  created_at: أنشئت في
164
+ response_group: الفريق
153
165
  title: عنوان
154
166
  name:
155
167
  zero: استجابات
@@ -158,6 +170,9 @@ ar:
158
170
  few: استجابات
159
171
  many: استجابات
160
172
  other: استجابات
173
+ question_configuration:
174
+ form:
175
+ title: الإعداد المتقدّم
161
176
  question_publications:
162
177
  create:
163
178
  error: حدثت مشكلة في نشر هذا السؤال.
@@ -184,6 +199,16 @@ ar:
184
199
  update:
185
200
  error: حدثت مشكلة أثناء تحديث هذا السؤال.
186
201
  success: تم تحديث السؤال بنجاح.
202
+ response_groups:
203
+ edit:
204
+ update: تحديث
205
+ form:
206
+ title: معلومات عامة
207
+ new:
208
+ create: إنشاء
209
+ update:
210
+ error: وقعت هناك مشكلة عند تحديث هذه الإجابة.
211
+ success: تم تحديث الإجابة بنجاح.
187
212
  responses:
188
213
  create:
189
214
  error: كانت هناك مشكلة في إنشاء استجابة جديدة.
@@ -276,7 +301,10 @@ ar:
276
301
  other: يصوت من
277
302
  question_multiple_votes:
278
303
  results_rules:
304
+ title: خيارات عديدة متاحة مسموحة للإجابة على هذا السؤال
279
305
  total_participants: لقد شارك مجموع يقدّر بـ %{count} أشخاص في التصويت.
306
+ vote_limit:
307
+ description: يمكن للمشارِكين التصويت على %{limit} خيارات كأقصى حد.
280
308
  voting_rules:
281
309
  title: 'التصويت خاضع للقواعد التالية:'
282
310
  vote_limit:
@@ -0,0 +1 @@
1
+ bg:
@@ -0,0 +1 @@
1
+ bg:
@@ -32,9 +32,10 @@ ca:
32
32
  scope: Àrea municipal
33
33
  slug: Nom curt d'URL
34
34
  subtitle: Subtítol
35
- title: Títol
36
35
  vote: Sistema de votació extern
37
36
  what_is_decided: Què es decideix
37
+ response:
38
+ decidim_consultations_response_group_id: Grup
38
39
  errors:
39
40
  models:
40
41
  question:
@@ -67,10 +68,13 @@ ca:
67
68
  decidim:
68
69
  admin:
69
70
  actions:
71
+ back_to_responses: Torna a les respostes
70
72
  new_consultation: Nova consulta
71
73
  new_question: Nova pregunta
72
74
  new_response: Nova resposta
75
+ new_response_group: Nou grup
73
76
  publish_results: Publica els resultats
77
+ response_groups: Administra els grups de respostes
74
78
  unpublish_results: Despublicar resultats
75
79
  consultation_publications:
76
80
  create:
@@ -140,6 +144,7 @@ ca:
140
144
  response:
141
145
  fields:
142
146
  created_at: Creat el
147
+ response_group: Grup
143
148
  title: Títol
144
149
  name:
145
150
  one: Resposta
@@ -175,6 +180,24 @@ ca:
175
180
  update:
176
181
  error: S'ha produït un error en actualitzar aquesta pregunta.
177
182
  success: La pregunta s'ha actualitzat correctament.
183
+ response_groups:
184
+ create:
185
+ error: S'ha produït un error en crear un nou grup de respostes.
186
+ success: Grup de respostes creat correctament.
187
+ destroy:
188
+ error: S'ha produït un error a l'eliminat el grup de respostes. Comprova que cap resposta depèn d'això.
189
+ success: Grup de respostes esborrat correctament.
190
+ edit:
191
+ update: Actualitza
192
+ form:
193
+ title: Informació general
194
+ help: Fes servir els grups per a organitzar les opcions múltiples en paquets.
195
+ new:
196
+ create: Crear
197
+ title: Nou grup de respostes
198
+ update:
199
+ error: Hi ha un problema actualitzant la resposta.
200
+ success: Resposta actualitzada directament.
178
201
  responses:
179
202
  create:
180
203
  error: Se ha producido un error al crear una nueva respuesta.
@@ -195,6 +218,7 @@ ca:
195
218
  titles:
196
219
  consultations: Consultes
197
220
  questions: Preguntes
221
+ response_groups: Grups de repsostes
198
222
  responses: Respostes
199
223
  results: Resultats
200
224
  consultations:
@@ -212,6 +236,8 @@ ca:
212
236
  label: 'Ordena les consultes per:'
213
237
  random: Aleatori
214
238
  recent: Més recent
239
+ show:
240
+ dates: Dates
215
241
  content_blocks:
216
242
  highlighted_consultations:
217
243
  name: Consultes destacades
@@ -322,10 +348,12 @@ ca:
322
348
  verification_required: Verifica el teu compte per votar
323
349
  vote: Votació
324
350
  vote_modal:
351
+ close_modal: Tanca el modal
325
352
  contextual_help: Si us plau, selecciona una opció.
326
353
  title: 'Consulta: votar la pregunta'
327
354
  vote_modal_confirm:
328
355
  change: Canvi
356
+ close_modal: Tanca el modal
329
357
  confirm: Confirma
330
358
  contextual_help: Si us plau, confirma l'opció seleccionada.
331
359
  title: 'Consulta: confirma el vot'
@@ -3,7 +3,7 @@ cs:
3
3
  attributes:
4
4
  consultation:
5
5
  banner_image: Obrázek banneru
6
- decidim_highlighted_scope_id: Zvýrazněný rozsah
6
+ decidim_highlighted_scope_id: Zvýrazněná oblast působnosti
7
7
  description: Popis
8
8
  end_voting_date: Hlasování končí
9
9
  introductory_image: Úvodní obrázek
@@ -22,7 +22,7 @@ cs:
22
22
  instructions: Další pokyny pro hlasování
23
23
  max_votes: Maximální počet hlasů
24
24
  min_votes: Minimální počet hlasů
25
- origin_scope: Rozsah
25
+ origin_scope: Oblast působnosti
26
26
  origin_title: Původ
27
27
  origin_url: Původní URL
28
28
  participatory_scope: Rozsah účastníků
@@ -32,9 +32,10 @@ cs:
32
32
  scope: Městská oblast
33
33
  slug: URL slug
34
34
  subtitle: Titulky
35
- title: Titul
36
35
  vote: Externí hlasovací systém
37
36
  what_is_decided: Co se rozhodlo
37
+ response:
38
+ decidim_consultations_response_group_id: Skupina
38
39
  errors:
39
40
  models:
40
41
  question:
@@ -75,10 +76,13 @@ cs:
75
76
  decidim:
76
77
  admin:
77
78
  actions:
79
+ back_to_responses: Zpět k reakcím
78
80
  new_consultation: Nová konzultace
79
81
  new_question: Nová otázka
80
82
  new_response: Nová odpověď
83
+ new_response_group: Nová skupina
81
84
  publish_results: Publikujte výsledky
85
+ response_groups: Spravovat skupinu odpovídajících
82
86
  unpublish_results: Zrušit publikování výsledků
83
87
  consultation_publications:
84
88
  create:
@@ -131,7 +135,7 @@ cs:
131
135
  models:
132
136
  consultation:
133
137
  fields:
134
- created_at: Vytvořeno u
138
+ created_at: Vytvořeno v
135
139
  published: Publikováno
136
140
  title: Titul
137
141
  name:
@@ -141,7 +145,7 @@ cs:
141
145
  other: Konzultace
142
146
  question:
143
147
  fields:
144
- created_at: Vytvořeno u
148
+ created_at: Vytvořeno v
145
149
  published: Publikováno
146
150
  title: Titul
147
151
  name:
@@ -151,7 +155,8 @@ cs:
151
155
  other: Otázky
152
156
  response:
153
157
  fields:
154
- created_at: Vytvořeno u
158
+ created_at: Vytvořeno v
159
+ response_group: Skupina
155
160
  title: Titul
156
161
  name:
157
162
  one: Odezva
@@ -189,6 +194,24 @@ cs:
189
194
  update:
190
195
  error: Při aktualizaci této otázky došlo k chybě.
191
196
  success: Otázka byla úspěšně aktualizována.
197
+ response_groups:
198
+ create:
199
+ error: Při vytváření nové skupiny odpovídajících došlo k potížím.
200
+ success: Skupina odpovídajících byla úspěšně vytvořena.
201
+ destroy:
202
+ error: Při odstraňování skupiny odpovídajících došlo k potížím. Zkontrolujte, zda na tom nezávisí žádné odpovědi.
203
+ success: Skupina odpovídajících byla úspěšně smazána.
204
+ edit:
205
+ update: Aktualizovat
206
+ form:
207
+ title: Obecné informace
208
+ help: Použijte skupiny pro organizování více otázek při výběru v balíčcích.
209
+ new:
210
+ create: Vytvořit
211
+ title: Nová skupina odpovídajících
212
+ update:
213
+ error: Při aktualizaci této odpovědi došlo k chybě.
214
+ success: Odpověď úspěšně aktualizována.
192
215
  responses:
193
216
  create:
194
217
  error: Při vytváření nové odpovědi došlo k chybě.
@@ -209,6 +232,7 @@ cs:
209
232
  titles:
210
233
  consultations: Konzultace
211
234
  questions: Otázky
235
+ response_groups: Skupiny odpovídajících
212
236
  responses: Odpovědi
213
237
  results: Výsledky
214
238
  consultations:
@@ -226,6 +250,8 @@ cs:
226
250
  label: 'Seřadit konzultace podle:'
227
251
  random: Náhodný
228
252
  recent: Nejnovější
253
+ show:
254
+ dates: Data
229
255
  content_blocks:
230
256
  highlighted_consultations:
231
257
  name: Zvýrazněné konzultace
@@ -304,7 +330,7 @@ cs:
304
330
  open_votes: Otevřené hlasy
305
331
  published_results: Publikované výsledky
306
332
  footer_button_text:
307
- debate: Rozprava
333
+ debate: Debata
308
334
  view: Pohled
309
335
  view_results: Zobrazit výsledky
310
336
  vote: Hlasování
@@ -312,8 +338,8 @@ cs:
312
338
  help:
313
339
  participatory_spaces:
314
340
  consultations:
315
- contextual: "<p><strong>Konzultace</strong> jsou prostor, který vám umožňuje klást jasnou otázku všem lidem, kteří tvoří organizaci, vyzvat k účasti na konzultacích, zahájit a řídit rozpravu pro odpověď, nebo proti ní. Když přijde datum konzultace, můžete hlasovat a zveřejnit výsledky hlasování.</p> <p>Příklady: Konzultace se mohou týkat téměř jakéhokoli aspektu, který ovlivňuje organizaci: některé příklady mění jméno nebo logo organizace nabízející několik alternativ, rozhodují se Ano nebo Ne, aby se staly součástí větší organizace, potvrzují nebo odmítají nové strategické plány, nebo výsledek pracovní skupiny, nebo určuje, zda by pozice měla zůstat maximálně 1, 2 nebo 3 mandáty.</p>\n"
316
- page: "<p><strong>Konzultace</strong> jsou prostor, který vám umožňuje klást jasnou otázku všem lidem, kteří tvoří organizaci, vyzvat k účasti na konzultacích, zahájit a řídit rozpravu pro odpověď nebo proti ní. Když přijde datum konzultace, můžete hlasovat a zveřejnit výsledky hlasování.</p> <p>Příklady: Konzultace se mohou týkat téměř jakéhokoli aspektu, který ovlivňuje organizaci: některé příklady mění jméno nebo logo organizace nabízející několik alternativ, rozhodují se Ano nebo Ne, aby se staly součástí větší organizace, potvrzují nebo odmítají nové strategické plány nebo výsledek pracovní skupiny nebo definovat, zda by pozice měla zůstat v organizaci nanejvýš 1, 2 nebo 3 mandáty.</p>\n"
341
+ contextual: "<p><strong>Konzultace</strong> jsou prostor, který vám umožňuje klást jasnou otázku všem lidem, kteří tvoří organizaci, vyzvat k účasti na konzultacích, zahájit a řídit debatu pro odpověď, nebo proti ní. Když přijde datum konzultace, můžete hlasovat a zveřejnit výsledky hlasování.</p> <p>Příklady: Konzultace se mohou týkat téměř jakéhokoli aspektu, který ovlivňuje organizaci: některé příklady mění jméno nebo logo organizace nabízející několik alternativ, rozhodují se Ano nebo Ne, aby se staly součástí větší organizace, potvrzují nebo odmítají nové strategické plány, nebo výsledek pracovní skupiny, nebo určuje, zda by pozice měla zůstat maximálně 1, 2 nebo 3 mandáty.</p>\n"
342
+ page: "<p><strong>Konzultace</strong> jsou prostor, který vám umožňuje klást jasnou otázku všem lidem, kteří tvoří organizaci, vyzvat k účasti na konzultacích, zahájit a řídit debatu pro odpověď nebo proti ní. Když přijde datum konzultace, můžete hlasovat a zveřejnit výsledky hlasování.</p> <p>Příklady: Konzultace se mohou týkat téměř jakéhokoli aspektu, který ovlivňuje organizaci: některé příklady mění jméno nebo logo organizace nabízející několik alternativ, rozhodují se Ano nebo Ne, aby se staly součástí větší organizace, potvrzují nebo odmítají nové strategické plány nebo výsledek pracovní skupiny nebo definovat, zda by pozice měla zůstat v organizaci nanejvýš 1, 2 nebo 3 mandáty.</p>\n"
317
343
  title: Co jsou konzultace?
318
344
  menu:
319
345
  consultations: Konzultace
@@ -342,10 +368,12 @@ cs:
342
368
  verification_required: Potvrdit svůj účet pro hlasování
343
369
  vote: Hlasování
344
370
  vote_modal:
371
+ close_modal: Zavřít okno
345
372
  contextual_help: Prosím vyberte možnost.
346
373
  title: 'Konzultace: podpora otázek'
347
374
  vote_modal_confirm:
348
375
  change: Změna
376
+ close_modal: Zavřít okno
349
377
  confirm: Potvrdit
350
378
  contextual_help: Potvrďte vybranou možnost.
351
379
  title: 'Konzultace: potvrďte podporu'
@@ -0,0 +1 @@
1
+ da:
@@ -0,0 +1 @@
1
+ da:
@@ -19,6 +19,9 @@ de:
19
19
  hashtag: Hashtag
20
20
  hero_image: Hauptbild
21
21
  i_frame_url: URL des externen Abstimmungssystems
22
+ instructions: Zusätzliche Anweisungen für Abstimmungen
23
+ max_votes: Maximale Anzahl von Stimmen
24
+ min_votes: Mindestanzahl von Stimmen
22
25
  origin_scope: Umfang
23
26
  origin_title: Ursprung
24
27
  origin_url: Ursprungs-URL
@@ -29,14 +32,26 @@ de:
29
32
  scope: Kommunales Gebiet
30
33
  slug: URL-Block
31
34
  subtitle: Untertitel
32
- title: Titel
33
35
  vote: Externes Wahlsystem
34
36
  what_is_decided: Was ist entschieden?
37
+ response:
38
+ decidim_consultations_response_group_id: Gruppe
35
39
  errors:
40
+ models:
41
+ question:
42
+ attributes:
43
+ max_votes:
44
+ lower_than_min: Die maximale Anzahl von Stimmen sollte höher oder gleich der Mindestanzahl sein.
36
45
  vote:
37
46
  decidim_consultations_response_id:
38
47
  not_found: Antwort nicht gefunden.
39
48
  activerecord:
49
+ errors:
50
+ models:
51
+ decidim/consultations/vote:
52
+ attributes:
53
+ question:
54
+ invalid_num_votes: Die Anzahl der Stimmen ist ungültig
40
55
  models:
41
56
  decidim/consultation:
42
57
  one: Beratung
@@ -53,10 +68,13 @@ de:
53
68
  decidim:
54
69
  admin:
55
70
  actions:
71
+ back_to_responses: Zurück zu Antworten
56
72
  new_consultation: Neue Konsultation
57
73
  new_question: Neue Frage
58
74
  new_response: Neue Antwort
75
+ new_response_group: Neue Gruppe
59
76
  publish_results: Veröffentlichen Sie die Ergebnisse
77
+ response_groups: Antwortgruppen verwalten
60
78
  unpublish_results: Veröffentlichen Sie die Ergebnisse
61
79
  consultation_publications:
62
80
  create:
@@ -87,6 +105,10 @@ de:
87
105
  new:
88
106
  create: Erstellen
89
107
  title: Neue Konsultation
108
+ results:
109
+ not_visible: Die Ergebnisse werden nach Abschluss der Konsultation verfügbar sein
110
+ participants: "%{count} Teilnehmer"
111
+ total_votes: 'Summe: %{count} Stimmen'
90
112
  update:
91
113
  error: Beim Aktualisieren dieser Konsultation ist ein Fehler aufgetreten.
92
114
  success: Beratung erfolgreich aktualisiert.
@@ -95,8 +117,10 @@ de:
95
117
  consultations_submenu:
96
118
  info: Information
97
119
  questions: Fragen
120
+ results: Ergebnisse
98
121
  questions_submenu:
99
122
  components: Komponenten
123
+ configuration: Konfiguration
100
124
  consultation: Beratung
101
125
  info: Information
102
126
  responses: Antworten
@@ -120,10 +144,16 @@ de:
120
144
  response:
121
145
  fields:
122
146
  created_at: Hergestellt in
147
+ response_group: Gruppe
123
148
  title: Titel
124
149
  name:
125
150
  one: Antwort
126
151
  other: Antworten
152
+ question_configuration:
153
+ disable_external_voting: Bitte deaktivieren Sie externe Abstimmung für erweiterte Konfigurationen
154
+ form:
155
+ help: Sie können Multiple-Choice-Fragen einstellen, indem Sie die maximale Anzahl von Antworten für Teilnehmer erhöhen. Der Standardwert ist 1, was bedeutet dass nur eine Antwort als Stimme abgegeben werden kann.
156
+ title: Erweiterte Konfiguration
127
157
  question_publications:
128
158
  create:
129
159
  error: Beim Veröffentlichen dieser Frage ist ein Fehler aufgetreten.
@@ -150,6 +180,24 @@ de:
150
180
  update:
151
181
  error: Beim Aktualisieren dieser Frage ist ein Fehler aufgetreten.
152
182
  success: Frage erfolgreich aktualisiert.
183
+ response_groups:
184
+ create:
185
+ error: Beim Erstellen einer neuen Antwortgruppe ist ein Fehler aufgetreten.
186
+ success: Antwortgruppe wurde erfolgreich erstellt.
187
+ destroy:
188
+ error: Beim Entfernen der Antwortgruppe ist ein Fehler aufgetreten. Prüfen Sie, dass keine Antworten von dieser Gruppe abhängig sind.
189
+ success: Antwortgruppe wurde erfolgreich gelöscht.
190
+ edit:
191
+ update: Aktualisieren
192
+ form:
193
+ title: Allgemeine Information
194
+ help: Verwenden Sie Gruppen, um Multiple-Choice-Fragen in Paketen zu organisieren.
195
+ new:
196
+ create: Erstellen
197
+ title: Neue Antwortgruppe
198
+ update:
199
+ error: Beim Aktualisieren dieser Antwort ist ein Fehler aufgetreten.
200
+ success: Antwort wurde erfolgreich aktualisiert.
153
201
  responses:
154
202
  create:
155
203
  error: Beim Erstellen einer neuen Antwort ist ein Fehler aufgetreten.
@@ -170,7 +218,9 @@ de:
170
218
  titles:
171
219
  consultations: Konsultationen
172
220
  questions: Fragen
221
+ response_groups: Antwortgruppen
173
222
  responses: Antworten
223
+ results: Ergebnisse
174
224
  consultations:
175
225
  admin:
176
226
  content_blocks:
@@ -186,6 +236,8 @@ de:
186
236
  label: 'Sortieren Sie die Konsultationen nach:'
187
237
  random: Zufällig
188
238
  recent: Neueste
239
+ show:
240
+ dates: Daten
189
241
  content_blocks:
190
242
  highlighted_consultations:
191
243
  name: Hervorgehobene Konsultationen
@@ -227,9 +279,28 @@ de:
227
279
  votes_out_of:
228
280
  one: abstimmen
229
281
  other: Stimmen aus
282
+ question_multiple_votes:
283
+ results_rules:
284
+ minimum_votes_per_user:
285
+ description: Teilnehmer konnten mindestens %{votes} Stimmen für verschiedene Optionen abgeben.
286
+ title: In dieser Frage sind Multiple-Choice-Fragen erlaubt
287
+ total_participants: Es haben insgesamt %{count} Personen an der Abstimmung teilgenommen.
288
+ vote_limit:
289
+ description: Teilnehmer konnten bis zu über %{limit} Optionen abstimmen.
290
+ voting_rules:
291
+ minimum_votes_per_user:
292
+ description: Sie müssen mindestens %{votes} Stimmen für verschiedene Optionen abgeben.
293
+ title: 'Die Abstimmung unterliegt folgenden Regeln:'
294
+ vote_limit:
295
+ description: Sie können bis zu über %{limit} Optionen abstimmen.
296
+ left: Verbleibend
297
+ votes: Stimmen
230
298
  question_votes:
231
299
  create:
232
300
  error: Es gab Fehler bei der Abstimmung der Frage
301
+ success: Sie können dies bis zum Ende der Konsultation ändern. Nur die letzte Stimme wird akzeptiert.
302
+ title_error: Abstimmungsfehler!
303
+ title_success: Stimme erfolgreich registriert
233
304
  regular_questions:
234
305
  title: Fragen für diese Konsultation
235
306
  show:
@@ -257,6 +328,8 @@ de:
257
328
  statistics:
258
329
  consultations_count: Konsultationen
259
330
  questions:
331
+ next_button: Nächste Frage
332
+ previous_button: Vorherige Frage
260
333
  results:
261
334
  title: Ergebnisse
262
335
  show:
@@ -272,15 +345,22 @@ de:
272
345
  already_voted: Schon gewählt
273
346
  already_voted_hover: Support entziehen
274
347
  starting_from: Beginnend von %{date}
348
+ verification_required: Verifizieren Sie Ihr Konto, um abstimmen zu können
275
349
  vote: Abstimmung
276
350
  vote_modal:
351
+ close_modal: Modal schließen
277
352
  contextual_help: Bitte wähle eine Option.
278
353
  title: 'Beratung: Frage Unterstützung'
279
354
  vote_modal_confirm:
280
355
  change: Veränderung
356
+ close_modal: Modal schließen
281
357
  confirm: Bestätigen
282
358
  contextual_help: Bitte bestätigen Sie die ausgewählte Option.
283
359
  title: 'Beratung: Bestätigung der Unterstützung'
360
+ resources:
361
+ consultations:
362
+ actions:
363
+ vote: Abstimmung
284
364
  layouts:
285
365
  decidim:
286
366
  admin:
@@ -294,3 +374,4 @@ de:
294
374
  unfold: Entfalten
295
375
  question_header:
296
376
  back_to_consultation: Sehen Sie alle Konsultationen
377
+ back_to_question: Zurück zur Frage