decidim-accountability 0.23.1 → 0.24.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/decidim/accountability/accountability/_categories.scss +5 -4
  3. data/app/cells/decidim/accountability/content_blocks/highlighted_results/elements.erb +5 -0
  4. data/app/cells/decidim/accountability/content_blocks/highlighted_results/heading.erb +1 -0
  5. data/app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb +18 -0
  6. data/app/cells/decidim/accountability/result_cell.rb +21 -0
  7. data/app/cells/decidim/accountability/result_m/data.erb +23 -0
  8. data/app/cells/decidim/accountability/result_m/footer.erb +22 -0
  9. data/app/cells/decidim/accountability/result_m/tags.erb +1 -0
  10. data/app/cells/decidim/accountability/result_m_cell.rb +37 -0
  11. data/app/controllers/concerns/decidim/accountability/admin/filterable.rb +59 -0
  12. data/app/controllers/decidim/accountability/admin/attachment_collections_controller.rb +32 -0
  13. data/app/controllers/decidim/accountability/admin/attachments_controller.rb +32 -0
  14. data/app/controllers/decidim/accountability/admin/results_controller.rb +7 -2
  15. data/app/helpers/decidim/accountability/admin/filterable_helper.rb +10 -0
  16. data/app/helpers/decidim/accountability/breadcrumb_helper.rb +3 -1
  17. data/app/models/decidim/accountability/result.rb +15 -2
  18. data/app/models/decidim/accountability/status.rb +5 -0
  19. data/app/views/decidim/accountability/admin/results/index.html.erb +52 -2
  20. data/app/views/decidim/accountability/results/_show_leaf.html.erb +2 -0
  21. data/app/views/decidim/accountability/results/_show_parent.html.erb +2 -0
  22. data/config/locales/ar.yml +0 -4
  23. data/config/locales/bg.yml +0 -4
  24. data/config/locales/ca.yml +34 -14
  25. data/config/locales/cs.yml +41 -21
  26. data/config/locales/da.yml +197 -0
  27. data/config/locales/de.yml +42 -22
  28. data/config/locales/el.yml +0 -4
  29. data/config/locales/en.yml +24 -4
  30. data/config/locales/es-MX.yml +24 -4
  31. data/config/locales/es-PY.yml +24 -4
  32. data/config/locales/es.yml +33 -13
  33. data/config/locales/eu.yml +8 -12
  34. data/config/locales/fi-plain.yml +24 -4
  35. data/config/locales/fi.yml +24 -4
  36. data/config/locales/fr-CA.yml +24 -4
  37. data/config/locales/fr.yml +24 -4
  38. data/config/locales/gl.yml +48 -5
  39. data/config/locales/hu.yml +0 -4
  40. data/config/locales/id-ID.yml +0 -4
  41. data/config/locales/is-IS.yml +53 -4
  42. data/config/locales/it.yml +24 -4
  43. data/config/locales/ja.yml +24 -4
  44. data/config/locales/lv.yml +0 -4
  45. data/config/locales/nl.yml +33 -13
  46. data/config/locales/no.yml +22 -4
  47. data/config/locales/pl.yml +24 -4
  48. data/config/locales/pt-BR.yml +0 -4
  49. data/config/locales/pt.yml +0 -4
  50. data/config/locales/ro-RO.yml +33 -9
  51. data/config/locales/ru.yml +0 -4
  52. data/config/locales/si-LK.yml +31 -0
  53. data/config/locales/sk.yml +23 -4
  54. data/config/locales/sl.yml +0 -4
  55. data/config/locales/sr-CS.yml +0 -4
  56. data/config/locales/sv.yml +24 -4
  57. data/config/locales/sw-KE.yml +1 -0
  58. data/config/locales/tr-TR.yml +59 -18
  59. data/config/locales/uk.yml +0 -4
  60. data/config/locales/zh-CN.yml +0 -4
  61. data/lib/decidim/accountability.rb +1 -0
  62. data/lib/decidim/accountability/admin_engine.rb +2 -0
  63. data/lib/decidim/accountability/api.rb +10 -0
  64. data/lib/decidim/accountability/component.rb +20 -8
  65. data/lib/decidim/accountability/engine.rb +0 -17
  66. data/lib/decidim/accountability/version.rb +1 -1
  67. data/lib/decidim/api/accountability_type.rb +26 -0
  68. data/lib/decidim/api/result_type.rb +32 -0
  69. data/lib/decidim/api/status_type.rb +19 -0
  70. data/lib/decidim/api/timeline_entry_type.rb +17 -0
  71. metadata +46 -33
  72. data/app/types/decidim/accountability/accountability_type.rb +0 -32
  73. data/app/types/decidim/accountability/result_type.rb +0 -35
  74. data/app/types/decidim/accountability/status_type.rb +0 -20
  75. data/app/types/decidim/accountability/timeline_entry_type.rb +0 -18
  76. data/app/views/decidim/participatory_processes/participatory_process_groups/_highlighted_results.html.erb +0 -12
  77. data/app/views/decidim/participatory_processes/participatory_process_groups/_result.html.erb +0 -32
@@ -209,10 +209,6 @@ hu:
209
209
  description: A keletkezett eredmények száma
210
210
  object: eredmények
211
211
  title: Eredmények
212
- participatory_processes:
213
- participatory_process_groups:
214
- highlighted_results:
215
- results: Eredmények
216
212
  participatory_spaces:
217
213
  highlighted_results:
218
214
  see_all: Eredmények megtekintése (%{count})
@@ -190,10 +190,6 @@ id:
190
190
  description: Jumlah hasil yang dihasilkan
191
191
  object: hasil
192
192
  title: Hasil
193
- participatory_processes:
194
- participatory_process_groups:
195
- highlighted_results:
196
- results: Hasil
197
193
  resource_links:
198
194
  included_projects:
199
195
  result_project: Proyek termasuk dalam hasil ini
@@ -21,19 +21,38 @@ is-IS:
21
21
  timeline_entry:
22
22
  description: Lýsing
23
23
  entry_date: Dagsetning
24
+ models:
25
+ decidim/accountability/proposal_linked_event: Tillögur innifalnar í þessari niðurstöðu
26
+ activerecord:
27
+ models:
28
+ decidim/accountability/result:
29
+ one: Niðurstaða
30
+ other: Niðurstöður
24
31
  decidim:
25
32
  accountability:
26
33
  actions:
34
+ attachment_collections: Mappa
35
+ attachments: Viðhengi
27
36
  confirm_destroy: Ertu viss um að þú viljir eyða þessu %{name}?
28
37
  destroy: Eyða
29
38
  edit: Breyta
39
+ import_csv: Flytja inn CSV
30
40
  new: Nýtt %{name}
31
41
  preview: Preview
32
42
  timeline_entries: Verkefnisþróun
33
43
  title: Aðgerðir
34
44
  admin:
35
45
  exports:
46
+ result_comments: Athugasemdir
36
47
  results: Niðurstöður
48
+ import_results:
49
+ new:
50
+ import: Flytja inn
51
+ link: hlekkur
52
+ title: Flytja inn niðurstöður frá CSV
53
+ imports:
54
+ create:
55
+ success: Innflutningur skjals er hafinn. Þú munt fá bráðlega fá tölvupóst með niðurstöðunum
37
56
  models:
38
57
  result:
39
58
  name: Niðurstaða
@@ -97,11 +116,24 @@ is-IS:
97
116
  value_types:
98
117
  parent_presenter:
99
118
  not_found: 'Móðirin fannst ekki í gagnagrunninum (ID: %{id})'
119
+ content_blocks:
120
+ highlighted_results:
121
+ dates: Dagsetningar
122
+ results: Niðurstöður
123
+ unspecified: Ekki tilgreint
124
+ import_mailer:
125
+ import:
126
+ errors: Villur
127
+ row_number: Röð
100
128
  models:
101
129
  result:
102
130
  fields:
131
+ category: Flokkur
132
+ created_at: Stofnað
103
133
  end_date: Loka dagsetning
