decidim-accountability 0.10.1 → 0.11.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/assets/javascripts/decidim/accountability/accountability.js.es6 +2 -2
  4. data/app/assets/javascripts/decidim/accountability/admin/accountability_admin.js.es6 +11 -11
  5. data/app/commands/decidim/accountability/admin/create_result.rb +1 -1
  6. data/app/commands/decidim/accountability/admin/create_status.rb +1 -1
  7. data/app/commands/decidim/accountability/admin/destroy_result.rb +43 -0
  8. data/app/controllers/decidim/accountability/admin/application_controller.rb +2 -2
  9. data/app/controllers/decidim/accountability/admin/results_controller.rb +12 -10
  10. data/app/controllers/decidim/accountability/admin/statuses_controller.rb +1 -1
  11. data/app/controllers/decidim/accountability/admin/timeline_entries_controller.rb +1 -1
  12. data/app/controllers/decidim/accountability/application_controller.rb +2 -2
  13. data/app/controllers/decidim/accountability/result_widgets_controller.rb +1 -1
  14. data/app/controllers/decidim/accountability/results_controller.rb +3 -3
  15. data/app/controllers/decidim/accountability/versions_controller.rb +1 -1
  16. data/app/events/decidim/accountability/proposal_linked_event.rb +1 -1
  17. data/app/forms/decidim/accountability/admin/result_form.rb +5 -5
  18. data/app/helpers/decidim/accountability/application_helper.rb +4 -4
  19. data/app/helpers/decidim/accountability/breadcrumb_helper.rb +1 -1
  20. data/app/models/decidim/accountability/result.rb +10 -5
  21. data/app/models/decidim/accountability/status.rb +3 -3
  22. data/app/presenters/decidim/accountability/admin_log/result_presenter.rb +5 -4
  23. data/app/presenters/decidim/accountability/admin_log/value_types/parent_presenter.rb +29 -0
  24. data/app/services/decidim/accountability/result_search.rb +2 -2
  25. data/app/services/decidim/accountability/results_calculator.rb +4 -4
  26. data/app/views/decidim/accountability/admin/results/_form.html.erb +5 -6
  27. data/app/views/decidim/accountability/admin/results/_proposals.html.erb +2 -2
  28. data/app/views/decidim/accountability/admin/results/edit.html.erb +2 -2
  29. data/app/views/decidim/accountability/admin/results/index.html.erb +5 -5
  30. data/app/views/decidim/accountability/admin/results/new.html.erb +2 -2
  31. data/app/views/decidim/accountability/admin/shared/_subnav.html.erb +1 -1
  32. data/app/views/decidim/accountability/admin/statuses/edit.html.erb +2 -3
  33. data/app/views/decidim/accountability/admin/statuses/index.html.erb +3 -3
  34. data/app/views/decidim/accountability/admin/statuses/new.html.erb +2 -3
  35. data/app/views/decidim/accountability/admin/timeline_entries/edit.html.erb +2 -3
  36. data/app/views/decidim/accountability/admin/timeline_entries/index.html.erb +4 -4
  37. data/app/views/decidim/accountability/admin/timeline_entries/new.html.erb +2 -3
  38. data/app/views/decidim/accountability/results/_home_categories.html.erb +3 -3
  39. data/app/views/decidim/accountability/results/_home_header.html.erb +2 -2
  40. data/app/views/decidim/accountability/results/_nav_breadcrumb.html.erb +4 -4
  41. data/app/views/decidim/accountability/results/_results_leaf.html.erb +2 -2
  42. data/app/views/decidim/accountability/results/_results_parent.html.erb +2 -4
  43. data/app/views/decidim/accountability/results/_scope_filters.html.erb +1 -1
  44. data/app/views/decidim/accountability/results/_search.html.erb +2 -2
  45. data/app/views/decidim/accountability/results/_show_leaf.html.erb +2 -2
  46. data/app/views/decidim/accountability/results/_show_parent.html.erb +2 -2
  47. data/app/views/decidim/accountability/results/_stats_box.html.erb +1 -1
  48. data/app/views/decidim/accountability/versions/index.html.erb +1 -1
  49. data/app/views/decidim/participatory_processes/participatory_process_groups/_highlighted_results.html.erb +1 -1
  50. data/app/views/decidim/participatory_processes/participatory_process_groups/_result.html.erb +1 -1
  51. data/app/views/decidim/participatory_spaces/_highlighted_results.html.erb +2 -2
  52. data/app/views/decidim/participatory_spaces/_result.html.erb +1 -1
  53. data/config/locales/ca.yml +12 -8
  54. data/config/locales/en.yml +13 -9
  55. data/config/locales/es.yml +13 -9
  56. data/config/locales/eu.yml +13 -9
  57. data/config/locales/fi.yml +13 -9
  58. data/config/locales/fr.yml +14 -10
  59. data/config/locales/gl.yml +13 -9
  60. data/config/locales/it.yml +13 -9
  61. data/config/locales/nl.yml +22 -18
  62. data/config/locales/pl.yml +13 -9
  63. data/config/locales/pt-BR.yml +13 -9
  64. data/config/locales/pt.yml +13 -9
  65. data/config/locales/ru.yml +0 -1
  66. data/config/locales/sv.yml +13 -9
  67. data/config/locales/uk.yml +0 -1
  68. data/db/migrate/20180305133145_rename_features_to_components_at_accountability.rb +16 -0
  69. data/lib/decidim/accountability.rb +1 -1
  70. data/lib/decidim/accountability/{feature.rb → component.rb} +25 -25
  71. data/lib/decidim/accountability/engine.rb +4 -4
  72. data/lib/decidim/accountability/result_serializer.rb +3 -3
  73. data/lib/decidim/accountability/test/factories.rb +5 -5
  74. data/lib/decidim/accountability/version.rb +1 -1
  75. metadata +26 -23
@@ -13,13 +13,13 @@
13
13
  <%== translated_attribute result.description %>
14
14
  </div>
15
15
  <%= render partial: "decidim/shared/tags", locals: { resource: result, tags_class_extra: "tags--result" } %>
16
+
17
+ <%= render partial: "results_leaf", locals: { results: result.children.page(1).per(result.children_count), total_count: result.children_count } %>
16
18
  </div>
17
19
  </div>
18
20
  <%= render partial: "stats_box" %>
19
21
  </div>
20
22
 
21
- <%= render partial: "results_leaf", locals: { results: result.children.page(1).per(result.children_count), total_count: result.children_count } %>
22
-
23
23
  </div>
24
24
 
25
25
  <%= render partial: "stats" %>
@@ -1,6 +1,6 @@
1
1
  <div class="columns section mediumlarge-4 large-3">
2
2
 
3
- <% if result.children.any? && feature_settings.display_progress_enabled? && result.progress.present? %>
3
+ <% if result.children.any? && component_settings.display_progress_enabled? && result.progress.present? %>
4
4
  <div class="progress-level section">
5
5
  <div class="progress-label">
6
6
  <span class="progress-text"><%= t("models.result.fields.progress", scope: "decidim.accountability") %>:</span>
@@ -10,7 +10,7 @@
10
10
  <div class="section">
11
11
  <div class="card card--list">
12
12
  <% result.versions.each_with_index do |version, index| %>
13
- <%= render partial: "version", locals: { version: version, index: index }%>
13
+ <%= render partial: "version", locals: { version: version, index: index } %>
14
14
  <% end %>
15
15
  </div>
16
16
  </div>
@@ -4,7 +4,7 @@
4
4
  <div class="row">
5
5
  <div class="columns accountability">
6
6
  <div class="card card--action card--list">
7
- <%= render partial: 'decidim/participatory_processes/participatory_process_groups/result', collection: results %>
7
+ <%= render partial: "decidim/participatory_processes/participatory_process_groups/result", collection: results %>
8
8
  </div>
9
9
  </div>
10
10
  </div>
@@ -28,5 +28,5 @@
28
28
  <div class="card--list__data">
29
29
  <span class="card--list__data__number"><%= display_percentage result.progress %></span>
30
30
  </div>
31
- <% end%>
31
+ <% end %>
32
32
  </div>
@@ -1,12 +1,12 @@
1
1
  <% if results.any? %>
2
2
  <section class="section row collapse highlighted_results">
3
3
  <h4 class="section-heading">
4
- <%= t(".results") %> <a href="<%= main_feature_path(results.first.feature) %>" class="text-small"><%= t(".see_all_results") %></a>
4
+ <%= t(".results") %> <a href="<%= main_component_path(results.first.component) %>" class="text-small"><%= t(".see_all_results") %></a>
5
5
  </h4>
6
6
  <div class="row">
7
7
  <div class="columns accountability">
8
8
  <div class="card card--action card--list">
9
- <%= render partial: 'decidim/participatory_spaces/result', collection: results %>
9
+ <%= render partial: "decidim/participatory_spaces/result", collection: results %>
10
10
  </div>
11
11
  </div>
12
12
  </div>
@@ -28,5 +28,5 @@
28
28
  <div class="card--list__data">
29
29
  <span class="card--list__data__number"><%= display_percentage result.progress %></span>
30
30
  </div>
31
- <% end%>
31
+ <% end %>
32
32
  </div>
@@ -104,7 +104,11 @@ ca:
104
104
  admin_log:
105
105
  result:
106
106
  create: "%{user_name} ha creat el resultat %{resource_name} en %{space_name}"
107
+ delete: "%{user_name} ha eliminat el resultat %{resource_name} de l'espai %{space_name}"
107
108
  update: "%{user_name} ha actualitzat el resultat %{resource_name} en %{space_name}"
109
+ value_types:
110
+ parent_presenter:
111
+ not_found: 'No s''ha trobat el pare a la base de dades (ID: %{id})'
108
112
  models:
109
113
  result:
110
114
  fields:
@@ -167,14 +171,7 @@ ca:
167
171
  changes_at_title: Canvis a "%{title}"
168
172
  version:
169
173
  version_index: Versió %{index}
170
- events:
171
- accountability:
172
- proposal_linked:
173
- email_intro: 'La proposta "%{proposal_title}" s''ha inclòs en un resultat. Pots veure-ho des d''aquesta pàgina:'
174
- email_outro: Has rebut aquesta notificació perquè estàs seguint "%{proposal_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
175
- email_subject: Una actualització a %{proposal_title}
176
- notification_title: La proposta <a href="%{proposal_path}">%{proposal_title}</a> s'ha inclòs al resultat <a href="%{resource_path}">%{resource_title}</a>.
177
- features:
174
+ components:
178
175
  accountability:
179
176
  name: Seguiment
180
177
  settings:
@@ -188,6 +185,13 @@ ca:
188
185
  subcategories_label: Nom per a "Subcategories"
189
186
  step:
190
187
  comments_blocked: Comentaris bloquejats
188
+ events:
189
+ accountability:
190
+ proposal_linked:
191
+ email_intro: 'La proposta "%{proposal_title}" s''ha inclòs en un resultat. Pots veure-ho des d''aquesta pàgina:'
192
+ email_outro: Has rebut aquesta notificació perquè estàs seguint "%{proposal_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
193
+ email_subject: Una actualització a %{proposal_title}
194
+ notification_title: La proposta <a href="%{proposal_path}">%{proposal_title}</a> s'ha inclòs al resultat <a href="%{resource_path}">%{resource_title}</a>.
191
195
  participatory_processes:
192
196
  participatory_process_groups:
193
197
  highlighted_results:
@@ -3,7 +3,7 @@ en:
3
3
  activemodel:
4
4
  attributes:
5
5
  result:
6
- decidim_accountability_status_id: status
6
+ decidim_accountability_status_id: Status
7
7
  decidim_category_id: Category
8
8
  decidim_scope_id: Scope
9
9
  description: Description
@@ -105,7 +105,11 @@ en:
105
105
  admin_log:
106
106
  result:
107
107
  create: "%{user_name} created result %{resource_name} in %{space_name}"
108
+ delete: "%{user_name} deleted the %{resource_name} result in %{space_name}"
108
109
  update: "%{user_name} updated result %{resource_name} in %{space_name}"
110
+ value_types:
111
+ parent_presenter:
112
+ not_found: 'The parent was not found on the database (ID: %{id})'
109
113
  models:
110
114
  result:
111
115
  fields:
@@ -168,14 +172,7 @@ en:
168
172
  changes_at_title: Changes at "%{title}"
169
173
  version:
170
174
  version_index: Version %{index}
171
- events:
172
- accountability:
173
- proposal_linked:
174
- email_intro: 'The proposal "%{proposal_title}" has been included in a result. You can see it from this page:'
175
- email_outro: You have received this notification because you are following "%{proposal_title}". You can stop receiving notifications following the previous link.
176
- email_subject: An update to %{proposal_title}
177
- notification_title: The proposal <a href="%{proposal_path}">%{proposal_title}</a> has been included in the <a href="%{resource_path}">%{resource_title}</a> result.
178
- features:
175
+ components:
179
176
  accountability:
180
177
  name: Accountability
181
178
  settings:
@@ -189,6 +186,13 @@ en:
189
186
  subcategories_label: Name for "Subcategories"
190
187
  step:
191
188
  comments_blocked: Comments blocked
189
+ events:
190
+ accountability:
191
+ proposal_linked:
192
+ email_intro: 'The proposal "%{proposal_title}" has been included in a result. You can see it from this page:'
193
+ email_outro: You have received this notification because you are following "%{proposal_title}". You can stop receiving notifications following the previous link.
194
+ email_subject: An update to %{proposal_title}
195
+ notification_title: The proposal <a href="%{proposal_path}">%{proposal_title}</a> has been included in the <a href="%{resource_path}">%{resource_title}</a> result.
192
196
  participatory_processes:
193
197
  participatory_process_groups:
194
198
  highlighted_results:
@@ -104,7 +104,11 @@ es:
104
104
  admin_log:
105
105
  result:
106
106
  create: "%{user_name} creó el resultado %{resource_name} en %{space_name}"
107
+ delete: "%{user_name} borró el resultado %{resource_name} en %{space_name}"
107
108
  update: "%{user_name} actualizó el resultado %{resource_name} en %{space_name}"
109
+ value_types:
110
+ parent_presenter:
111
+ not_found: 'El padre no se encontró en la base de datos (ID: %{id})'
108
112
  models:
109
113
  result:
110
114
  fields:
@@ -167,16 +171,9 @@ es:
167
171
  changes_at_title: Cambios en "%{title}"
168
172
  version:
169
173
  version_index: Versión %{index}
170
- events:
171
- accountability:
172
- proposal_linked:
173
- email_intro: 'La propuesta "%{proposal_title}" se ha incluido en un resultado. Puedes verlo desde esta página:'
174
- email_outro: Has recibido esta notificación porque estás siguiendo "%{proposal_title}". Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
175
- email_subject: Una actualización en %{proposal_title}
176
- notification_title: Se ha incluido la propuesta <a href="%{proposal_path}">%{proposal_title}</a> en el resultado <a href="%{resource_path}">%{resource_title}</a>.
177
- features:
174
+ components:
178
175
  accountability:
179
- name: Responsabilidad
176
+ name: Seguimiento
180
177
  settings:
181
178
  global:
182
179
  categories_label: Nombre para "Categorías"
@@ -188,6 +185,13 @@ es:
188
185
  subcategories_label: Nombre para "Subcategorías"
189
186
  step:
190
187
  comments_blocked: Comentarios bloqueados
188
+ events:
189
+ accountability:
190
+ proposal_linked:
191
+ email_intro: 'La propuesta "%{proposal_title}" se ha incluido en un resultado. Puedes verlo desde esta página:'
192
+ email_outro: Has recibido esta notificación porque estás siguiendo "%{proposal_title}". Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
193
+ email_subject: Una actualización en %{proposal_title}
194
+ notification_title: Se ha incluido la propuesta <a href="%{proposal_path}">%{proposal_title}</a> en el resultado <a href="%{resource_path}">%{resource_title}</a>.
191
195
  participatory_processes:
192
196
  participatory_process_groups:
193
197
  highlighted_results:
@@ -2,7 +2,7 @@ eu:
2
2
  activemodel:
3
3
  attributes:
4
4
  result:
5
- decidim_accountability_status_id: status
5
+ decidim_accountability_status_id: Egoera
6
6
  decidim_category_id: Kategoria
7
7
  decidim_scope_id: Esparrua
8
8
  description: Deskribapena
@@ -104,7 +104,11 @@ eu:
104
104
  admin_log:
105
105
  result:
106
106
  create: "%{user_name} emaitza sortu da %{resource_name} en %{space_name}"
107
+ delete: "%{user_name} %{resource_name} %{space_name} emaitza ezabatu da"
107
108
  update: "%{user_name} emaitza eguneratu %{resource_name} en %{space_name}"
109
+ value_types:
110
+ parent_presenter:
111
+ not_found: 'Gurasoa ez zen datu-basean aurkitu (ID: %{id})'
108
112
  models:
109
113
  result:
110
114
  fields:
@@ -167,14 +171,7 @@ eu:
167
171
  changes_at_title: Aldaketak "%{title}" atalean
168
172
  version:
169
173
  version_index: '%{index} bertsioa'
170
- events:
171
- accountability:
172
- proposal_linked:
173
- email_intro: '"%{proposal_title}" proposamena emaitza batean sartu da. Orrialde hau ikusi dezakezu:'
174
- email_outro: Jakinarazpena jaso duzu "%{proposal_title}" jarraitzen ari zarenagatik. Aurreko esteka jarraituz jakinarazpenak jasotzeari uztea erabaki dezakezu.
175
- email_subject: '%{proposal_title} eguneratzea'
176
- notification_title: <a href="%{proposal_path}">%{proposal_title}</a> <a href="%{resource_path}">%{resource_title}</a> emaitza izan da.
177
- features:
174
+ components:
178
175
  accountability:
179
176
  name: Kontuak
180
177
  settings:
@@ -188,6 +185,13 @@ eu:
188
185
  subcategories_label: Izena "Azpikategoriak" izenarekin
189
186
  step:
190
187
  comments_blocked: Iruzkinak blokeatuta
188
+ events:
189
+ accountability:
190
+ proposal_linked:
191
+ email_intro: '"%{proposal_title}" proposamena emaitza batean sartu da. Orrialde hau ikusi dezakezu:'
192
+ email_outro: Jakinarazpena jaso duzu "%{proposal_title}" jarraitzen ari zarenagatik. Aurreko esteka jarraituz jakinarazpenak jasotzeari uztea erabaki dezakezu.
193
+ email_subject: '%{proposal_title} eguneratzea'
194
+ notification_title: <a href="%{proposal_path}">%{proposal_title}</a> <a href="%{resource_path}">%{resource_title}</a> emaitza izan da.
191
195
  participatory_processes:
192
196
  participatory_process_groups:
193
197
  highlighted_results:
@@ -2,7 +2,7 @@ fi:
2
2
  activemodel:
3
3
  attributes:
4
4
  result:
5
- decidim_accountability_status_id: tila
5
+ decidim_accountability_status_id: Status
6
6
  decidim_category_id: Aihepiiri
7
7
  decidim_scope_id: Konteksti
8
8
  description: Kuvaus
@@ -104,7 +104,11 @@ fi:
104
104
  admin_log:
105
105
  result:
106
106
  create: "%{user_name} luotu tulos %{resource_name} vuonna %{space_name}"
107
+ delete: "%{user_name} poistanut %{resource_name} tuloksen %{space_name}"
107
108
  update: "%{user_name} päivitetty tulos %{resource_name} vuonna %{space_name}"
109
+ value_types:
110
+ parent_presenter:
111
+ not_found: 'Vanhempaa ei löytynyt tietokannasta (ID: %{id})'
108
112
  models:
109
113
  result:
110
114
  fields:
@@ -167,14 +171,7 @@ fi:
167
171
  changes_at_title: Muutokset kohteessa "%{title}"
168
172
  version:
169
173
  version_index: Versio %{index}
170
- events:
171
- accountability:
172
- proposal_linked:
173
- email_intro: 'Tulos on sisällytetty ehdotukseen "%{proposal_title}". Voit nähdä sen tällä sivulla:'
174
- email_outro: Olet saanut tämän ilmoituksen, koska seuraat "%{proposal_title}". Voit lopettaa ilmoitusten vastaanottamisen edellisen linkin jälkeen.
175
- email_subject: Päivitys %{proposal_title}
176
- notification_title: Ehdotus <a href="%{proposal_path}">%{proposal_title}</a> on sisällytetty <a href="%{resource_path}">%{resource_title}</a> tulokseen.
177
- features:
174
+ components:
178
175
  accountability:
179
176
  name: vastuullisuutta
180
177
  settings:
@@ -188,6 +185,13 @@ fi:
188
185
  subcategories_label: Nimi "Alaluokat"
189
186
  step:
190
187
  comments_blocked: Kommentit on estetty
188
+ events:
189
+ accountability:
190
+ proposal_linked:
191
+ email_intro: 'Tulos on sisällytetty ehdotukseen "%{proposal_title}". Voit nähdä sen tällä sivulla:'
192
+ email_outro: Olet saanut tämän ilmoituksen, koska seuraat "%{proposal_title}". Voit lopettaa ilmoitusten vastaanottamisen edellisen linkin jälkeen.
193
+ email_subject: Päivitys %{proposal_title}
194
+ notification_title: Ehdotus <a href="%{proposal_path}">%{proposal_title}</a> on sisällytetty <a href="%{resource_path}">%{resource_title}</a> tulokseen.
191
195
  participatory_processes:
192
196
  participatory_process_groups:
193
197
  highlighted_results:
@@ -2,7 +2,7 @@ fr:
2
2
  activemodel:
3
3
  attributes:
4
4
  result:
5
- decidim_accountability_status_id: statut
5
+ decidim_accountability_status_id: Statut
6
6
  decidim_category_id: Catégorie
7
7
  decidim_scope_id: Périmètre d'application
8
8
  description: Description
@@ -104,7 +104,11 @@ fr:
104
104
  admin_log:
105
105
  result:
106
106
  create: "%{user_name} a créé le résultat %{resource_name} dans %{space_name}"
107
+ delete: "%{user_name} a supprimé le résultat %{resource_name} dans %{space_name}"
107
108
  update: "%{user_name} a mis à jour le résultat %{resource_name} dans %{space_name}"
109
+ value_types:
110
+ parent_presenter:
111
+ not_found: 'Le parent n''a pas été trouvé dans la base de données (ID: %{id})'
108
112
  models:
109
113
  result:
110
114
  fields:
@@ -153,7 +157,7 @@ fr:
153
157
  proposals: Propositions
154
158
  show_all_versions: Afficher toutes les versions
155
159
  version_author: Auteur de la version
156
- version_created_at: Version créée à
160
+ version_created_at: Version créée le
157
161
  version_number: Numéro de version
158
162
  version_number_out_of_total: "%{current_version} sur %{total_count}"
159
163
  votes: Soutiens
@@ -167,14 +171,7 @@ fr:
167
171
  changes_at_title: Changements à "%{title}"
168
172
  version:
169
173
  version_index: Version %{index}
170
- events:
171
- accountability:
172
- proposal_linked:
173
- email_intro: 'La proposition "%{proposal_title}" a été incluse dans un résultat. Vous pouvez le voir sur cette page :'
174
- email_outro: Vous avez reçu cette notification parce que vous suivez "%{proposal_title}". Vous pouvez arrêter de recevoir des notifications en suivant le lien précédent.
175
- email_subject: Une mise à jour de %{proposal_title}
176
- notification_title: La proposition <a href="%{proposal_path}">%{proposal_title}</a> a été incluse dans le résultat <a href="%{resource_path}">%{resource_title}</a>.
177
- features:
174
+ components:
178
175
  accountability:
179
176
  name: Responsabilité
180
177
  settings:
@@ -188,6 +185,13 @@ fr:
188
185
  subcategories_label: Nom pour "Sous-catégories"
189
186
  step:
190
187
  comments_blocked: Bloquer la création de nouveaux commentaires
188
+ events:
189
+ accountability:
190
+ proposal_linked:
191
+ email_intro: 'La proposition "%{proposal_title}" a été incluse dans un résultat. Vous pouvez le voir sur cette page :'
192
+ email_outro: Vous avez reçu cette notification parce que vous suivez "%{proposal_title}". Vous pouvez arrêter de recevoir des notifications en suivant le lien précédent.
193
+ email_subject: Une mise à jour de %{proposal_title}
194
+ notification_title: La proposition <a href="%{proposal_path}">%{proposal_title}</a> a été incluse dans le résultat <a href="%{resource_path}">%{resource_title}</a>.
191
195
  participatory_processes:
192
196
  participatory_process_groups:
193
197
  highlighted_results:
@@ -2,7 +2,7 @@ gl:
2
2
  activemodel:
3
3
  attributes:
4
4
  result:
5
- decidim_accountability_status_id: estado
5
+ decidim_accountability_status_id: Estado
6
6
  decidim_category_id: Categoría
7
7
  decidim_scope_id: Alcance
8
8
  description: Descrición
@@ -104,7 +104,11 @@ gl:
104
104
  admin_log:
105
105
  result:
106
106
  create: "%{user_name} resultado creado %{resource_name} en %{space_name}"
107
+ delete: "%{user_name} eliminou o %{resource_name} resultado en %{space_name}"
107
108
  update: "%{user_name} resultado actualizado %{resource_name} en %{space_name}"
109
+ value_types:
110
+ parent_presenter:
111
+ not_found: 'Non se atopou o pai na base de datos (ID: %{id})'
108
112
  models:
109
113
  result:
110
114
  fields:
@@ -167,14 +171,7 @@ gl:
167
171
  changes_at_title: Cambios en "%{title}"
168
172
  version:
169
173
  version_index: Versión %{index}
170
- events:
171
- accountability:
172
- proposal_linked:
173
- email_intro: 'A proposta "%{proposal_title}" foi incluída nun resultado. Podes velo desde esta páxina:'
174
- email_outro: Recibiches esta notificación porque estás seguindo "%{proposal_title}". Podes deixar de recibir notificacións seguindo a ligazón anterior.
175
- email_subject: Unha actualización a %{proposal_title}
176
- notification_title: A proposta <a href="%{proposal_path}">%{proposal_title}</a> foi incluída no <a href="%{resource_path}">%{resource_title}</a> resultado.
177
- features:
174
+ components:
178
175
  accountability:
179
176
  name: Responsabilidade
180
177
  settings:
@@ -188,6 +185,13 @@ gl:
188
185
  subcategories_label: Nome para "Subcategorías"
189
186
  step:
190
187
  comments_blocked: Comentarios bloqueados
188
+ events:
189
+ accountability:
190
+ proposal_linked:
191
+ email_intro: 'A proposta "%{proposal_title}" foi incluída nun resultado. Podes velo desde esta páxina:'
192
+ email_outro: Recibiches esta notificación porque estás seguindo "%{proposal_title}". Podes deixar de recibir notificacións seguindo a ligazón anterior.
193
+ email_subject: Unha actualización a %{proposal_title}
194
+ notification_title: A proposta <a href="%{proposal_path}">%{proposal_title}</a> foi incluída no <a href="%{resource_path}">%{resource_title}</a> resultado.
191
195
  participatory_processes:
192
196
  participatory_process_groups:
193
197
  highlighted_results:
@@ -2,7 +2,7 @@ it:
2
2
  activemodel:
3
3
  attributes:
4
4
  result:
5
- decidim_accountability_status_id: stato
5
+ decidim_accountability_status_id: Stato
6
6
  decidim_category_id: Categoria
7
7
  decidim_scope_id: Scopi
8
8
  description: Descrizione
@@ -104,7 +104,11 @@ it:
104
104
  admin_log:
105
105
  result:
106
106
  create: "%{user_name} risultato creato %{resource_name} in %{space_name}"
107
+ delete: "%{user_name} eliminato il risultato %{resource_name} in %{space_name}"
107
108
  update: "%{user_name} risultato aggiornato %{resource_name} in %{space_name}"
109
+ value_types:
110
+ parent_presenter:
111
+ not_found: 'Il genitore non è stato trovato sul database (ID: %{id})'
108
112
  models:
109
113
  result:
110
114
  fields:
@@ -167,14 +171,7 @@ it:
167
171
  changes_at_title: Modifiche a "%{title}"
168
172
  version:
169
173
  version_index: Versione %{index}
170
- events:
171
- accountability:
172
- proposal_linked:
173
- email_intro: 'La proposta "%{proposal_title}" è stata inclusa in un risultato. Puoi vederlo da questa pagina:'
174
- email_outro: Hai ricevuto questa notifica perché stai seguendo "%{proposal_title}". È possibile interrompere la ricezione di notifiche seguendo il collegamento precedente.
175
- email_subject: Un aggiornamento a %{proposal_title}
176
- notification_title: La proposta <a href="%{proposal_path}">%{proposal_title}</a> è stata inclusa nel risultato <a href="%{resource_path}">%{resource_title}</a>.
177
- features:
174
+ components:
178
175
  accountability:
179
176
  name: Responsabilità
180
177
  settings:
@@ -188,6 +185,13 @@ it:
188
185
  subcategories_label: Nome per "Sottocategorie"
189
186
  step:
190
187
  comments_blocked: Commenti bloccati
188
+ events:
189
+ accountability:
190
+ proposal_linked:
191
+ email_intro: 'La proposta "%{proposal_title}" è stata inclusa in un risultato. Puoi vederlo da questa pagina:'
192
+ email_outro: Hai ricevuto questa notifica perché stai seguendo "%{proposal_title}". È possibile interrompere la ricezione di notifiche seguendo il collegamento precedente.
193
+ email_subject: Un aggiornamento a %{proposal_title}
194
+ notification_title: La proposta <a href="%{proposal_path}">%{proposal_title}</a> è stata inclusa nel risultato <a href="%{resource_path}">%{resource_title}</a>.
191
195
  participatory_processes:
192
196
  participatory_process_groups:
193
197
  highlighted_results: