decidim-admin 0.29.1 → 0.30.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (249) 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/block_user.rb +1 -0
  5. data/app/commands/decidim/admin/bulk_action.rb +92 -0
  6. data/app/commands/decidim/admin/bulk_block_users.rb +75 -0
  7. data/app/commands/decidim/admin/bulk_unblock_users.rb +66 -0
  8. data/app/commands/decidim/admin/bulk_unreport_users.rb +69 -0
  9. data/app/commands/decidim/admin/content_blocks/update_content_block.rb +1 -1
  10. data/app/commands/decidim/admin/create_participatory_space_private_user.rb +3 -1
  11. data/app/commands/decidim/admin/create_share_token.rb +39 -0
  12. data/app/commands/decidim/admin/create_taxonomy.rb +23 -0
  13. data/app/commands/decidim/admin/create_taxonomy_filter.rb +24 -0
  14. data/app/commands/decidim/admin/destroy_share_token.rb +22 -0
  15. data/app/commands/decidim/admin/destroy_taxonomy.rb +18 -0
  16. data/app/commands/decidim/admin/destroy_taxonomy_filter.rb +20 -0
  17. data/app/commands/decidim/admin/hide_menu_component.rb +37 -0
  18. data/app/commands/decidim/admin/hide_resource.rb +4 -2
  19. data/app/commands/decidim/admin/publish_all_participatory_space_private_users.rb +50 -0
  20. data/app/commands/decidim/admin/publish_component.rb +3 -0
  21. data/app/commands/decidim/admin/reorder_components.rb +47 -0
  22. data/app/commands/decidim/admin/reorder_taxonomies.rb +76 -0
  23. data/app/commands/decidim/admin/unhide_resource.rb +11 -3
  24. data/app/commands/decidim/admin/unpublish_all_participatory_space_private_users.rb +50 -0
  25. data/app/commands/decidim/admin/unreport_resource.rb +11 -3
  26. data/app/commands/decidim/admin/update_component_permissions.rb +53 -13
  27. data/app/commands/decidim/admin/update_participatory_space_private_user.rb +11 -0
  28. data/app/commands/decidim/admin/update_share_token.rb +24 -0
  29. data/app/commands/decidim/admin/update_taxonomy.rb +20 -0
  30. data/app/commands/decidim/admin/update_taxonomy_filter.rb +28 -0
  31. data/app/controllers/concerns/decidim/admin/component_taxonomies_helper.rb +19 -0
  32. data/app/controllers/concerns/decidim/admin/filterable.rb +15 -18
  33. data/app/controllers/concerns/decidim/admin/has_trashable_resources.rb +170 -0
  34. data/app/controllers/concerns/decidim/admin/needs_admin_tos_accepted.rb +2 -29
  35. data/app/controllers/concerns/decidim/admin/participatory_space_admin_context.rb +12 -2
  36. data/app/controllers/concerns/decidim/admin/taxonomies/filterable.rb +27 -0
  37. data/app/controllers/decidim/admin/application_controller.rb +1 -2
  38. data/app/controllers/decidim/admin/areas_controller.rb +1 -0
  39. data/app/controllers/decidim/admin/block_user_controller.rb +43 -1
  40. data/app/controllers/decidim/admin/component_permissions_controller.rb +2 -4
  41. data/app/controllers/decidim/admin/components_controller.rb +50 -9
  42. data/app/controllers/decidim/admin/concerns/has_private_users.rb +59 -2
  43. data/app/controllers/decidim/admin/conflicts_controller.rb +1 -1
  44. data/app/controllers/decidim/admin/global_moderations_controller.rb +4 -0
  45. data/app/controllers/decidim/admin/impersonations_controller.rb +1 -0
  46. data/app/controllers/decidim/admin/moderated_users_controller.rb +26 -0
  47. data/app/controllers/decidim/admin/moderations_controller.rb +18 -0
  48. data/app/controllers/decidim/admin/newsletters_controller.rb +50 -6
  49. data/app/controllers/decidim/admin/resource_permissions_controller.rb +1 -1
  50. data/app/controllers/decidim/admin/scopes_controller.rb +1 -0
  51. data/app/controllers/decidim/admin/share_tokens_controller.rb +109 -7
  52. data/app/controllers/decidim/admin/taxonomies_controller.rb +129 -0
  53. data/app/controllers/decidim/admin/taxonomy_filters_controller.rb +112 -0
  54. data/app/controllers/decidim/admin/taxonomy_filters_selector_controller.rb +81 -0
  55. data/app/controllers/decidim/admin/taxonomy_items_controller.rb +91 -0
  56. data/app/forms/concerns/decidim/has_taxonomy_form_attributes.rb +57 -0
  57. data/app/forms/decidim/admin/block_users_form.rb +21 -0
  58. data/app/forms/decidim/admin/help_section_form.rb +1 -1
  59. data/app/forms/decidim/admin/impersonate_user_form.rb +5 -0
  60. data/app/forms/decidim/admin/import_example_form.rb +1 -1
  61. data/app/forms/decidim/admin/newsletter_form.rb +1 -1
  62. data/app/forms/decidim/admin/organization_appearance_form.rb +2 -2
  63. data/app/forms/decidim/admin/organization_form.rb +2 -2
  64. data/app/forms/decidim/admin/participatory_space_private_user_form.rb +5 -0
  65. data/app/forms/decidim/admin/selective_newsletter_form.rb +46 -11
  66. data/app/forms/decidim/admin/share_token_form.rb +55 -0
  67. data/app/forms/decidim/admin/static_page_form.rb +1 -1
  68. data/app/forms/decidim/admin/taxonomy_filter_form.rb +85 -0
  69. data/app/forms/decidim/admin/taxonomy_form.rb +20 -0
  70. data/app/forms/decidim/admin/taxonomy_item_form.rb +54 -0
  71. data/app/forms/decidim/admin/transfer_user_form.rb +15 -0
  72. data/app/helpers/decidim/admin/application_helper.rb +0 -1
  73. data/app/helpers/decidim/admin/bulk_actions_helper.rb +0 -31
  74. data/app/helpers/decidim/admin/moderations/reports_helper.rb +1 -1
  75. data/app/helpers/decidim/admin/moderations_helper.rb +1 -1
  76. data/app/helpers/decidim/admin/newsletters_helper.rb +57 -27
  77. data/app/helpers/decidim/admin/scopes_helper.rb +0 -6
  78. data/app/helpers/decidim/admin/search_form_helper.rb +1 -1
  79. data/app/helpers/decidim/admin/settings_helper.rb +85 -11
  80. data/app/jobs/decidim/admin/newsletter_job.rb +3 -1
  81. data/app/packs/entrypoints/decidim_admin.js +4 -0
  82. data/app/packs/src/decidim/admin/application.js +2 -0
  83. data/app/packs/src/decidim/admin/draggable-table.js +33 -0
  84. data/app/packs/src/decidim/admin/form.js +0 -1
  85. data/app/packs/src/decidim/admin/global_moderations.js +186 -0
  86. data/app/packs/src/decidim/admin/managed_moderated_users.js +186 -0
  87. data/app/packs/src/decidim/admin/newsletters.js +164 -73
  88. data/app/packs/src/decidim/admin/proposal_infinite_edit.js +3 -6
  89. data/app/packs/src/decidim/admin/sortable.js +28 -16
  90. data/app/packs/src/decidim/admin/taxonomy_filters.js +93 -0
  91. data/app/packs/stylesheets/decidim/admin/_component-show.scss +66 -5
  92. data/app/packs/stylesheets/decidim/admin/_legacy_foundation.scss +13 -0
  93. data/app/packs/stylesheets/decidim/admin/_moderations.scss +8 -0
  94. data/app/packs/stylesheets/decidim/admin/_select_picker.scss +20 -0
  95. data/app/packs/stylesheets/decidim/admin/_table-list.scss +22 -0
  96. data/app/packs/stylesheets/decidim/admin/_taxonomies.scss +74 -0
  97. data/app/packs/stylesheets/decidim/admin/application.scss +3 -0
  98. data/app/permissions/decidim/admin/permissions.rb +32 -1
  99. data/app/queries/decidim/admin/newsletter_recipients.rb +59 -19
  100. data/app/views/decidim/admin/areas/index.html.erb +3 -0
  101. data/app/views/decidim/admin/block_user/bulk_new.html.erb +45 -0
  102. data/app/views/decidim/admin/components/_actions.html.erb +50 -33
  103. data/app/views/decidim/admin/components/{_component.html.erb → _component_row.html.erb} +10 -5
  104. data/app/views/decidim/admin/components/_components_table.html.erb +18 -0
  105. data/app/views/decidim/admin/components/_form.html.erb +0 -12
  106. data/app/views/decidim/admin/components/_taxonomy_filters_drawer.html.erb +2 -0
  107. data/app/views/decidim/admin/components/_visibility_label.html.erb +9 -0
  108. data/app/views/decidim/admin/components/index.html.erb +12 -14
  109. data/app/views/decidim/admin/components/manage_trash.html.erb +11 -0
  110. data/app/views/decidim/admin/conflicts/edit.html.erb +21 -11
  111. data/app/views/decidim/admin/moderated_users/_bulk-actions.html.erb +6 -0
  112. data/app/views/decidim/admin/moderated_users/bulk_actions/_block.html.erb +20 -0
  113. data/app/views/decidim/admin/moderated_users/bulk_actions/_dropdown.html.erb +40 -0
  114. data/app/views/decidim/admin/moderated_users/bulk_actions/_unblock.html.erb +20 -0
  115. data/app/views/decidim/admin/moderated_users/bulk_actions/_unreport.html.erb +20 -0
  116. data/app/views/decidim/admin/moderated_users/index.html.erb +15 -7
  117. data/app/views/decidim/admin/moderations/_bulk-actions.html.erb +7 -0
  118. data/app/views/decidim/admin/moderations/_moderation-tr.html.erb +50 -0
  119. data/app/views/decidim/admin/moderations/_moderations-thead.html.erb +18 -0
  120. data/app/views/decidim/admin/moderations/bulk_actions/_dropdown.html.erb +43 -0
  121. data/app/views/decidim/admin/moderations/bulk_actions/_hide.html.erb +20 -0
  122. data/app/views/decidim/admin/moderations/bulk_actions/_unhide.html.erb +20 -0
  123. data/app/views/decidim/admin/moderations/bulk_actions/_unreport.html.erb +20 -0
  124. data/app/views/decidim/admin/moderations/index.html.erb +13 -81
  125. data/app/views/decidim/admin/newsletter_templates/index.html.erb +0 -1
  126. data/app/views/decidim/admin/newsletters/confirm_recipients.html.erb +64 -0
  127. data/app/views/decidim/admin/newsletters/select_recipients_to_deliver.html.erb +44 -20
  128. data/app/views/decidim/admin/participatory_space_private_users/_form.html.erb +6 -0
  129. data/app/views/decidim/admin/participatory_space_private_users/edit.html.erb +19 -0
  130. data/app/views/decidim/admin/participatory_space_private_users/index.html.erb +15 -1
  131. data/app/views/decidim/admin/resource_permissions/_options_form.html.erb +5 -0
  132. data/app/views/decidim/admin/resource_permissions/edit.html.erb +2 -2
  133. data/app/views/decidim/admin/scope_types/index.html.erb +3 -0
  134. data/app/views/decidim/admin/scopes/index.html.erb +3 -0
  135. data/app/views/decidim/admin/share_tokens/_form.html.erb +52 -0
  136. data/app/views/decidim/admin/share_tokens/edit.html.erb +33 -0
  137. data/app/views/decidim/admin/share_tokens/index.html.erb +47 -0
  138. data/app/views/decidim/admin/share_tokens/new.html.erb +69 -0
  139. data/app/views/decidim/admin/shared/landing_page_content_blocks/edit.html.erb +1 -1
  140. data/app/views/decidim/admin/taxonomies/_filters.html.erb +19 -0
  141. data/app/views/decidim/admin/taxonomies/_form.html.erb +5 -0
  142. data/app/views/decidim/admin/taxonomies/_row.html.erb +40 -0
  143. data/app/views/decidim/admin/taxonomies/_row_children.html.erb +8 -0
  144. data/app/views/decidim/admin/taxonomies/_table.html.erb +86 -0
  145. data/app/views/decidim/admin/taxonomies/_taxonomy_actions.html.erb +15 -0
  146. data/app/views/decidim/admin/taxonomies/edit.html.erb +87 -0
  147. data/app/views/decidim/admin/taxonomies/index.html.erb +28 -0
  148. data/app/views/decidim/admin/taxonomies/new.html.erb +16 -0
  149. data/app/views/decidim/admin/taxonomy_filters/_check_boxes.html.erb +10 -0
  150. data/app/views/decidim/admin/taxonomy_filters/_form.html.erb +96 -0
  151. data/app/views/decidim/admin/taxonomy_filters/_table.html.erb +33 -0
  152. data/app/views/decidim/admin/taxonomy_filters/edit.html.erb +22 -0
  153. data/app/views/decidim/admin/taxonomy_filters/index.html.erb +26 -0
  154. data/app/views/decidim/admin/taxonomy_filters/new.html.erb +32 -0
  155. data/app/views/decidim/admin/taxonomy_filters_selector/_check_boxes.html.erb +7 -0
  156. data/app/views/decidim/admin/taxonomy_filters_selector/_component_table.html.erb +25 -0
  157. data/app/views/decidim/admin/taxonomy_filters_selector/_taxonomies_select.html.erb +16 -0
  158. data/app/views/decidim/admin/taxonomy_filters_selector/index.html.erb +1 -0
  159. data/app/views/decidim/admin/taxonomy_filters_selector/new.html.erb +27 -0
  160. data/app/views/decidim/admin/taxonomy_filters_selector/show.html.erb +18 -0
  161. data/app/views/decidim/admin/taxonomy_items/_form.html.erb +8 -0
  162. data/app/views/decidim/admin/taxonomy_items/edit.html.erb +12 -0
  163. data/app/views/decidim/admin/taxonomy_items/new.html.erb +12 -0
  164. data/app/views/layouts/decidim/admin/taxonomy_filters.html.erb +17 -0
  165. data/app/views/layouts/decidim/admin/taxonomy_filters_selector.html.erb +10 -0
  166. data/config/locales/ar.yml +91 -36
  167. data/config/locales/bg.yml +48 -51
  168. data/config/locales/bn-BD.yml +1 -0
  169. data/config/locales/bs-BA.yml +499 -0
  170. data/config/locales/ca.yml +300 -50
  171. data/config/locales/cs.yml +298 -46
  172. data/config/locales/de.yml +300 -50
  173. data/config/locales/el.yml +1 -50
  174. data/config/locales/en.yml +300 -50
  175. data/config/locales/es-MX.yml +298 -48
  176. data/config/locales/es-PY.yml +298 -48
  177. data/config/locales/es.yml +298 -48
  178. data/config/locales/eu.yml +433 -171
  179. data/config/locales/fi-plain.yml +298 -48
  180. data/config/locales/fi.yml +315 -65
  181. data/config/locales/fr-CA.yml +183 -47
  182. data/config/locales/fr.yml +183 -47
  183. data/config/locales/ga-IE.yml +0 -23
  184. data/config/locales/gl.yml +1 -46
  185. data/config/locales/hu.yml +1 -51
  186. data/config/locales/id-ID.yml +0 -20
  187. data/config/locales/is-IS.yml +0 -18
  188. data/config/locales/it.yml +1 -46
  189. data/config/locales/ja.yml +303 -55
  190. data/config/locales/kaa.yml +0 -10
  191. data/config/locales/ko.yml +0 -50
  192. data/config/locales/lb.yml +1 -46
  193. data/config/locales/lt.yml +1 -50
  194. data/config/locales/lv.yml +1 -27
  195. data/config/locales/nl.yml +1 -46
  196. data/config/locales/no.yml +1 -46
  197. data/config/locales/pl.yml +3 -51
  198. data/config/locales/pt-BR.yml +38 -50
  199. data/config/locales/pt.yml +30 -46
  200. data/config/locales/ro-RO.yml +35 -50
  201. data/config/locales/ru.yml +1 -22
  202. data/config/locales/sk.yml +1 -27
  203. data/config/locales/sl.yml +0 -7
  204. data/config/locales/sq-AL.yml +0 -25
  205. data/config/locales/sr-CS.yml +1 -27
  206. data/config/locales/sv.yml +297 -47
  207. data/config/locales/tr-TR.yml +1 -44
  208. data/config/locales/uk.yml +0 -20
  209. data/config/locales/zh-CN.yml +0 -44
  210. data/config/locales/zh-TW.yml +1 -50
  211. data/config/routes.rb +14 -13
  212. data/decidim-admin.gemspec +2 -2
  213. data/lib/decidim/admin/engine.rb +3 -1
  214. data/lib/decidim/admin/import/creator.rb +2 -6
  215. data/lib/decidim/admin/import/readers/json.rb +1 -1
  216. data/lib/decidim/admin/menu.rb +9 -1
  217. data/lib/decidim/admin/search_form_builder.rb +1 -1
  218. data/lib/decidim/admin/test/destroy_admin_examples.rb +2 -2
  219. data/lib/decidim/admin/test/filterable_examples.rb +100 -9
  220. data/lib/decidim/admin/test/forms/attachment_collection_form_examples.rb +1 -1
  221. data/lib/decidim/admin/test/forms/attachment_form_examples.rb +1 -1
  222. data/lib/decidim/admin/test/invite_participatory_space_admins_shared_examples.rb +2 -4
  223. data/lib/decidim/admin/test/manage_component_permissions_examples.rb +5 -5
  224. data/lib/decidim/admin/test/manage_hide_content_examples.rb +0 -1
  225. data/lib/decidim/admin/test/manage_moderations_examples.rb +3 -3
  226. data/lib/decidim/admin/test/manage_resource_soft_deletion_examples.rb +113 -0
  227. data/lib/decidim/admin/test/manage_taxonomy_filters_examples.rb +127 -0
  228. data/lib/decidim/admin/test/taxonomy_filters_examples.rb +32 -0
  229. data/lib/decidim/admin/test.rb +3 -1
  230. data/lib/decidim/admin/version.rb +1 -1
  231. metadata +106 -30
  232. data/app/commands/decidim/admin/create_category.rb +0 -15
  233. data/app/commands/decidim/admin/destroy_category.rb +0 -15
  234. data/app/commands/decidim/admin/destroy_component.rb +0 -19
  235. data/app/commands/decidim/admin/update_category.rb +0 -11
  236. data/app/controllers/decidim/admin/categories_controller.rb +0 -98
  237. data/app/forms/decidim/admin/category_form.rb +0 -32
  238. data/app/helpers/decidim/admin/resource_scope_helper.rb +0 -52
  239. data/app/packs/src/decidim/admin/scope_picker_enabler.component.js +0 -12
  240. data/app/views/decidim/admin/categories/_form.html.erb +0 -18
  241. data/app/views/decidim/admin/categories/edit.html.erb +0 -19
  242. data/app/views/decidim/admin/categories/index.html.erb +0 -65
  243. data/app/views/decidim/admin/categories/new.html.erb +0 -19
  244. data/app/views/decidim/admin/share_tokens/_share_tokens.html.erb +0 -45
  245. data/lib/decidim/admin/test/commands/create_category_examples.rb +0 -74
  246. data/lib/decidim/admin/test/commands/destroy_category_examples.rb +0 -83
  247. data/lib/decidim/admin/test/commands/update_category_examples.rb +0 -76
  248. data/lib/decidim/admin/test/forms/category_form_examples.rb +0 -70
  249. data/lib/decidim/admin/test/manage_categories_examples.rb +0 -128
@@ -106,6 +106,8 @@ en:
106
106
  participatory_space_private_user:
107
107
  email: Email
108
108
  name: Name
109
+ participatory_space_private_user_csv_import:
110
+ file: File
109
111
  scope:
110
112
  code: Code
111
113
  name: Name
@@ -183,8 +185,13 @@ en:
183
185
  attachment_collection:
184
186
  new: New attachment folder
185
187
  browse: Browse
186
- category:
187
- 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.
188
195
  export: Export all
189
196
  export-selection: Export selection
190
197
  import: Import
@@ -196,14 +203,18 @@ en:
196
203
  per_page: Per page
197
204
  permissions: Permissions
198
205
  reject: Reject
206
+ restore: Restore
199
207
  send_me_a_test_email: Send me a test email
200
208
  share: Share
209
+ share_tokens: Access links
210
+ soft_delete: Soft delete
201
211
  user:
202
212
  new: New admin
203
213
  verify: Verify
214
+ view_deleted_components: View deleted components
204
215
  admin_terms_of_service:
205
216
  accept:
206
- 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.
207
218
  success: Great! You have accepted the admin terms of service.
208
219
  actions:
209
220
  accept: I agree with the terms
@@ -234,6 +245,7 @@ en:
234
245
  create:
235
246
  error: There was a problem creating a new area.
236
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.
237
249
  destroy:
238
250
  has_spaces: This area has dependent spaces. Please make sure no Participatory Space references this area before deleting it.
239
251
  success: Area successfully destroyed.
@@ -287,6 +299,12 @@ en:
287
299
  no_results: No results found
288
300
  search_prompt: Type at least three characters to search.
289
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
290
308
  new:
291
309
  action: Block account and send justification
292
310
  already_reported_html: Continuing with this action you will also hide all the participants contents.
@@ -294,23 +312,8 @@ en:
294
312
  justification: Justification
295
313
  title: Block User %{name}
296
314
  categories:
297
- create:
298
- error: There was a problem creating this category.
299
- success: Category created successfully.
300
- destroy:
301
- 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.
302
- success: Category deleted successfully.
303
- edit:
304
- title: Edit category
305
- update: Update
306
315
  index:
307
316
  categories_title: Categories
308
- new:
309
- create: Create category
310
- title: New category
311
- update:
312
- error: There was a problem updating this category.
313
- success: Category updated successfully.
314
317
  component_permissions:
315
318
  update:
316
319
  error: There was a problem updating the permissions of this component.
@@ -320,9 +323,6 @@ en:
320
323
  error: There was a problem creating this component.
321
324
  success: Component created successfully.
322
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.
323
- destroy:
324
- error: There was a problem destroying this component.
325
- success: Component deleted successfully.
326
326
  edit:
327
327
  title: Edit component
328
328
  update: Update
@@ -330,13 +330,17 @@ en:
330
330
  default_step_settings: Default step settings
331
331
  global_settings: Global settings
332
332
  step_settings: Step settings
333
+ hide:
334
+ success: The component has been successfully hidden from the menu.
333
335
  index:
334
336
  add: Add component
335
337
  headers:
336
338
  actions: Actions
337
339
  name: Component name
338
- scope: Component scope
339
340
  type: Component type
341
+ visibility: Visibility
342
+ manage_trash:
343
+ title: Deleted components
340
344
  new:
341
345
  add: Add component
342
346
  title: 'Add component: %{name}'
@@ -348,6 +352,10 @@ en:
348
352
  update:
349
353
  error: There was a problem updating this component.
350
354
  success: The component was updated successfully.
355
+ visibility_label:
356
+ menu_hidden: Menu hidden
357
+ published: Published
358
+ unpublished: Unpublished
351
359
  conflicts:
352
360
  attempts: Attempts
353
361
  'false': 'No'
@@ -367,7 +375,7 @@ en:
367
375
  user_name: User
368
376
  content_blocks:
369
377
  create:
370
- error: There was an error while creating the content block.
378
+ error: There was a problem while creating the content block.
371
379
  success: Content block successfully created.
372
380
  destroy:
373
381
  error: There was a problem trying to delete this content block.
@@ -404,8 +412,6 @@ en:
404
412
  JSON: JSON
405
413
  notice: Your export is currently in progress. You will receive an email when it is complete.
406
414
  filters:
407
- category_id_eq:
408
- label: Category
409
415
  filter_label: Filter
410
416
  invitation_accepted_at_present:
411
417
  label: Invite accepted
@@ -454,8 +460,6 @@ en:
454
460
  'false': Published
455
461
  'true': Unpublished
456
462
  remove_all: Remove all
457
- scope_id_eq:
458
- label: Scope
459
463
  search_label: Search
460
464
  search_placeholder:
461
465
  name_or_nickname_or_email_cont: Search %{collection} by email, name or nickname.
@@ -470,6 +474,9 @@ en:
470
474
  pending: Pending
471
475
  rejected: Rejected
472
476
  verified: Verified
477
+ taxonomies:
478
+ taxonomy_id_eq:
479
+ label: Taxonomy
473
480
  forms:
474
481
  file_help:
475
482
  import:
@@ -559,6 +566,8 @@ en:
559
566
  logs_list:
560
567
  no_logs_yet: There are no logs yet.
561
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.
562
571
  managed_users:
563
572
  promotion:
564
573
  error: There was a problem promoting the managed participant.
@@ -590,8 +599,11 @@ en:
590
599
  scopes: Scopes
591
600
  see_site: See site
592
601
  settings: Settings
602
+ share_tokens: Access links
593
603
  static_page_topics: Topics
594
604
  static_pages: Pages
605
+ taxonomies: Taxonomies
606
+ taxonomy_filters: Taxonomy filters
595
607
  user_groups: Groups
596
608
  users: Participants
597
609
  metrics:
@@ -645,12 +657,11 @@ en:
645
657
  plural: Plural
646
658
  share_token:
647
659
  fields:
648
- created_at: Created at
660
+ actions: Actions
649
661
  expires_at: Expires at
650
- last_used_at: Last time used
662
+ registered_only: Registered only?
651
663
  times_used: Times used
652
- token: Token
653
- user: Created by
664
+ token: Access link
654
665
  static_page:
655
666
  fields:
656
667
  created_at: Created at
@@ -680,13 +691,27 @@ en:
680
691
  index:
681
692
  actions:
682
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
683
706
  title: Actions
684
707
  unblock: Unblock User
685
708
  unreport: Unreport
709
+ cancel: Cancel
686
710
  name: Name
687
711
  nickname: Nickname
688
712
  reason: Reason
689
713
  reports: Reports count
714
+ selected: Selected
690
715
  title: Reported participants
691
716
  report:
692
717
  reasons:
@@ -698,6 +723,19 @@ en:
698
723
  unblocked: Not Blocked
699
724
  moderations:
700
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
701
739
  title: Reported content
702
740
  report:
703
741
  reasons:
@@ -720,6 +758,11 @@ en:
720
758
  report_language: Report language
721
759
  report_reason: Reason
722
760
  title: Report details
761
+ new_import:
762
+ accepted_mime_types:
763
+ csv: CSV
764
+ json: JSON
765
+ xlsx: XLSX
723
766
  newsletter_templates:
724
767
  index:
725
768
  preview_template: Preview
@@ -729,6 +772,10 @@ en:
729
772
  preview: 'Preview template: %{template_name}'
730
773
  use_template: Use this template
731
774
  newsletters:
775
+ confirm_recipients:
776
+ email: Email
777
+ name: Name
778
+ title: Confirm recipients
732
779
  create:
733
780
  error: There was a problem creating this newsletter.
734
781
  success: Newsletter created successfully. Please review it before sending.
@@ -748,12 +795,14 @@ en:
748
795
  confirm_delete: Are you sure you want to delete this newsletter?
749
796
  followers: 'followers '
750
797
  has_been_sent_to: 'Has been sent to: '
751
- no_scopes: No scopes
752
798
  not_sent: Not sent
753
799
  participants: 'participants '
800
+ private_members: 'private members '
754
801
  segmented_to: 'Segmented to %{subject}: '
755
802
  subscribed_count: 'Subscribed:'
756
803
  title: Newsletters
804
+ verification_types: 'Verification types: %{types}'
805
+ verified_users: Verified users
757
806
  new:
758
807
  save: Save
759
808
  title: New newsletter
@@ -761,16 +810,24 @@ en:
761
810
  all_spaces: All
762
811
  all_users_help: Sends newsletter to all confirmed users.
763
812
  confirm_deliver: Are you sure you want to deliver this newsletter? This action cannot be undone.
813
+ confirm_recipients: Confirm recipients
764
814
  deliver: Deliver newsletter
765
815
  followers_help: Sends newsletter to all confirmed users that follow any selected participatory spaces in the list.
766
- none: None
767
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.
768
818
  recipients_count: This newsletter will be send to <strong id='recipients_count'>%{count}</strong> users.
769
- scopes_help: Sends newsletter to users that have any of the selected scope activated in their account's "My Interests" settings.
770
- 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
771
823
  select_spaces: Select spaces to segment the newsletter
772
- 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
773
829
  title: Select recipients to deliver
830
+ verified_users_help: Sends a newsletter to all confirmed and verified users via any selected verification method.
774
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."
775
832
  send:
776
833
  no_recipients: No recipients for this selection.
@@ -786,8 +843,15 @@ en:
786
843
  success: Newsletter updated successfully. Please review it before sending.
787
844
  officializations:
788
845
  block:
789
- error: There was an error blocking the participant.
846
+ error: There was a problem blocking the participant.
790
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.
791
855
  create:
792
856
  success: Participant successfully officialized.
793
857
  destroy:
@@ -820,7 +884,7 @@ en:
820
884
  show: Show
821
885
  title: Show participant's email address
822
886
  unblock:
823
- error: There was an error unblocking the participant.
887
+ error: There was a problem unblocking the participant.
824
888
  success: Participant successfully unblocked.
825
889
  organization:
826
890
  edit:
@@ -880,12 +944,26 @@ en:
880
944
  destroy:
881
945
  error: There was a problem deleting a private participant for this participatory space.
882
946
  success: Participatory space private participant access successfully destroyed.
947
+ edit:
948
+ title: Edit Participatory Space private participant.
949
+ update: Update
883
950
  index:
884
951
  import_via_csv: Import via CSV
952
+ publish_all: Publish all
885
953
  title: Participatory space private participant
954
+ unpublish_all: Unpublish all
886
955
  new:
887
956
  create: Create
888
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
889
967
  participatory_space_private_users_csv_imports:
890
968
  create:
891
969
  invalid: There was a problem reading the CSV file. Please make sure you have followed the instructions.
@@ -918,12 +996,10 @@ en:
918
996
  edit:
919
997
  submit: Submit
920
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.
921
1001
  update:
922
1002
  success: Permissions updated successfully.
923
- resources:
924
- index:
925
- headers:
926
- scope: Scope
927
1003
  scope_types:
928
1004
  create:
929
1005
  error: There was a problem creating a new scope type.
@@ -943,6 +1019,7 @@ en:
943
1019
  create:
944
1020
  error: There was a problem creating a new scope.
945
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.
946
1023
  destroy:
947
1024
  success: Scope successfully destroyed.
948
1025
  edit:
@@ -957,16 +1034,50 @@ en:
957
1034
  success: Scope updated successfully
958
1035
  share_tokens:
959
1036
  actions:
960
- 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
961
1039
  destroy: Delete
962
- 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.
963
1045
  destroy:
964
- error: There was a problem destroying the token.
965
- success: Token destroyed successfully.
966
- share_tokens:
967
- empty: There are no active tokens.
968
- 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.
969
- 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.
970
1081
  shared:
971
1082
  adjacent_navigation:
972
1083
  next: Next
@@ -1019,6 +1130,116 @@ en:
1019
1130
  update:
1020
1131
  error: There was a problem updating this page.
1021
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}
1022
1243
  titles:
1023
1244
  admin_log: Admin log
1024
1245
  area_types: Area types
@@ -1039,8 +1260,19 @@ en:
1039
1260
  scope_types: Scope types
1040
1261
  scopes: Scopes
1041
1262
  statistics: Activity
1263
+ taxonomies: Taxonomies
1264
+ taxonomy_filters: Taxonomy filters for "%{taxonomy}"
1042
1265
  user_groups: Groups
1043
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."
1044
1276
  user_group:
1045
1277
  csv_verify:
1046
1278
  invalid: There was a problem reading the CSV file.
@@ -1114,6 +1346,22 @@ en:
1114
1346
  unreport: Unreport
1115
1347
  admin:
1116
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.
1117
1365
  hide:
1118
1366
  invalid: There was a problem hiding the resource.
1119
1367
  success: Resource successfully hidden.
@@ -1149,3 +1397,5 @@ en:
1149
1397
  admin:
1150
1398
  global_moderations:
1151
1399
  title: Global moderations
1400
+ taxonomy_filters_selector:
1401
+ title: Filters