134
+ id: ID
104
135
  progress: Framfarir
136
+ scope: Gildissvið
105
137
  start_date: Upphafsdagur
106
138
  status: Staða
107
139
  title: Titill
@@ -115,6 +147,9 @@ is-IS:
115
147
  fields:
116
148
  description: Lýsing
117
149
  entry_date: Dagsetning
150
+ result_m:
151
+ executed: Framkvæmt
152
+ view: Skoða
118
153
  results:
119
154
  count:
120
155
  results_count:
@@ -145,6 +180,15 @@ is-IS:
145
180
  votes: Styður
146
181
  timeline:
147
182
  title: Verkefnisþróun
183
+ admin:
184
+ filters:
185
+ results:
186
+ category_id_eq:
187
+ label: Flokkur
188
+ scope_id_eq:
189
+ label: Gildissvið
190
+ status_id_eq:
191
+ label: Staða
148
192
  components:
149
193
  accountability:
150
194
  name: Ábyrgð
@@ -156,6 +200,8 @@ is-IS:
156
200
  heading_leaf_level_results: Nafn fyrir "Verkefni"
157
201
  heading_parent_level_results: Nafn fyrir "Úrslit"
158
202
  intro: Intro
203
+ scope_id: Gildissvið
204
+ scopes_enabled: Umfang virkt
159
205
  subcategories_label: Nafn fyrir "undirflokka"
160
206
  step:
161
207
  comments_blocked: Athugasemdir læst
@@ -166,10 +212,13 @@ is-IS:
166
212
  email_outro: Þú hefur fengið þessa tilkynningu vegna þess að þú fylgist með "%{proposal_title}". Þú getur hætt við að fá tilkynningar eftir fyrri tengilinn.
167
213
  email_subject: Uppfærsla á %{proposal_title}
168
214
  notification_title: Tillagan <a href="%{proposal_path}">%{proposal_title}</a> hefur verið innifalinn í <a href="%{resource_path}">%{resource_title}</a> niðurstöðum.
169
- participatory_processes:
170
- participatory_process_groups:
171
- highlighted_results:
172
- results: Niðurstöður
215
+ metrics:
216
+ results:
217
+ object: niðurstöður
218
+ title: Niðurstöður
219
+ participatory_spaces:
220
+ highlighted_results:
221
+ see_all: Sjá allar niðurstöður (%{count})
173
222
  resource_links:
174
223
  included_projects:
175
224
  result_project: Verkefni í þessari niðurstöðu
@@ -32,6 +32,8 @@ it:
32
32
  decidim:
33
33
  accountability:
34
34
  actions:
35
+ attachment_collections: Cartelle
36
+ attachments: Allegati
35
37
  confirm_destroy: Sei sicuro di voler eliminare questo %{name}?
36
38
  destroy: Cancella
37
39
  edit: Modifica
@@ -42,6 +44,7 @@ it:
42
44
  title: Azioni
43
45
  admin:
44
46
  exports:
47
+ result_comments: Commenti
45
48
  results: Risultati
46
49
  import_results:
47
50
  new:
@@ -121,6 +124,11 @@ it:
121
124
  value_types:
122
125
  parent_presenter:
123
126
  not_found: 'Il genitore non è stato trovato sul database (ID: %{id})'
127
+ content_blocks:
128
+ highlighted_results:
129
+ dates: Date
130
+ results: Risultati
131
+ unspecified: Non specificato
124
132
  import_mailer:
125
133
  import:
126
134
  errors: Errori
@@ -133,8 +141,12 @@ it:
133
141
  models:
134
142
  result:
135
143
  fields:
144
+ category: Categoria
145
+ created_at: Creato
136
146
  end_date: Data di fine
147
+ id: ID
137
148
  progress: Avanzamento
149
+ scope: Ambito
138
150
  start_date: Data di inizio
139
151
  status: Stato
140
152
  title: Titolo
@@ -148,6 +160,9 @@ it:
148
160
  fields:
149
161
  description: Descrizione
150
162
  entry_date: Data
