decidim-decidim_awesome 0.10.1 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of decidim-decidim_awesome might be problematic. Click here for more details.

Files changed (263) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -0
  3. data/README.md +177 -60
  4. data/app/cells/concerns/decidim/decidim_awesome/global_menu_cell_override.rb +20 -0
  5. data/app/cells/concerns/decidim/decidim_awesome/{proposal_m_cell_override.rb → proposal_l_cell_override.rb} +10 -4
  6. data/app/cells/decidim/decidim_awesome/content_blocks/map/show.erb +5 -12
  7. data/app/cells/decidim/decidim_awesome/content_blocks/map_cell.rb +9 -5
  8. data/app/cells/decidim/decidim_awesome/voting/proposal_metadata_cell.rb +54 -0
  9. data/app/cells/decidim/decidim_awesome/voting/voting_cards_proposal/modal.erb +18 -0
  10. data/app/cells/decidim/decidim_awesome/voting/voting_cards_proposal/show.erb +37 -32
  11. data/app/cells/decidim/decidim_awesome/voting/voting_cards_proposal_cell.rb +9 -4
  12. data/app/commands/concerns/decidim/decidim_awesome/admin/needs_constraint_helpers.rb +2 -2
  13. data/app/commands/concerns/decidim/decidim_awesome/proposals/admin/update_proposal_override.rb +31 -0
  14. data/app/commands/concerns/decidim/decidim_awesome/proposals/create_collaborative_draft_override.rb +27 -0
  15. data/app/commands/concerns/decidim/decidim_awesome/proposals/create_proposal_override.rb +27 -0
  16. data/app/commands/concerns/decidim/decidim_awesome/proposals/update_collaborative_draft_override.rb +27 -0
  17. data/app/commands/concerns/decidim/decidim_awesome/proposals/update_proposal_override.rb +26 -0
  18. data/app/commands/decidim/decidim_awesome/admin/create_constraint.rb +1 -1
  19. data/app/commands/decidim/decidim_awesome/admin/create_proposal_custom_field.rb +4 -3
  20. data/app/commands/decidim/decidim_awesome/admin/destroy_custom_redirect.rb +1 -1
  21. data/app/commands/decidim/decidim_awesome/admin/destroy_menu_hack.rb +1 -1
  22. data/app/commands/decidim/decidim_awesome/admin/destroy_proposal_custom_field.rb +6 -3
  23. data/app/commands/decidim/decidim_awesome/admin/rename_scope_label.rb +1 -1
  24. data/app/commands/decidim/decidim_awesome/admin/update_constraint.rb +1 -1
  25. data/app/commands/decidim/decidim_awesome/admin/update_custom_redirect.rb +2 -2
  26. data/app/commands/decidim/decidim_awesome/command.rb +1 -7
  27. data/app/controllers/concerns/decidim/decidim_awesome/admin/maintenance_context.rb +43 -0
  28. data/app/controllers/concerns/decidim/decidim_awesome/admin_accountability/admin/filterable_helper.rb +1 -1
  29. data/app/controllers/concerns/decidim/decidim_awesome/content_security_policy.rb +34 -0
  30. data/app/controllers/concerns/decidim/decidim_awesome/limit_pending_amendments.rb +35 -0
  31. data/app/controllers/concerns/decidim/decidim_awesome/not_found_redirect.rb +1 -1
  32. data/app/controllers/concerns/decidim/decidim_awesome/proposals/proposal_votes_controller_override.rb +3 -3
  33. data/app/controllers/decidim/decidim_awesome/admin/application_controller.rb +2 -0
  34. data/app/controllers/decidim/decidim_awesome/admin/checks_controller.rb +14 -10
  35. data/app/controllers/decidim/decidim_awesome/admin/config_controller.rb +10 -9
  36. data/app/controllers/decidim/decidim_awesome/admin/constraints_controller.rb +23 -20
  37. data/app/controllers/decidim/decidim_awesome/admin/custom_redirects_controller.rb +6 -10
  38. data/app/controllers/decidim/decidim_awesome/admin/maintenance_controller.rb +76 -0
  39. data/app/controllers/decidim/decidim_awesome/admin/menu_hacks_controller.rb +6 -10
  40. data/app/controllers/decidim/decidim_awesome/admin/proposal_custom_fields_controller.rb +14 -6
  41. data/app/controllers/decidim/decidim_awesome/admin/scoped_admins_controller.rb +2 -2
  42. data/app/controllers/decidim/decidim_awesome/admin/scoped_styles_controller.rb +2 -2
  43. data/app/controllers/decidim/decidim_awesome/blank_component_controller.rb +8 -3
  44. data/app/controllers/decidim/decidim_awesome/editor_images_controller.rb +3 -3
  45. data/app/controllers/decidim/decidim_awesome/iframe_component/iframe_controller.rb +18 -5
  46. data/app/forms/concerns/decidim/decidim_awesome/proposals/proposal_form_override.rb +21 -0
  47. data/app/forms/{decidim → concerns/decidim}/decidim_awesome/proposals/proposal_wizard_create_step_form_override.rb +2 -1
  48. data/app/forms/decidim/decidim_awesome/admin/config_form.rb +28 -14
  49. data/app/forms/decidim/decidim_awesome/admin/custom_redirect_form.rb +2 -2
  50. data/app/forms/decidim/decidim_awesome/admin/intergram_form.rb +4 -0
  51. data/app/forms/decidim/decidim_awesome/admin/menu_form.rb +4 -4
  52. data/app/helpers/concerns/decidim/decidim_awesome/amendments_helper_override.rb +65 -0
  53. data/app/helpers/concerns/decidim/decidim_awesome/breadcrumb_helper_override.rb +23 -0
  54. data/app/helpers/concerns/decidim/decidim_awesome/proposals/application_helper_override.rb +110 -0
  55. data/app/helpers/decidim/decidim_awesome/admin/config_constraints_helpers.rb +6 -27
  56. data/app/helpers/decidim/decidim_awesome/map_helper.rb +8 -27
  57. data/app/jobs/decidim/decidim_awesome/destroy_private_data_job.rb +22 -0
  58. data/app/jobs/decidim/decidim_awesome/migrate_legacy_images_job.rb +5 -4
  59. data/app/middleware/decidim/decidim_awesome/current_config.rb +3 -5
  60. data/app/models/concerns/decidim/decidim_awesome/has_proposal_extra_fields.rb +39 -10
  61. data/app/models/decidim/decidim_awesome/awesome_config.rb +1 -1
  62. data/app/models/decidim/decidim_awesome/paper_trail_version.rb +3 -3
  63. data/app/models/decidim/decidim_awesome/proposal_extra_field.rb +35 -1
  64. data/app/models/decidim/decidim_awesome/vote_weight.rb +2 -2
  65. data/app/overrides/decidim/proposals/admin/proposals/show/add_private_body.html.erb.deface +7 -0
  66. data/app/overrides/decidim/proposals/admin/proposals/show/replace_body.html.erb.deface +5 -0
  67. data/app/overrides/decidim/proposals/proposals/_proposal_aside/limit_amendments_modal.html.erb.deface +5 -0
  68. data/app/overrides/decidim/proposals/proposals/_vote_button/replace_vote_button.html.erb.deface +1 -1
  69. data/app/overrides/layouts/decidim/_decidim_javascript/add_awesome_tags.html.erb.deface +6 -0
  70. data/app/overrides/layouts/decidim/_head/add_awesome_tags.html.erb.deface +4 -11
  71. data/app/overrides/layouts/decidim/admin/_header/add_awesome_tags.html.erb.deface +9 -0
  72. data/app/packs/entrypoints/decidim_admin_decidim_awesome.js +1 -2
  73. data/app/packs/entrypoints/decidim_admin_decidim_awesome_global.js +4 -0
  74. data/app/packs/entrypoints/decidim_admin_decidim_awesome_global.scss +1 -0
  75. data/app/packs/entrypoints/decidim_decidim_awesome.js +2 -2
  76. data/app/packs/entrypoints/decidim_decidim_awesome_map.scss +1 -1
  77. data/app/packs/entrypoints/decidim_editor.js +14 -0
  78. data/app/packs/src/decidim/decidim_awesome/admin/auto_edit.js +96 -69
  79. data/app/packs/src/decidim/decidim_awesome/admin/check_redirections.js +46 -41
  80. data/app/packs/src/decidim/decidim_awesome/admin/codemirror.js +3 -3
  81. data/app/packs/src/decidim/decidim_awesome/admin/constraint_form_events.js +115 -0
  82. data/app/packs/src/decidim/decidim_awesome/admin/custom_fields_builder.js +9 -5
  83. data/app/packs/src/decidim/decidim_awesome/admin/form_exit_warn.js +22 -11
  84. data/app/packs/src/decidim/decidim_awesome/admin/proposal_sortings.js +26 -8
  85. data/app/packs/src/decidim/decidim_awesome/admin/tabs_change.js +31 -0
  86. data/app/packs/src/decidim/decidim_awesome/admin/user_picker.js +34 -21
  87. data/app/packs/src/decidim/decidim_awesome/amendments/show_modal_on_limits.js +28 -0
  88. data/app/packs/src/decidim/decidim_awesome/awesome_admin.js +5 -16
  89. data/app/packs/src/decidim/decidim_awesome/awesome_admin_global.js +1 -0
  90. data/app/packs/src/decidim/decidim_awesome/awesome_application.js +1 -15
  91. data/app/packs/src/decidim/decidim_awesome/awesome_map/api/fetcher.js +33 -11
  92. data/app/packs/src/decidim/decidim_awesome/awesome_map/api/meetings_fetcher.js +9 -12
  93. data/app/packs/src/decidim/decidim_awesome/awesome_map/api/proposals_fetcher.js +28 -0
  94. data/app/packs/src/decidim/decidim_awesome/awesome_map/awesome_map.js +3 -4
  95. data/app/packs/src/decidim/decidim_awesome/awesome_map/controllers/controller.js +12 -12
  96. data/app/packs/src/decidim/decidim_awesome/awesome_map/controllers/meetings_controller.js +11 -7
  97. data/app/packs/src/decidim/decidim_awesome/awesome_map/controllers/proposals_controller.js +6 -13
  98. data/app/packs/src/decidim/decidim_awesome/awesome_map/controls_ui.js +51 -20
  99. data/app/packs/src/decidim/decidim_awesome/awesome_map/load_map.js +27 -18
  100. data/app/packs/src/decidim/decidim_awesome/editor/index.js +94 -0
  101. data/app/packs/src/decidim/decidim_awesome/forms/autosave.js +28 -23
  102. data/app/packs/src/decidim/decidim_awesome/forms/custom_fields_renderer.js +29 -25
  103. data/app/packs/src/decidim/decidim_awesome/forms/rich_text_plugin.js +27 -32
  104. data/app/packs/src/decidim/decidim_awesome/proposals/custom_fields.js +31 -15
  105. data/app/packs/src/decidim/decidim_awesome/proposals/images.js +16 -10
  106. data/app/packs/src/decidim/decidim_awesome/voting/voting_cards.js +47 -38
  107. data/app/packs/stylesheets/decidim/decidim_awesome/admin/auto_edits.scss +11 -12
  108. data/app/packs/stylesheets/decidim/decidim_awesome/admin/check_redirections.scss +15 -0
  109. data/app/packs/stylesheets/decidim/decidim_awesome/admin/codemirror.scss +24 -12
  110. data/app/packs/stylesheets/decidim/decidim_awesome/admin/constraints.scss +49 -29
  111. data/app/packs/stylesheets/decidim/decidim_awesome/admin/custom_fields.scss +28 -71
  112. data/app/packs/stylesheets/decidim/decidim_awesome/admin/custom_styles.scss +48 -0
  113. data/app/packs/stylesheets/decidim/decidim_awesome/admin/intergram_fixes.scss +11 -0
  114. data/app/packs/stylesheets/decidim/decidim_awesome/admin/user_picker.scss +17 -26
  115. data/app/packs/stylesheets/decidim/decidim_awesome/amendments/modal.scss +5 -0
  116. data/app/packs/stylesheets/decidim/decidim_awesome/awesome_admin.scss +11 -49
  117. data/app/packs/stylesheets/decidim/decidim_awesome/awesome_admin_global.scss +19 -0
  118. data/app/packs/stylesheets/decidim/decidim_awesome/awesome_application.scss +4 -19
  119. data/app/packs/stylesheets/decidim/decidim_awesome/awesome_iframe/iframe.scss +1 -1
  120. data/app/packs/stylesheets/decidim/decidim_awesome/awesome_map/map.scss +41 -35
  121. data/app/packs/stylesheets/decidim/decidim_awesome/forms/autosave.scss +6 -6
  122. data/app/packs/stylesheets/decidim/decidim_awesome/forms/custom_fields.scss +118 -0
  123. data/app/packs/stylesheets/decidim/decidim_awesome/shared/spinner.scss +26 -0
  124. data/app/packs/stylesheets/decidim/decidim_awesome/voting/voting_cards.scss +41 -59
  125. data/app/permissions/decidim/decidim_awesome/admin/permissions.rb +14 -3
  126. data/app/permissions/decidim/decidim_awesome/permissions.rb +3 -4
  127. data/app/presenters/concerns/decidim/decidim_awesome/breadcrumb_root_menu_item_presenter_override.rb +23 -0
  128. data/app/presenters/{decidim → concerns/decidim}/decidim_awesome/menu_item_presenter_override.rb +10 -2
  129. data/app/presenters/{decidim → concerns/decidim}/decidim_awesome/menu_presenter_override.rb +8 -0
  130. data/app/presenters/concerns/decidim/decidim_awesome/proposals/proposal_presenter_override.rb +20 -0
  131. data/app/presenters/decidim/decidim_awesome/admin_log/component_presenter_override.rb +30 -0
  132. data/app/presenters/decidim/decidim_awesome/participatory_space_role_presenter.rb +1 -1
  133. data/app/presenters/decidim/decidim_awesome/private_data_presenter.rb +70 -0
  134. data/app/presenters/decidim/decidim_awesome/user_entity_presenter.rb +1 -1
  135. data/app/queries/decidim/decidim_awesome/private_data_finder.rb +19 -0
  136. data/app/serializers/concerns/decidim/decidim_awesome/proposals/proposal_serializer_methods.rb +72 -0
  137. data/app/serializers/concerns/decidim/decidim_awesome/proposals/proposal_serializer_override.rb +38 -0
  138. data/app/serializers/decidim/decidim_awesome/proposals/private_proposal_serializer.rb +34 -0
  139. data/app/types/concerns/decidim/decidim_awesome/add_proposal_type_custom_fields.rb +59 -0
  140. data/app/types/concerns/decidim/decidim_awesome/{proposal_type_override.rb → add_proposal_type_vote_weights.rb} +3 -1
  141. data/app/views/decidim/decidim_awesome/admin/admin_accountability/index.html.erb +23 -17
  142. data/app/views/decidim/decidim_awesome/admin/checks/index.html.erb +50 -48
  143. data/app/views/decidim/decidim_awesome/admin/config/_autoedit_box_label.html.erb +7 -2
  144. data/app/views/decidim/decidim_awesome/admin/config/_constraints.html.erb +25 -18
  145. data/app/views/decidim/decidim_awesome/admin/config/_form_admins.html.erb +7 -6
  146. data/app/views/decidim/decidim_awesome/admin/config/_form_editors.html.erb +12 -16
  147. data/app/views/decidim/decidim_awesome/admin/config/_form_livechat.html.erb +39 -23
  148. data/app/views/decidim/decidim_awesome/admin/config/_form_proposal_custom_fields.html.erb +35 -17
  149. data/app/views/decidim/decidim_awesome/admin/config/_form_proposal_private_custom_fields.html.erb +1 -0
  150. data/app/views/decidim/decidim_awesome/admin/config/_form_proposals.html.erb +68 -80
  151. data/app/views/decidim/decidim_awesome/admin/config/_form_styles.html.erb +16 -12
  152. data/app/views/decidim/decidim_awesome/admin/config/_form_surveys.html.erb +8 -6
  153. data/app/views/decidim/decidim_awesome/admin/config/show.html.erb +22 -12
  154. data/app/views/decidim/decidim_awesome/admin/constraints/_form.html.erb +1 -49
  155. data/app/views/decidim/decidim_awesome/admin/constraints/new.html.erb +14 -9
  156. data/app/views/decidim/decidim_awesome/admin/constraints/show.html.erb +14 -9
  157. data/app/views/decidim/decidim_awesome/admin/custom_redirects/_form.html.erb +20 -5
  158. data/app/views/decidim/decidim_awesome/admin/custom_redirects/edit.html.erb +5 -5
  159. data/app/views/decidim/decidim_awesome/admin/custom_redirects/index.html.erb +14 -13
  160. data/app/views/decidim/decidim_awesome/admin/custom_redirects/new.html.erb +5 -5
  161. data/app/views/decidim/decidim_awesome/admin/maintenance/_private_data.html.erb +44 -0
  162. data/app/views/decidim/decidim_awesome/admin/maintenance/show.html.erb +44 -0
  163. data/app/views/decidim/decidim_awesome/admin/menu_hacks/_form.html.erb +6 -6
  164. data/app/views/decidim/decidim_awesome/admin/menu_hacks/edit.html.erb +21 -12
  165. data/app/views/decidim/decidim_awesome/admin/menu_hacks/index.html.erb +39 -42
  166. data/app/views/decidim/decidim_awesome/admin/menu_hacks/new.html.erb +21 -12
  167. data/app/views/decidim/decidim_awesome/admin/proposals/_editor.html.erb +8 -5
  168. data/app/views/decidim/decidim_awesome/admin/proposals/_private_body.html.erb +20 -0
  169. data/app/views/decidim/decidim_awesome/admin/shared/_filters_with_date.html.erb +14 -18
  170. data/app/views/decidim/decidim_awesome/amendments/_modal.html.erb +23 -0
  171. data/app/views/decidim/decidim_awesome/custom_fields/_form_render.html.erb +8 -2
  172. data/app/views/decidim/decidim_awesome/iframe_component/iframe/show.html.erb +7 -12
  173. data/app/views/decidim/decidim_awesome/map_component/map/_map_template.html.erb +53 -37
  174. data/app/views/decidim/decidim_awesome/map_component/map/show.html.erb +14 -5
  175. data/app/views/decidim/decidim_awesome/voting/voting_cards/_show_vote_button.html.erb +0 -3
  176. data/app/views/layouts/decidim/decidim_awesome/_awesome_config.html.erb +9 -7
  177. data/app/views/layouts/decidim/decidim_awesome/_intergram_widget.html.erb +9 -6
  178. data/app/views/layouts/decidim/decidim_awesome/admin/_base.html.erb +12 -0
  179. data/app/views/layouts/decidim/decidim_awesome/admin/application.html.erb +1 -73
  180. data/app/views/layouts/decidim/decidim_awesome/admin/maintenance.html.erb +19 -0
  181. data/config/assets.rb +3 -33
  182. data/config/i18n-tasks.yml +23 -3
  183. data/config/locales/ca.yml +28 -17
  184. data/config/locales/cs.yml +39 -14
  185. data/config/locales/de.yml +25 -15
  186. data/config/locales/en.yml +125 -35
  187. data/config/locales/es.yml +26 -16
  188. data/config/locales/eu.yml +7 -3
  189. data/config/locales/fr.yml +25 -16
  190. data/config/locales/hu.yml +43 -8
  191. data/config/locales/it.yml +8 -15
  192. data/config/locales/ja.yml +26 -15
  193. data/config/locales/lt.yml +0 -4
  194. data/config/locales/nl.yml +9 -14
  195. data/config/locales/pt-BR.yml +9 -14
  196. data/config/locales/ro-RO.yml +0 -3
  197. data/config/locales/sv.yml +9 -9
  198. data/config/rubocop/disabled.yml +11 -0
  199. data/config/rubocop/faker.yml +480 -0
  200. data/config/rubocop/rails.yml +88 -0
  201. data/config/rubocop/rspec.yml +65 -0
  202. data/config/rubocop/ruby.yml +1210 -0
  203. data/db/migrate/20240306175331_rename_editor_images_awesome_config.rb +18 -0
  204. data/db/migrate/20240531224204_add_decidim_awesome_proposal_private_fields.rb +29 -0
  205. data/db/migrate/20240729164227_add_decidim_awesome_proposal_private_fields_date.rb +20 -0
  206. data/db/seeds.rb +3 -3
  207. data/lib/decidim/decidim_awesome/admin_engine.rb +26 -7
  208. data/lib/decidim/decidim_awesome/api/types/localized_custom_fields_type.rb +22 -0
  209. data/lib/decidim/decidim_awesome/api/types/translated_custom_fields_type.rb +51 -0
  210. data/lib/decidim/decidim_awesome/awesome.rb +70 -19
  211. data/lib/decidim/decidim_awesome/awesome_helpers.rb +6 -2
  212. data/lib/decidim/decidim_awesome/checksums.yml +46 -44
  213. data/lib/decidim/decidim_awesome/config.rb +1 -1
  214. data/lib/decidim/decidim_awesome/custom_fields.rb +13 -5
  215. data/lib/decidim/decidim_awesome/engine.rb +165 -56
  216. data/lib/decidim/decidim_awesome/iframe_component/component.rb +1 -2
  217. data/lib/decidim/decidim_awesome/lock.rb +47 -0
  218. data/lib/decidim/decidim_awesome/map_component/component.rb +1 -1
  219. data/lib/decidim/decidim_awesome/menu.rb +165 -0
  220. data/lib/decidim/decidim_awesome/menu_hacker.rb +4 -8
  221. data/lib/decidim/decidim_awesome/system_checker.rb +2 -4
  222. data/lib/decidim/decidim_awesome/test/factories.rb +10 -10
  223. data/lib/decidim/decidim_awesome/test/initializer.rb +7 -12
  224. data/lib/decidim/decidim_awesome/test/layouts/decidim/_head.html.erb +2 -2
  225. data/lib/decidim/decidim_awesome/test/layouts/decidim/admin/_header.html.erb +2 -2
  226. data/lib/decidim/decidim_awesome/test/shared_examples/{box_label_editor.rb → box_label_editor_examples.rb} +17 -17
  227. data/lib/decidim/decidim_awesome/test/shared_examples/config_examples.rb +23 -5
  228. data/lib/decidim/decidim_awesome/test/shared_examples/custom_fields_examples.rb +155 -0
  229. data/lib/decidim/decidim_awesome/test/shared_examples/custom_redirects_contexts.rb +7 -7
  230. data/lib/decidim/decidim_awesome/test/shared_examples/editor_examples.rb +42 -58
  231. data/lib/decidim/decidim_awesome/test/shared_examples/menu_hack_contexts.rb +9 -8
  232. data/lib/decidim/decidim_awesome/test/shared_examples/scoped_admins_examples.rb +32 -24
  233. data/lib/decidim/decidim_awesome/test/shared_examples/summary_examples.rb +97 -22
  234. data/lib/decidim/decidim_awesome/version.rb +2 -2
  235. data/lib/decidim/decidim_awesome/voting_manifest.rb +5 -10
  236. data/lib/decidim/decidim_awesome.rb +1 -2
  237. data/lib/tasks/decidim_awesome_active_storage_migrations_tasks.rake +1 -1
  238. data/lib/tasks/decidim_awesome_upgrade_tasks.rake +4 -0
  239. data/package.json +21 -30
  240. metadata +83 -61
  241. data/app/cells/decidim/decidim_awesome/voting/voting_cards_counter/show.erb +0 -15
  242. data/app/cells/decidim/decidim_awesome/voting/voting_cards_counter/vote_button.erb +0 -15
  243. data/app/cells/decidim/decidim_awesome/voting/voting_cards_counter_cell.rb +0 -21
  244. data/app/cells/decidim/decidim_awesome/voting/voting_cards_proposal_modal/show.erb +0 -16
  245. data/app/cells/decidim/decidim_awesome/voting/voting_cards_proposal_modal_cell.rb +0 -20
  246. data/app/cells/decidim/proposals/proposal_m/footer.erb +0 -13
  247. data/app/helpers/decidim/decidim_awesome/amendments_helper_override.rb +0 -48
  248. data/app/helpers/decidim/decidim_awesome/proposals/application_helper_override.rb +0 -78
  249. data/app/overrides/layouts/decidim/_head/add_awesome_legacy_scripts.rb +0 -14
  250. data/app/overrides/layouts/decidim/admin/_application/add_intergram.html.erb.deface +0 -5
  251. data/app/overrides/layouts/decidim/admin/_header/replace_scripts.html.erb.deface +0 -6
  252. data/app/overrides/layouts/decidim/admin/_header/replace_styles.html.erb.deface +0 -3
  253. data/app/packs/entrypoints/decidim_admin_decidim_awesome_custom_fields.js +0 -2
  254. data/app/packs/entrypoints/decidim_decidim_awesome_admin_form_exit_warn.js +0 -1
  255. data/app/packs/src/decidim/decidim_awesome/admin/constraints.js +0 -55
  256. data/app/packs/src/decidim/decidim_awesome/editors/editor.js +0 -218
  257. data/app/packs/src/decidim/decidim_awesome/editors/tabs_focus.js +0 -22
  258. data/app/packs/stylesheets/decidim/decidim_awesome/editors/markdown_editor.scss +0 -19
  259. data/app/packs/stylesheets/decidim/decidim_awesome/editors/quill_editor.scss +0 -58
  260. data/app/packs/stylesheets/vendor/select2-foundation-theme.scss +0 -348
  261. data/app/serializers/concerns/decidim/decidim_awesome/proposal_serializer_override.rb +0 -64
  262. data/app/views/decidim/decidim_awesome/admin/config/_modal.html.erb +0 -11
  263. data/app/views/decidim/decidim_awesome/voting/voting_cards/_proposal_m_cell_footer.erb +0 -15
@@ -4,10 +4,9 @@ cs:
4
4
  attributes:
5
5
  config:
6
6
  additional_proposal_sortings: Povoleny další možnosti řazení
7
- allow_images_in_full_editor: Povolit obrázky v kompletním HTML editoru
8
- allow_images_in_markdown_editor: Povolit obrázky v editoru markdown
7
+ allow_images_in_editors: Povolit obrázky v HTML editoru
9
8
  allow_images_in_proposals: Povolit obrázky v editoru návrhů
10
- allow_images_in_small_editor: Povolit obrázky v minimálním HTML editoru
9
+ allow_videos_in_editors: Povolit videa v HTML editoru
11
10
  auto_save_forms: Automaticky ukládat formuláře v místním úložišti
12
11
  intergram_auto_no_response: Zpráva, která je odeslána jednu minutu poté, co uživatel odešle svou první zprávu a nebyla obdržena odpověď
13
12
  intergram_auto_response: Zpráva, která je odeslána okamžitě poté, co uživatel odešle svou první zprávu
@@ -22,7 +21,6 @@ cs:
22
21
  proposal_custom_fields: 'Uživatelská pole #%{id}'
23
22
  scoped_admins: 'Skupina Škálovaní administrátoři #%{id}'
24
23
  scoped_styles: Vlastní styly číslo %{id}
