decidim-admin 0.29.6 → 0.30.0.rc1

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 (243) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/admin/multi_select_picker/show.erb +10 -0
  3. data/app/cells/decidim/admin/multi_select_picker_cell.rb +38 -0
  4. data/app/commands/decidim/admin/bulk_action.rb +92 -0
  5. data/app/commands/decidim/admin/bulk_block_users.rb +75 -0
  6. data/app/commands/decidim/admin/bulk_unblock_users.rb +66 -0
  7. data/app/commands/decidim/admin/bulk_unreport_users.rb +69 -0
  8. data/app/commands/decidim/admin/content_blocks/update_content_block.rb +1 -1
  9. data/app/commands/decidim/admin/create_participatory_space_private_user.rb +3 -1
  10. data/app/commands/decidim/admin/create_share_token.rb +39 -0
  11. data/app/commands/decidim/admin/create_taxonomy.rb +23 -0
  12. data/app/commands/decidim/admin/create_taxonomy_filter.rb +24 -0
  13. data/app/commands/decidim/admin/destroy_share_token.rb +22 -0
  14. data/app/commands/decidim/admin/destroy_taxonomy.rb +18 -0
  15. data/app/commands/decidim/admin/destroy_taxonomy_filter.rb +20 -0
  16. data/app/commands/decidim/admin/hide_menu_component.rb +37 -0
  17. data/app/commands/decidim/admin/hide_resource.rb +4 -2
  18. data/app/commands/decidim/admin/publish_all_participatory_space_private_users.rb +50 -0
  19. data/app/commands/decidim/admin/publish_component.rb +3 -0
  20. data/app/commands/decidim/admin/reorder_components.rb +47 -0
  21. data/app/commands/decidim/admin/reorder_taxonomies.rb +76 -0
  22. data/app/commands/decidim/admin/unhide_resource.rb +11 -4
  23. data/app/commands/decidim/admin/unpublish_all_participatory_space_private_users.rb +50 -0
  24. data/app/commands/decidim/admin/unreport_resource.rb +11 -3
  25. data/app/commands/decidim/admin/update_component_permissions.rb +53 -13
  26. data/app/commands/decidim/admin/update_participatory_space_private_user.rb +11 -0
  27. data/app/commands/decidim/admin/update_share_token.rb +24 -0
  28. data/app/commands/decidim/admin/update_taxonomy.rb +20 -0
  29. data/app/commands/decidim/admin/update_taxonomy_filter.rb +28 -0
  30. data/app/controllers/concerns/decidim/admin/component_taxonomies_helper.rb +19 -0
  31. data/app/controllers/concerns/decidim/admin/filterable.rb +15 -18
  32. data/app/controllers/concerns/decidim/admin/has_trashable_resources.rb +170 -0
  33. data/app/controllers/concerns/decidim/admin/needs_admin_tos_accepted.rb +2 -29
  34. data/app/controllers/concerns/decidim/admin/participatory_space_admin_context.rb +12 -2
  35. data/app/controllers/concerns/decidim/admin/taxonomies/filterable.rb +27 -0
  36. data/app/controllers/decidim/admin/application_controller.rb +1 -2
  37. data/app/controllers/decidim/admin/areas_controller.rb +1 -0
  38. data/app/controllers/decidim/admin/block_user_controller.rb +42 -0
  39. data/app/controllers/decidim/admin/component_permissions_controller.rb +2 -4
  40. data/app/controllers/decidim/admin/components_controller.rb +50 -9
  41. data/app/controllers/decidim/admin/concerns/has_private_users.rb +59 -2
  42. data/app/controllers/decidim/admin/global_moderations_controller.rb +4 -0
  43. data/app/controllers/decidim/admin/impersonations_controller.rb +1 -1
  44. data/app/controllers/decidim/admin/moderated_users_controller.rb +26 -0
  45. data/app/controllers/decidim/admin/moderations_controller.rb +19 -6
  46. data/app/controllers/decidim/admin/newsletters_controller.rb +50 -7
  47. data/app/controllers/decidim/admin/organization_controller.rb +1 -1
  48. data/app/controllers/decidim/admin/resource_permissions_controller.rb +1 -1
  49. data/app/controllers/decidim/admin/scopes_controller.rb +1 -0
  50. data/app/controllers/decidim/admin/share_tokens_controller.rb +109 -7
  51. data/app/controllers/decidim/admin/taxonomies_controller.rb +129 -0
  52. data/app/controllers/decidim/admin/taxonomy_filters_controller.rb +112 -0
  53. data/app/controllers/decidim/admin/taxonomy_filters_selector_controller.rb +81 -0
  54. data/app/controllers/decidim/admin/taxonomy_items_controller.rb +91 -0
  55. data/app/forms/concerns/decidim/has_taxonomy_form_attributes.rb +57 -0
  56. data/app/forms/decidim/admin/block_users_form.rb +21 -0
  57. data/app/forms/decidim/admin/import_example_form.rb +1 -1
  58. data/app/forms/decidim/admin/newsletter_form.rb +1 -1
  59. data/app/forms/decidim/admin/participatory_space_private_user_form.rb +5 -0
  60. data/app/forms/decidim/admin/selective_newsletter_form.rb +46 -11
  61. data/app/forms/decidim/admin/share_token_form.rb +55 -0
  62. data/app/forms/decidim/admin/taxonomy_filter_form.rb +85 -0
  63. data/app/forms/decidim/admin/taxonomy_form.rb +20 -0
  64. data/app/forms/decidim/admin/taxonomy_item_form.rb +54 -0
  65. data/app/helpers/decidim/admin/application_helper.rb +0 -1
  66. data/app/helpers/decidim/admin/bulk_actions_helper.rb +0 -31
  67. data/app/helpers/decidim/admin/moderations/reports_helper.rb +1 -1
  68. data/app/helpers/decidim/admin/moderations_helper.rb +1 -1
  69. data/app/helpers/decidim/admin/newsletters_helper.rb +57 -27
  70. data/app/helpers/decidim/admin/scopes_helper.rb +0 -6
  71. data/app/helpers/decidim/admin/search_form_helper.rb +1 -1
  72. data/app/helpers/decidim/admin/settings_helper.rb +85 -11
  73. data/app/jobs/decidim/admin/newsletter_job.rb +3 -1
  74. data/app/packs/entrypoints/decidim_admin.js +4 -0
  75. data/app/packs/src/decidim/admin/application.js +2 -0
  76. data/app/packs/src/decidim/admin/draggable-table.js +33 -0
  77. data/app/packs/src/decidim/admin/form.js +0 -1
  78. data/app/packs/src/decidim/admin/global_moderations.js +186 -0
  79. data/app/packs/src/decidim/admin/managed_moderated_users.js +186 -0
  80. data/app/packs/src/decidim/admin/newsletters.js +164 -82
  81. data/app/packs/src/decidim/admin/proposal_infinite_edit.js +3 -6
  82. data/app/packs/src/decidim/admin/sortable.js +28 -16
  83. data/app/packs/src/decidim/admin/taxonomy_filters.js +93 -0
  84. data/app/packs/stylesheets/decidim/admin/_component-show.scss +66 -5
  85. data/app/packs/stylesheets/decidim/admin/_forms.scss +13 -22
  86. data/app/packs/stylesheets/decidim/admin/_legacy_foundation.scss +13 -0
  87. data/app/packs/stylesheets/decidim/admin/_select_picker.scss +20 -0
  88. data/app/packs/stylesheets/decidim/admin/_table-list.scss +22 -0
  89. data/app/packs/stylesheets/decidim/admin/_taxonomies.scss +74 -0
  90. data/app/packs/stylesheets/decidim/admin/application.scss +3 -0
  91. data/app/permissions/decidim/admin/permissions.rb +30 -5
  92. data/app/queries/decidim/admin/newsletter_recipients.rb +50 -14
  93. data/app/views/decidim/admin/areas/index.html.erb +3 -0
  94. data/app/views/decidim/admin/block_user/bulk_new.html.erb +45 -0
  95. data/app/views/decidim/admin/components/_actions.html.erb +50 -33
  96. data/app/views/decidim/admin/components/{_component.html.erb → _component_row.html.erb} +10 -5
  97. data/app/views/decidim/admin/components/_components_table.html.erb +18 -0
  98. data/app/views/decidim/admin/components/_form.html.erb +0 -12
  99. data/app/views/decidim/admin/components/_taxonomy_filters_drawer.html.erb +2 -0
  100. data/app/views/decidim/admin/components/_visibility_label.html.erb +9 -0
  101. data/app/views/decidim/admin/components/index.html.erb +12 -14
  102. data/app/views/decidim/admin/components/manage_trash.html.erb +11 -0
  103. data/app/views/decidim/admin/moderated_users/_bulk-actions.html.erb +6 -0
  104. data/app/views/decidim/admin/moderated_users/bulk_actions/_block.html.erb +20 -0
  105. data/app/views/decidim/admin/moderated_users/bulk_actions/_dropdown.html.erb +40 -0
  106. data/app/views/decidim/admin/moderated_users/bulk_actions/_unblock.html.erb +20 -0
  107. data/app/views/decidim/admin/moderated_users/bulk_actions/_unreport.html.erb +20 -0
  108. data/app/views/decidim/admin/moderated_users/index.html.erb +14 -6
  109. data/app/views/decidim/admin/moderations/_bulk-actions.html.erb +7 -0
  110. data/app/views/decidim/admin/moderations/_moderation-tr.html.erb +50 -0
  111. data/app/views/decidim/admin/moderations/_moderations-thead.html.erb +18 -0
  112. data/app/views/decidim/admin/moderations/bulk_actions/_dropdown.html.erb +43 -0
  113. data/app/views/decidim/admin/moderations/bulk_actions/_hide.html.erb +20 -0
  114. data/app/views/decidim/admin/moderations/bulk_actions/_unhide.html.erb +20 -0
  115. data/app/views/decidim/admin/moderations/bulk_actions/_unreport.html.erb +20 -0
  116. data/app/views/decidim/admin/moderations/index.html.erb +13 -85
  117. data/app/views/decidim/admin/newsletters/confirm_recipients.html.erb +64 -0
  118. data/app/views/decidim/admin/newsletters/select_recipients_to_deliver.html.erb +44 -20
  119. data/app/views/decidim/admin/officializations/index.html.erb +2 -7
  120. data/app/views/decidim/admin/participatory_space_private_users/_form.html.erb +6 -0
  121. data/app/views/decidim/admin/participatory_space_private_users/edit.html.erb +19 -0
  122. data/app/views/decidim/admin/participatory_space_private_users/index.html.erb +15 -1
  123. data/app/views/decidim/admin/resource_permissions/_options_form.html.erb +5 -0
  124. data/app/views/decidim/admin/resource_permissions/edit.html.erb +2 -2
  125. data/app/views/decidim/admin/scope_types/index.html.erb +3 -0
  126. data/app/views/decidim/admin/scopes/index.html.erb +3 -0
  127. data/app/views/decidim/admin/share_tokens/_form.html.erb +52 -0
  128. data/app/views/decidim/admin/share_tokens/edit.html.erb +33 -0
  129. data/app/views/decidim/admin/share_tokens/index.html.erb +47 -0
  130. data/app/views/decidim/admin/share_tokens/new.html.erb +69 -0
  131. data/app/views/decidim/admin/taxonomies/_filters.html.erb +19 -0
  132. data/app/views/decidim/admin/taxonomies/_form.html.erb +5 -0
  133. data/app/views/decidim/admin/taxonomies/_row.html.erb +40 -0
  134. data/app/views/decidim/admin/taxonomies/_row_children.html.erb +8 -0
  135. data/app/views/decidim/admin/taxonomies/_table.html.erb +86 -0
  136. data/app/views/decidim/admin/taxonomies/_taxonomy_actions.html.erb +15 -0
  137. data/app/views/decidim/admin/taxonomies/edit.html.erb +87 -0
  138. data/app/views/decidim/admin/taxonomies/index.html.erb +28 -0
  139. data/app/views/decidim/admin/taxonomies/new.html.erb +16 -0
  140. data/app/views/decidim/admin/taxonomy_filters/_check_boxes.html.erb +10 -0
  141. data/app/views/decidim/admin/taxonomy_filters/_form.html.erb +96 -0
  142. data/app/views/decidim/admin/taxonomy_filters/_table.html.erb +33 -0
  143. data/app/views/decidim/admin/taxonomy_filters/edit.html.erb +22 -0
  144. data/app/views/decidim/admin/taxonomy_filters/index.html.erb +26 -0
  145. data/app/views/decidim/admin/taxonomy_filters/new.html.erb +32 -0
  146. data/app/views/decidim/admin/taxonomy_filters_selector/_check_boxes.html.erb +7 -0
  147. data/app/views/decidim/admin/taxonomy_filters_selector/_component_table.html.erb +25 -0
  148. data/app/views/decidim/admin/taxonomy_filters_selector/_taxonomies_select.html.erb +16 -0
  149. data/app/views/decidim/admin/taxonomy_filters_selector/index.html.erb +1 -0
  150. data/app/views/decidim/admin/taxonomy_filters_selector/new.html.erb +27 -0
  151. data/app/views/decidim/admin/taxonomy_filters_selector/show.html.erb +18 -0
  152. data/app/views/decidim/admin/taxonomy_items/_form.html.erb +8 -0
  153. data/app/views/decidim/admin/taxonomy_items/edit.html.erb +12 -0
  154. data/app/views/decidim/admin/taxonomy_items/new.html.erb +12 -0
  155. data/app/views/layouts/decidim/admin/taxonomy_filters.html.erb +17 -0
  156. data/app/views/layouts/decidim/admin/taxonomy_filters_selector.html.erb +10 -0
  157. data/config/locales/ar.yml +46 -45
  158. data/config/locales/bg.yml +60 -54
  159. data/config/locales/bs-BA.yml +3 -30
  160. data/config/locales/ca.yml +303 -64
  161. data/config/locales/cs.yml +295 -54
  162. data/config/locales/de.yml +303 -64
  163. data/config/locales/el.yml +12 -54
  164. data/config/locales/en.yml +293 -54
  165. data/config/locales/eo.yml +0 -1
  166. data/config/locales/es-MX.yml +296 -57
  167. data/config/locales/es-PY.yml +296 -57
  168. data/config/locales/es.yml +292 -53
  169. data/config/locales/eu.yml +324 -85
  170. data/config/locales/fi-plain.yml +296 -57
  171. data/config/locales/fi.yml +295 -56
  172. data/config/locales/fr-CA.yml +182 -56
  173. data/config/locales/fr.yml +182 -56
  174. data/config/locales/ga-IE.yml +6 -24
  175. data/config/locales/gl.yml +6 -51
  176. data/config/locales/he-IL.yml +0 -6
  177. data/config/locales/hu.yml +18 -59
  178. data/config/locales/id-ID.yml +7 -30
  179. data/config/locales/is-IS.yml +6 -32
  180. data/config/locales/it.yml +5 -284
  181. data/config/locales/ja.yml +298 -61
  182. data/config/locales/kaa.yml +3 -12
  183. data/config/locales/ko.yml +8 -62
  184. data/config/locales/lb.yml +7 -53
  185. data/config/locales/lt.yml +11 -52
  186. data/config/locales/lv.yml +5 -31
  187. data/config/locales/nl.yml +8 -53
  188. data/config/locales/no.yml +6 -52
  189. data/config/locales/pl.yml +15 -54
  190. data/config/locales/pt-BR.yml +51 -65
  191. data/config/locales/pt.yml +35 -56
  192. data/config/locales/ro-RO.yml +42 -59
  193. data/config/locales/ru.yml +8 -30
  194. data/config/locales/sk.yml +8 -33
  195. data/config/locales/sl.yml +5 -13
  196. data/config/locales/sq-AL.yml +13 -40
  197. data/config/locales/sr-CS.yml +3 -30
  198. data/config/locales/sv.yml +300 -60
  199. data/config/locales/th-TH.yml +0 -19
  200. data/config/locales/tr-TR.yml +7 -289
  201. data/config/locales/uk.yml +8 -27
  202. data/config/locales/zh-CN.yml +6 -41
  203. data/config/locales/zh-TW.yml +4 -52
  204. data/config/routes.rb +13 -12
  205. data/decidim-admin.gemspec +1 -1
  206. data/lib/decidim/admin/engine.rb +2 -1
  207. data/lib/decidim/admin/import/creator.rb +2 -6
  208. data/lib/decidim/admin/import/readers/json.rb +1 -1
  209. data/lib/decidim/admin/menu.rb +9 -1
  210. data/lib/decidim/admin/search_form_builder.rb +1 -1
  211. data/lib/decidim/admin/test/destroy_admin_examples.rb +2 -2
  212. data/lib/decidim/admin/test/filterable_examples.rb +100 -9
  213. data/lib/decidim/admin/test/forms/attachment_collection_form_examples.rb +1 -1
  214. data/lib/decidim/admin/test/forms/attachment_form_examples.rb +1 -1
  215. data/lib/decidim/admin/test/invite_participatory_space_admins_shared_examples.rb +2 -4
  216. data/lib/decidim/admin/test/manage_component_permissions_examples.rb +5 -5
  217. data/lib/decidim/admin/test/manage_hide_content_examples.rb +3 -5
  218. data/lib/decidim/admin/test/manage_moderations_examples.rb +4 -4
  219. data/lib/decidim/admin/test/manage_resource_soft_deletion_examples.rb +113 -0
  220. data/lib/decidim/admin/test/manage_taxonomy_filters_examples.rb +127 -0
  221. data/lib/decidim/admin/test/taxonomy_filters_examples.rb +32 -0
  222. data/lib/decidim/admin/test.rb +3 -1
  223. data/lib/decidim/admin/version.rb +1 -1
  224. metadata +103 -30
  225. data/app/commands/decidim/admin/create_category.rb +0 -15
  226. data/app/commands/decidim/admin/destroy_category.rb +0 -15
  227. data/app/commands/decidim/admin/destroy_component.rb +0 -19
  228. data/app/commands/decidim/admin/update_category.rb +0 -11
  229. data/app/controllers/decidim/admin/categories_controller.rb +0 -98
  230. data/app/forms/decidim/admin/category_form.rb +0 -32
  231. data/app/helpers/decidim/admin/resource_scope_helper.rb +0 -52
  232. data/app/packs/src/decidim/admin/scope_picker_enabler.component.js +0 -12
  233. data/app/views/decidim/admin/categories/_form.html.erb +0 -18
  234. data/app/views/decidim/admin/categories/edit.html.erb +0 -19
  235. data/app/views/decidim/admin/categories/index.html.erb +0 -65
  236. data/app/views/decidim/admin/categories/new.html.erb +0 -19
  237. data/app/views/decidim/admin/share_tokens/_share_tokens.html.erb +0 -45
  238. data/config/locales/ca-IT.yml +0 -1162
  239. data/lib/decidim/admin/test/commands/create_category_examples.rb +0 -74
  240. data/lib/decidim/admin/test/commands/destroy_category_examples.rb +0 -83
  241. data/lib/decidim/admin/test/commands/update_category_examples.rb +0 -76
  242. data/lib/decidim/admin/test/forms/category_form_examples.rb +0 -70
  243. data/lib/decidim/admin/test/manage_categories_examples.rb +0 -128
@@ -53,7 +53,6 @@ en:
53
53
  customize_welcome_notification: Customize welcome notification
54
54
  default_locale: Default locale
55
55
  description: Description
56
- enable_machine_translations: Enable machine translations
57
56
  enable_omnipresent_banner: Show omnipresent banner
58
57
  enable_participatory_space_filters: Enable participatory space filters
59
58
  facebook_handler: Facebook handler
@@ -186,8 +185,13 @@ en:
186
185
  attachment_collection:
187
186
  new: New attachment folder
188
187
  browse: Browse
189
- category:
190
- new: New category
188
+ confirm_delete_component: |
189
+ Are you sure you want to delete this component?<br>
190
+ This component contains:<br>
191
+ <ul class="list-disc ml-6 my-2">
192
+ <li class="font-bold">%{resources_count} resources</li>
193
+ </ul>
194
+ If you change your mind, you can restore it later.
191
195
  export: Export all
192
196
  export-selection: Export selection
193
197
  import: Import
@@ -199,14 +203,18 @@ en:
199
203
  per_page: Per page
200
204
  permissions: Permissions
201
205
  reject: Reject
206
+ restore: Restore
202
207
  send_me_a_test_email: Send me a test email
203
208
  share: Share
209
+ share_tokens: Access links
210
+ soft_delete: Soft delete
204
211
  user:
205
212
  new: New admin
206
213
  verify: Verify
214
+ view_deleted_components: View deleted components
207
215
  admin_terms_of_service:
208
216
  accept:
209
- error: There was an error while accepting the admin terms of service.
217
+ error: There was a problem while accepting the admin terms of service.
210
218
  success: Great! You have accepted the admin terms of service.
211
219
  actions:
212
220
  accept: I agree with the terms
@@ -237,6 +245,7 @@ en:
237
245
  create:
238
246
  error: There was a problem creating a new area.
239
247
  success: Area created successfully.
248
+ deprecated: Mind that areas are deprecated and will be removed in future versions. Please use taxonomies instead. The only module currently using areas is the initiatives module.
240
249
  destroy:
241
250
  has_spaces: This area has dependent spaces. Please make sure no Participatory Space references this area before deleting it.
242
251
  success: Area successfully destroyed.
@@ -290,6 +299,12 @@ en:
290
299
  no_results: No results found
291
300
  search_prompt: Type at least three characters to search.
292
301
  block_user:
302
+ bulk_new:
303
+ action: Block accounts and send justification
304
+ already_reported_html: Continuing with this action you will also hide all the participants contents.
305
+ description: Blocking a user will render their account unusable. You may provide in your justification any guidelines on ways you would consider unblocking the user.
306
+ justification: Justification
307
+ title: Block Users
293
308
  new:
294
309
  action: Block account and send justification
295
310
  already_reported_html: Continuing with this action you will also hide all the participants contents.
@@ -297,23 +312,8 @@ en:
297
312
  justification: Justification
298
313
  title: Block User %{name}
299
314
  categories:
300
- create:
301
- error: There was a problem creating this category.
302
- success: Category created successfully.
303
- destroy:
304
- error: There was a problem deleting this category. Please delete any subcategory first, make sure no other entity belongs to this category and try again.
305
- success: Category deleted successfully.
306
- edit:
307
- title: Edit category
308
- update: Update
309
315
  index:
310
316
  categories_title: Categories
311
- new:
312
- create: Create category
313
- title: New category
314
- update:
315
- error: There was a problem updating this category.
316
- success: Category updated successfully.
317
317
  component_permissions:
318
318
  update:
319
319
  error: There was a problem updating the permissions of this component.
@@ -323,9 +323,6 @@ en:
323
323
  error: There was a problem creating this component.
324
324
  success: Component created successfully.
325
325
  success_landing_page: Component created successfully. You can add a content block for this component in the home of the space. Go to <a href="%{landing_page_path}">Landing page</a> to configure it.
326
- destroy:
327
- error: There was a problem destroying this component.
328
- success: Component deleted successfully.
329
326
  edit:
330
327
  title: Edit component
331
328
  update: Update
@@ -333,13 +330,17 @@ en:
333
330
  default_step_settings: Default step settings
334
331
  global_settings: Global settings
335
332
  step_settings: Step settings
333
+ hide:
334
+ success: The component has been successfully hidden from the menu.
336
335
  index:
337
336
  add: Add component
338
337
  headers:
339
338
  actions: Actions
340
339
  name: Component name
341
- scope: Component scope
342
340
  type: Component type
341
+ visibility: Visibility
342
+ manage_trash:
343
+ title: Deleted components
343
344
  new:
344
345
  add: Add component
345
346
  title: 'Add component: %{name}'
@@ -351,6 +352,10 @@ en:
351
352
  update:
352
353
  error: There was a problem updating this component.
353
354
  success: The component was updated successfully.
355
+ visibility_label:
356
+ menu_hidden: Menu hidden
357
+ published: Published
358
+ unpublished: Unpublished
354
359
  conflicts:
355
360
  attempts: Attempts
356
361
  'false': 'No'
@@ -370,7 +375,7 @@ en:
370
375
  user_name: User
371
376
  content_blocks:
372
377
  create:
373
- error: There was an error while creating the content block.
378
+ error: There was a problem while creating the content block.
374
379
  success: Content block successfully created.
375
380
  destroy:
376
381
  error: There was a problem trying to delete this content block.
@@ -407,8 +412,6 @@ en:
407
412
  JSON: JSON
408
413
  notice: Your export is currently in progress. You will receive an email when it is complete.
409
414
  filters:
410
- category_id_eq:
411
- label: Category
412
415
  filter_label: Filter
413
416
  invitation_accepted_at_present:
414
417
  label: Invite accepted
@@ -457,8 +460,6 @@ en:
457
460
  'false': Published
458
461
  'true': Unpublished
459
462
  remove_all: Remove all
460
- scope_id_eq:
461
- label: Scope
462
463
  search_label: Search
463
464
  search_placeholder:
464
465
  name_or_nickname_or_email_cont: Search %{collection} by email, name or nickname.
@@ -473,6 +474,9 @@ en:
473
474
  pending: Pending
474
475
  rejected: Rejected
475
476
  verified: Verified
477
+ taxonomies:
478
+ taxonomy_id_eq:
479
+ label: Taxonomy
476
480
  forms:
477
481
  file_help:
478
482
  import:
@@ -562,6 +566,8 @@ en:
562
566
  logs_list:
563
567
  no_logs_yet: There are no logs yet.
564
568
  no_matching_logs: There are no logs with the provided search filters. Try to change them and retry.
569
+ manage_trash:
570
+ deleted_items_warning: You are currently viewing deleted items. To make any edits or changes, you must first restore them.
565
571
  managed_users:
566
572
  promotion:
567
573
  error: There was a problem promoting the managed participant.
@@ -593,8 +599,11 @@ en:
593
599
  scopes: Scopes
594
600
  see_site: See site
595
601
  settings: Settings
602
+ share_tokens: Access links
596
603
  static_page_topics: Topics
597
604
  static_pages: Pages
605
+ taxonomies: Taxonomies
606
+ taxonomy_filters: Taxonomy filters
598
607
  user_groups: Groups
599
608
  users: Participants
600
609
  metrics:
@@ -648,12 +657,11 @@ en:
648
657
  plural: Plural
649
658
  share_token:
650
659
  fields:
651
- created_at: Created at
660
+ actions: Actions
652
661
  expires_at: Expires at
653
- last_used_at: Last time used
662
+ registered_only: Registered only?
654
663
  times_used: Times used
655
- token: Token
656
- user: Created by
664
+ token: Access link
657
665
  static_page:
658
666
  fields:
659
667
  created_at: Created at
@@ -683,13 +691,27 @@ en:
683
691
  index:
684
692
  actions:
685
693
  block: Block User
694
+ bulk_actions:
695
+ actions_dropdown: Actions
696
+ block:
697
+ title: Block
698
+ update_moderated_user_button: Block users
699
+ unblock:
700
+ title: Unblock
701
+ update_moderated_user_button: Unblock users
702
+ unreport:
703
+ title: Unreport
704
+ ignore:
705
+ update_moderated_user_button: Unreport users
686
706
  title: Actions
687
707
  unblock: Unblock User
688
708
  unreport: Unreport
709
+ cancel: Cancel
689
710
  name: Name
690
711
  nickname: Nickname
691
712
  reason: Reason
692
713
  reports: Reports count
714
+ selected: Selected
693
715
  title: Reported participants
694
716
  report:
695
717
  reasons:
@@ -701,13 +723,25 @@ en:
701
723
  unblocked: Not Blocked
702
724
  moderations:
703
725
  index:
726
+ actions:
727
+ actions_dropdown: Actions
728
+ hide:
729
+ title: Hide
730
+ update_moderation_button: Hide selected resources
731
+ unhide:
732
+ title: Unhide
733
+ update_moderation_button: Unhide selected resources
734
+ unreport:
735
+ title: Unreport
736
+ update_moderation_button: Unreport selected resources
737
+ cancel: Cancel
738
+ selected: selected
704
739
  title: Reported content
705
740
  report:
706
741
  reasons:
707
742
  does_not_belong: Does not belong
708
743
  hidden_during_block: Hidden while blocking user
709
744
  offensive: Offensive
710
- parent_hidden: Parent content has been hidden
711
745
  spam: Spam
712
746
  reports:
713
747
  index:
@@ -738,6 +772,10 @@ en:
738
772
  preview: 'Preview template: %{template_name}'
739
773
  use_template: Use this template
740
774
  newsletters:
775
+ confirm_recipients:
776
+ email: Email
777
+ name: Name
778
+ title: Confirm recipients
741
779
  create:
742
780
  error: There was a problem creating this newsletter.
743
781
  success: Newsletter created successfully. Please review it before sending.
@@ -757,12 +795,14 @@ en:
757
795
  confirm_delete: Are you sure you want to delete this newsletter?
758
796
  followers: 'followers '
759
797
  has_been_sent_to: 'Has been sent to: '
760
- no_scopes: No scopes
761
798
  not_sent: Not sent
762
799
  participants: 'participants '
800
+ private_members: 'private members '
763
801
  segmented_to: 'Segmented to %{subject}: '
764
802
  subscribed_count: 'Subscribed:'
765
803
  title: Newsletters
804
+ verification_types: 'Verification types: %{types}'
805
+ verified_users: Verified users
766
806
  new:
767
807
  save: Save
768
808
  title: New newsletter
@@ -770,16 +810,24 @@ en:
770
810
  all_spaces: All
771
811
  all_users_help: Sends newsletter to all confirmed users.
772
812
  confirm_deliver: Are you sure you want to deliver this newsletter? This action cannot be undone.
813
+ confirm_recipients: Confirm recipients
773
814
  deliver: Deliver newsletter
774
815
  followers_help: Sends newsletter to all confirmed users that follow any selected participatory spaces in the list.
775
- none: None
776
816
  participants_help: Sends newsletter to all confirmed users that have participated in any of the selected participatory spaces in the list.
817
+ private_members_help: Sends a newsletter to all confirmed users that have been added to the selected private participatory spaces.
777
818
  recipients_count: This newsletter will be send to <strong id='recipients_count'>%{count}</strong> users.
778
- scopes_help: Sends newsletter to users that have any of the selected scope activated in their account's "My Interests" settings.
779
- select_scopes: Filter for users having activated any selected scope in their account's My Interests settings.
819
+ select_assemblies: Choose assemblies
820
+ select_conferences: Choose conferences
821
+ select_initiatives: Choose initiatives
822
+ select_participatory_processes: Choose participatory processes
780
823
  select_spaces: Select spaces to segment the newsletter
781
- select_users: Select which users you want to send the newsletter
824
+ select_users_for_participatory_space: Send newsletter to one or more participatory spaces
825
+ select_users_general: Send general newsletter
826
+ select_verification_types: Choose verification methods
827
+ send_to_all_users: Send to all users
828
+ send_to_verified_users: Send to verified users
782
829
  title: Select recipients to deliver
830
+ verified_users_help: Sends a newsletter to all confirmed and verified users via any selected verification method.
783
831
  warning: "<strong>Attention:</strong> This newsletter will only be send to users that have activated <em>I want to receive newsletters</em> in their notifications settings."
784
832
  send:
785
833
  no_recipients: No recipients for this selection.
@@ -795,8 +843,15 @@ en:
795
843
  success: Newsletter updated successfully. Please review it before sending.
796
844
  officializations:
797
845
  block:
798
- error: There was an error blocking the participant.
846
+ error: There was a problem blocking the participant.
799
847
  success: Participant successfully blocked.
848
+ bulk_action:
849
+ block:
850
+ invalid: There was a problem blocking the participants.
851
+ success: Participants successfully blocked.
852
+ unblock:
853
+ invalid: There was a problem unblocking the participants.
854
+ success: Participants successfully unblocked.
800
855
  create:
801
856
  success: Participant successfully officialized.
802
857
  destroy:
@@ -829,7 +884,7 @@ en:
829
884
  show: Show
830
885
  title: Show participant's email address
831
886
  unblock:
832
- error: There was an error unblocking the participant.
887
+ error: There was a problem unblocking the participant.
833
888
  success: Participant successfully unblocked.
834
889
  organization:
835
890
  edit:
@@ -889,12 +944,26 @@ en:
889
944
  destroy:
890
945
  error: There was a problem deleting a private participant for this participatory space.
891
946
  success: Participatory space private participant access successfully destroyed.
947
+ edit:
948
+ title: Edit Participatory Space private participant.
949
+ update: Update
892
950
  index:
893
951
  import_via_csv: Import via CSV
952
+ publish_all: Publish all
894
953
  title: Participatory space private participant
954
+ unpublish_all: Unpublish all
895
955
  new:
896
956
  create: Create
897
957
  title: New Participatory Space private participant.
958
+ publish_all:
959
+ error: There was a problem publishing all the private participants for this participatory space.
960
+ success: Successfully published all private participants for this participatory space
961
+ unpublish_all:
962
+ error: There was a problem unpublishing all the private participants for this participatory space.
963
+ success: Successfully unpublished all private participants for this participatory space
964
+ update:
965
+ error: There was a problem updating the private participant for this participatory space.
966
+ success: Participatory space private participant successfully updated
898
967
  participatory_space_private_users_csv_imports:
899
968
  create:
900
969
  invalid: There was a problem reading the CSV file. Please make sure you have followed the instructions.
@@ -927,12 +996,10 @@ en:
927
996
  edit:
928
997
  submit: Submit
929
998
  title: Edit permissions
999
+ options_form:
1000
+ ephemeral_warning: In order to enable this authorization method, you need to <a href="%{path}">revoke</a> all of the existing authorizations. This minimises the risk of verification conflicts. All the authorizations of this type will be revoked automatically in the organization if you submit changes adding this method or modifiyng its configuration once added.
930
1001
  update:
931
1002
  success: Permissions updated successfully.
932
- resources:
933
- index:
934
- headers:
935
- scope: Scope
936
1003
  scope_types:
937
1004
  create:
938
1005
  error: There was a problem creating a new scope type.
@@ -952,6 +1019,7 @@ en:
952
1019
  create:
953
1020
  error: There was a problem creating a new scope.
954
1021
  success: Scope created successfully.
1022
+ deprecated: Mind that scopes are deprecated and will be removed in future versions. Please use taxonomies instead. The only module currently using scopes is the initiatives module.
955
1023
  destroy:
956
1024
  success: Scope successfully destroyed.
957
1025
  edit:
@@ -966,16 +1034,50 @@ en:
966
1034
  success: Scope updated successfully
967
1035
  share_tokens:
968
1036
  actions:
969
- confirm_destroy: Are you sure you want to delete this token?
1037
+ confirm_destroy: Are you sure you want to delete this access?
1038
+ copy_link: Copy link
970
1039
  destroy: Delete
971
- share: Share
1040
+ edit: Edit
1041
+ preview: Preview
1042
+ create:
1043
+ invalid: There was a problem generating the access link.
1044
+ success: Access link created successfully.
972
1045
  destroy:
973
- error: There was a problem destroying the token.
974
- success: Token destroyed successfully.
975
- share_tokens:
976
- empty: There are no active tokens.
977
- help: These tokens are used to publicly share this unpublished resource to any user. They will be hidden when the resource is published. Click on the token's share icon to visit the shareable URL.
978
- title: Share tokens
1046
+ error: There was a problem destroying the access link.
1047
+ success: Access link successfully destroyed.
1048
+ edit:
1049
+ title: 'Edit access links for: %{name}'
1050
+ update: Update
1051
+ form:
1052
+ automatic: Automatic
1053
+ custom: Custom
1054
+ custom_expiration: Custom expiration
1055
+ custom_token: Custom word
1056
+ expires_at: Expires at
1057
+ 'false': 'No'
1058
+ never_expire: Never
1059
+ registered_only: Registered only?
1060
+ token: Access key
1061
+ 'true': 'Yes'
1062
+ index:
1063
+ back_to_share_tokens: Back to access links
1064
+ copied: Access link copied!
1065
+ copy_message: The text was successfully copied to clipboard.
1066
+ create_new_token: Create your first access link!
1067
+ empty_html: There are no active access links. %{new_token_link}
1068
+ never: Never
1069
+ new_share_token_button: New access link
1070
+ share_tokens_help_html: |
1071
+ Create and share an access link to allow others to view this unpublished resource.
1072
+ Access links can be valid for registered participants only or have and expiration date if necessary.
1073
+ To share a new access link with someone, create it and then copy the link using the "%{clipboard} clipboard" action icon.
1074
+ title: 'Access links for: %{name}'
1075
+ new:
1076
+ create: Create
1077
+ title: 'New access link for: %{name}'
1078
+ update:
1079
+ error: There was a problem updating this access.
1080
+ success: Access link updated successfully.
979
1081
  shared:
980
1082
  adjacent_navigation:
981
1083
  next: Next
@@ -1028,6 +1130,116 @@ en:
1028
1130
  update:
1029
1131
  error: There was a problem updating this page.
1030
1132
  success: Page updated successfully.