163
+ result_m:
164
+ executed: Eseguito
165
+ view: Visualizza
151
166
  results:
152
167
  count:
153
168
  results_count:
@@ -178,6 +193,15 @@ it:
178
193
  votes: Voti
179
194
  timeline:
180
195
  title: Evoluzione del progetto
196
+ admin:
197
+ filters:
198
+ results:
199
+ category_id_eq:
200
+ label: Categoria
201
+ scope_id_eq:
202
+ label: Ambito
203
+ status_id_eq:
204
+ label: Stato
181
205
  components:
182
206
  accountability:
183
207
  name: Accountability
@@ -212,10 +236,6 @@ it:
212
236
  description: Numero di risultati generati
213
237
  object: risultati
214
238
  title: Risultati
215
- participatory_processes:
216
- participatory_process_groups:
217
- highlighted_results:
218
- results: Risultati
219
239
  participatory_spaces:
220
240
  highlighted_results:
221
241
  see_all: Vedi tutti i risultati (%{count})
@@ -31,6 +31,8 @@ ja:
31
31
  decidim:
32
32
  accountability:
33
33
  actions:
34
+ attachment_collections: フォルダー
35
+ attachments: 添付ファイル
34
36
  confirm_destroy: この %{name} を削除してもよろしいですか?
35
37
  destroy: 削除
36
38
  edit: 編集
@@ -41,6 +43,7 @@ ja:
41
43
  title: アクション
42
44
  admin:
43
45
  exports:
46
+ result_comments: コメント
44
47
  results: 結果
45
48
  import_results:
46
49
  new:
@@ -120,6 +123,11 @@ ja:
120
123
  value_types:
121
124
  parent_presenter:
122
125
  not_found: '親がデータベース上に見つかりませんでした (ID: %{id})'
126
+ content_blocks:
127
+ highlighted_results:
128
+ dates: 日付
129
+ results: 結果
130
+ unspecified: 指定なし
123
131
  import_mailer:
124
132
  import:
125
133
  errors: エラー
@@ -132,8 +140,12 @@ ja:
132
140
  models:
133
141
  result:
134
142
  fields:
143
+ category: カテゴリ
144
+ created_at: 作成日時
135
145
  end_date: 終了日
146
+ id: ID
136
147
  progress: 進捗状況
148
+ scope: スコープ
137
149
  start_date: 開始日
138
150
  status: ステータス
139
151
  title: タイトル
@@ -147,6 +159,9 @@ ja:
147
159
  fields:
148
160
  description: 説明
149
161
  entry_date: 日付
162
+ result_m:
163
+ executed: 実行日時
164
+ view: 表示
150
165
  results:
151
166
  count:
152
167
  results_count:
@@ -176,6 +191,15 @@ ja:
176
191
  votes: サポート
177
192
  timeline:
178
193
  title: プロジェクトの進化
194
+ admin:
195
+ filters:
196
+ results:
197
+ category_id_eq:
198
+ label: カテゴリ
199
+ scope_id_eq:
200
+ label: スコープ
201
+ status_id_eq:
202
+ label: ステータス
179
203
  components:
180
204
  accountability:
181
205
  name: アカウンタビリティ
@@ -210,10 +234,6 @@ ja:
210
234
  description: 生成した結果の数
211
235
  object: 結果
212
236
  title: 結果
213
- participatory_processes:
214
- participatory_process_groups:
215
- highlighted_results:
216
- results: 結果
217
237
  participatory_spaces:
218
238
  highlighted_results:
219
239
  see_all: すべての結果を見る (%{count})
@@ -207,10 +207,6 @@ lv:
207
207
  description: Izveidoto rezultātu skaits
208
208
  object: rezultāti
209
209
  title: Rezultāti
210
- participatory_processes:
211
- participatory_process_groups:
212
- highlighted_results:
213
- results: Rezultāti
214
210
  resource_links:
215
211
  included_projects:
216
212
  result_project: Šajā rezultātā iekļautie projekti
@@ -32,6 +32,8 @@ nl:
32
32
  decidim:
33
33
  accountability:
34
34
  actions:
35
+ attachment_collections: Mappen
36
+ attachments: Bijlagen
35
37
  confirm_destroy: Weet u zeker dat u deze %{name} wilt verwijderen?
36
38
  destroy: Verwijder
37
39
  edit: Bewerk
@@ -42,15 +44,16 @@ nl:
42
44
  title: acties
43
45
  admin:
44
46
  exports:
47
+ result_comments: Reacties
45
48
  results: Resultaten
46
49
  import_results:
47
50
  new:
48
51
  import: Importeren
49
- link: koppeling
52
+ link: link
50
53
  title: Importeer resultaten van CSV
51
54
  imports:
52
55
  create:
53
- success: Het bestand is begonnen met importeren. U ontvangt binnen enkele minuten een e-mail met het resultaat van de import
56
+ success: Het importeren van het bestand is gestart. Je ontvangt binnen enkele minuten een e-mail met het resultaat van het importeren
54
57
  models:
55
58
  result:
56
59
  name: Resultaat
@@ -120,20 +123,29 @@ nl:
120
123
  value_types:
121
124
  parent_presenter:
122
125
  not_found: 'Het bovenliggende element is niet gevonden in de database (ID: %{id})'
126
+ content_blocks:
127
+ highlighted_results:
128
+ dates: Datums
129
+ results: Resultaten
130
+ unspecified: Niet gespecificeerd
123
131
  import_mailer:
124
132
  import:
125
133
  errors: Foutmeldingen
126
134
  errors_present: Er is een probleem opgetreden bij het importeren van de resultaten
127
135
  row_number: Rij
128
136
  subject: Resultaten importeren geslaagd
129
- success: Resultaten importeren geslaagd. U kunt de resultaten bekijken via de administratie interface.
137
+ success: Resultaten importeren geslaagd. Je kunt de resultaten bekijken via de administratie interface.
130
138
  last_activity:
131
139
  new_result_at_html: "<span>Nieuw resultaat op %{link}</span>"
132
140
  models:
133
141
  result:
134
142
  fields:
143
+ category: Categorie
144
+ created_at: Aangemaakt
135
145
  end_date: Einddatum
146
+ id: ID
136
147
  progress: Vooruitgang
148
+ scope: Scope
137
149
  start_date: Startdatum
138
150
  status: Status
139
151
  title: Titel
@@ -147,6 +159,9 @@ nl:
147
159
  fields:
148
160
  description: Beschrijving
149
161
  entry_date: Datum
162
+ result_m:
163
+ executed: Uitgevoerd
164
+ view: Bekijk
150
165
  results:
151
166
  count:
152
167
  results_count:
@@ -177,6 +192,15 @@ nl:
177
192
  votes: Ondersteunt
178
193
  timeline:
179
194
  title: Project evolutie
195
+ admin:
196
+ filters:
197
+ results:
198
+ category_id_eq:
199
+ label: Categorie
200
+ scope_id_eq:
201
+ label: Scope
202
+ status_id_eq:
203
+ label: Status
180
204
  components:
181
205
  accountability:
182
206
  name: Opvolging
@@ -203,21 +227,17 @@ nl:
203
227
  notification_title: Het voorstel <a href="%{proposal_path}">%{proposal_title}</a> is opgenomen in het <a href="%{resource_path}">%{resource_title}</a> resultaat.
204
228
  result_progress_updated:
205
229
  email_intro: 'Het resultaat "%{resource_title}", dat het voorstel "%{proposal_title}" bevat, is nu voor %{progress}% gereed. Je kunt het vanaf deze pagina bekijken:'
206
- email_outro: U hebt deze melding ontvangen omdat u "%{proposal_title}" volgt en dit voorstel is opgenomen in resultaat "%{resource_title}". Je kunt stoppen met het ontvangen van meldingen na de vorige link.
207
- email_subject: Een update naar %{resource_title} voortgang
208
- notification_title: Het resultaat <a href="%{resource_path}">%{resource_title}</a>, inclusief het voorstel <a href="%{proposal_path}">%{proposal_title}</a>, is nu %{progress}% voltooid.
230
+ email_outro: Je hebt deze melding ontvangen omdat je "%{proposal_title}" volgt en dit voorstel is opgenomen in resultaat "%{resource_title}". Je kunt stoppen met het ontvangen van meldingen via bovenstaande link.
231
+ email_subject: Voortgang van %{resource_title} bijgewerkt
232
+ notification_title: Het resultaat <a href="%{resource_path}">%{resource_title}</a>, waarin het voorstel <a href="%{proposal_path}">%{proposal_title}</a> is opgenomen, is nu %{progress}% voltooid.
209
233
  metrics:
210
234
  results:
211
235
  description: Aantal gegenereerde resultaten
212
- object: uitslagen
213
- title: resultaten
214
- participatory_processes:
215
- participatory_process_groups:
216
- highlighted_results:
217
- results: Resultaten
236
+ object: resultaten
237
+ title: Resultaten
218
238
  participatory_spaces:
219
239
  highlighted_results:
220
- see_all: Alle resultaten bekijken (%{count})
240
+ see_all: Bekijk alle resultaten (%{count})
221
241
  resource_links:
222
242
  included_projects:
223
243
  result_project: Projecten opgenomen in dit resultaat
@@ -32,6 +32,8 @@
32
32
  decidim:
33
33
  accountability:
34
34
  actions:
35
+ attachment_collections: Mapper
36
+ attachments: Vedlegg
35
37
  confirm_destroy: Er du sikker på at du vil slette dette %{name}?
36
38
  destroy: Slett
37
39
  edit: Redigere
@@ -42,6 +44,7 @@
42
44
  title: Handlinger
43
45
  admin:
44
46
  exports:
47
+ result_comments: Kommentarer
45
48
  results: Resultater
46
49
  import_results:
47
50
  new:
@@ -121,6 +124,11 @@
121
124
  value_types:
122
125
  parent_presenter:
123
126
  not_found: 'Overordnede ble ikke funnet i databasen (ID: %{id})'
127
+ content_blocks:
128
+ highlighted_results:
129
+ dates: Datoer
130
+ results: Resultater
131
+ unspecified: Ikke spesifisert
124
132
  import_mailer:
125
133
  import:
126
134
  errors: Feil
@@ -133,8 +141,12 @@
133
141
  models:
134
142
  result:
135
143
  fields:
144
+ category: Kategori
145
+ created_at: Opprettet
136
146
  end_date: Sluttdato
147
+ id: ID
137
148
  progress: Framgang
149
+ scope: Tema
138
150
  start_date: Startdato
139
151
  status: Status
140
152
  title: Tittel
@@ -148,6 +160,8 @@
148
160
  fields:
149
161
  description: Beskrivelse
150
162
  entry_date: Dato
163
+ result_m:
164
+ executed: Utført
151
165
  results:
152
166
  count:
153
167
  results_count:
@@ -178,6 +192,13 @@
178
192
  votes: Støtter
179
193
  timeline:
180
194
  title: Prosjektutvikling
195
+ admin:
196
+ filters:
197
+ results:
198
+ category_id_eq:
199
+ label: Kategori
200
+ status_id_eq:
201
+ label: Status
181
202
  components:
182
203
  accountability:
183
204
  name: Ansvarlighet
@@ -190,6 +211,7 @@
190
211
  heading_leaf_level_results: Navn på "Prosjekter"
191
212
  heading_parent_level_results: Navn på "Resultater"
192
213
  intro: Introduksjon
214
+ scope_id: Tema
193
215
  subcategories_label: Navn på "Underkategorier"
194
216
  step:
195
217
  comments_blocked: Kommentarer blokkert
@@ -210,10 +232,6 @@
210
232
  description: Antall genererte resultater
211
233
  object: resultater
212
234
  title: Resultater
213
- participatory_processes:
214
- participatory_process_groups:
215
- highlighted_results:
216
- results: Resultater
217
235
  participatory_spaces:
218
236
  highlighted_results:
219
237
  see_all: Se alle resultater (%{count})