25
- use_markdown_editor: Použít Markdown editor namísto HTML editoru
26
24
  validate_body_max_caps_percent: Maximální povolený procentní podíl velkých písmen pro tělo zprávy
27
25
  validate_body_max_marks_together: Maximální počet po sobě jdoucích značek povolených v těle zprávy
28
26
  validate_body_min_length: Minimální požadované znaky pro tělo zprávy
@@ -52,6 +50,8 @@ cs:
52
50
  proposal_custom_fields: Vlastní pole
53
51
  decidim:
54
52
  admin:
53
+ actions:
54
+ manage: Spravovat
55
55
  filters:
56
56
  admin_accountability:
57
57
  admin_role_type:
@@ -78,7 +78,6 @@ cs:
78
78
  announcement: Oznámení
79
79
  iframe: Kód Iframe
80
80
  iframe_help: 'Zadejte kód jako html: <iframe width="100%" height="700" frameBorder="0" allowFullscreen src="..."></iframe>. Obsah bude vylepšen z jiných HTML tagů. Pro vyplnění obrazovky použijte 100% šířku.'
81
- no_margins: Mezi iframe a zbytkem stránky nejsou žádné okraje
82
81
  viewport_width: Omezit maximální šířku na zobrazení aplikace
83
82
  step:
84
83
  announcement: Oznámení
