decidim-consultations 0.24.2 → 0.25.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/consultations/consultation_m_cell.rb +1 -1
  3. data/app/cells/decidim/consultations/content_blocks/highlighted_consultations/show.erb +1 -1
  4. data/app/commands/decidim/consultations/admin/update_consultation.rb +5 -13
  5. data/app/commands/decidim/consultations/admin/update_question.rb +5 -13
  6. data/app/controllers/concerns/decidim/consultations/needs_question.rb +1 -1
  7. data/app/forms/decidim/consultations/admin/consultation_form.rb +2 -2
  8. data/app/forms/decidim/consultations/admin/question_form.rb +3 -3
  9. data/app/models/decidim/consultation.rb +4 -4
  10. data/app/models/decidim/consultations/question.rb +13 -5
  11. data/app/packs/entrypoints/decidim_consultations.js +8 -0
  12. data/app/{assets/images/decidim/consultations/icon.svg → packs/images/decidim/consultations/decidim_consultations.svg} +0 -0
  13. data/app/packs/src/decidim/consultations/show_more.js +10 -0
  14. data/app/{assets/javascripts/decidim/consultations/utils.js.es6 → packs/src/decidim/consultations/utils.js} +5 -5
  15. data/app/{assets/javascripts → packs/src}/decidim/consultations/utils_multiple.js +2 -1
  16. data/app/{assets/javascripts → packs/src}/decidim/consultations/vote_dialog.js +1 -1
  17. data/app/{assets → packs}/stylesheets/decidim/consultations/_question.scss +0 -0
  18. data/app/{assets → packs}/stylesheets/decidim/consultations/_question_multiple_votes.scss +0 -0
  19. data/app/{assets → packs}/stylesheets/decidim/consultations/_stats.scss +0 -0
  20. data/app/{assets → packs}/stylesheets/decidim/consultations/_video_wrapper.scss +0 -0
  21. data/app/{assets → packs}/stylesheets/decidim/consultations/banners/_block-banner.scss +0 -0
  22. data/app/{assets → packs}/stylesheets/decidim/consultations/consultations/_consultations-banner.scss +0 -0
  23. data/app/{assets → packs}/stylesheets/decidim/consultations/consultations/_consultations-card.scss +0 -0
  24. data/app/{assets → packs}/stylesheets/decidim/consultations/consultations/_consultations-header.scss +0 -0
  25. data/app/{assets → packs}/stylesheets/decidim/consultations/consultations/_consultations-home-banner.scss +0 -0
  26. data/app/{assets → packs}/stylesheets/decidim/consultations/consultations/_consultations-home-intro.scss +0 -0
  27. data/app/{assets → packs}/stylesheets/decidim/consultations/consultations/_consultations-intro.scss +0 -0
  28. data/app/{assets → packs}/stylesheets/decidim/consultations/consultations/_consultations-title.scss +0 -0
  29. data/app/{assets → packs}/stylesheets/decidim/consultations/consultations/_consultations_nav.scss +0 -0
  30. data/app/{assets → packs}/stylesheets/decidim/consultations/consultations/introductory_image.scss +0 -0
  31. data/app/packs/stylesheets/decidim/consultations/consultations.scss +14 -0
  32. data/app/{assets/stylesheets/decidim/consultations/highlighted-content-banner.css.scss → packs/stylesheets/decidim/consultations/highlighted-content-banner.scss} +0 -0
  33. data/app/queries/decidim/consultations/admin/admin_users.rb +16 -12
  34. data/app/views/decidim/consultations/_consultation.html.erb +1 -1
  35. data/app/views/decidim/consultations/admin/consultations/_form.html.erb +1 -1
  36. data/app/views/decidim/consultations/admin/question_configuration/_form.html.erb +1 -1
  37. data/app/views/decidim/consultations/admin/questions/_form.html.erb +1 -1
  38. data/app/views/decidim/consultations/consultations/_consultation_card.html.erb +1 -1
  39. data/app/views/decidim/consultations/consultations/_consultation_details.html.erb +1 -1
  40. data/app/views/decidim/consultations/consultations/_filters.html.erb +1 -0
  41. data/app/views/decidim/consultations/consultations/index.html.erb +1 -2
  42. data/app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb +1 -1
  43. data/app/views/decidim/consultations/questions/_right_column.html.erb +1 -1
  44. data/app/views/decidim/consultations/questions/_vote_button.html.erb +1 -2
  45. data/app/views/decidim/consultations/questions/show.html.erb +3 -2
  46. data/app/views/layouts/decidim/_consultation_header.html.erb +1 -1
  47. data/app/views/layouts/decidim/_question_components.html.erb +1 -1
  48. data/app/views/layouts/decidim/_question_header.html.erb +1 -1
  49. data/app/views/layouts/decidim/admin/consultation.html.erb +1 -1
  50. data/app/views/layouts/decidim/admin/question.html.erb +4 -83
  51. data/config/assets.rb +9 -0
  52. data/config/locales/ar.yml +2 -8
  53. data/config/locales/ca.yml +5 -8
  54. data/config/locales/cs.yml +7 -10
  55. data/config/locales/de.yml +5 -8
  56. data/config/locales/el.yml +2 -8
  57. data/config/locales/en.yml +6 -8
  58. data/config/locales/es-MX.yml +5 -8
  59. data/config/locales/es-PY.yml +5 -8
  60. data/config/locales/es.yml +5 -8
  61. data/config/locales/eu.yml +2 -8
  62. data/config/locales/fi-plain.yml +5 -8
  63. data/config/locales/fi.yml +5 -8
  64. data/config/locales/fr-CA.yml +3 -9
  65. data/config/locales/fr-LU.yml +372 -0
  66. data/config/locales/fr.yml +2 -8
  67. data/config/locales/gl.yml +5 -8
  68. data/config/locales/hu.yml +2 -8
  69. data/config/locales/id-ID.yml +2 -8
  70. data/config/locales/is-IS.yml +2 -8
  71. data/config/locales/it.yml +6 -8
  72. data/config/locales/ja.yml +8 -8
  73. data/config/locales/lb-LU.yml +1 -0
  74. data/config/locales/lv.yml +2 -8
  75. data/config/locales/nl.yml +5 -8
  76. data/config/locales/no.yml +2 -8
  77. data/config/locales/pl.yml +6 -9
  78. data/config/locales/pt-BR.yml +90 -8
  79. data/config/locales/pt.yml +2 -8
  80. data/config/locales/ro-RO.yml +5 -8
  81. data/config/locales/ru.yml +2 -8
  82. data/config/locales/sk.yml +2 -8
  83. data/config/locales/sv.yml +5 -8
  84. data/config/locales/tr-TR.yml +2 -8
  85. data/config/locales/uk.yml +2 -8
  86. data/config/locales/zh-CN.yml +2 -8
  87. data/lib/decidim/api/consultation_question_type.rb +8 -0
  88. data/lib/decidim/api/consultation_type.rb +8 -0
  89. data/lib/decidim/consultations/admin_engine.rb +109 -24
  90. data/lib/decidim/consultations/engine.rb +6 -12
  91. data/lib/decidim/consultations/participatory_space.rb +46 -9
  92. data/lib/decidim/consultations/version.rb +1 -1
  93. metadata +37 -38
  94. data/app/assets/config/decidim_consultations_manifest.css +0 -3
  95. data/app/assets/config/decidim_consultations_manifest.js +0 -5
  96. data/app/assets/images/decidim/consultations/icon2.svg +0 -1
  97. data/app/assets/javascripts/decidim/consultations/show_more.js.es6 +0 -12
  98. data/app/assets/stylesheets/decidim/consultations/consultations.scss +0 -6
  99. data/app/helpers/decidim/consultations/admin/consultation_menu_helper.rb +0 -15
  100. data/config/locales/ja-JP.yml +0 -367
