decidim-accountability 0.26.4 → 0.27.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/accountability/highlighted_results_for_component_cell.rb +13 -1
  3. data/app/commands/decidim/accountability/admin/create_imported_result.rb +1 -1
  4. data/app/commands/decidim/accountability/admin/create_result.rb +1 -1
  5. data/app/commands/decidim/accountability/admin/create_status.rb +6 -3
  6. data/app/commands/decidim/accountability/admin/create_timeline_entry.rb +11 -7
  7. data/app/commands/decidim/accountability/admin/destroy_result.rb +1 -1
  8. data/app/commands/decidim/accountability/admin/update_imported_result.rb +1 -1
  9. data/app/commands/decidim/accountability/admin/update_result.rb +1 -1
  10. data/app/commands/decidim/accountability/admin/update_status.rb +6 -3
  11. data/app/commands/decidim/accountability/admin/update_timeline_entry.rb +9 -5
  12. data/app/controllers/decidim/accountability/admin/statuses_controller.rb +5 -3
  13. data/app/controllers/decidim/accountability/admin/timeline_entries_controller.rb +5 -3
  14. data/app/controllers/decidim/accountability/results_controller.rb +12 -12
  15. data/app/forms/decidim/accountability/admin/result_form.rb +2 -2
  16. data/app/forms/decidim/accountability/admin/timeline_entry_form.rb +2 -1
  17. data/app/helpers/decidim/accountability/breadcrumb_helper.rb +2 -2
  18. data/app/models/decidim/accountability/result.rb +9 -5
  19. data/app/models/decidim/accountability/status.rb +6 -2
  20. data/app/models/decidim/accountability/timeline_entry.rb +6 -0
  21. data/app/permissions/decidim/accountability/admin/permissions.rb +1 -7
  22. data/app/presenters/decidim/accountability/admin_log/status_presenter.rb +38 -0
  23. data/app/presenters/decidim/accountability/admin_log/timeline_entry_presenter.rb +37 -0
  24. data/app/services/decidim/accountability/results_calculator.rb +10 -6
  25. data/app/views/decidim/accountability/admin/import_results/new.html.erb +3 -7
  26. data/app/views/decidim/accountability/admin/results/index.html.erb +1 -1
  27. data/app/views/decidim/accountability/admin/timeline_entries/_form.html.erb +5 -1
  28. data/app/views/decidim/accountability/admin/timeline_entries/index.html.erb +2 -2
  29. data/app/views/decidim/accountability/results/_home_categories.html.erb +2 -2
  30. data/app/views/decidim/accountability/results/_nav_breadcrumb.html.erb +3 -3
  31. data/app/views/decidim/accountability/results/_results_leaf.html.erb +3 -3
  32. data/app/views/decidim/accountability/results/_results_parent.html.erb +1 -1
  33. data/app/views/decidim/accountability/results/_scope_filters.html.erb +3 -3
  34. data/app/views/decidim/accountability/results/_search.html.erb +1 -1
  35. data/app/views/decidim/accountability/results/_show_leaf.html.erb +2 -2
  36. data/app/views/decidim/accountability/results/_timeline.html.erb +8 -2
  37. data/app/views/decidim/accountability/results/home.html.erb +3 -1
  38. data/app/views/decidim/accountability/versions/show.html.erb +3 -1
  39. data/config/locales/am-ET.yml +1 -0
  40. data/config/locales/ar.yml +5 -1
  41. data/config/locales/bg.yml +3 -1
  42. data/config/locales/ca.yml +13 -23
  43. data/config/locales/cs.yml +13 -2
  44. data/config/locales/da.yml +3 -1
  45. data/config/locales/de.yml +13 -1
  46. data/config/locales/el.yml +3 -1
  47. data/config/locales/en.yml +12 -23
  48. data/config/locales/eo.yml +1 -0
  49. data/config/locales/es-MX.yml +13 -23
  50. data/config/locales/es-PY.yml +13 -23
  51. data/config/locales/es.yml +13 -23
  52. data/config/locales/et.yml +1 -0
  53. data/config/locales/eu.yml +3 -1
  54. data/config/locales/fi-plain.yml +13 -23
  55. data/config/locales/fi.yml +13 -23
  56. data/config/locales/fr-CA.yml +13 -23
  57. data/config/locales/fr.yml +13 -23
  58. data/config/locales/ga-IE.yml +2 -0
  59. data/config/locales/gl.yml +3 -1
  60. data/config/locales/hr.yml +1 -0
  61. data/config/locales/hu.yml +12 -10
  62. data/config/locales/id-ID.yml +1 -1
  63. data/config/locales/is-IS.yml +3 -2
  64. data/config/locales/it.yml +3 -1
  65. data/config/locales/ja.yml +13 -1
  66. data/config/locales/ko.yml +1 -0
  67. data/config/locales/lb.yml +3 -1
  68. data/config/locales/lt.yml +13 -1
  69. data/config/locales/lv.yml +3 -1
  70. data/config/locales/mt.yml +1 -0
  71. data/config/locales/nl.yml +2 -1
  72. data/config/locales/no.yml +5 -3
  73. data/config/locales/om-ET.yml +1 -0
  74. data/config/locales/pl.yml +13 -2
  75. data/config/locales/pt-BR.yml +4 -5
  76. data/config/locales/pt.yml +3 -1
  77. data/config/locales/ro-RO.yml +3 -1
  78. data/config/locales/ru.yml +1 -1
  79. data/config/locales/si-LK.yml +2 -1
  80. data/config/locales/sk.yml +2 -1
  81. data/config/locales/sl.yml +2 -1
  82. data/config/locales/so-SO.yml +1 -0
  83. data/config/locales/sr-CS.yml +1 -1
  84. data/config/locales/sv.yml +5 -1
  85. data/config/locales/sw-KE.yml +1 -0
  86. data/config/locales/ti-ER.yml +1 -0
  87. data/config/locales/tr-TR.yml +3 -1
  88. data/config/locales/uk.yml +1 -1
  89. data/config/locales/val-ES.yml +1 -0
  90. data/config/locales/vi.yml +1 -0
  91. data/config/locales/zh-CN.yml +2 -1
  92. data/config/locales/zh-TW.yml +1 -0
  93. data/db/migrate/20220331150008_add_title_to_timeline_entries.rb +7 -0
  94. data/db/migrate/20220331150155_move_legacy_description_to_title_of_timeline_entries.rb +13 -0
  95. data/lib/decidim/accountability/component.rb +2 -1
  96. data/lib/decidim/accountability/test/factories.rb +1 -0
  97. data/lib/decidim/accountability/version.rb +1 -1
  98. data/lib/decidim/api/timeline_entry_type.rb +1 -0
  99. metadata +28 -28
  100. data/app/services/decidim/accountability/result_search.rb +0 -48
  101. data/config/locales/gn-PY.yml +0 -1
  102. data/config/locales/lo-LA.yml +0 -1
  103. data/config/locales/oc-FR.yml +0 -1
@@ -7,7 +7,7 @@
7
7
  <% if category.present? && category.parent.present? %>
8
8
  <span class="breadcrumb--separator">></span>
9
9
  <div>
10
- <%= link_to translated_attribute(category.parent.name), results_path(filter: { category_id: category.parent_id, scope_id: current_scope }) %>
10
+ <%= link_to translated_attribute(category.parent.name), results_path(filter: { with_category: category.parent_id, with_scope: current_scope }) %>
11
11
  <% if component_settings.display_progress_enabled? %>
12
12
  <span class="percentage"><%= display_percentage progress_calculator(current_scope, category.parent_id) %></span>
13
13
  <% end %>
@@ -17,7 +17,7 @@
17
17
  <% if category.present? %>
18
18
  <span class="breadcrumb--separator">></span>
19
19
  <div>
20
- <%= link_to translated_attribute(category.name), results_path(filter: { category_id: category.id, scope_id: current_scope }) %>
20
+ <%= link_to translated_attribute(category.name), results_path(filter: { with_category: category.id, with_scope: current_scope }) %>
21
21
  <% if component_settings.display_progress_enabled? %>
22
22
  <span class="percentage"><%= display_percentage progress_calculator(current_scope, category.id) %></span>
23
23
  <% end %>
@@ -27,7 +27,7 @@
27
27
  <% if result && result.parent.present? %>
28
28
  <span class="breadcrumb--separator">></span>
29
29
  <div>
30
- <%= link_to translated_attribute(result.parent.title), result_path(result.parent, filter: { scope_id: current_scope }) %>
30
+ <%= link_to translated_attribute(result.parent.title), result_path(result.parent, filter: { with_category: current_scope }) %>
31
31
  <% if component_settings.display_progress_enabled? %>
32
32
  <span class="percentage"><%= display_percentage result.parent.progress %></span>
33
33
  <% end %>
@@ -19,12 +19,12 @@
19
19
  <div class="text-small card--meta">
20
20
  <% if result.start_date %>
21
21
  <strong><%= t("models.result.fields.start_date", scope: "decidim.accountability") %></strong>
22
- <span><%= l result.start_date, format: :decidim_short %></span>
22
+ <span><%= result.start_date %></span>
23
23
  <% end %>
24
24
 
25
25
  <% if result.end_date %>
26
26
  <strong><%= t("models.result.fields.end_date", scope: "decidim.accountability") %></strong>
27
- <span><%= l result.end_date, format: :decidim_short %></span>
27
+ <span><%= result.end_date %></span>
28
28
  <% end %>
29
29
 
30
30
  <% if result.status %>
@@ -42,6 +42,6 @@
42
42
  </div>
43
43
  <% end %>
44
44
  </div>
45
- <%= decidim_paginate results, order_start_time: params[:order_start_time], scope_id: params[:scope_id] %>
45
+ <%= decidim_paginate results, order_start_time: params[:order_start_time], with_scope: params.dig(:filter, :with_scope) %>
46
46
  </div>
47
47
  </div>
@@ -27,6 +27,6 @@
27
27
  </div>
28
28
  <% end %>
29
29
  </div>
30
- <%= decidim_paginate results, order_start_time: params[:order_start_time], scope_id: params[:scope_id] %>
30
+ <%= decidim_paginate results, order_start_time: params[:order_start_time], with_scope: params.dig(:filter, :with_scope) %>
31
31
  </div>
32
32
  </div>
@@ -4,7 +4,7 @@
4
4
 
5
5
  <ul class="tags tags--action">
6
6
  <li <%= active_class_if_current(nil) %>>
7
- <%= link_to url_for(filter: { category_id: category.try(:id) }) do %>
7
+ <%= link_to url_for(filter: { with_category: category.try(:id) }) do %>
8
8
  <span class="show-for-sr"><%= Decidim::Scope.model_name.human(count: 2) %></span>
9
9
  <%= t("results.filters.all", scope: "decidim.accountability") %>
10
10
  <% end %>
@@ -12,7 +12,7 @@
12
12
 
13
13
  <% if current_participatory_space.scope %>
14
14
  <li <%= active_class_if_current(current_participatory_space.scope.id) %>>
15
- <%= link_to url_for(filter: { scope_id: current_participatory_space.scope.id, category_id: category.try(:id) }) do %>
15
+ <%= link_to url_for(filter: { with_scope: current_participatory_space.scope.id, with_category: category.try(:id) }) do %>
16
16
  <span class="show-for-sr"><%= Decidim::Scope.model_name.human(count: 1) %></span>
17
17
  <%= translated_attribute(current_participatory_space.scope.name) %>
18
18
  <% end %>
@@ -20,7 +20,7 @@
20
20
  <% end %>
21
21
  <% current_participatory_space.subscopes.each do |scope| %>
22
22
  <li <%= active_class_if_current(scope.id) %>>
23
- <%= link_to url_for(filter: { scope_id: scope.id, category_id: category.try(:id) }) do %>
23
+ <%= link_to url_for(filter: { with_scope: scope.id, with_category: category.try(:id) }) do %>
24
24
  <span class="show-for-sr"><%= Decidim::Scope.model_name.human(count: 1) %></span>
25
25
  <%= translated_attribute(scope.name) %>
26
26
  <% end %>
@@ -1,7 +1,7 @@
1
1
  <%= form_tag results_path, method: :get do %>
2
2
  <div class="filters__search">
3
3
  <div class="input-group">
4
- <%= search_field_tag "filter[search_text]", nil, class: "input-group-field", placeholder: t(".search"), value: "", title: t(".search") %>
4
+ <%= search_field_tag "filter[search_text_cont]", nil, class: "input-group-field", placeholder: t(".search"), value: "", title: t(".search") %>
5
5
  <div class="input-group-button">
6
6
  <button type="submit" class="button">
7
7
  <%= icon "magnifying-glass", aria_label: t(".search"), role: "img" %>
@@ -31,14 +31,14 @@
31
31
  <div class="result-meta row">
32
32
  <% if result.start_date %>
33
33
  <div class="result-meta--label medium-2 columns"><%= t("models.result.fields.start_date", scope: "decidim.accountability") %></div>
34
- <div class="result-meta--data medium-10 columns"><%= l result.start_date, format: :decidim_short %></div>
34
+ <div class="result-meta--data medium-10 columns"><%= result.start_date %></div>
35
35
  <% end %>
36
36
  </div>
37
37
 
38
38
  <div class="result-meta row">
39
39
  <% if result.end_date %>
40
40
  <div class="result-meta--label medium-2 columns"><%= t("models.result.fields.end_date", scope: "decidim.accountability") %></div>
41
- <div class="result-meta--data medium-10 columns"><%= l result.end_date, format: :decidim_short %></div>
41
+ <div class="result-meta--data medium-10 columns"><%= result.end_date %></div>
42
42
  <% end %>
43
43
  </div>
44
44
 
@@ -10,11 +10,17 @@
10
10
  <div class="timeline__info">
11
11
  <div class="timeline__description">
12
12
  <span class="timeline__date text-small">
13
- <%= l timeline_entry.entry_date, format: :decidim_short %>
13
+ <%= timeline_entry.entry_date %>
14
14
  </span>
15
15
  <h4 class="timeline__title">
16
- <%= translated_attribute timeline_entry.description %>
16
+ <%= translated_attribute timeline_entry.title %>
17
17
  </h4>
18
+
19
+ <% if translated_attribute(timeline_entry.description).present? %>
20
+ <div class="timeline__description__description">
21
+ <%== translated_attribute timeline_entry.description %>
22
+ </div>
23
+ <% end %>
18
24
  </div>
19
25
  </div>
20
26
  </li>
@@ -6,4 +6,6 @@
6
6
  </div>
7
7
  </div>
8
8
 
9
- <%= javascript_pack_tag "decidim_accountability" %>
9
+ <% content_for :js_content do %>
10
+ <%= javascript_pack_tag "decidim_accountability" %>
11
+ <% end %>
@@ -1,4 +1,6 @@
1
- <%= javascript_pack_tag "decidim_accountability" %>
1
+ <% content_for :js_content do %>
2
+ <%= javascript_pack_tag "decidim_accountability" %>
3
+ <% end %>
2
4
  <div class="row accountability">
3
5
  <div class="small-12 columns">
4
6
  <%= render partial: "decidim/accountability/results/nav_breadcrumb", locals: { category: versioned_resource.parent.try(:category) || versioned_resource.try(:category) } %>
@@ -1 +1,2 @@
1
+ ---
1
2
  am:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  ar:
2
3
  activemodel:
3
4
  attributes:
@@ -21,6 +22,7 @@ ar:
21
22
  timeline_entry:
22
23
  description: وصف
23
24
  entry_date: تاريخ
25
+ title: العنوان
24
26
  models:
25
27
  decidim/accountability/proposal_linked_event: اقتراح المدرجة في النتيجة
26
28
  decidim/accountability/result_progress_updated_event: نتيجة التقدم المحدث
@@ -53,6 +55,8 @@ ar:
53
55
  import_results:
54
56
  new:
55
57
  import: استيراد
58
+ info: "<p>نحن ننصح باتباع هذه الخطوات:</p>\n<ol>\n <li>قم بإنشاء حالات النتائج التي تريد إضافتها (<a href=\"%{link_new_status}\" target=\"_blank\">الرابط</a>)</li>\n <li>قم بإنشاء نتيجة واحدة على الأقل يدويًا من خلال لوحة المدير هذه (<a href=\"%{link_new_result}\" target=\"_blank\">link</a>) قبل أستخدام الاستيراد, للحصول على فهم أفضل للتنسيق وما ستحتاج لملئه.</li>\n <li>قم بتنزيل التصدير بتنسيق CSV(%{link_export_csv})</li>\n <li>قم بإجراء التغييرات محليًا على جهازك. يمكنك فقط تغيير الأعمدة التالية من ملف CSV:</li>\n</ol>\n<ul>\n <li><b>category/id:</b>رقم مٌعرف للفئه</li>\n <li><b>scope/id:</b>رقم مٌعرف للمجال</li>\n <li><b>parent/id:</b> رقم مٌعرف بالأب (للنتائج ذات الصلة). اختياري</li>\n <li><b>title/I18N:</b> عنوان اللغه</li>\n <li><b>description/I18N:</b> وصف اللغه</li>\n <li><b>start_date:</b>التاريخ الذي يبدأ فيه تنفيذ النتيجة (التنسيق YYYY-MM-DD)</li>\n <li><b>end_date:</b> التاريخ الذي ينتهى فيه تنفيذ النتيجة (التنسيق YYYY-MM-DD</li>\n <li><b>status/id:</b> رقم مٌعرف لحالة النتيجة</li>\n <li><b>progress:</b> النسبة المئوية (من 0 الى 100) للتنفيذ</li>\n <li><b>proposals_ids:</b> رقم مُعرف داخلى للمقترحات ذات الصلة (مفصولاً بفاصلة). يتم تحويله تلقائيًا إلى <span class=\"attribute-name\">رابط للمقترح</span></li>\n</ul>"
59
+ link: الرابط
56
60
  title: استيراد النتائج من ملف CSV
57
61
  imports:
58
62
  create:
@@ -160,8 +164,8 @@ ar:
160
164
  progress: تقدم
161
165
  timeline_entry:
162
166
  fields:
163
- description: وصف
164
167
  entry_date: تاريخ
168
+ title: العنوان
165
169
  result_m:
166
170
  executed: تم التنفيذ
167
171
  view: عرض
@@ -1,3 +1,4 @@
1
+ ---
1
2
  bg:
2
3
  activemodel:
3
4
  attributes:
@@ -46,6 +47,8 @@ bg:
46
47
  import_results:
47
48
  new:
48
49
  import: Внасяне
50
+ info: "<p>Препоръчваме ви да изпълните следните стъпки:</p><ol><li>Създайте статусите на резултатите, които искате да добавите (<a href='%{link_new_status}' target='_blank'>връзка</a>)</li><li>Създайте поне един Резултат ръчно чрез администраторския панел (<a href='%{link_new_result}' target='_blank'>връзка</a>), преди да използвате Импортиране, за с по-добро разбиране на формата и това, което ще трябва да попълните.</li><li>Изтеглете експортиране с CSV формат (%{link_export_csv})</li><li> Направете промените локално. Можете да промените само следните колони от CSV:</li></ol><ul><li><b>категория/id:</b> ID за категорията</li><li><b>обхват/id:</b>ИД за обхвата</li><li><b> родител / id: </b> ID на родителя (за свързани резултати). Незадължително </li><li><b>заглавие/I18N:</b>Заглавие на езика X</li><li><b>описание/I18N </b>Описание на X език</li>< li><b>начало_дата:</b>дата, когато резултатът стартира изпълнението (формат ГГГГ-ММ-DD)</li><li><b>край_ дата:</b>дата, когато резултатът приключи изпълнението (формат ГГГГ-MM-DD)</li><li><b>status/id:</b>ID на състоянието за този резултат</li><li><b>прогрес:</b>Процент (от 0 до 100) на изпълнението</li><li><b>offers_ids:</b>вътрешен ID на свързаните предложения (разделени със запетая). Той автоматично се преобразува в <span class='attribute-name'>предложение_url</span></li></ul>"
51
+ link: връзка
49
52
  title: Импортирай резултати от CSV
50
53
  imports:
51
54
  create:
@@ -144,7 +147,6 @@ bg:
144
147
  progress: Напредък
145
148
  timeline_entry:
146
149
  fields:
147
- description: Описание
148
150
  entry_date: Дата
149
151
  results:
150
152
  count:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  ca:
2
3
  activemodel:
3
4
  attributes:
@@ -21,6 +22,7 @@ ca:
21
22
  timeline_entry:
22
23
  description: Descripció
23
24
  entry_date: Data
25
+ title: Títol
24
26
  models:
25
27
  decidim/accountability/proposal_linked_event: Proposta inclosa a un resultat
26
28
  decidim/accountability/result_progress_updated_event: Progrés del resultat actualitzat
@@ -48,29 +50,9 @@ ca:
48
50
  results: Resultats
49
51
  import_results:
50
52
  new:
51
- download_export: Descarregar l'exportació en format CSV
52
53
  import: Importar
53
- info: |
54
- <p>Et recomanem que segueixis les passes següents:</p>
55
- <ol>
56
- <li><a href='%{link_new_status}' target='_blank'>Crea els estats per als resultats</a> que vulguis afegir</li>
57
- <li><a href='%{link_new_result}' target='_blank'>Crea com a mínim un resultat manualment</a> a través del taulell d'administració abans d'importar, per a entendre millor el format i com cal omplir-ho.</li>
58
- <li>%{link_export_csv}</li>
59
- <li>Fes els canvis en local. Només pots modificar les següents columnes del CSV:
60
- <ul>
61
- <li><b>id category/id:</b> ID per la categoria</li>
62
- <li><b>scope/id:</b> ID per a l'àmbit</li>
63
- <li><b>parent/id:</b> ID per al pare (per a resultats relacionats). Opcional</li>
64
- <li><b>title/I18N:</b> Title en la llengua X</li>
65
- <li><b>description/I18N:</b> Descripció en la lleguna X </li>
66
- <li><b>start_date:</b> data en la que s'inicia l'execució del resultat (format YYYY-MM-DD)</li>
67
- <li><b>end_date:</b> data en la que finalitza l'execució del resultat (format YYYY-MM-DD)</li>
68
- <li><b>status/id:</b> ID de l'estat per a aquest resultat</li>
69
- <li><b>progress:</b> Tant per cent (de 0 a 100) d'execució</li>
70
- <li><b>proposals_ids:</b> ID intern de les propostes relacionades (separades per comes). Es convertirà automàticament en <span class='attribute-name'>proposal_url</span></li>
71
- </ul>
72
- </li>
73
- </ol>
54
+ info: "<p>Et recomanem que segueixis les passes següents:</p><ol><li>Crea els estats per als resultats que vulguis afegir (<a href='%{link_new_status}' target='_blank'>link</a>)</li><li>Crea com a mínim un resultat manualment a través del taulell d'administració (<a href='%{link_new_result}' target='_blank'>link</a>) abans d'importar, per a entendre millor el format i com cal omplir-ho.</li><li>Descarrega l'arxiu en format CSV(%{link_export_csv})</li><li>Fes els canvis en local. Només pots modificar les següents columnes del CSV:</li></ol><ul><li><b>id category/id:</b> ID per la categoria</li><li><b>scope/id:</b> ID per a l'àmbit</li><li><b>parent/id:</b> ID per al pare (per a resultats relacionats). Opcional</li><li><b>title/I18N:</b> Title en la llengua X</li><li><b>description/I18N:</b> Descripció en la lleguna X </li><li><b>start_date:</b> data en la que s'inicia l'execució del resultat (format YYYY-MM-DD)</li><li><b>end_date:</b> data en la que finalitza l'execució del resultat (format YYYY-MM-DD)</li><li><b>status/id:</b> ID de l'estat per a aquest resultat</li><li><b>progress:</b> Tant per cent (de 0 a 100) d'execució</li><li><b>proposals_ids:</b> ID intern de les propostes relacionades (separades per comes). Es convertirà automàticament en <span class='attribute-name'>proposal_url</span></li></ul>"
55
+ link: enllaç
74
56
  title: Importar resultats via CSV
75
57
  imports:
76
58
  create:
@@ -141,6 +123,14 @@ ca:
141
123
  create: "%{user_name} ha creat el resultat %{resource_name} en %{space_name}"
142
124
  delete: "%{user_name} ha eliminat el resultat %{resource_name} de l'espai %{space_name}"
143
125
  update: "%{user_name} ha actualitzat el resultat %{resource_name} en %{space_name}"
126
+ status:
127
+ create: "%{user_name} ha creat l'estat %{resource_name}"
128
+ delete: "%{user_name} ha eliminat l'estat %{resource_name}"
129
+ update: "%{user_name} ha actualitzat l'estat %{resource_name}"
130
+ timeline_entry:
131
+ create: "%{user_name} ha creat l'entrada %{resource_name} a la línia de temps"
132
+ delete: "%{user_name} ha eliminat l'entrada %{resource_name} a la línia de temps"
133
+ update: "%{user_name} ha actualitzat l'entrada %{resource_name} a la línia de temps"
144
134
  value_types:
145
135
  parent_presenter:
146
136
  not_found: 'No s''ha trobat el pare a la base de dades (ID: %{id})'
@@ -178,8 +168,8 @@ ca:
178
168
  progress: Progrés
179
169
  timeline_entry:
180
170
  fields:
181
- description: Descripció
182
171
  entry_date: Data
172
+ title: Títol
183
173
  result_m:
184
174
  executed: Executat
185
175
  view: Veure
@@ -1,3 +1,4 @@
1
+ ---
1
2
  cs:
2
3
  activemodel:
3
4
  attributes:
@@ -21,6 +22,7 @@ cs:
21
22
  timeline_entry:
22
23
  description: Popis
23
24
  entry_date: Datum
25
+ title: Název
24
26
  models:
25
27
  decidim/accountability/proposal_linked_event: Návrh zahrnutý do výsledku
26
28
  decidim/accountability/result_progress_updated_event: Výsledek byl aktualizován
@@ -50,8 +52,9 @@ cs:
50
52
  results: Výsledky
51
53
  import_results:
52
54
  new:
53
- download_export: Stáhnout export s CSV formátem
54
55
  import: Importovat
56
+ info: "<p>Doporučujeme postupovat podle těchto kroků:</p><ol><li>Vytvořte stavy pro výsledky, které chcete přidat (<a href='%{link_new_status}' target='_blank'>odkaz</a>)</li><li>Vytvořte alespoň jeden výsledek ručně přes tento Admin panel (<a href='%{link_new_result}' target='_blank'>odkaz</a>) před použitím Importu, pro lepší pochopení formátu a toho, co budete muset vyplnit.</li><li>Stáhněte si export s CSV formátem (%{link_export_csv})</li><li>Proveďte změny lokálně. Následující sloupce CSV:</li></ol><ul><li><b>kategorie / id:</b> ID pro kategorii</li><li><b>rozsah / id:</b> ID pro rozsah</li><li><b>nadřazené / id:</b> ID nadřazených (pro související výsledky). Nepovinný</li><li><b>název / I18N:</b> Název jazyka X</li><li><b>popis / I18N:</b> Popis jazyka X</li><li><b>start_date:</b> datum, kdy výsledek začne provádět (formát YYYY-MM-DD)</li><li><b>end_date:</b> den, kdy výsledek končí provedení (formát YYYY-MM-DD)</li><li><b>status / id:</b> ID stavu pro tento výsledek</li><li><b>pokrok:</b> procenta (od 0 do 100) provedení</li><li><b>proposals_ids:</b> interní ID souvisejících návrhů (oddělené čárkou). Automaticky se převede na <span class='attribute-name'>proposal_url</span></li></ul>"
57
+ link: odkaz
55
58
  title: Importovat výsledky z CSV
56
59
  imports:
57
60
  create:
@@ -122,6 +125,14 @@ cs:
122
125
  create: "%{user_name} vytvořen výsledek %{resource_name} v %{space_name}"
123
126
  delete: "%{user_name} odstranil %{resource_name} výsledek v %{space_name}"
124
127
  update: "%{user_name} aktualizovaný výsledek %{resource_name} v %{space_name}"
128
+ status:
129
+ create: "%{user_name} vytvořil/a stav %{resource_name}"
130
+ delete: "%{user_name} odstranil stav %{resource_name}"
131
+ update: "%{user_name} aktualizoval stav %{resource_name}"
132
+ timeline_entry:
133
+ create: "%{user_name} vytvořil záznam %{resource_name} časové osy"
134
+ delete: "%{user_name} odstranil záznam %{resource_name} časové osy"
135
+ update: "%{user_name} aktualizoval záznam %{resource_name} časové osy"
125
136
  value_types:
126
137
  parent_presenter:
127
138
  not_found: 'Nadřazený nebyl nalezen v databázi (ID: %{id})'
@@ -159,8 +170,8 @@ cs:
159
170
  progress: Průběh
160
171
  timeline_entry:
161
172
  fields:
162
- description: Popis
163
173
  entry_date: Datum
174
+ title: Název
164
175
  result_m:
165
176
  executed: Provedeno
166
177
  view: Zobrazit
@@ -1,3 +1,4 @@
1
+ ---
1
2
  da:
2
3
  activemodel:
3
4
  attributes:
@@ -46,6 +47,8 @@ da:
46
47
  import_results:
47
48
  new:
48
49
  import: Import
50
+ info: "<p>Vi anbefaler, at du følger disse trin:</p><ol><li>Opret status for de resultater, du ønsker at tilføje (<a href='%{link_new_status}' target='_blank'>link</a>)</li><li>Opret mindst ét resultat manuelt via dette administrationspanel (<a href='%{link_new_result}' target='_blank'>link</a>) før brug af import for at få en bedre forståelse af formatet, og hvad du har brug for til at udfylde det.</li><li>Download eksporten som CSV-format (%{link_export_csv})</li><li>Lav ændringerne lokalt. Du kan kun ændre følgende kolonner i CSV’et:</li></ol><ul><li><b>category/id:</b> ID for kategorien</li><li><b>scope/id:</b> ID for anvendelsesområde</li><li><b>parent/id:</b> ID for forælder(tilknyttede resultater). Valgfrit</li><li><b>title/I18N:</b> Titel for X-sprog</li><li><b>description/I18N:</b> Beskrivelse på X-sprog</li><li><b> dato, hvor resultatet begynder med at blive gennemført (format YYYY-MM-DD)</li><li><b>slutdato:</b> dato, hvor gennemførelsen af resultatet afsluttes (format YYYY-MM-DD)</li><li><b>status/id:</b> ID for status for dette resultat</li><li><b>fremskridt:</b> procentandel (fra 0 til 100) for gennemførelsen </li><li><b>proposals_ids:</b> internt ID for de tilknyttede forslag (adskilt med et komma). Den konverteres automatisk til <span class='attribute-name'>proposal_url</span></li></ul>"
51
+ link: link
49
52
  title: Importresultater fra CSV