@@ -111,6 +110,7 @@ cs:
111
110
  settings:
112
111
  global:
113
112
  awesome_voting_manifest: Typ podpory
113
+ awesome_voting_manifest_help_html: <strong class="text-alert">Uvědomte si, že změna tohoto nastavení uprostřed hlasovacího období může mít za následek nepřesné nebo neočekávané výsledky.</strong><br>Všimněte si, že toto nastavení může být upraveno pouze v případě, že komponenta nemá zatím žádnou podporu.
114
114
  awesome_voting_manifest_options:
115
115
  default: Jednoduché hlasování (výchozí)
116
116
  voting_cards: Hlasování pomocí barevných karet
@@ -119,14 +119,19 @@ cs:
119
119
  supported_first: Nejdříve podporováno
120
120
  supported_last: Naposledy podporováno
121
121
  za: Z-A (obrácená abeceda)
122
+ limit_pending_amendments: Povolit pouze jeden čekající pozměňovací návrh ke každému návrhu.
122
123
  sort_orders_enabled: Typy řazeníí povoleny
123
124
  voting_cards_box_title: Název hlasovacího pole
125
+ voting_cards_box_title_help: Výchozí hodnota je "Hlasovat pro tento návrh". Použijte "-" pro jeho schování.
126
+ voting_cards_instructions: Instrukce podpory/nápověda (zrušitelné modální okno)
124
127
  voting_cards_instructions_help: Výchozí hodnota je "Přečtěte si pečlivě pravidla voleb, abyste pochopili, jak bude vaše hlasování použito %{organization}""
125
128
  voting_cards_show_abstain: Přidat možnost zdržet se hlasování
126
129
  voting_cards_show_modal_help: Po kliknutí na podporu zobrazit instrukce/nápovědu
127
130
  step:
128
131
  default_sort_order_options:
129
132
  az: A-Z (abecední)
133
+ supported_first: Nejdříve podporováno
134
+ supported_last: Naposledy podporováno
130
135
  za: Z-A (obrácená abeceda)
131
136
  decidim_awesome:
132
137
  admin:
@@ -215,15 +220,16 @@ cs:
215
220
  form:
216
221
  additional_proposal_sortings:
217
222
  enable_all: Povolit všechny další možnosti řazení
223
+ help: Tyto možnosti řazení jsou navíc k výchozím možnostem. Nezapomeňte, že si můžete vybrat výchozí pořadí v nastavení komponenty návrhu.
224
+ title: Přizpůsobit možnosti řazení seznamu návrhů
218
225
  edit_label: Přejmenovat štítek
219
226
  errors:
220
227
  incorrect_css: 'CSS v poli #%{key} je neplatné'
221
228
  incorrect_json: 'Definice JSON v poli #%{key} je neplatná'
222
229
  help:
223
- allow_images_in_full_editor: Tímto se přidá ikona pro nahrávání obrázků ve všech editorech WYSIWYG s povoleným plným nástrojovým řádkem.
224
- allow_images_in_markdown_editor: To umožní editoru markdown nahrávat obrázky pomocí kopírování a vkládání nebo přetažení.
230
+ allow_images_in_editors: Toto přidá ikonu pro nahrávání obrázků ve všech WYSIWYG editorech
225
231
  allow_images_in_proposals: Toto umožní nahrávat obrázky do editoru návrhů, které jsou k dispozici každému uživateli