@@ -31,5 +31,4 @@ edit_link(
31
31
  </div>
32
32
  <% end %>
33
33
 
34
- <%= javascript_include_tag "decidim/filters" %>
35
- <%= javascript_include_tag "decidim/results_listing" %>
34
+ <%= javascript_pack_tag "decidim_consultations" %>
@@ -26,4 +26,4 @@
26
26
  </div>
27
27
  </div>
28
28
 
29
- <%= javascript_include_tag "decidim/consultations/utils_multiple" %>
29
+ <%= javascript_pack_tag "decidim_consultations" %>
@@ -1,5 +1,5 @@
1
1
  <% add_decidim_meta_tags({
2
- image_url: current_participatory_space.hero_image_url,
2
+ image_url: current_participatory_space.attached_uploader(:hero_image).path,
3
3
  description: translated_attribute(current_participatory_space.question_context),
4
4
  title: strip_tags(translated_attribute(current_participatory_space.title)),
5
5
  url: decidim_consultations.question_url(current_participatory_space),
@@ -96,5 +96,4 @@
96
96
 
97
97
  <%= render partial: "decidim/consultations/questions/vote_modal", locals: { question: question } %>
98
98
  <%= render partial: "decidim/consultations/questions/vote_modal_confirm", locals: { question: question } %>
99
- <%= javascript_include_tag "decidim/consultations/utils" %>
100
- <%= javascript_include_tag "decidim/consultations/vote_dialog" %>
99
+ <%= javascript_pack_tag "decidim_consultations" %>
@@ -30,13 +30,12 @@
30
30
  </div>
31
31
  </div>
32
32
 
33
- <%= javascript_include_tag "decidim/consultations/show_more" %>
34
33
  <%= comments_for current_question if current_question.published? %>
35
34
 
36
35
  <%= content_for :question_header_details do %>
37
36
  <div id="question-header-details" class="row consultations-home-intro">
38
37
  <div class="columns medium-5">
39
- <%= image_tag current_question.hero_image&.url, alt: t("question.hero_image", scope: "activemodel.attributes") if current_question.hero_image&.url %>
38
+ <%= image_tag current_question.attached_uploader(:hero_image).path, alt: t("question.hero_image", scope: "activemodel.attributes") if current_question.hero_image.attached? %>
40
39
  </div>
41
40
 
42
41
  <div class="columns medium-5">
@@ -56,3 +55,5 @@
56
55
  </div>
57
56
  </div>
58
57
  <% end %>
58
+
59
+ <%= javascript_pack_tag "decidim_consultations" %>
@@ -2,7 +2,7 @@
2
2
 
3
3
  <div class="consultations-header consultations-home-banner row column">
4
4
  <div class="row column consultations-header__main"
5
- style="background-image:url(<%= current_consultation.banner_image.url %>);">
5
+ style="background-image:url(<%= current_consultation.attached_uploader(:banner_image).path %>);">
6
6
  <div class="consultations-header__container row">
7
7
  <div class="columns mediumlarge-9 consultations-header__info">
8
8
  <div>
@@ -7,7 +7,7 @@
7
7
  <%= component_icon(current_component) %>
8
8
  <%= translated_attribute(current_component.name) %>
9
9
  <% else %>
10
- <%= external_icon "decidim/pages/icon.svg", role: "img", "aria-hidden": true %>
10
+ <%= external_icon "media/images/decidim_pages.svg", role: "img", "aria-hidden": true %>
11
11
  <%= t ".question_menu_item" %>
12
12
  <% end %>
13
13
  </span>
@@ -1,6 +1,6 @@
1
1
  <div class="consultations-header row column">
2
2
  <div class="row column consultations-header__main"
3
- style="background-image:url(<%= question.banner_image_url %>);">
3
+ style="background-image:url(<%= question.attached_uploader(:banner_image).path %>);">
4
4
  <div class="consultations-header__container row">
5
5
  <div class="columns mediumlarge-9 consultations-header__info">
6
6
  <div>
@@ -1,5 +1,5 @@
1
1
  <% content_for :sidebar_menu_nav do %>
2
- <%= admin_consultation_menu.render do
2
+ <%= sidebar_menu(:admin_consultation_menu).render do
3
3
  public_page_link decidim_consultations.consultation_path(current_consultation)
4
4
  end %>
5
5
  <% end %>
@@ -1,86 +1,7 @@
1
- <% content_for :secondary_nav do %>
2
- <div class="secondary-nav secondary-nav--subnav">
3
- <ul>
4
- <%= public_page_link decidim_consultations.consultation_path(current_participatory_space.consultation) %>
5
- <% if allowed_to?(:update, :consultation, consultation: current_participatory_space.consultation) %>
6
- <li <% if is_active_link?(decidim_admin_consultations.edit_consultation_path(current_participatory_space.consultation)) %> class="is-active" <% end %>>
7
- <%= aria_selected_link_to t("consultation", scope: "decidim.admin.menu.questions_submenu"),
8
- decidim_admin_consultations.edit_consultation_path(current_participatory_space.consultation) %>
9
- </li>
10
- <% end %>
11
-
12
- <li <% if is_active_link?(decidim_admin_consultations.consultation_questions_path(current_participatory_space.consultation)) %> class="is-active" <% end %>>
13
- <%= aria_selected_link_to t("questions", scope: "decidim.admin.menu.consultations_submenu"),
14
- decidim_admin_consultations.consultation_questions_path(current_participatory_space.consultation) %>
15
-
16
- <ul>
17
- <% if allowed_to?(:update, :question, question: current_participatory_space) %>
18
- <li <% if is_active_link?(decidim_admin_consultations.edit_question_path(current_participatory_space)) %> class="is-active" <% end %>>
19
- <%= aria_selected_link_to t("info", scope: "decidim.admin.menu.questions_submenu"),
20
- decidim_admin_consultations.edit_question_path(current_participatory_space) %>
21
- </li>
22
- <% end %>
23
-
24
- <% if allowed_to?(:configure, :question, question: current_participatory_space) %>
25
- <li <% if is_active_link?(decidim_admin_consultations.edit_question_configuration_path(current_participatory_space)) %> class="is-active" <% end %>>
26
- <%= aria_selected_link_to t("configuration", scope: "decidim.admin.menu.questions_submenu"),
27
- decidim_admin_consultations.edit_question_configuration_path(current_participatory_space) %>
28
- </li>
29
- <% end %>
30
-
31
- <% if allowed_to? :read, :response %>
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
- <%= aria_selected_link_to t("responses", scope: "decidim.admin.menu.questions_submenu"),
34
- decidim_admin_consultations.responses_path(current_participatory_space) %>
35
- </li>
36
- <% end %>
37
-
38
- <% if allowed_to? :read, :component %>
39
- <li <% if is_active_link?(decidim_admin_consultations.components_path(current_participatory_space)) %> class="is-active" <% end %>>
40
- <%= aria_selected_link_to t("components", scope: "decidim.admin.menu.questions_submenu"),
41
- decidim_admin_consultations.components_path(current_participatory_space) %>
42
- <ul>
43
- <% current_participatory_space.components.each do |component| %>
44
- <% if component.manifest.admin_engine %>
45
- <li <% if is_active_link?(manage_component_path(component)) || is_active_link?(decidim_admin_consultations.edit_component_path(current_participatory_space, component)) || is_active_link?(decidim_admin_consultations.edit_component_permissions_path(current_participatory_space, component)) %> class="is-active" <% end %>>
46
- <%= link_to manage_component_path(component) do %>
47
- <%= translated_attribute component.name %>
48
- <% if component.primary_stat.present? %>
49
- <span class="component-counter <%= "component-counter--off" if component.primary_stat.zero? %>">
50
- <%= component.primary_stat %>
51
- </span>
52
- <% end %>
53
- <% end %>
54
- </li>
55
- <% end %>
56
- <% end %>
57
- </ul>
58
- </li>
59
- <% end %>
60
-
61
- <% if allowed_to? :read, :category %>
62
- <li <% if is_active_link?(decidim_admin_consultations.categories_path(current_participatory_space)) %> class="is-active" <% end %>>
63
- <%= aria_selected_link_to t(".categories"),
64
- decidim_admin_consultations.categories_path(current_participatory_space) %>
65
- </li>
66
- <% end %>
67
-
68
- <% if allowed_to? :read, :attachment %>
69
- <li <% if is_active_link?(decidim_admin_consultations.question_attachments_path(current_participatory_space)) %> class="is-active" <% end %>>
70
- <%= aria_selected_link_to t(".attachments"),
71
- decidim_admin_consultations.question_attachments_path(current_participatory_space) %>
72
- </li>
73
- <% end %>
74
- </ul>
75
- </li>
76
-
77
- <li <% if is_active_link?(decidim_admin_consultations.results_consultation_path(current_participatory_space.consultation)) %> class="is-active" <% end %>>
78
- <%= aria_selected_link_to t("results", scope: "decidim.admin.menu.consultations_submenu"),
79
- decidim_admin_consultations.results_consultation_path(current_participatory_space.consultation) %>
80
- </li>
81
-
82
- </ul>
83
- </div>
1
+ <% content_for :sidebar_menu_nav do %>
2
+ <%= sidebar_menu(:admin_question_menu).render do
3
+ public_page_link decidim_consultations.consultation_path(current_participatory_space.consultation)
4
+ end %>
84
5
  <% end %>
85
6
 
86
7
  <%= render "layouts/decidim/admin/application" do %>
data/config/assets.rb ADDED
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ base_path = File.expand_path("..", __dir__)
4
+
5
+ Decidim::Webpacker.register_path("#{base_path}/app/packs")
6
+ Decidim::Webpacker.register_entrypoints(
7
+ decidim_consultations: "#{base_path}/app/packs/entrypoints/decidim_consultations.js"
8
+ )
9
+ Decidim::Webpacker.register_stylesheet_import("stylesheets/decidim/consultations/consultations")
@@ -128,6 +128,8 @@ ar:
128
128
  questions: الأسئلة
129
129
  results: النتائج
130
130
  questions_submenu:
131
+ attachments: مرفقات
132
+ categories: الاقسام
131
133
  components: المكونات
132
134
  configuration: الإعدادا
133
135
  consultation: تشاور
@@ -336,10 +338,6 @@ ar:
336
338
  title: ما هي المشاورات؟
337
339
  menu:
338
340
  consultations: المشاورات
339
- pages:
340
- home:
341
- statistics:
342
- consultations_count: المشاورات
343
341
  questions:
344
342
  next_button: السؤال التالي
345
343
  previous_button: السؤال السابق
@@ -374,10 +372,6 @@ ar:
374
372
  vote: صوِّت
375
373
  layouts:
376
374
  decidim:
377
- admin:
378
- question:
379
- attachments: مرفقات
380
- categories: الاقسام
381
375
  consultation_voting_data:
382
376
  start_voting_date: يبدأ التصويت
383
377
  question_components:
@@ -120,6 +120,8 @@ ca:
120
120
  questions: Preguntes
121
121
  results: Resultats
122
122
  questions_submenu:
123
+ attachments: Adjunts
124
+ categories: Categories
123
125
  components: Components
124
126
  configuration: Configuració
125
127
  consultation: Consulta
@@ -324,10 +326,6 @@ ca:
324
326
  title: Què són les consultes?
325
327
  menu:
326
328
  consultations: Consultes
327
- pages:
328
- home:
329
- statistics:
330
- consultations_count: Consultes
331
329
  questions:
332
330
  next_button: Següent qüestió
333
331
  previous_button: Qüestió anterior
@@ -362,12 +360,11 @@ ca:
362
360
  consultations:
363
361
  actions:
364
362
  vote: Vota
363
+ statistics:
364
+ consultations_count: Consultes
365
+ votes_count: Vots
365
366
  layouts:
366
367
  decidim:
367
- admin:
368
- question:
369
- attachments: Adjunts
370
- categories: Categories
371
368
  consultation_voting_data:
372
369
  start_voting_date: Comença la votació
373
370
  question_components:
@@ -15,7 +15,7 @@ cs:
15
15
  title: Titul
16
16
  question:
17
17
  banner_image: Obrázek banneru
18
- decidim_scope_id: Městská oblast
18
+ decidim_scope_id: Samosprávní oblast
19
19
  hashtag: Hashtag
20
20
  hero_image: Domácí obrázek
21
21
  i_frame_url: Adresa URL externího hlasování
@@ -29,7 +29,7 @@ cs:
29
29
  promoter_group: Skupina promotérů
30
30
  question_context: Kontext
31
31
  reference: Odkaz
32
- scope: Městská oblast
32
+ scope: Samosprávní oblast
33
33
  slug: URL slug
34
34
  subtitle: Podtitul
35
35
  vote: Externí hlasovací systém
@@ -128,6 +128,8 @@ cs:
128
128
  questions: Otázky
129
129
  results: Výsledky
130
130
  questions_submenu:
131
+ attachments: Přílohy
132
+ categories: Kategorie
131
133
  components: Komponenty
132
134
  configuration: Nastavení
133
135
  consultation: Konzultace
@@ -344,10 +346,6 @@ cs:
344
346
  title: Co jsou konzultace?
345
347
  menu:
346
348
  consultations: Konzultace
347
- pages:
348
- home:
349
- statistics:
350
- consultations_count: Konzultace
351
349
  questions:
352
350
  next_button: Další otázka
353
351
  previous_button: Předchozí otázka
@@ -382,12 +380,11 @@ cs:
382
380
  consultations:
383
381
  actions:
384
382
  vote: Hlasovat
383
+ statistics:
384
+ consultations_count: Konzultace
385
+ votes_count: Hlasy
385
386
  layouts:
386
387
  decidim:
387
- admin:
388
- question:
389
- attachments: Přílohy
390
- categories: Kategorie
391
388
  consultation_voting_data:
392
389
  start_voting_date: Hlasování začíná
393
390
  question_components:
@@ -120,6 +120,8 @@ de:
120
120
  questions: Fragen
121
121
  results: Ergebnisse
122
122
  questions_submenu:
123
+ attachments: Anhänge
124
+ categories: Kategorien
123
125
  components: Komponenten
124
126
  configuration: Konfiguration
125
127
  consultation: Beratung
@@ -324,10 +326,6 @@ de:
324
326
  title: Was sind Konsultationen?
325
327
  menu:
326
328
  consultations: Konsultationen
327
- pages:
328
- home:
329
- statistics:
330
- consultations_count: Konsultationen
331
329
  questions:
332
330
  next_button: Nächste Frage
333
331
  previous_button: Vorherige Frage
@@ -362,12 +360,11 @@ de:
362
360
  consultations:
363
361
  actions:
364
362
  vote: Abstimmung
363
+ statistics:
364
+ consultations_count: Beratungen
365
+ votes_count: Stimmen
365
366
  layouts:
366
367
  decidim:
367
- admin:
368
- question:
369
- attachments: Anhänge
370
- categories: Kategorien
371
368
  consultation_voting_data:
372
369
  start_voting_date: Die Abstimmung beginnt
373
370
  question_components:
@@ -119,6 +119,8 @@ el:
119
119
  questions: Ερωτήσεις
120
120
  results: Αποτελέσματα
121
121
  questions_submenu:
122
+ attachments: Συνημμένα
123
+ categories: Κατηγορίες
122
124
  components: Στοιχεία
123
125
  configuration: Διαμόρφωση
124
126
  consultation: Διαβούλευση
@@ -321,10 +323,6 @@ el:
321
323
  title: Τι είναι οι διαβουλεύσεις;
322
324
  menu:
323
325
  consultations: Διαβουλεύσεις
324
- pages:
325
- home:
326
- statistics:
327
- consultations_count: Διαβουλεύσεις
328
326
  questions:
329
327
  next_button: Επόμενη ερώτηση
330
328
  previous_button: Προηγούμενη ερώτηση
@@ -361,10 +359,6 @@ el:
361
359
  vote: Ψηφοφορία
362
360
  layouts:
363
361
  decidim:
364
- admin:
365
- question:
366
- attachments: Συνημμένα
367
- categories: Κατηγορίες
368
362
  consultation_voting_data:
369
363
  start_voting_date: Η ψηφοφορία αρχίζει
370
364
  question_components:
@@ -121,6 +121,8 @@ en:
121
121
  questions: Questions
122
122
  results: Results
123
123
  questions_submenu:
124
+ attachments: Attachments
125
+ categories: Categories
124
126
  components: Components
125
127
  configuration: Configuration
126
128
  consultation: Consultation
@@ -325,10 +327,6 @@ en:
325
327
  title: What are consultations?
326
328
  menu:
327
329
  consultations: Consultations
328
- pages:
329
- home:
330
- statistics:
331
- consultations_count: Consultations
332
330
  questions:
333
331
  next_button: Next question
334
332
  previous_button: Previous question
@@ -362,13 +360,13 @@ en:
362
360
  resources:
363
361
  consultations:
364
362
  actions:
363
+ comment: Comment
365
364
  vote: Vote
365
+ statistics:
366
+ consultations_count: Consultations
367
+ votes_count: Votes
366
368
  layouts:
367
369
  decidim:
368
- admin:
369
- question:
370
- attachments: Attachments
371
- categories: Categories
372
370
  consultation_voting_data:
373
371
  start_voting_date: Voting begins
374
372
  question_components:
@@ -120,6 +120,8 @@ es-MX:
120
120
  questions: Preguntas
121
121
  results: Resultados
122
122
  questions_submenu:
123
+ attachments: Archivos adjuntos
124
+ categories: Categorías
123
125
  components: Componentes
124
126
  configuration: Configuración
125
127
  consultation: Consulta
@@ -324,10 +326,6 @@ es-MX:
324
326
  title: '¿Qué son las consultas?'
325
327
  menu:
326
328
  consultations: Consultas
327
- pages:
328
- home:
329
- statistics:
330
- consultations_count: Consultas
331
329
  questions:
332
330
  next_button: Siguiente pregunta
333
331
  previous_button: Pregunta anterior
@@ -362,12 +360,11 @@ es-MX:
362
360
  consultations:
363
361
  actions:
364
362
  vote: Votar
363
+ statistics:
364
+ consultations_count: Consultas
365
+ votes_count: Votos
365
366
  layouts:
366
367
  decidim:
367
- admin:
368
- question:
369
- attachments: Archivos adjuntos
370
- categories: Categorías
371
368
  consultation_voting_data:
372
369
  start_voting_date: Empieza la votación
373
370
  question_components: