decidim-accountability 0.22.0 → 0.23.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/decidim/accountability/results_controller.rb +0 -1
  3. data/app/forms/decidim/accountability/admin/result_form.rb +3 -9
  4. data/app/helpers/decidim/accountability/admin/application_helper.rb +13 -0
  5. data/app/helpers/decidim/accountability/application_helper.rb +1 -1
  6. data/app/models/decidim/accountability/result.rb +4 -1
  7. data/app/models/decidim/accountability/status.rb +3 -0
  8. data/app/models/decidim/accountability/timeline_entry.rb +3 -0
  9. data/app/services/decidim/accountability/result_search.rb +2 -20
  10. data/app/services/decidim/accountability/result_stats_calculator.rb +1 -1
  11. data/app/views/decidim/accountability/admin/results/_form.html.erb +2 -2
  12. data/app/views/decidim/accountability/admin/results/index.html.erb +2 -0
  13. data/app/views/decidim/accountability/results/_scope_filters.html.erb +1 -1
  14. data/app/views/decidim/accountability/results/_stats_box.html.erb +0 -1
  15. data/config/locales/am-ET.yml +1 -0
  16. data/config/locales/bg.yml +226 -0
  17. data/config/locales/ca.yml +16 -13
  18. data/config/locales/cs.yml +22 -19
  19. data/config/locales/da.yml +202 -0
  20. data/config/locales/de.yml +21 -18
  21. data/config/locales/el.yml +1 -0
  22. data/config/locales/en.yml +3 -0
  23. data/config/locales/eo.yml +1 -0
  24. data/config/locales/es-MX.yml +3 -0
  25. data/config/locales/es-PY.yml +3 -0
  26. data/config/locales/es.yml +15 -12
  27. data/config/locales/et.yml +1 -0
  28. data/config/locales/eu.yml +8 -8
  29. data/config/locales/fi-plain.yml +3 -0
  30. data/config/locales/fi.yml +3 -0
  31. data/config/locales/fr-CA.yml +4 -0
  32. data/config/locales/fr.yml +4 -0
  33. data/config/locales/gl.yml +24 -1
  34. data/config/locales/hr.yml +1 -0
  35. data/config/locales/hu.yml +1 -0
  36. data/config/locales/is-IS.yml +29 -0
  37. data/config/locales/is.yml +177 -0
  38. data/config/locales/it.yml +3 -0
  39. data/config/locales/ja-JP.yml +2 -1
  40. data/config/locales/ja.yml +224 -0
  41. data/config/locales/ko-KR.yml +1 -0
  42. data/config/locales/ko.yml +1 -0
  43. data/config/locales/lt.yml +1 -0
  44. data/config/locales/{lv-LV.yml → lv.yml} +0 -0
  45. data/config/locales/mt.yml +1 -0
  46. data/config/locales/nl.yml +12 -9
  47. data/config/locales/no.yml +2 -0
  48. data/config/locales/om-ET.yml +1 -0
  49. data/config/locales/pl.yml +38 -35
  50. data/config/locales/pt.yml +1 -0
  51. data/config/locales/ro-RO.yml +1 -0
  52. data/config/locales/si-LK.yml +28 -0
  53. data/config/locales/sk.yml +16 -0
  54. data/config/locales/sl.yml +1 -0
  55. data/config/locales/so-SO.yml +1 -0
  56. data/config/locales/sv.yml +3 -0
  57. data/config/locales/sw-KE.yml +1 -0
  58. data/config/locales/ti-ER.yml +1 -0
  59. data/config/locales/tr-TR.yml +37 -14
  60. data/config/locales/vi-VN.yml +1 -0
  61. data/config/locales/vi.yml +1 -0
  62. data/config/locales/zh-CN.yml +223 -0
  63. data/config/locales/zh-TW.yml +1 -0
  64. data/db/migrate/20200827154103_add_commentable_counter_cache_to_results.rb +9 -0
  65. data/lib/decidim/accountability/component.rb +6 -1
  66. data/lib/decidim/accountability/engine.rb +0 -1
  67. data/lib/decidim/accountability/test/factories.rb +3 -1
  68. data/lib/decidim/accountability/version.rb +1 -1
  69. metadata +49 -27
  70. data/app/controllers/decidim/accountability/result_widgets_controller.rb +0 -19
@@ -185,6 +185,7 @@ pt:
185
185
  global:
186
186
  categories_label: Nome para "Categorias"
187
187
  comments_enabled: Comentários ativados
188
+ comments_max_length: Comprimento máximo dos comentários (Deixar 0 para o valor predefinido)
188
189
  display_progress_enabled: Mostrar progresso
189
190
  heading_leaf_level_results: Nome para "Projetos"
190
191
  heading_parent_level_results: Nome para "Resultados"
@@ -185,6 +185,7 @@ ro:
185
185
  global:
186
186
  categories_label: Nume pentru "Categorii"
187
187
  comments_enabled: Comentarii activate
188
+ comments_max_length: Lungimea maximă a comentariilor (Leave 0 pentru valoarea implicită)
188
189
  display_progress_enabled: Afișare progres
189
190
  heading_leaf_level_results: Nume pentru "Proiecte"
190
191
  heading_parent_level_results: Nume pentru "Rezultate"
@@ -0,0 +1,28 @@
1
+ si:
2
+ activemodel:
3
+ attributes:
4
+ result:
5
+ decidim_accountability_status_id: තත්වය
6
+ status:
7
+ name: නම
8
+ timeline_entry:
9
+ entry_date: දිනය
10
+ decidim:
11
+ accountability:
12
+ actions:
13
+ edit: සංස්කරණය
14
+ admin:
15
+ models:
16
+ status:
17
+ name: තත්වය
18
+ import_mailer:
19
+ import:
20
+ errors: දෝෂ
21
+ models:
22
+ timeline_entry:
23
+ fields:
24
+ entry_date: දිනය
25
+ results:
26
+ show:
27
+ stats:
28
+ meetings: රැස්වීම්
@@ -37,6 +37,7 @@ sk:
37
37
  confirm_destroy: Naozaj chcete odstrániť toto %{name}?
38
38
  destroy: Odstrániť
39
39
  edit: Upraviť
40
+ import_csv: Importovať súbor CSV
40
41
  new: Nový %{name}
41
42
  preview: Ukážka
42
43
  timeline_entries: Vývoj projektu
@@ -44,6 +45,14 @@ sk:
44
45
  admin:
45
46
  exports:
46
47
  results: Výsledky
48
+ import_results:
49
+ new:
50
+ import: Importovať
51
+ link: odkaz
52
+ title: Importovať výsledky zo súboru CSV
53
+ imports:
54
+ create:
55
+ success: Začalo sa importovanie súboru. O výsledku importovania dostanete informáciu e-mailom v priebehu niekoľkých minút
47
56
  models:
48
57
  result:
49
58
  name: Výsledok
@@ -113,6 +122,13 @@ sk:
113
122
  value_types:
114
123
  parent_presenter:
115
124
  not_found: 'Nadradený záznam nebol nájdený v databáze(ID: %{id})'
125
+ import_mailer:
126
+ import:
127
+ errors: Chyby
128
+ errors_present: Pri importovaní výsledkov sa vyskytol problém
129
+ row_number: Riadky
130
+ subject: Import výsledkov bol úspešný
131
+ success: Import výsledkov bol úspešný. Výsledky je možné skontrolovať v správcovskom rozhraní.
116
132
  last_activity:
117
133
  new_result_at_html: "<span>Nový výsledok na %{link}</span>"
118
134
  models:
@@ -110,6 +110,7 @@ sl:
110
110
  show:
111
111
  stats:
112
112
  last_edited_by: Nazadnje uredil(a) {0}, {1}
113
+ meetings: Sestanki
113
114
  components:
114
115
  accountability:
115
116
  settings:
@@ -0,0 +1 @@
1
+ so:
@@ -185,10 +185,13 @@ sv:
185
185
  global:
186
186
  categories_label: Namn för "Kategorier"
187
187
  comments_enabled: Kommentarer på
188
+ comments_max_length: Maximal längd för kommentarer (Lämna 0 för standardvärde)
188
189
  display_progress_enabled: Visa behandling
189
190
  heading_leaf_level_results: Namn för "Projekt"
190
191
  heading_parent_level_results: Namn för "Resultat"
191
192
  intro: Intro
193
+ scope_id: Omfång
194
+ scopes_enabled: Omfång aktiverade
192
195
  subcategories_label: Namn för "Underkategorier"
193
196
  step:
194
197
  comments_blocked: Kommentarer blockerade
@@ -0,0 +1 @@
1
+ sw:
@@ -0,0 +1 @@
1
+ ti:
@@ -2,7 +2,7 @@ tr:
2
2
  activemodel:
3
3
  attributes:
4
4
  result:
5
- decidim_accountability_status_id: durum
5
+ decidim_accountability_status_id: Durum
6
6
  decidim_category_id: Kategori
7
7
  decidim_scope_id: kapsam
8
8
  description: Açıklama
@@ -35,6 +35,7 @@ tr:
35
35
  confirm_destroy: Bu %{name}silmek istediğinize emin misiniz?
36
36
  destroy: silmek
37
37
  edit: Düzenle
38
+ import_csv: CSV'yi içe aktar
38
39
  new: Yeni %{name}
39
40
  preview: Ön izleme
40
41
  timeline_entries: Proje evrimi
@@ -42,6 +43,15 @@ tr:
42
43
  admin:
43
44
  exports:
44
45
  results: Sonuçlar
46
+ import_results:
47
+ new:
48
+ import: İçe aktar
49
+ info: "<p>Bu adımları izlemenizi tavsiye ederiz:</p><ol><li>Eklemek istediğiniz Sonuçlar için Statüleri oluşturun (<a href='%{link_new_status}' target='_blank'>bağlantı</a>)</li><li>Biçimi ve neleri doldurmanız gerektiğini daha iyi anlamak için İçe Aktar'ı kullanmadan önce bu Yönetici paneli (<a href='%{link_new_result}' target='_blank'>bağlantı</a>) aracılığıyla yeniden en az bir Sonuç oluşturun. </li><li>Dışa aktarımı CSV formatında indirin (%{link_export_csv})</li><li>Değişiklikleri yerel olarak yapın. CSV'nin yalnızca aşağıdaki sütunlarını değiştirebilirsiniz:</li></ol><ul><li><b>category/id:</b> Kategori ID</li><li><b>scope/id:</b> Kapsam ID </li><li><b>parent/id:</b> Üst ID (ilgili Sonuçlar için). İsteğe bağlı</li><li><b>title/I18N:</b> X dilinde başlık</li><li><b>description/I18N:</b> X dilinde açıklama</li><li><b>start_date:</b> sonucun uygulamaya başladığı tarih (biçim YYYY-AA-GG)</li><li><b>end_date:</b> sonucun yürütmeyi bitirdiği tarih (biçim YYYY-AA-GG)</li><li><b>status/id:</b> Durum ID</li><li><b>progress:</b> Yürütme yüzdesi (0'dan 100'e)</li><li><b>proposals_ids:</b> İlgili tekliflerin ID'leri (virgülle ayrılmış). Otomatik olarak <span class='attribute-name'>proposal_url</span>'e dönüştürülür</li></ul>"
50
+ link: bağlantı
51
+ title: Sonuçları CSV'den içe aktar
52
+ imports:
53
+ create:
54
+ success: Dosya içe aktarılmaya başladı. Önümüzdeki birkaç dakika içinde içe aktarmanın sonucunu içeren bir e-posta alacaksınız
45
55
  models:
46
56
  result:
47
57
  name: Sonuç
@@ -111,6 +121,13 @@ tr:
111
121
  value_types:
112
122
  parent_presenter:
113
123
  not_found: 'Üst veritabanında bulunamadı (ID: %{id})'
124
+ import_mailer:
125
+ import:
126
+ errors: Hatalar
127
+ errors_present: Sonuçları içe aktarırken bir sorun oluştu
128
+ row_number: Satır
129
+ subject: Sonuçların içe aktarılması başarılı
130
+ success: Sonuçların içe aktarılması başarılı. Sonuçları yönetim arayüzünde inceleyebilirsiniz.
114
131
  last_activity:
115
132
  new_result_at_html: "<span> %{link}</span>yeni sonuç"
116
133
  models:
@@ -154,24 +171,27 @@ tr:
154
171
  back_to_resource: Sonuca geri dön
155
172
  comments: Yorumlar
156
173
  contributions: Katılımlar
157
- last_edited_by: Tarafından düzenlenmiş Son
158
- last_updated_at: 'Son güncelleme tarihi:'
174
+ last_edited_by: Son düzenleyen
175
+ last_updated_at: Son güncelleme
159
176
  meetings: Toplantılar
160
- proposals: Teklif
177
+ proposals: Teklifler
161
178
  votes: Destekler
162
179
  timeline:
163
- title: Proje evrimi
180
+ title: Proje gelişimi
164
181
  components:
165
182
  accountability:
166
- name: Hesap verebilirlik
183
+ name: Sorumluluk
167
184
  settings:
168
185
  global:
169
186
  categories_label: '"Kategoriler" için isim'
170
187
  comments_enabled: Yorumlar etkin
171
- display_progress_enabled: Ekran ilerleme
172
- heading_leaf_level_results: '"Projelerin" Adı'
188
+ comments_max_length: Maksimum yorum uzunluğu (Varsayılan değer için 0 bırakın)
189
+ display_progress_enabled: İlerlemeyi göster
190
+ heading_leaf_level_results: '"Projeler" için isim'
173
191
  heading_parent_level_results: '"Sonuçların" Adı'
174
- intro: giriş
192
+ intro: Tanıtım
193
+ scope_id: Kapsam
194
+ scopes_enabled: Kapsamlar etkinleştirildi
175
195
  subcategories_label: '"Alt kategoriler" için isim'
176
196
  step:
177
197
  comments_blocked: Yorumlar engellendi
@@ -179,23 +199,26 @@ tr:
179
199
  accountability:
180
200
  proposal_linked:
181
201
  email_intro: '"%{proposal_title}" teklifi bir sonuca dahil edildi. Bu sayfadan görebilirsiniz:'
182
- email_outro: Bu bildirimi aldınız çünkü "%{proposal_title}" u takip ediyorsun. Önceki bağlantıyı takip ederek bildirim almayı durdurabilirsiniz.
183
- email_subject: '%{proposal_title}güncellemesi'
202
+ email_outro: Bu bildirimi "%{proposal_title}" takip ettiğiniz için aldınız. Bir önceki bağlantıdan takip etmeyi bırakabilirsiniz.
203
+ email_subject: '%{proposal_title} teklifi için bir güncelleme bulundu'
184
204
  notification_title: <a href="%{proposal_path}">%{proposal_title}</a> teklifi <a href="%{resource_path}">%{resource_title}</a> sonucuna dahil edilmiştir.
185
205
  result_progress_updated:
186
206
  email_intro: '"%{proposal_title}" önerisini içeren "%{resource_title}" sonucu şimdi% %{progress}tamamlandı. Bu sayfadan görebilirsiniz:'
187
207
  email_outro: '"%{proposal_title}" izlemekte olduğunuz için bu bildirimi aldınız ve bu teklif "%{resource_title}" sonucuna dahil edildi. Önceki bağlantıyı takip ederek bildirim almayı durdurabilirsiniz.'
188
- email_subject: '%{resource_title} ilerleme için güncelleme'
189
- notification_title: <a href="%{proposal_path}">%{proposal_title}</a>önerisini içeren sonuç%{resource_title}<a href="%{resource_path}"></a>, şimdi% %{progress}tamamlandı.
208
+ email_subject: '%{resource_title} için bir güncelleme'
209
+ notification_title: '<a href="%{proposal_path}">%{proposal_title}</a> teklifini içeren <a href="%{resource_path}">%{resource_title}</a> sonucu: %{progress} tamamlandı.'
190
210
  metrics:
191
211
  results:
192
212
  description: Üretilen sonuç sayısı
193
- object: Sonuçlar
213
+ object: sonuçlar
194
214
  title: Sonuçlar
195
215
  participatory_processes:
196
216
  participatory_process_groups:
197
217
  highlighted_results:
198
218
  results: Sonuçlar
219
+ participatory_spaces:
220
+ highlighted_results:
221
+ see_all: Tüm sonuçları gör (%{count})
199
222
  resource_links:
200
223
  included_projects:
201
224
  result_project: Bu sonuca dahil edilen projeler
@@ -0,0 +1 @@
1
+ vi:
@@ -0,0 +1 @@
1
+ vi:
@@ -0,0 +1,223 @@
1
+ zh-CN:
2
+ activemodel:
3
+ attributes:
4
+ result:
5
+ decidim_accountability_status_id: 状态
6
+ decidim_category_id: 类别
7
+ decidim_scope_id: 范围
8
+ description: 描述
9
+ end_date: 结束日期
10
+ progress: 进展情况
11
+ project_ids: 包括项目
12
+ proposals: 包括的建议
13
+ start_date: 开始日期
14
+ title: 标题
15
+ updated_at: 更新于
16
+ status:
17
+ description: 描述
18
+ key: 关键字
19
+ name: 名称
20
+ progress: 进展情况
21
+ timeline_entry:
22
+ description: 描述
23
+ entry_date: 日期
24
+ models:
25
+ decidim/accountability/proposal_linked_event: 结果中包括的提案
26
+ decidim/accountability/result_progress_updated_event: 结果进度更新
27
+ activerecord:
28
+ models:
29
+ decidim/accountability/result:
30
+ other: 成果
31
+ decidim:
32
+ accountability:
33
+ actions:
34
+ confirm_destroy: 您确定要删除此 %{name} 吗?
35
+ destroy: 删除
36
+ edit: 编辑
37
+ import_csv: 导入 CSV
38
+ new: 新建 %{name}
39
+ preview: 预览
40
+ timeline_entries: 项目进化
41
+ title: 行动
42
+ admin:
43
+ exports:
44
+ results: 成果
45
+ import_results:
46
+ new:
47
+ import: 导入
48
+ link: 链接
49
+ title: 从 CSV 导入结果
50
+ imports:
51
+ create:
52
+ success: 该文件已经开始导入。您将在几分钟内收到一封电子邮件,其导入的结果将会被导入。
53
+ models:
54
+ result:
55
+ name: 结果
56
+ status:
57
+ name: 状态
58
+ timeline_entry:
59
+ name: 时间线条目
60
+ results:
61
+ create:
62
+ invalid: 创建此结果时出现问题
63
+ success: 结果已成功创建
64
+ destroy:
65
+ success: 结果删除成功
66
+ edit:
67
+ title: 编辑结果
68
+ update: 更新结果
69
+ index:
70
+ title: 成果
71
+ new:
72
+ create: 创建结果
73
+ title: 新结果
74
+ update:
75
+ invalid: 更新此结果时出现问题
76
+ success: 结果已成功更新
77
+ shared:
78
+ subnav:
79
+ statuses: Statuses
80
+ statuses:
81
+ create:
82
+ invalid: 创建此状态时出现问题
83
+ success: 状态创建成功
84
+ destroy:
85
+ success: 状态删除成功
86
+ edit:
87
+ title: 编辑状态
88
+ update: 更新状态
89
+ index:
90
+ title: Statuses
91
+ new:
92
+ create: 创建状态
93
+ title: 新状态
94
+ update:
95
+ invalid: 更新此状态时出现问题
96
+ success: 状态已更新
97
+ timeline_entries:
98
+ create:
99
+ invalid: 创建此条目时出错
100
+ success: 条目创建成功
101
+ destroy:
102
+ success: 条目删除成功
103
+ edit:
104
+ title: 编辑条目
105
+ update: 更新条目
106
+ index:
107
+ title: 项目时间表条目
108
+ new:
109
+ create: 创建条目
110
+ title: 新建条目
111
+ update:
112
+ invalid: 更新此条目时出错
113
+ success: 条目已成功更新
114
+ admin_log:
115
+ result:
116
+ create: "%{user_name} 在 %{resource_name} 创建了结果 %{space_name}"
117
+ delete: "%{user_name} 刪除 %{resource_name} 結果在 %{space_name}"
118
+ update: "%{user_name} 更新结果 %{resource_name} 在 %{space_name}"
119
+ value_types:
120
+ parent_presenter:
121
+ not_found: '在数据库中找不到父级(ID: %{id})'
122
+ import_mailer:
123
+ import:
124
+ errors: 错误
125
+ errors_present: 导入结果时出现问题
126
+ row_number: 行
127
+ subject: 成功导入结果
128
+ success: 成功导入结果。您可以在管理界面查看结果。
129
+ last_activity:
130
+ new_result_at_html: "<span>在 %{link}的新结果</span>"
131
+ models:
132
+ result:
133
+ fields:
134
+ end_date: 结束日期
135
+ progress: 进展情况
136
+ start_date: 开始日期
137
+ status: 状态
138
+ title: 标题
139
+ status:
140
+ fields:
141
+ description: 描述
142
+ key: 关键字
143
+ name: 名称
144
+ progress: 进展情况
145
+ timeline_entry:
146
+ fields:
147
+ description: 描述
148
+ entry_date: 日期
149
+ results:
150
+ count:
151
+ results_count:
152
+ other: "%{count} 个结果"
153
+ filters:
154
+ all: 所有的
155
+ scopes: 范围
156
+ home:
157
+ categories_label: 类别管理
158
+ subcategories_label: 子类别
159
+ home_header:
160
+ global_status: 全局执行状态
161
+ nav_breadcrumb:
162
+ global: 全局执行
163
+ search:
164
+ search: 搜索操作
165
+ show:
166
+ stats:
167
+ attendees: 参与者
168
+ back_to_resource: 返回结果
169
+ comments: 评论
170
+ contributions: 二. 捐款
171
+ last_edited_by: 最后编辑者
172
+ last_updated_at: 最后更新于
173
+ meetings: 会议
174
+ proposals: 建议
175
+ votes: 支持
176
+ timeline:
177
+ title: 项目进化
178
+ components:
179
+ accountability:
180
+ name: 问责制
181
+ settings:
182
+ global:
183
+ categories_label: '"类别"的名称'
184
+ comments_enabled: 评论已启用
185
+ comments_max_length: 评论最大长度 (默认值留0)
186
+ display_progress_enabled: 显示进度
187
+ heading_leaf_level_results: '“项目”的名称'
188
+ heading_parent_level_results: '"结果"的名称'
189
+ intro: 简介
190
+ scope_id: 范围
191
+ scopes_enabled: 范围已启用
192
+ subcategories_label: '"子类别"的名称'
193
+ step:
194
+ comments_blocked: 评论已阻止
195
+ events:
196
+ accountability:
197
+ proposal_linked:
198
+ email_intro: '提议 "%{proposal_title}" 已被包含在结果中。您可以从这个页面查看:'
199
+ email_outro: 您收到此通知是因为您正在关注 "%{proposal_title}"。您可以停止收到跟随上一个链接的通知。
200
+ email_subject: 更新到 %{proposal_title}
201
+ notification_title: 提议 <a href="%{proposal_path}">%{proposal_title}</a> 已被包含在 <a href="%{resource_path}">%{resource_title}</a> 结果中。
202
+ result_progress_updated:
203
+ email_intro: '结果"%{resource_title}", 其中包括"%{proposal_title}", 现在完成了 %{progress}%。你可以从这个页面看到它:'
204
+ email_outro: 您收到此通知是因为您正在关注"%{proposal_title}",此建议包含在结果"%{resource_title}"中。 您可以停止接收跟随上一个链接的通知。
205
+ email_subject: 更新到 %{resource_title} 进度
206
+ notification_title: 结果 <a href="%{resource_path}">%{resource_title}</a>, 其中包括提议 <a href="%{proposal_path}">%{proposal_title}</a>, 现在已完成 %{progress}%。
207
+ metrics:
208
+ results:
209
+ description: 生成的结果数
210
+ object: 结果
211
+ title: 成果
212
+ participatory_processes:
213
+ participatory_process_groups:
214
+ highlighted_results:
215
+ results: 成果
216
+ participatory_spaces:
217
+ highlighted_results:
218
+ see_all: 查看所有结果 (%{count})
219
+ resource_links:
220
+ included_projects:
221
+ result_project: B. 列入这一结果的项目
222
+ included_proposals:
223
+ result_proposal: B. 列入这一结果的建议