226
- allow_images_in_small_editor: Tímto se přidá ikona pro nahrávání obrázků ve všech editorech WYSIWYG s minimálními možnostmi v panelu nástrojů.
232
+ allow_videos_in_editors: Toto přidá ikonu video odkazu ve všech WYSIWYG editorech
227
233
  auto_save_forms: Toto bude používat místní úložiště pro automatické ukládání dat zavedených uživateli do průzkumů a jiných formulářů během vyplňování. Data budou obnovena v budoucí návštěvě stejného prohlížeče v případě, že formulář nebude odeslán. Pokud je formulář odeslán, data budou odstraněna. Pokud uživatelé odstraní svá data z místního úložiště, data nebudou obnovena.
228
234
  drag_and_drop_supported: Při nahrávání obrázků je podporováno vložení přetažením. Obrázky budou nahrány na server a vloženy jako externí zdroje (nepoužívá base64 inline kódování).
229
235
  intergram_about: Intergram používá Telegram messenger pro zpracování widgetu live podpory v dolní části stránky.
@@ -235,7 +241,6 @@ cs:
235
241
  scoped_admins: Povýšení běžného uživatele na administrátora, který může spravovat pouze určité části veřejného webu (k tomu použijte editor omezení). Všimněte si, že uživatelé, kteří již mají oprávnění běžného správce, budou ignorováni.
236
242
  scoped_styles: Vytvořte vlastní CSS aplikovaný pouze na určitých částech veřejného webu (použijte pro to editor omezení)
237
243
  scoped_styles_variables: 'Můžete použít následující CSS proměnné pro nastavené barvy organizace:'
238
- use_markdown_editor: Toto nahradí WYSIWYG editor, místo toho použijte Markdown editor. Text bude vykreslen jako HTML na veřejných stránkách (text v databázi bude uložen jako text markdown)
239
244
  validate_body_max_caps_percent: Nula nedovolí žádné velké písmeno, 100 bude nutit psát vše velkými písmeny
240
245
  validate_body_max_marks_together: 'Omezit počet otazníků a vykřičníků, které lze psát dohromada. Např: Pokud je 2, pak ''!!!'' nebude v textu povoleno'
241
246
  validate_body_min_length: Toto číslo může být nulové, toto pole bude ve skutečnosti nepovinné
@@ -259,7 +264,6 @@ cs:
259
264
  sure_to_remove: Opravdu chcete zničit tento CSS box?
260
265
  none: "⛔ Nikdy! - Deaktivujte jiná omezení"
261
266
  process_groups: Skupiny procesů
262
- rich_text_editor_in_public_views: 'POZNÁMKA: "Kompletní textový editor pro účastníky" je povolen, tato možnost nebude využita. Pro povolení obrázků v Návrzích používejte místo toho hacky editoru.'
263
267
  show:
264
268
  title: Vylepšení pro %{setting}
265
269
  update: Aktualizace konfigurace
@@ -358,10 +362,13 @@ cs:
358
362
  index:
359
363
  confirm_destroy: Opravdu chcete odstranit toto přizpůsobení?
360
364
  edit: Upravit
365
+ home_content_block_menu:
366
+ title: Blok Globální menu
367
+ menu:
368
+ title: Hlavní menu
361
369
  new: Nová položka
362
370
  remove: Odstranit přidání
363
371
  remove_hack: Odstranit přizpůsobení
364
- title: Hlavní menu
365
372
  new:
366
373
  save: Uložit
367
374
  title: Nová položka menu
@@ -369,6 +376,14 @@ cs:
369
376
  error: Chyba při aktualizaci položky menu! %{error}
370
377
  success: Položka menu byla úspěšne aktualizována
371
378
  url_exists: Stejná adresa URL je již nakonfigurována, prosím upravte ji místo jejího vytvoření.
379
+ amendments:
380
+ modal:
381
+ current_amendment_html: <p>Můžete <a href="%{amendment_link}">přistupovat k aktuálnímu pozměňovacímu návrhu zde</a>.</p>
382
+ dismiss: Ok, rozumím
383
+ explanation_html: |
384
+ <p>V současné době je pro tento návrh hodnocen další pozměňovací návrh. Chcete-li vytvořit nový, musíte počkat, až bude aktuální přijat nebo odmítnut.</p>
385
+ <p>Můžete se také ozvat autorovi tohoto návrhu <a href="%{proposal_link}">a zanechat komentář</a> a pokusit se urychlit řešení současného pozměňovacího návrhu.</p>
386
+ pending_limit_reached: Omlouváme se, ale v jednom okamžiku může být pouze jeden čekající pozměňovací návrh. Počkejte prosím, dokud nebude "%{emendation}" přijat nebo zamítnut.
372
387
  config:
373
388
  intergram:
374
389
  auto_no_response: Zdá se, že právě teď nikdo není k dispozici odpovědět. Řekněte nám, jak vás můžeme kontaktovat, a co nejdříve se k vám vrátíme.
@@ -430,11 +445,17 @@ cs:
430
445
  abstained: "✔️ Zdržel se hlasování"
431
446
  change_vote: Změnit můj hlas
432
447
  default_box_title: Hlasovat o tomto návrhu
448
+ default_instructions_html: "<p>Přečtěte si pečlivě pravidla voleb, abyste pochopili, jak bude vaše hlasování použito v %{organization}</p>"
433
449
  modal:
434
450
  cancel: Zrušit
451
+ message: Váš hlas bude považován za konečný v %{date}. Do té doby jej můžete změnit,
452
+ proceed: Provést
453
+ skip: Zaškrtněte pro přeskočení tohoto okna v budoucnu
435
454
  vote_button: Kliknutím hlasujte
436
455
  voted: Odhlasováno
456
+ voting_for: Můj hlas pro "%{proposal}" je "%{type}"
437
457
  weights:
458
+ weight_0: Zdržet se
438
459
  weight_0_short: 'A:'
439
460
  weight_1: Červená
440
461
  weight_1_short: 'R:'
@@ -442,16 +463,20 @@ cs:
442
463
  weight_2_short: 'Y:'
443
464
  weight_3: Zelená
444
465
  weight_3_short: 'G:'
466
+ meetings:
467
+ meetings_map:
468
+ view_meeting: Zobrazit schůzku
445
469
  proposals:
446
470
  proposals:
447
471
  orders:
448
472
  az: A-Z (abecední)
473
+ supported_first: Nejdříve podporováno
474
+ supported_last: Naposledy podporováno
449
475
  za: Z-A (obrácená abeceda)
476
+ proposal:
477
+ view_proposal: Zobrazit návrh
450
478
  layouts:
451
479
  decidim:
452
- admin:
453
- decidim_awesome:
454
- title: Vylepšení Decidim
455
480
  decidim_awesome:
456
481
  awesome_config:
457
482
  amendments: Pozměňovací návrhy
@@ -4,10 +4,9 @@ de:
4
4
  attributes:
5
5
  config:
6
6
  additional_proposal_sortings: Zusätzliche Sortieroptionen aktiviert
7
- allow_images_in_full_editor: Bilder im vollständigen HTML-Editor erlauben
8
- allow_images_in_markdown_editor: Bilder im Markdown-Editor erlauben
7
+ allow_images_in_editors: Bilder im HTML-Editor erlauben
9
8
  allow_images_in_proposals: Bilder im Vorschlags-Editor erlauben
10
- allow_images_in_small_editor: Bilder im minimalen HTML-Editor erlauben
9
+ allow_videos_in_editors: Videos im HTML-Editor erlauben
11
10
  auto_save_forms: Formulare automatisch lokal speichern
12
11
  intergram_auto_no_response: Diese Nachricht wird verschickt, sobald eine Minute seit der letzten vom Benutzer verfasste Nachricht verschickt wurde und keine Antwort eingetroffen ist
13
12
  intergram_auto_response: Eine Nachricht, die unmittelbar nach dem Senden der ersten Nachricht des Benutzers gesendet wird
@@ -22,7 +21,6 @@ de:
22
21
  proposal_custom_fields: 'Eingabefeld #%{id}'
23
22
  scoped_admins: Eingeschränkte Admin-Gruppe %{id}
24
23
  scoped_styles: Eigene Eingabefelder %{id}
25
- use_markdown_editor: Markdown Editor anstelle des HTML-Editors verwenden
26
24
  validate_body_max_caps_percent: Maximal erlaubter Prozentsatz an Großbuchstaben für den Textkörper
27
25
  validate_body_max_marks_together: Maximal erlaubte aufeinanderfolgende Zeichen im Textkörper
28
26
  validate_body_min_length: Minimale zwingend erforderliche Anzahl Zeichen im Textkörper
@@ -52,6 +50,8 @@ de:
52
50
  proposal_custom_fields: Eingabefelder
53
51
  decidim:
54
52
  admin:
53
+ actions:
54
+ manage: Verwalten
55
55
  filters:
56
56
  admin_accountability:
57
57
  admin_role_type:
@@ -78,7 +78,6 @@ de:
78
78
  announcement: Ankündigung
79
79
  iframe: iFrame-Code
80
80
  iframe_help: 'Geben Sie Ihren Code als html: <iframe width="100%" height="700" frameBorder="0" allowFullscreen src="..."></iframe> ein. Andere HTML-Tags werden vom Inhalt entfernt. Stellen Sie sicher, dass Sie 100% als Breite/width verwenden, um gesamten Platz zu füllen.'
81
- no_margins: Keine Ränder zwischen iFrame und der restlichen Seite
82
81
  viewport_width: Maximale Breite auf den App-Viewport beschränken
83
82
  step:
84
83
  announcement: Ankündigung
@@ -120,6 +119,7 @@ de:
120
119
  supported_first: Zuerst unterstützt
121
120
  supported_last: Zuletzt unterstützt
122
121
  za: Z-A (umgekehrt alphabetisch)
122
+ limit_pending_amendments: Erlaube nur eine ausstehende Änderung zu jedem Vorschlag.
123
123
  sort_orders_enabled: Aktivierte Sortierarten
124
124
  voting_cards_box_title: Titel für das Abstimmungsfeld
125
125
  voting_cards_box_title_help: Standardmässig "Für diesen Vorschlag abstimmen". Verwenden Sie "-", um den Text auszublenden.
@@ -227,10 +227,9 @@ de:
227
227
  incorrect_css: 'CSS in Box #%{key} ist ungültig'
228
228
  incorrect_json: 'JSON-Definition in Box #%{key} ist ungültig'
229
229
  help:
230
- allow_images_in_full_editor: Bilder im vollen Editor erlauben
231
- allow_images_in_markdown_editor: Bilder im Markdown Editor erlauben
230
+ allow_images_in_editors: Dies fügt ein Bild-Upload-Symbol in allen WYSIWYG-Editoren hinzu
232
231
  allow_images_in_proposals: Bilder in Vorschlägen erlauben
233
- allow_images_in_small_editor: Bilder in kleinem Editor erlauben
232
+ allow_videos_in_editors: Dies fügt ein Video-Upload-Symbol in allen WYSIWYG-Editoren hinzu
234
233
  auto_save_forms: Formulare automatisch speichern
235
234
  drag_and_drop_supported: Drag and Drop unterstützen
236
235
  intergram_about: Über Intergram
@@ -242,7 +241,6 @@ de:
242
241
  scoped_admins: Befördern Sie normale Benutzer zu Administratoren, die nur bestimmte Teile der öffentlichen Seite verwalten können (verwenden Sie dazu den Editor für Einschränkungen). Beachten Sie, dass Benutzer, die bereits reguläre Administratorrechte haben, ignoriert werden. For instance, if having configured /my-origin => /my-destination, a request to /my-origin?locale=ca will be redirected to "/my-destination?locale=ca".
243
242
  scoped_styles: Erstellen Sie benutzerdefinierte CSS, die nur in bestimmten Bereichen der öffentlichen Seite gelten (vewenden Sie dazu die Einschränkungen)
244
243
  scoped_styles_variables: 'Sie können die folgenden CSS-Variablen für die benutzerdefinierter Farben der Organisation verwenden:'
245
- use_markdown_editor: Markdown Editor benutzen
246
244
  validate_body_max_caps_percent: 0 lässt keinen Großbuchstaben zu, 100 lässt ausschliesslich Großbuchstaben zu
247
245
  validate_body_max_marks_together: 'Begrenzt die Anzahl der Frage- und Ausrufezeichen, die zusammen geschrieben werden können. Zum Beispiel: Der Wert 2 führt dazu, dass ''!!!'' im Text nicht erlaubt ist'
248
246
  validate_body_min_length: Diese Zahl kann Null sein, was das Feld dann effektiv als "nicht obligatorisch" setzt
@@ -266,7 +264,6 @@ de:
266
264
  sure_to_remove: Sind Sie sicher, dass Sie diese CSS-Box entfernen möchten?
267
265
  none: "⛔ Niemals! - Deaktivieren Sie jede andere Einschränkung"
268
266
  process_groups: Prozessgruppen
269
- rich_text_editor_in_public_views: 'Warnung: "Erweiterter Text Editor für Teilnehmer" ist aktiviert, diese Option ist inaktiv. Bitte benutzen Sie die Editor Hacks, um Bilder in Vorschlägen zu aktivieren.'
270
267
  show:
271
268
  title: Decidim Awesome
272
269
  update: Aktualisieren
@@ -361,10 +358,13 @@ de:
361
358
  index:
362
359
  confirm_destroy: Sind Sie sicher, dass Sie diese Anpassung entfernen wollen?
363
360
  edit: Bearbeiten
361
+ home_content_block_menu:
362
+ title: Startseiten-Abschnitt für globales Menü
363
+ menu:
364
+ title: Hauptmenü
364
365
  new: Neuer Menüpunkt
365
366
  remove: Zusatz entfernen
366
367
  remove_hack: Anpassungen entfernen
367
- title: Hauptmenü
368
368
  new:
369
369
  save: Sichern
370
370
  title: Neuer Menüpunkt
@@ -372,6 +372,14 @@ de:
372
372
  error: Fehler beim Aktualisieren des Menüpunkts! %{error}
373
373
  success: Menüpunkt erfolgreich aktualisiert
374
374
  url_exists: Die gleiche URL ist bereits konfiguriert. bitte bearbeiten Sie diese, anstatt sie neu zu erstellen.
375
+ amendments:
376
+ modal:
377
+ current_amendment_html: <p>Sie können <a href="%{amendment_link}"> hier auf die aktuelle Änderung</a>zugreifen.</p>
378
+ dismiss: Ok, verstanden
379
+ explanation_html: |
380
+ <p>Derzeit wird eine weitere Änderung für diesen Vorschlag bewertet. Um eine neue zu erstellen, müssen Sie warten, bis die aktuelle akzeptiert oder abgelehnt wird.</p>
381
+ <p>Sie können auch den Autor dieses Vorschlags durch <a href="%{proposal_link}">erreichen und einen Kommentar</a> hinterlassen und versuchen, die Lösung des aktuellen Änderungsantrags zu beschleunigen.</p>
382
+ pending_limit_reached: Leider kann es immer nur eine ausstehende Änderung geben. Bitte warten Sie, bis "%{emendation}" akzeptiert oder abgelehnt wird.
375
383
  config:
376
384
  intergram:
377
385
  auto_no_response: Es scheint, dass im Moment niemand verfügbar ist. Bitte sagen Sie uns, wie wir Sie erreichen können und wir melden uns baldmöglichst bei Ihnen.
@@ -425,7 +433,7 @@ de:
425
433
  abstained: "✔ Enthalten"
426
434
  change_vote: Meine Stimme ändern
427
435
  default_box_title: Über diesen Vorschlag abstimmen
428
- default_instructions_html: <p>Bitte lesen Sie die Wahlregeln sorgfältig durch, um zu verstehen, wie Ihre Stimme von %{organization}" verwendet wird</p>
436
+ default_instructions_html: "<p>Bitte lesen Sie die Wahlregeln sorgfältig durch, um zu verstehen, wie Ihre Stimme von %{organization}\" verwendet wird</p>"
429
437
  modal:
430
438
  cancel: Abbrechen
431
439
  message: Ihre Stimme wird am %{date} als endgültig betrachtet. Sie können sie bis dahin ändern
@@ -443,6 +451,9 @@ de:
443
451
  weight_2_short: 'Y:'
444
452
  weight_3: Grün
445
453
  weight_3_short: 'G:'
454
+ meetings:
455
+ meetings_map:
456
+ view_meeting: Sitzung ansehen
446
457
  proposals:
447
458
  proposals:
448
459
  orders:
@@ -450,11 +461,10 @@ de:
450
461
  supported_first: Zuerst unterstützt
451
462
  supported_last: Zuletzt unterstützt
452
463
  za: Z-A (umgekehrt alphabetisch)
464
+ proposal:
465
+ view_proposal: Vorschlag ansehen
453
466
  layouts:
454
467
  decidim:
455
- admin:
456
- decidim_awesome:
457
- title: Decidim Awesome
458
468
  decidim_awesome:
459
469
  awesome_config:
460
470
  amendments: Änderungsvorschläge
@@ -3,11 +3,10 @@ en:
3
3
  activemodel:
4
4
  attributes:
5
5
  config:
6
- additional_proposal_sortings: Enabled additional sorting options
7
- allow_images_in_full_editor: Allow images in the full HTML editor
8
- allow_images_in_markdown_editor: Allow images in the markdown editor
6
+ additional_proposal_sortings: Additional sorting options enabled
7
+ allow_images_in_editors: Allow images in the HTML editor
9
8
  allow_images_in_proposals: Allow images in the proposals editor
10
- allow_images_in_small_editor: Allow images in the minimal HTML editor
9
+ allow_videos_in_editors: Allow videos in the HTML editor
11
10
  auto_save_forms: Auto save forms in local storage
12
11
  intergram_auto_no_response: A message that is sent one minute after the user
13
12
  sends its first message and no response was received
@@ -24,9 +23,9 @@ en:
24
23
  intergram_use_floating_button: If checked, the closed chat is always a button
25
24
  instead of a text
26
25
  proposal_custom_fields: Custom fields %{id}
26
+ proposal_private_custom_fields: Private Custom fields %{id}
27
27
  scoped_admins: Scoped admins group %{id}
28
28
  scoped_styles: Custom styles %{id}
29
- use_markdown_editor: Use a Markdown editor instead of the HTML editor
30
29
  validate_body_max_caps_percent: Maximum allowed percentage of capital letters
31
30
  for the body
32
31
  validate_body_max_marks_together: Maximum consecutive marks symbols allowed
@@ -56,10 +55,10 @@ en:
56
55
  target: Opens in
57
56
  url: URL
58
57
  visibility: Visibility
59
- proposal:
60
- proposal_custom_fields: Custom fields
61
58
  decidim:
62
59
  admin:
60
+ actions:
61
+ manage: Manage
63
62
  filters:
64
63
  admin_accountability:
65
64
  admin_role_type:
@@ -89,7 +88,6 @@ en:
89
88
  frameBorder="0" allowFullscreen src="..."></iframe>. Content will be
90
89
  sanitized from other HTML tags. Ensure to use 100% as width to fill
91
90
  the screen.'
92
- no_margins: No margins between the iframe and the rest of the page
93
91
  viewport_width: Limit maximum width to the application viewport
94
92
  step:
95
93
  announcement: Announcement
@@ -123,10 +121,10 @@ en:
123
121
  settings:
124
122
  global:
125
123
  awesome_voting_manifest: Support type
126
- awesome_voting_manifest_help_html: <strong class="text-alert">Be aware
127
- that changing this setting in the middle of a votation period can result
128
- in innacurate or unexpected results.</strong><br>Note also that this
129
- setting can only be edited if the component has no supports yet.
124
+ awesome_voting_manifest_help_html: <span class="text-alert">Be aware that
125
+ changing this setting in the middle of a votation period can result
126
+ in innacurate or unexpected results.</span><br>Note also that this setting
127
+ can only be edited if the component has no supports yet.
130
128
  awesome_voting_manifest_options:
131
129
  default: Simple vote (default)
132
130
  voting_cards: Voting using coloured cards
@@ -135,6 +133,7 @@ en:
135
133
  supported_first: Supported first
136
134
  supported_last: Supported last
137
135
  za: Z-A (Reverse alphabetical)
136
+ limit_pending_amendments: Allow only one pending amendment on each proposal.
138
137
  sort_orders_enabled: Enabled sorting types
139
138
  voting_cards_box_title: Title for the voting box
140
139
  voting_cards_box_title_help: Default is "Vote on this proposal". Use "-"
@@ -154,6 +153,7 @@ en:
154
153
  za: Z-A (Reverse alphabetical)
155
154
  decidim_awesome:
156
155
  admin:
156
+ actions: Actions
157
157
  admin_accountability:
158
158
  admin_roles:
159
159
  admin: Super admin
@@ -216,10 +216,9 @@ en:
216
216
  Since version 0.25, Decidim uses a new technology to upload files.<br>
217
217
  It looks that this installation needs to migrate <strong>%{total}</strong> of the old images to the new system.<br>
218
218
  You can start the process now and it will be performed in the background.
219
- start_image_migrations: "\U0001F449 Start the migration process now"
220
- title: System compatibility checks
219
+ start_image_migrations: "👉 Start the migration process now"
221
220
  config:
222
- caution: 'NOTE: This feature heavily modifies some default behaviours that
221
+ caution: 'NOTE: This feature heavily modifies some default behaviors that
223
222
  might lead to unexpected results. Use it with caution!'
224
223
  constraints:
225
224
  add_condition: Add case
@@ -259,14 +258,13 @@ en:
259
258
  incorrect_css: 'CSS in box #%{key} is invalid'
260
259
  incorrect_json: 'JSON definition in box #%{key} is invalid'
261
260
  help:
262
- allow_images_in_full_editor: This will add an image uploader icon in
263
- all the editors WYSIWYG with the full toolbar enabled.
264
- allow_images_in_markdown_editor: This will allow markdown editor to
265
- upload images by copy & paste or drag & drop.
261
+ allow_images_in_editors: This will add an image uploader icon in all
262
+ the WYSIWYG editors
266
263
  allow_images_in_proposals: This will allow to upload images in the proposals
267
- editor, available to any user
268
- allow_images_in_small_editor: This will add an image uploader icon in
269
- all the editors WYSIWYG with minimal options in the toolbar enabled.
264
+ editor, available to any user. Images will be presented as links in
265
+ the public proposal view.
266
+ allow_videos_in_editors: This will add an video link icon in all the
267
+ WYSIWYG editors
270
268
  auto_save_forms: This will use LocalStorage to automatically save data
271
269
  introduced by users in surveys and other forms while they are filling
272
270
  it. Data will be restored in a future visit with the same browser
@@ -299,6 +297,13 @@ en:
299
297
  instead of \"Address\"\nOr use your own keys in combination with other
300
298
  tools to define translations (eg: using the module Term Customizer):\n
301
299
  - \"myapp.custom_fields.bio\" instead of \"Biography\""
300
+ proposal_private_custom_fields: Similar as public fields, but this information
301
+ won't be disclosed publicly (only admins will have access to it).
302
+ proposal_private_custom_fields_translations: |
303
+ Private custom fields are displayed in distinct box with this information text:
304
+ %{warning}
305
+ This text can be customized with a custom translation by using the key:
306
+ %{key}
302
307
  scoped_admins: Promote regular user to admins that can only administrate
303
308
  certain parts of the public web (use the restrictions editor for that).
304
309
  Note that users who already have regular admin permissions will be
@@ -307,9 +312,6 @@ en:
307
312
  of the public web (use the restrictions editor for that)
308
313
  scoped_styles_variables: 'You can use the following CSS variables for
309
314
  organization customized colors:'
310
- use_markdown_editor: This will substitute the Quill WYSIWYG editor,
311
- to use a Markdown editor instead. Text will be converted and saved
312
- as HTML in the database.
313
315
  validate_body_max_caps_percent: Zero won't allow any capital letter,
314
316
  100 will force to write everything in capital letters
315
317
  validate_body_max_marks_together: 'Limit the number of question and
@@ -328,27 +330,41 @@ en:
328
330
  body: User input validations for the "body" field
329
331
  title: User input validations for the "title" field
330
332
  form_proposal_custom_fields:
333
+ delete: Delete
331
334
  new: Add a new "custom fields" box
332
335
  remove: Remove this "custom fields" box
333
336
  sure_to_remove: Are you sure you want to destroy this fields box?
337
+ form_proposal_private_custom_fields:
338
+ delete: Delete
339
+ new: Add a new "private custom fields" box
340
+ remove: Remove this "private custom fields" box
341
+ sure_to_remove: Are you sure you want to destroy this private fields box?
334
342
  form_scoped_admins:
343
+ delete: Delete
335
344
  new: Add a new "Scoped Admins" group
336
345
  remove: Remove this "Scoped Admins" group
337
346
  sure_to_remove: Are you sure you want to destroy this "Scoped Admins"
338
347
  group?
339
348
  form_scoped_styles:
349
+ delete: Delete
340
350
  new: Add a new CSS box
341
351
  remove: Remove this CSS box
342
352
  sure_to_remove: Are you sure you want to destroy this CSS box?
343
353
  none: "⛔ Never! - Deactivate any other constraint"
344
354
  process_groups: Process groups
345
- rich_text_editor_in_public_views: 'NOTE: "Rich text editor for participants"
346
- is enabled, this option won''t apply. Use the editors hacks instead to
347
- enable images in proposals.'
348
355
  show:
349
356
  title: Tweaks for %{setting}
350
357
  update: Update configuration
351
358
  system: Everywhere except participatory spaces
359
+ title:
360
+ admins: Scoped Admins
361
+ editors: Editor Hacks
362
+ livechat: Live Chat
363
+ proposal_custom_fields: 'Proposals Custom Fields: Public fields'
364
+ proposal_private_custom_fields: 'Proposals Custom Fields: Private fields'
365
+ proposals: Proposals Hacks
366
+ styles: Custom Styles
367
+ surveys: Surveys & Forms
352
368
  update:
353
369
  error: Error updating configuration! %{error}
354
370
  success: Configuration updated successfully
@@ -409,12 +425,48 @@ en:
409
425
  update:
410
426
  error: Error updating redirection! %{error}
411
427
  success: Redirection updated successfully
428
+ maintenance:
429
+ private_data:
430
+ component: Space / Component
431
+ confirm_delete: Are you sure you want to delete all private data for this
432
+ resource? This cannot be undone.
433
+ delete: Delete all
434
+ destroying_private_data: Private data for %{title} is set to be destroyed.
435
+ Please check again in a few minutes.
436
+ done: Done
437
+ help_html: |
438
+ This tool allows you to delete all private data for a specific participatory space or component. This action is irreversible and will remove all private data from the database.
439
+ <br><br>
440
+ <strong>What is considered private data?</strong>
441
+ <br>
442
+ Private data is any information that is not publicly available and is only accessible to administrators. This, at the moment, includes private custom fields information.
443
+ <br><br>
444
+ <strong>What happens when I delete private data?</strong>
445
+ <br>
446
+ When you delete private data, all private information for the selected participatory space or component will be permanently removed from the database. A log of this action will be stored in the system for auditing purposes.
447
+ <br><br>
448
+ <strong>What happens to public data?</strong>
449
+ <br>
450
+ Public data will not be affected by this action. Only private data will be deleted.
451
+ <br><br>
452
+ <strong>Is there a minimum time to wait before deleting private data?</strong>
453
+ <br>
454
+ Yes, you cannot delete private data if the last update was less than %{time_ago} ago. You can change this configuration in the initializer file.
455
+ items_count: Total affected
456
+ last_date: Last update
457
+ no_data: No private data found older than %{time_ago} ago
458
+ not_destroyable: This resource cannot be destroyed yet
459
+ removing: Removing...
460
+ time_ago: "%{time} ago"
412
461
  menu:
413
462
  admins: Scoped Admins
414
- checks: System Compatibility
415
463
  custom_redirects: Custom Redirections
416
464
  editors: Editor Hacks
417
465
  livechat: Live Chat
466
+ maintenance:
467
+ checks: System Compatibility
468
+ maintenance: Maintenance
469
+ private_data: Private data
418
470
  menu_hacks: Menu Tweaks
419
471
  proposal_custom_fields: Proposals Custom Fields
420
472
  proposals: Proposals Hacks
@@ -445,10 +497,13 @@ en:
445
497
  index:
446
498
  confirm_destroy: Are you sure to remove this customization?
447
499
  edit: Edit
500
+ home_content_block_menu:
501
+ title: Global menu home block
502
+ menu:
503
+ title: Main menu
448
504
  new: New item
449
505
  remove: Remove addition
450
506
  remove_hack: Remove customization
451
- title: Main menu
452
507
  new:
453
508
  save: Save
454
509
  title: New menu item
@@ -457,6 +512,29 @@ en:
457
512
  success: Menu item updated successfully
458
513
  url_exists: The same URL is already configured, please edit that instead
459
514
  of creating it again.
515
+ proposal_custom_fields:
516
+ menu:
517
+ title: Public fields
518
+ private_body: Private body
519
+ private_data_last_remove: This data was destroyed %{time_ago} ago.
520
+ private_data_last_update: This data was last updated %{time_ago} ago.
521
+ proposal_private_custom_fields: Private fields
522
+ remove_private_data: "👉 You might want to remove it"
523
+ admin_log:
524
+ component:
525
+ destroy_private_data: "%{user_name} destroyed %{count} items of private
526
+ data for %{resource_name} in %{space_name}"
527
+ amendments:
528
+ modal:
529
+ amendment_exists: An amendment already exists
530
+ current_amendment_html: <p>You can <a href="%{amendment_link}">access the
531
+ current amendment here</a>.</p>
532
+ dismiss: Ok, got it
533
+ explanation_html: |
534
+ <p>Currently, there's another amendment being evaluated for this proposal. In order to create a new one, you must wait until the current one is accepted or rejected.</p>
535
+ <p>You can also reach the author of this proposal by <a href="%{proposal_link}">leaving a comment</a> and try to speed up the resolution of the current amendment.</p>
536
+ pending_limit_reached: Sorry, there can only be one pending amendment at a
537
+ time. Please wait until "%{emendation}" is accepted or rejected.
460
538
  config:
461
539
  intergram:
462
540
  auto_no_response: It seems that no one is available to answer right now.
@@ -517,6 +595,7 @@ en:
517
595
  show:
518
596
  view_meeting: View meeting
519
597
  view_proposal: View proposal
598
+ proposal_private_custom_fields_disclosure: This information won't be published
520
599
  validators:
521
600
  too_much_caps: Is using too many capital letters (over %{percent}% of the
522
601
  text)
@@ -525,8 +604,8 @@ en:
525
604
  abstained: "✔ Abstained"
526
605
  change_vote: Change my vote
527
606
  default_box_title: Vote on this proposal
528
- default_instructions_html: <p>Please read the election rules carefully to
529
- understand how your vote will be used by %{organization}"</p>
607
+ default_instructions_html: "<p>Please read the election rules carefully
608
+ to understand how your vote will be used by %{organization}</p>"
530
609
  modal:
531
610
  cancel: Cancel
532
611
  message: Your vote will be considered final on %{date}. You can change
@@ -545,19 +624,30 @@ en:
545
624
  weight_2_short: 'Y:'
546
625
  weight_3: Green
547
626
  weight_3_short: 'G:'
627
+ meetings:
628
+ meetings_map:
629
+ view_meeting: View meeting
548
630
  proposals:
631
+ admin:
632
+ exports:
633
+ awesome_private_proposals: Proposals with private data
549
634
  proposals:
550
635
  orders:
551
636
  az: A-Z (Alphabetical)
552
637
  supported_first: Supported first
553
638
  supported_last: Supported last
554
639
  za: Z-A (Reverse alphabetical)
640
+ proposal:
641
+ view_proposal: View proposal
555
642
  layouts:
556
643
  decidim:
557
- admin:
558
- decidim_awesome:
559
- title: Decidim Tweaks
560
644
  decidim_awesome:
645
+ admin:
646
+ maintenance:
647
+ title: 'Maintenance tools: %{title}'
648
+ titles:
649
+ checks: System Compatibility Checks
650
+ private_data: Private Data Clean-Up
561
651
  awesome_config:
562
652
  amendments: Amendments
563
653
  autosaved_error: LocalStorage is not supported in your browser, form cannot