50
53
  imports:
51
54
  create:
@@ -144,7 +147,6 @@ da:
144
147
  progress: Fremskridt
145
148
  timeline_entry:
146
149
  fields:
147
- description: Beskrivelse
148
150
  entry_date: Dato
149
151
  results:
150
152
  count:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  de:
2
3
  activemodel:
3
4
  attributes:
@@ -21,6 +22,7 @@ de:
21
22
  timeline_entry:
22
23
  description: Beschreibung
23
24
  entry_date: Datum
25
+ title: Titel
24
26
  models:
25
27
  decidim/accountability/proposal_linked_event: Vorschlag in einem Ergebnis enthalten
26
28
  decidim/accountability/result_progress_updated_event: Ergebnisfortschritt aktualisiert
@@ -49,6 +51,8 @@ de:
49
51
  import_results:
50
52
  new:
51
53
  import: Importieren
54
+ info: "<p>Wir empfehlen, dass Sie folgende Schritte befolgen:</p><ol><li>Erstellen Sie den Status der Ergebnisse, die Sie hinzufügen möchten (<a href='%{link_new_status}' target='_blank'>link</a>)</li><li>Erstellen Sie mindestens ein Ergebnis über diesen Administrator-Panel (<a href='%{link_new_result}' target='_blank'>link</a>) bevor Sie Importieren, damit Sie mit dem Format und den benötigten Eingaben vertraut sind.</li><li>Laden Sie den Export im CSV-Format herunter (%{link_export_csv})</li><li>Nehmen Sie Änderungen lokal vor. Sie können nur die folgenden Spalten der CSV ändern:</li></ol><ul><li><b>Kategorie/ID:</b> ID der Kategorie</li><li><b>Umfang/ID:</b> ID des Umfangs</li><li><b>Übergeordnet/ID:</b> Übergeordnete ID (für verwandte Ergebnisse). Optional</li><li><b>Titel/I18N:</b> Titel in Sprache X </li><li><b>Beschreibung/I18N:</b> Beschreibung in Sprache X </li><li><b>start_datum:</b> Datum, an dem die Ausführung des Ergebnisses beginnt (Format JJJJ-MM-TT)</li><li><b>end_datum:</b> Datum, an dem die Ausführung des Ergebnisses endet (Format JJJJ-MM-TT)</li><li><b>Status/ID:</b> ID des Status dieses Ergebnisses</li><li><b>Fortschritt:</b> Prozentualer (von 0 bis 100) Fortschritt der Durchführung</li><li><b>Vorschläge_IDs:</b> Interne ID der verwandten Vorschläge (getrennt durch Komma). Dies wird automatisch umgewandelt in <span class='attribute-name'>proposal_url</span></li></ul>"
55
+ link: Verknüpfung
52
56
  title: Ergebnisse von CSV importieren
53
57
  imports:
54
58
  create:
@@ -119,6 +123,14 @@ de:
119
123
  create: "%{user_name} hat das Ergebnis %{resource_name} in %{space_name} erstellt"
120
124
  delete: "%{user_name} hat das Ergebnis %{resource_name} in %{space_name} gelöscht"
121
125
  update: "%{user_name} hat das Ergebnis %{resource_name} in %{space_name} aktualisiert"
126
+ status:
127
+ create: "%{user_name} hat den Status %{resource_name} erstellt"
128
+ delete: "%{user_name} hat den Status %{resource_name} gelöscht"
129
+ update: "%{user_name} hat den Status %{resource_name} aktualisiert"
130
+ timeline_entry:
131
+ create: "%{user_name} hat den Zeiteintrag %{resource_name} erstellt"
132
+ delete: "%{user_name} hat den Zeiteintrag %{resource_name} gelöscht"
133
+ update: "%{user_name} hat den Zeiteintrag %{resource_name} aktualisiert"
122
134
  value_types:
123
135
  parent_presenter:
124
136
  not_found: 'Das übergeordnete Objekt wurde nicht in der Datenbank gefunden (ID: %{id})'
@@ -156,8 +168,8 @@ de:
156
168
  progress: Fortschritt
157
169
  timeline_entry:
158
170
  fields:
159
- description: Beschreibung
160
171
  entry_date: Datum
172
+ title: Titel
161
173
  result_m:
162
174
  executed: Ausgeführt
163
175
  view: Ansicht
@@ -1,3 +1,4 @@
1
+ ---
1
2
  el:
2
3
  activemodel:
3
4
  attributes:
@@ -49,6 +50,8 @@ el:
49
50
  import_results:
50
51
  new:
51
52
  import: Εισαγωγή
53
+ info: "<p>Σας συνιστούμε να ακολουθήσετε αυτά τα βήματα:</p><ol><li>Δημιουργήστε τις Καταστάσεις για τα Αποτελέσματα που θέλετε να προσθέσετε (<a href='%{link_new_status}' target='_blank'>link</a>)</li><li>Δημιουργήστε τουλάχιστον ένα Αποτέλεσμα χειροκίνητα μέσω αυτού του Πίνακα διαχειριστή (<a href='%{link_new_result}' target='_blank'>link</a>), προτού χρησιμοποιήσετε την Εισαγωγή, προκειμένου να κατανοήσετε καλύτερα τη μορφή και τα στοιχεία που πρέπει να συμπληρώσετε.</li><li>Πραγματοποιήστε λήψη της Εξαγωγής σε μορφή CSV (%{link_export_csv})</li><li>Πραγματοποιήστε τις αλλαγές τοπικά. Μπορείτε να αλλάξετε μόνο τις παρακάτω στήλες του CSV:</li></ol><ul><li><b>κατηγορία/αναγνωριστικό:</b> Αναγνωριστικό για την Κατηγορία</li><li><b>πεδίο εφαρμογής/αναγνωριστικό:</b> Αναγνωριστικό για το Πεδίο εφαρμογής</li><li><b>γονικό στοιχείο/αναγνωριστικό:</b> Αναγνωριστικό για το γονικό στοιχείο (για σχετικά Αποτελέσματα). Προαιρετικά</li><li><b>τίτλος/I18N:</b> Τίτλος στη γλώσσα X</li><li><b>περιγραφή/I18N:</b> Περιγραφή στη γλώσσα X</li><li><b>ημερομηνία_έναρξης:</b> ημερομηνία κατά την οποία το αποτέλεσμα ξεκινά την εκτέλεση (μορφή ΕΕΕΕ-ΜΜ-ΗΗ)</li><li><b>ημερομηνία_λήξης:</b> ημερομηνία κατά την οποία το αποτέλεσμα ολοκληρώνει την εκτέλεση (μορφή ΕΕΕΕ-ΜΜ-ΗΗ)</li><li><b>κατάσταση/αναγνωριστικό:</b> Αναγνωριστικό της Κατάστασης αυτού του αποτελέσματος</li><li><b>πρόοδος:</b> Ποσοστό (από 0 έως 100) της εκτέλεσης</li><li><b>αναγνωριστικά_προτάσεων:</b> εσωτερικό αναγνωριστικό των σχετικών προτάσεων (διαχωρισμένων με κόμμα). Μετατρέπεται αυτόματα σε <span class='attribute-name'>url_πρότασης</span></li></ul>"
54
+ link: σύνδεσμος
52
55
  title: Εισαγωγή αποτελεσμάτων από αρχείο CSV
53
56
  imports:
54
57
  create:
@@ -156,7 +159,6 @@ el:
156
159
  progress: Πρόοδος
157
160
  timeline_entry:
158
161
  fields:
159
- description: Περιγραφή
160
162
  entry_date: Ημερομηνία
161
163
  result_m:
162
164
  executed: Εκτελέσθηκε
@@ -22,6 +22,7 @@ en:
22
22
  timeline_entry:
23
23
  description: Description
24
24
  entry_date: Date
25
+ title: Title
25
26
  models:
26
27
  decidim/accountability/proposal_linked_event: Proposal included in a result
27
28
  decidim/accountability/result_progress_updated_event: Result progress updated
@@ -49,29 +50,9 @@ en:
49
50
  results: Results
50
51
  import_results:
51
52
  new:
52
- download_export: Download the Export with CSV format
53
53
  import: Import
54
- info: |
55
- <p>We recommend that you follow these steps:</p>
56
- <ol>
57
- <li><a href='%{link_new_status}' target='_blank'>Create the Statuses for the Results</a> that you want to add</li>
58
- <li><a href='%{link_new_result}' target='_blank'>Create at least one Result manually</a> through this Admin panel before using Import, for having a better understanding of the format and what you'll need to fill out.</li>
59
- <li>%{link_export_csv}</li>
60
- <li>Make the changes locally. You can only change the following columns of the CSV:
61
- <ul>
62
- <li><b>category/id:</b> ID for the Category</li>
63
- <li><b>scope/id:</b> ID for the Scope</li>
64
- <li><b>parent/id:</b> ID of the parent (for related Results). Optional</li>
65
- <li><b>title/en:</b> Title on English language. This will depend on your platform language configuration.</li>
66
- <li><b>description/en:</b> Description on English language. This will depend on your platform language configuration.</li>
67
- <li><b>start_date:</b> date when the result starts execution (format YYYY-MM-DD)</li>
68
- <li><b>end_date:</b> date when the result ends execution (format YYYY-MM-DD)</li>
69
- <li><b>status/id:</b> ID of the Status for this result</li>
70
- <li><b>progress:</b> Percentage (from 0 to 100) of the execution</li>
71
- <li><b>proposals_ids:</b> internal ID of the related proposals (separated with a comma). It gets automatically converted to <span class='attribute-name'>proposal_url</span></li>
72
- </ul>
73
- </li>
74
- </ol>
54
+ info: "<p>We recommend that you follow these steps:</p><ol><li>Create the Statuses for the Results that you want to add (<a href='%{link_new_status}' target='_blank'>link</a>)</li><li>Create at least one Result manually through this Admin panel (<a href='%{link_new_result}' target='_blank'>link</a>) before using Import, for having a better understanding of the format and what you'll need to fill out.</li><li>Download the Export with CSV format (%{link_export_csv})</li><li>Make the changes locally. You can only change the following columns of the CSV:</li></ol><ul><li><b>category/id:</b> ID for the Category</li><li><b>scope/id:</b> ID for the Scope</li><li><b>parent/id:</b> ID of the parent (for related Results). Optional</li><li><b>title/I18N:</b> Title on X language</li><li><b>description/I18N:</b> Description on X language</li><li><b>start_date:</b> date when the result starts execution (format YYYY-MM-DD)</li><li><b>end_date:</b> date when the result ends execution (format YYYY-MM-DD)</li><li><b>status/id:</b> ID of the Status for this result</li><li><b>progress:</b> Percentage (from 0 to 100) of the execution</li><li><b>proposals_ids:</b> internal ID of the related proposals (separated with a comma). It gets automatically converted to <span class='attribute-name'>proposal_url</span></li></ul>"
55
+ link: link
75
56
  title: Import results from CSV
76
57
  imports:
77
58
  create:
@@ -142,6 +123,14 @@ en:
142
123
  create: "%{user_name} created result %{resource_name} in %{space_name}"
143
124
  delete: "%{user_name} deleted the %{resource_name} result in %{space_name}"
144
125
  update: "%{user_name} updated result %{resource_name} in %{space_name}"
126
+ status:
127
+ create: "%{user_name} created the %{resource_name} status"
128
+ delete: "%{user_name} deleted the %{resource_name} status"
129
+ update: "%{user_name} updated the %{resource_name} status"
130
+ timeline_entry:
131
+ create: "%{user_name} created the %{resource_name} timeline entry"
132
+ delete: "%{user_name} deleted the %{resource_name} timeline entry"
133
+ update: "%{user_name} updated the %{resource_name} timeline entry"
145
134
  value_types:
146
135
  parent_presenter:
147
136
  not_found: 'The parent was not found on the database (ID: %{id})'
@@ -179,8 +168,8 @@ en:
179
168
  progress: Progress
180
169
  timeline_entry:
181
170
  fields:
182
- description: Description
183
171
  entry_date: Date
172
+ title: Title
184
173
  result_m:
185
174
  executed: Executed
186
175
  view: View
@@ -1 +1,2 @@
1
+ ---
1
2
  eo:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  es-MX:
2
3
  activemodel:
3
4
  attributes:
@@ -21,6 +22,7 @@ es-MX:
21
22
  timeline_entry:
22
23
  description: Descripción
23
24
  entry_date: Fecha
25
+ title: Título
24
26
  models:
25
27
  decidim/accountability/proposal_linked_event: Propuesta incluida en un resultado
26
28
  decidim/accountability/result_progress_updated_event: Progreso del resultado actualizado
@@ -48,29 +50,9 @@ es-MX:
48
50
  results: Resultados
49
51
  import_results:
50
52
  new:
51
- download_export: Descargar la exportación con formato CSV
52
53
  import: Importar
53
- info: |
54
- <p>Te recomendamos que sigas los siguientes pasos:</p>
55
- <ol>
56
- <li> <a href='%{link_new_status}' target='_blank'>Crea los estados para los resultados</a> que quieras agregar</li>
57
- <li><a href='%{link_new_result}' target='_blank'> Crea por lo menos un resultado manualmente</a> a través del panel de administración antes de importar, para entender mejor el formato y cómo rellenarlo.</li>
58
- <li>%{link_export_csv}</li>
59
- <li>Haz los cambios en local. Sólo puedes modificar las siguientes columnas del CSV:
60
- <ul>
61
- <li><b> id category/id:</b> ID para la categoría</li>
62
- <li><b>scope/id:</b> ID para el ámbito</li>
63
- <li><b>parent/id:</b> ID para el padre (para resultados relacionados). Opcional</li>
64
- <li><b>title/I18N:</b> título en el idioma X</li>
65
- <li><b>description/I18N:</b> descripción en el idioma X</li>
66
- <li><b>start_date:</b> fecha en la que se inicia la ejecución del resultado (formato AAAA-MM-DD)</li>
67
- <li><b>end_date:</b> fecha en la que finaliza la ejecución del resultado (formato AAAA-MM-DD) </li>
68
- <li><b> status/id:</b> ID del estado para este resultado</li>
69
- <li><b>progress:</b> Tanto por ciento (de 0 a 100) de ejecución</li>
70
- <li><b>proposals_ids:</b> ID interno de las propuestas relacionadas (separadas por comas). Se convertirá automáticamente en <span class = 'attribute-name'>proposal_url</span></li>
71
- </ul>
72
- </li>
73
- </ol>
54
+ info: "<p>Te recomendamos que sigas los siguientes pasos:</p><ol><li> Crea los estados para los resultados que quieras agregar (<a href='%{link_new_status}' target='_blank'> link </a>)</li><li> Crea por lo menos un resultado manualmente a través del panel de administración (<a href='%{link_new_result}' target='_blank'>link</a>) antes de importar, para entender mejor el formato y cómo rellenarlo.</li><li>Descarga el archivo en formato CSV (%{link_export_csv})</li><li>Haz los cambios en local. Sólo puedes modificar las siguientes columnas del CSV:</li></ol><ul><li><b> id category /id:</b> ID para la categoría</li><li><b>scope /id:</b> ID para el ámbito</li><li><b>parent /id:</b> ID para el padre (para resultados relacionados). Opcional</li> <li><b>title /I18N:</b> título en la lengua X</li> <li><b>description /I18N:</b> descripción en la lleguna X</li><li><b>start_date:</b> date en la que se inicia la ejecución del resultado (formato AAAA-MM-DD)</li><li><b>end_date:</b> fecha en la que finaliza la ejecución del resultado (formato AAAA-MM-DD) </li><li><b> status /id:</b> ID del estado para este resultado</li><li><b>progress:</b> Tanto por ciento (de 0 a 100) de ejecución</li><li><b>proposals_ids:</b> ID interno de las propuestas relacionadas (separadas por comas). Se convertirá automáticamente en <span class = 'attribute-name'>proposal_url</span></li></ul>"
55
+ link: enlace
74
56
  title: Importa resultados vía CSV
75
57
  imports:
76
58
  create:
@@ -141,6 +123,14 @@ es-MX:
141
123
  create: "%{user_name} creó el resultado %{resource_name} en %{space_name}"
142
124
  delete: "%{user_name} borró el resultado %{resource_name} en %{space_name}"
143
125
  update: "%{user_name} actualizó el resultado %{resource_name} en %{space_name}"
126
+ status:
127
+ create: "%{user_name} ha creado el estado %{resource_name}"
128
+ delete: "%{user_name} ha eliminado el estado %{resource_name}"
129
+ update: "%{user_name} ha actualizado el estado %{resource_name}"
130
+ timeline_entry:
131
+ create: "%{user_name} ha creado la entrada %{resource_name} en la línea de tiempo"
132
+ delete: "%{user_name} ha eliminado la entrada %{resource_name} en la línea de tiempo"
133
+ update: "%{user_name} ha actualizado la entrada %{resource_name} en la línea de tiempo"
144
134
  value_types:
145
135
  parent_presenter:
146
136
  not_found: 'El padre no se encontró en la base de datos (ID: %{id})'
@@ -178,8 +168,8 @@ es-MX:
178
168
  progress: Progreso
179
169
  timeline_entry:
180
170
  fields:
181
- description: Descripción
182
171
  entry_date: Fecha
172
+ title: Título
183
173
  result_m:
184
174
  executed: Ejecutado
185
175
  view: Ver