1133
+ taxonomies:
1134
+ actions:
1135
+ actions: Actions
1136
+ destroy: Delete taxonomy & items
1137
+ edit: Edit taxonomy & items
1138
+ filters: Manage filters
1139
+ breadcrumb:
1140
+ edit: Edit taxonomy
1141
+ new: New taxonomy
1142
+ count: Associated resources
1143
+ create:
1144
+ invalid: There was a problem creating this taxonomy.
1145
+ success: Taxonomy created successfully.
1146
+ destroy:
1147
+ invalid: There was a problem destroying this taxonomy.
1148
+ success: Taxonomy successfully destroyed.
1149
+ edit:
1150
+ back: Back
1151
+ description: The items in this taxonomy will be used to classify or filter resources, such as participatory spaces or components. Use drag and drop to reorder the list.
1152
+ new_item: New item
1153
+ no_items: There are currently no items in this taxonomy. Create a list of items here to classify or filter resources, such as participatory spaces or components. Items can be nested up to three levels.
1154
+ subtitle: Items in "%{taxonomy_name}"
1155
+ title: Edit taxonomy "%{taxonomy_name}"
1156
+ update: Update
1157
+ filters:
1158
+ search_placeholder: Search
1159
+ index:
1160
+ description: Taxonomies and filters allow administrators to sort and organize content. For example, add a taxonomy with the city's districts and neighborhoods and then create filters only with the districts or for a specific neighborhood.
1161
+ new_taxonomy: New taxonomy
1162
+ no_items_found: No taxonomies found matching the search criteria.
1163
+ name: Name
1164
+ new:
1165
+ create: Create taxonomy
1166
+ title: New taxonomy
1167
+ no_taxonomies: There are currently no taxonomies. Create a list of taxonomies here and define items in each of them to classify or filter resources.
1168
+ table:
1169
+ to_next_page: Drag over for next page
1170
+ to_prev_page: Drag over for previous page
1171
+ taxonomy_actions:
1172
+ confirm_destroy: 'Are you sure you want to delete %{name}? This will also delete all the children items. NOTE: Resources that are using this taxonomy will not be affected but they will lose the reference to this taxonomy.'
1173
+ total_filters: Filters
1174
+ total_items: Items in the taxonomy
1175
+ update:
1176
+ invalid: There was a problem updating this taxonomy.
1177
+ success: Taxonomy updated successfully.
1178
+ taxonomy_filters:
1179
+ actions:
1180
+ new_taxonomy_filter: New taxonomy filter
1181
+ breadcrumb:
1182
+ edit: Edit filter
1183
+ filters: Filters
1184
+ new: New filter
1185
+ create:
1186
+ error: There was a problem creating this taxonomy filter.
1187
+ success: Taxonomy filter created successfully.
1188
+ destroy:
1189
+ error: There was a problem destroying this taxonomy filter.
1190
+ success: Taxonomy filter successfully destroyed.
1191
+ edit:
1192
+ back: Back
1193
+ title: Edit taxonomy filter
1194
+ update: Update taxonomy filter
1195
+ form:
1196
+ all: All
1197
+ items:
1198
+ one: "%{count} item selected"
1199
+ other: "%{count} items selected"
1200
+ name_help: The title of the filter to be displayed in the frontend.
1201
+ no_items: No items are available for this taxonomy. You can create items in the taxonomy configuration settings.
1202
+ space_filter: Available as filter for
1203
+ index:
1204
+ description: A taxonomy filter allows admins to sort and filter participatory spaces based on a taxonomy. For example, add a taxonomy filter to sort processes by geographical scope.
1205
+ empty: There are currently no taxonomy filters. Create a list of taxonomy filters here to sort and filter participatory spaces based on a taxonomy.
1206
+ new_filter: New filter
1207
+ new:
1208
+ back: Back
1209
+ create: Create taxonomy filter
1210
+ title: New taxonomy filter
1211
+ table:
1212
+ actions: Actions
1213
+ components_count: Components using this
1214
+ confirm_destroy: 'Are you sure you want to delete the filter %{name}? NOTE: Resources that are using this filter will not be affected but they will lose the reference to this filter.'
1215
+ destroy: Delete
1216
+ edit: Edit
1217
+ internal_name: Internal label
1218
+ name: Label
1219
+ update:
1220
+ error: There was a problem updating this taxonomy filter.
1221
+ success: Taxonomy filter updated successfully.
1222
+ taxonomy_filters_selector:
1223
+ new:
1224
+ add_new_items_html: If you need to set a new filter or item, do it through the configuration settings or by clicking <a href="%{url}">here</a>.
1225
+ items_count: "%{count} items"
1226
+ save: Save
1227
+ show:
1228
+ items_count: "%{count} items"
1229
+ remove: Remove
1230
+ taxonomies_select:
1231
+ filters: Filters
1232
+ select_filter: Select a filter
1233
+ select_taxonomy: Select a taxonomy
1234
+ taxonomies: Taxonomies
1235
+ taxonomy_items:
1236
+ edit:
1237
+ title: Edit item in %{taxonomy}
1238
+ update: Update item
1239
+ new:
1240
+ create: Create item
1241
+ none: None
1242
+ title: New item in %{taxonomy}
1031
1243
  titles:
1032
1244
  admin_log: Admin log
1033
1245
  area_types: Area types
@@ -1048,8 +1260,19 @@ en:
1048
1260
  scope_types: Scope types
1049
1261
  scopes: Scopes
1050
1262
  statistics: Activity
1263
+ taxonomies: Taxonomies
1264
+ taxonomy_filters: Taxonomy filters for "%{taxonomy}"
1051
1265
  user_groups: Groups
1052
1266
  users: Administrators
1267
+ tooltips:
1268
+ deleted_component_info: This component can only be deleted if status is 'Unpublished'.
1269
+ trash_management:
1270
+ restore:
1271
+ invalid: There was a problem restoring %{resource_name}.
1272
+ success: "%{resource_name} successfully restored."
1273
+ soft_delete:
1274
+ invalid: There was a problem deleting %{resource_name}.
1275
+ success: "%{resource_name} successfully deleted."
1053
1276
  user_group:
1054
1277
  csv_verify:
1055
1278
  invalid: There was a problem reading the CSV file.
@@ -1118,18 +1341,32 @@ en:
1118
1341
  hidden: Hidden
1119
1342
  hide: Hide
1120
1343
  not_hidden: Not hidden
1121
- parent_hidden: You cannot unhide this resource because its parent is still hidden.
1122
1344
  title: Actions
1123
1345
  unhide: Unhide
1124
1346
  unreport: Unreport
1125
1347
  admin:
1126
1348
  reportable:
1349
+ bulk_action:
1350
+ hide:
1351
+ failed: 'There was a problem hiding some resources: %{errored}'
1352
+ invalid: No moderations selected.
1353
+ success: Resources successfully hidden.
1354
+ ignore:
1355
+ invalid: No users moderations selected.
1356
+ success: Participants successfully unreported.
1357
+ unhide:
1358
+ failed: 'There was a problem unhiding some resources: %{errored}'
1359
+ invalid: No moderations selected.
1360
+ success: Resources successfully unhidden.
1361
+ unreport:
1362
+ failed: 'There was a problem unreporting some resources: %{errored}'
1363
+ invalid: No moderations selected.
1364
+ success: Resources successfully unreported.
1127
1365
  hide:
1128
1366
  invalid: There was a problem hiding the resource.
1129
1367
  success: Resource successfully hidden.
1130
1368
  unhide:
1131
1369
  invalid: There was a problem unhiding the resource.
1132
- parent_invalid: There was a problem unhiding the resource. Parent is not visible.
1133
1370
  success: Resource successfully unhidden.
1134
1371
  unreport:
1135
1372
  invalid: There was a problem unreporting the resource.
@@ -1160,3 +1397,5 @@ en:
1160
1397
  admin:
1161
1398
  global_moderations:
1162
1399
  title: Global moderations
1400
+ taxonomy_filters_selector:
1401
+ title: Filters
@@ -44,7 +44,6 @@ eo:
44
44
  user_group:
45
45
  fields:
46
46
  document_number: Dokumento Nombro
47
- name: Nomo
48
47
  newsletters:
49
48
  select_recipients_to_deliver:
50
49
  all_users_help: Sendu la informilon al ĉiuj konfirmitaj partoprenantoj.