decidim-core 0.19.1 → 0.23.0

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

Potentially problematic release.


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

Files changed (858) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -0
  3. data/app/assets/config/decidim_core_manifest.js +8 -0
  4. data/app/assets/fonts/decidim/Roboto-Regular.eot +0 -0
  5. data/app/assets/fonts/decidim/Roboto-Regular.svg +1 -0
  6. data/app/assets/fonts/decidim/Roboto-Regular.ttf +0 -0
  7. data/app/assets/fonts/decidim/Roboto-Regular.woff +0 -0
  8. data/app/assets/fonts/decidim/Roboto-Regular.woff2 +0 -0
  9. data/app/assets/fonts/decidim/Source_Sans_Pro_400.svg +1 -345
  10. data/app/assets/fonts/decidim/Source_Sans_Pro_600.svg +1 -339
  11. data/app/assets/fonts/decidim/Source_Sans_Pro_900.svg +1 -342
  12. data/app/assets/images/decidim/avatar-multiuser.png +0 -0
  13. data/app/assets/images/decidim/brands/google.svg +1 -0
  14. data/app/assets/images/decidim/decidim-logo.svg +1 -71
  15. data/app/assets/images/decidim/default-avatar.svg +1 -14
  16. data/app/assets/images/decidim/gamification/badges/followers.svg +1 -115
  17. data/app/assets/images/decidim/gamification/badges/invitations.svg +1 -117
  18. data/app/assets/images/decidim/icons.svg +1 -259
  19. data/app/assets/images/decidim/placeholder.jpg +0 -0
  20. data/app/assets/javascripts/decidim.js.es6 +32 -2
  21. data/app/assets/javascripts/decidim/ajax_modals.js.es6 +6 -3
  22. data/app/assets/javascripts/decidim/assets.js.erb +5 -0
  23. data/app/assets/javascripts/decidim/callout.js.es6 +18 -0
  24. data/app/assets/javascripts/decidim/check_boxes_tree.js.es6 +190 -0
  25. data/app/assets/javascripts/decidim/configuration.js.es6 +23 -0
  26. data/app/assets/javascripts/decidim/confirm.js.es6 +179 -0
  27. data/app/assets/javascripts/decidim/conversations.js.es6 +17 -0
  28. data/app/assets/javascripts/decidim/core/bundle.js +1 -1
  29. data/app/assets/javascripts/decidim/core/bundle.js.map +1 -1
  30. data/app/assets/javascripts/decidim/core/extrapoly.js +6 -0
  31. data/app/assets/javascripts/decidim/data_picker.js.es6 +128 -50
  32. data/app/assets/javascripts/decidim/delayed.js.es6 +26 -0
  33. data/app/assets/javascripts/decidim/diff_mode_dropdown.js.es6 +39 -6
  34. data/app/assets/javascripts/decidim/dropdowns_menus.js.es6 +32 -0
  35. data/app/assets/javascripts/decidim/editor.js.es6 +3 -3
  36. data/app/assets/javascripts/decidim/external_link.js.es6 +69 -0
  37. data/app/assets/javascripts/decidim/floating_help.js.es6 +7 -0
  38. data/app/assets/javascripts/decidim/form_filter.component.js.es6 +87 -39
  39. data/app/assets/javascripts/decidim/form_filter.component.test.js +43 -9
  40. data/app/assets/javascripts/decidim/form_validator.es6 +61 -0
  41. data/app/assets/javascripts/decidim/foundation.js.es6 +28 -28
  42. data/app/assets/javascripts/decidim/geocoding.js.es6 +60 -0
  43. data/app/assets/javascripts/decidim/geocoding/attach_input.js.es6 +106 -0
  44. data/app/assets/javascripts/decidim/geocoding/format_address.js.es6 +29 -0
  45. data/app/assets/javascripts/decidim/geocoding/provider/here.js.es6 +107 -0
  46. data/app/assets/javascripts/decidim/geocoding/provider/photon.js.es6 +77 -0
  47. data/app/assets/javascripts/decidim/history.js.es6 +16 -1
  48. data/app/assets/javascripts/decidim/icon.js.es6 +42 -0
  49. data/app/assets/javascripts/decidim/identity_selector_dialog.js.es6 +61 -0
  50. data/app/assets/javascripts/decidim/input_character_counter.js.es6 +115 -0
  51. data/app/assets/javascripts/decidim/input_hashtags.js.es6 +1 -1
  52. data/app/assets/javascripts/decidim/input_mentions.js.es6 +138 -51
  53. data/app/assets/javascripts/decidim/input_multiple_mentions.js.es6 +195 -0
  54. data/app/assets/javascripts/decidim/map.js.es6 +35 -84
  55. data/app/assets/javascripts/decidim/map/controller.js.es6 +92 -0
  56. data/app/assets/javascripts/decidim/map/controller/markers.js.es6 +65 -0
  57. data/app/assets/javascripts/decidim/map/controller/static.es6 +48 -0
  58. data/app/assets/javascripts/decidim/map/factory.js.es6 +51 -0
  59. data/app/assets/javascripts/decidim/map/icon.js.es6 +31 -0
  60. data/app/assets/javascripts/decidim/map/legacy.js.es6 +87 -0
  61. data/app/assets/javascripts/decidim/map/provider/default.js.es6 +22 -0
  62. data/app/assets/javascripts/decidim/map/provider/here.js.es6 +22 -0
  63. data/app/assets/javascripts/decidim/orders.js.es6 +9 -28
  64. data/app/assets/javascripts/decidim/responsive_horizontal_tabs.js.es6 +12 -0
  65. data/app/assets/javascripts/decidim/results_listing.js.es6 +44 -0
  66. data/app/assets/javascripts/decidim/security/selfxss_warning.js.es6 +19 -0
  67. data/app/assets/javascripts/decidim/start_conversation_dialog.js +13 -0
  68. data/app/assets/javascripts/decidim/vizzs.js.es6 +1 -0
  69. data/app/assets/stylesheets/decidim/_decidim-settings.scss +5 -0
  70. data/app/assets/stylesheets/decidim/_decidim.scss +15 -11
  71. data/app/assets/stylesheets/decidim/_properties.scss +25 -0
  72. data/app/assets/stylesheets/decidim/_variables.scss +7 -25
  73. data/app/assets/stylesheets/decidim/application.scss.erb +2 -2
  74. data/app/assets/stylesheets/decidim/editor.scss +2 -2
  75. data/app/assets/stylesheets/decidim/email.scss +1771 -0
  76. data/app/assets/stylesheets/decidim/extras/_external-links.scss +29 -0
  77. data/app/assets/stylesheets/decidim/extras/_extras.scss +17 -0
  78. data/app/assets/stylesheets/decidim/extras/_label-required.scss +9 -0
  79. data/app/assets/stylesheets/decidim/extras/_process_stats.scss +1 -1
  80. data/app/assets/stylesheets/decidim/extras/_quill.scss +5 -0
  81. data/app/assets/stylesheets/decidim/extras/_results-per-page.scss +8 -1
  82. data/app/assets/stylesheets/decidim/layouts/_home.scss +31 -7
  83. data/app/assets/stylesheets/decidim/layouts/_layouts.scss +5 -0
  84. data/app/assets/stylesheets/decidim/layouts/_logo.scss +26 -0
  85. data/app/assets/stylesheets/decidim/layouts/_user.scss +4 -0
  86. data/app/assets/stylesheets/decidim/modules/_author-avatar.scss +9 -13
  87. data/app/assets/stylesheets/decidim/modules/_buttons.scss +273 -28
  88. data/app/assets/stylesheets/decidim/modules/_cards.scss +189 -23
  89. data/app/assets/stylesheets/decidim/modules/_collapsible-list.scss +21 -0
  90. data/app/assets/stylesheets/decidim/modules/_comments.scss +102 -2
  91. data/app/assets/stylesheets/decidim/modules/_conference-programme.scss +0 -1
  92. data/app/assets/stylesheets/decidim/modules/_confirm.scss +5 -0
  93. data/app/assets/stylesheets/decidim/modules/_conversation.scss +50 -0
  94. data/app/assets/stylesheets/decidim/modules/_data-picker.scss +9 -11
  95. data/app/assets/stylesheets/decidim/modules/_definition-data.scss +6 -1
  96. data/app/assets/stylesheets/decidim/modules/_docs-manager.scss +0 -1
  97. data/app/assets/stylesheets/decidim/modules/_extra.scss +0 -2
  98. data/app/assets/stylesheets/decidim/modules/_filters.scss +61 -3
  99. data/app/assets/stylesheets/decidim/modules/_floating-helper.scss +20 -8
  100. data/app/assets/stylesheets/decidim/modules/_footer.scss +8 -4
  101. data/app/assets/stylesheets/decidim/modules/_forms.scss +77 -4
  102. data/app/assets/stylesheets/decidim/modules/_horizontal-tabs.scss +64 -1
  103. data/app/assets/stylesheets/decidim/modules/_inline-filters.scss +6 -3
  104. data/app/assets/stylesheets/decidim/modules/_input-gallery.scss +10 -0
  105. data/app/assets/stylesheets/decidim/modules/_input-mentions.scss +25 -7
  106. data/app/assets/stylesheets/decidim/modules/_input-multiple-mentions.scss +5 -0
  107. data/app/assets/stylesheets/decidim/modules/_layout.scss +21 -0
  108. data/app/assets/stylesheets/decidim/modules/_map.scss +46 -0
  109. data/app/assets/stylesheets/decidim/modules/_margins.scss +8 -7
  110. data/app/assets/stylesheets/decidim/modules/_messages.scss +18 -18
  111. data/app/assets/stylesheets/decidim/modules/_modules.scss +75 -71
  112. data/app/assets/stylesheets/decidim/modules/_navbar.scss +187 -31
  113. data/app/assets/stylesheets/decidim/modules/_notification.scss +5 -0
  114. data/app/assets/stylesheets/decidim/modules/_order-by.scss +5 -0
  115. data/app/assets/stylesheets/decidim/modules/_process-nav.scss +5 -2
  116. data/app/assets/stylesheets/decidim/modules/_process-phase.scss +2 -4
  117. data/app/assets/stylesheets/decidim/modules/_process-stats.scss +53 -0
  118. data/app/assets/stylesheets/decidim/modules/_progress-bar.scss +5 -1
  119. data/app/assets/stylesheets/decidim/modules/_reveal.scss +11 -0
  120. data/app/assets/stylesheets/decidim/modules/_signup.scss +59 -1
  121. data/app/assets/stylesheets/decidim/modules/_static-pages.scss +0 -1
  122. data/app/assets/stylesheets/decidim/modules/_status-labels.scss +7 -1
  123. data/app/assets/stylesheets/decidim/modules/_sticky.scss +5 -0
  124. data/app/assets/stylesheets/decidim/modules/_tags.scss +11 -1
  125. data/app/assets/stylesheets/decidim/modules/_timeline.scss +1 -2
  126. data/app/assets/stylesheets/decidim/modules/_typography.scss +94 -10
  127. data/app/assets/stylesheets/decidim/modules/_versions.scss +0 -1
  128. data/app/assets/stylesheets/decidim/utils/_fontface.scss +10 -0
  129. data/app/assets/stylesheets/decidim/utils/_helpers.scss +8 -0
  130. data/app/assets/stylesheets/decidim/utils/_mixins.scss +86 -7
  131. data/app/assets/stylesheets/decidim/utils/_settings.scss +81 -69
  132. data/app/assets/stylesheets/decidim/utils/_toggle-expand.scss +14 -0
  133. data/app/assets/stylesheets/decidim/vizzs.scss +8 -0
  134. data/app/assets/stylesheets/decidim/vizzs/_areachart.scss +0 -1
  135. data/app/assets/stylesheets/decidim/vizzs/_linechart.scss +0 -1
  136. data/app/assets/stylesheets/decidim/vizzs/_rowchart.scss +0 -1
  137. data/app/assets/stylesheets/decidim/vizzs/_vizzs.scss +5 -0
  138. data/app/assets/stylesheets/foundation-overrides/components/_button-group.scss +319 -0
  139. data/app/cells/decidim/activity/show.erb +24 -21
  140. data/app/cells/decidim/activity_cell.rb +2 -0
  141. data/app/cells/decidim/address_cell.rb +1 -1
  142. data/app/cells/decidim/amendable/amend_button_card_cell.rb +1 -5
  143. data/app/cells/decidim/amendable/promote_button_card_cell.rb +1 -1
  144. data/app/cells/decidim/announcement/show.erb +1 -1
  145. data/app/cells/decidim/author/comments.erb +1 -1
  146. data/app/cells/decidim/author/endorsements.erb +6 -0
  147. data/app/cells/decidim/author/flag.erb +6 -3
  148. data/app/cells/decidim/author/profile_inline.erb +3 -4
  149. data/app/cells/decidim/author/show.erb +2 -0
  150. data/app/cells/decidim/author/withdraw.erb +2 -2
  151. data/app/cells/decidim/author_cell.rb +12 -13
  152. data/app/cells/decidim/badge/show.erb +6 -6
  153. data/app/cells/decidim/badge/small.erb +2 -1
  154. data/app/cells/decidim/card/show.erb +4 -4
  155. data/app/cells/decidim/card_cell.rb +21 -7
  156. data/app/cells/decidim/card_m/comments_counter.erb +1 -1
  157. data/app/cells/decidim/card_m/header.erb +4 -4
  158. data/app/cells/decidim/card_m/image.erb +1 -1
  159. data/app/cells/decidim/card_m/show.erb +3 -3
  160. data/app/cells/decidim/card_m_cell.rb +9 -6
  161. data/app/cells/decidim/coauthorships_cell.rb +2 -6
  162. data/app/cells/decidim/collapsible_authors_cell.rb +1 -1
  163. data/app/cells/decidim/collapsible_list/show.erb +3 -3
  164. data/app/cells/decidim/content_blocks/footer_sub_hero/show.erb +4 -4
  165. data/app/cells/decidim/content_blocks/hero_settings_form/show.erb +2 -2
  166. data/app/cells/decidim/content_blocks/how_to_participate/show.erb +8 -8
  167. data/app/cells/decidim/content_blocks/last_activity_cell.rb +1 -1
  168. data/app/cells/decidim/content_blocks/stats/show.erb +1 -1
  169. data/app/cells/decidim/content_blocks/sub_hero/show.erb +3 -3
  170. data/app/cells/decidim/diff/attribute.erb +15 -5
  171. data/app/cells/decidim/diff/diff_mode_html.erb +31 -0
  172. data/app/cells/decidim/diff/diff_split.erb +1 -1
  173. data/app/cells/decidim/diff/diff_unified.erb +1 -1
  174. data/app/cells/decidim/diff/show.erb +1 -0
  175. data/app/cells/decidim/diff_cell.rb +35 -16
  176. data/app/cells/decidim/endorsement_buttons/select_identity_button.erb +10 -0
  177. data/app/cells/decidim/endorsement_buttons/show.erb +4 -0
  178. data/app/cells/decidim/endorsement_buttons_cell.rb +208 -0
  179. data/app/cells/decidim/endorsers_list/show.erb +16 -0
  180. data/app/cells/decidim/endorsers_list_cell.rb +29 -0
  181. data/app/cells/decidim/fingerprint_cell.rb +1 -0
  182. data/app/cells/decidim/follow_button/show.erb +29 -8
  183. data/app/cells/decidim/follow_button_cell.rb +37 -5
  184. data/app/cells/decidim/navbar_admin_link/show.erb +6 -0
  185. data/app/cells/decidim/navbar_admin_link_cell.rb +49 -0
  186. data/app/cells/decidim/newsletter_templates/base_cell.rb +30 -0
  187. data/app/cells/decidim/newsletter_templates/base_settings_form_cell.rb +13 -0
  188. data/app/cells/decidim/newsletter_templates/basic_only_text/show.erb +86 -0
  189. data/app/cells/decidim/newsletter_templates/basic_only_text_cell.rb +21 -0
  190. data/app/cells/decidim/newsletter_templates/basic_only_text_settings_form/show.erb +7 -0
  191. data/app/cells/decidim/newsletter_templates/basic_only_text_settings_form_cell.rb +8 -0
  192. data/app/cells/decidim/newsletter_templates/image_text_cta/show.erb +125 -0
  193. data/app/cells/decidim/newsletter_templates/image_text_cta_cell.rb +61 -0
  194. data/app/cells/decidim/newsletter_templates/image_text_cta_settings_form/show.erb +17 -0
  195. data/app/cells/decidim/newsletter_templates/image_text_cta_settings_form_cell.rb +8 -0
  196. data/app/cells/decidim/notifications/show.erb +1 -1
  197. data/app/cells/decidim/profile/show.erb +2 -2
  198. data/app/cells/decidim/profile/user_group_tabs.erb +10 -5
  199. data/app/cells/decidim/profile/user_tabs.erb +16 -14
  200. data/app/cells/decidim/profile_cell.rb +18 -0
  201. data/app/cells/decidim/profile_sidebar/show.erb +16 -16
  202. data/app/cells/decidim/profile_sidebar_cell.rb +1 -0
  203. data/app/cells/decidim/progress_bar/show.erb +11 -4
  204. data/app/cells/decidim/progress_bar_cell.rb +20 -1
  205. data/app/cells/decidim/search_results_section/show.erb +1 -1
  206. data/app/cells/decidim/tags_cell.rb +34 -4
  207. data/app/cells/decidim/translation_bar/show.erb +6 -0
  208. data/app/cells/decidim/translation_bar_cell.rb +52 -0
  209. data/app/cells/decidim/user_activity/show.erb +19 -1
  210. data/app/cells/decidim/user_activity_cell.rb +6 -0
  211. data/app/cells/decidim/user_conversation/conversation_header.erb +14 -0
  212. data/app/cells/decidim/user_conversation/messages.erb +15 -0
  213. data/app/cells/decidim/user_conversation/new.erb +15 -0
  214. data/app/cells/decidim/user_conversation/reply.erb +17 -0
  215. data/app/cells/decidim/user_conversation/show.erb +20 -0
  216. data/app/cells/decidim/user_conversation_cell.rb +75 -0
  217. data/app/cells/decidim/user_conversations/add_conversation_users.erb +25 -0
  218. data/app/cells/decidim/user_conversations/conversation_item.erb +38 -0
  219. data/app/cells/decidim/user_conversations/show.erb +58 -0
  220. data/app/cells/decidim/user_conversations_cell.rb +40 -0
  221. data/app/cells/decidim/user_group_admin_membership_profile/footer.erb +3 -3
  222. data/app/cells/decidim/user_profile/footer.erb +1 -1
  223. data/app/cells/decidim/user_profile/unlinked_user_data.erb +16 -0
  224. data/app/cells/decidim/user_profile/user_data.erb +1 -1
  225. data/app/cells/decidim/user_profile_cell.rb +7 -1
  226. data/app/cells/decidim/user_timeline_cell.rb +4 -0
  227. data/app/cells/decidim/version/show.erb +31 -0
  228. data/app/{views/decidim/shared/_version_author.html.erb → cells/decidim/version_author/show.erb} +1 -1
  229. data/app/cells/decidim/version_author_cell.rb +9 -0
  230. data/app/cells/decidim/version_cell.rb +83 -0
  231. data/app/cells/decidim/versions_list/show.erb +32 -0
  232. data/app/cells/decidim/versions_list_cell.rb +64 -0
  233. data/app/cells/decidim/versions_list_item/show.erb +20 -0
  234. data/app/cells/decidim/versions_list_item_cell.rb +51 -0
  235. data/app/cells/decidim/wizard_step_form/wizard_aside.erb +1 -1
  236. data/app/cells/decidim/wizard_step_form/wizard_header.erb +2 -2
  237. data/app/cells/decidim/wizard_step_form_cell.rb +4 -1
  238. data/app/commands/decidim/amendable/accept.rb +18 -7
  239. data/app/commands/decidim/amendable/create_draft.rb +2 -0
  240. data/app/commands/decidim/amendable/publish_draft.rb +5 -0
  241. data/app/commands/decidim/amendable/reject.rb +5 -0
  242. data/app/commands/decidim/amendable/update_draft.rb +2 -0
  243. data/app/commands/decidim/amendable/withdraw.rb +3 -12
  244. data/app/commands/decidim/attachment_methods.rb +47 -0
  245. data/app/commands/decidim/create_registration.rb +7 -7
  246. data/app/commands/decidim/create_user_group.rb +12 -0
  247. data/app/commands/decidim/destroy_account.rb +13 -0
  248. data/app/commands/decidim/endorse_resource.rb +64 -0
  249. data/app/commands/decidim/gallery_methods.rb +71 -0
  250. data/app/commands/decidim/invite_user_again.rb +2 -4
  251. data/app/commands/decidim/messaging/reply_to_conversation.rb +35 -4
  252. data/app/commands/decidim/messaging/start_conversation.rb +36 -5
  253. data/app/commands/decidim/multiple_attachments_methods.rb +56 -0
  254. data/app/commands/decidim/unendorse_resource.rb +38 -0
  255. data/app/commands/decidim/update_notifications_settings.rb +1 -0
  256. data/app/commands/decidim/update_user_group.rb +14 -1
  257. data/app/controllers/concerns/decidim/devise_controllers.rb +1 -0
  258. data/app/controllers/concerns/decidim/filter_resource.rb +24 -6
  259. data/app/controllers/concerns/decidim/flaggable.rb +20 -0
  260. data/app/controllers/concerns/decidim/force_authentication.rb +1 -0
  261. data/app/controllers/concerns/decidim/impersonate_users.rb +14 -1
  262. data/app/controllers/concerns/decidim/needs_snippets.rb +20 -0
  263. data/app/controllers/concerns/decidim/paginable.rb +5 -1
  264. data/app/controllers/concerns/decidim/resource_versions_concern.rb +28 -0
  265. data/app/controllers/concerns/decidim/use_organization_time_zone.rb +32 -0
  266. data/app/controllers/concerns/decidim/withdrawable.rb +20 -0
  267. data/app/controllers/decidim/application_controller.rb +19 -8
  268. data/app/controllers/decidim/components/base_controller.rb +7 -1
  269. data/app/controllers/decidim/cookie_policy_controller.rb +6 -3
  270. data/app/controllers/decidim/data_portability_controller.rb +12 -19
  271. data/app/controllers/decidim/devise/omniauth_registrations_controller.rb +1 -1
  272. data/app/controllers/decidim/devise/registrations_controller.rb +3 -4
  273. data/app/controllers/decidim/devise/sessions_controller.rb +5 -0
  274. data/app/controllers/decidim/devise/unlocks_controller.rb +25 -0
  275. data/app/controllers/decidim/endorsements_controller.rb +71 -0
  276. data/app/controllers/decidim/messaging/conversations_controller.rb +57 -14
  277. data/app/controllers/decidim/newsletters_controller.rb +2 -2
  278. data/app/controllers/decidim/profiles_controller.rb +6 -0
  279. data/app/controllers/decidim/scopes_controller.rb +42 -7
  280. data/app/controllers/decidim/searches_controller.rb +0 -1
  281. data/app/controllers/decidim/user_activities_controller.rb +19 -2
  282. data/app/controllers/decidim/user_conversations_controller.rb +142 -0
  283. data/app/controllers/decidim/user_timeline_controller.rb +19 -2
  284. data/app/events/decidim/resource_endorsed_event.rb +35 -0
  285. data/app/events/decidim/user_group_admin_event.rb +37 -0
  286. data/app/events/decidim/user_group_created_event.rb +6 -0
  287. data/app/events/decidim/user_group_updated_event.rb +6 -0
  288. data/app/forms/decidim/account_form.rb +5 -1
  289. data/app/forms/decidim/amendable/create_form.rb +1 -1
  290. data/app/forms/decidim/amendable/form.rb +44 -3
  291. data/app/forms/decidim/attachment_form.rb +5 -0
  292. data/app/forms/decidim/messaging/conversation_form.rb +10 -4
  293. data/app/forms/decidim/notifications_settings_form.rb +6 -0
  294. data/app/forms/decidim/registration_form.rb +6 -0
  295. data/app/forms/decidim/user_group_form.rb +5 -1
  296. data/app/functions/decidim/core/component_finder_base.rb +40 -0
  297. data/app/functions/decidim/core/component_list.rb +38 -0
  298. data/app/functions/decidim/core/component_list_base.rb +67 -0
  299. data/app/functions/decidim/core/needs_api_filter_and_order.rb +52 -0
  300. data/app/functions/decidim/core/participatory_space_finder.rb +11 -0
  301. data/app/functions/decidim/core/participatory_space_finder_base.rb +29 -0
  302. data/app/functions/decidim/core/participatory_space_list.rb +11 -0
  303. data/app/functions/decidim/core/participatory_space_list_base.rb +34 -0
  304. data/app/functions/decidim/core/user_entity_finder.rb +33 -0
  305. data/app/functions/decidim/core/user_entity_list.rb +31 -0
  306. data/app/helpers/concerns/decidim/flash_helper_extensions.rb +47 -0
  307. data/app/helpers/decidim/action_authorization_helper.rb +24 -2
  308. data/app/helpers/decidim/amendments_helper.rb +29 -1
  309. data/app/helpers/decidim/application_helper.rb +38 -4
  310. data/app/helpers/decidim/categories_helper.rb +26 -0
  311. data/app/helpers/decidim/cells_helper.rb +3 -15
  312. data/app/helpers/decidim/check_boxes_tree_helper.rb +123 -0
  313. data/app/helpers/decidim/cookies_helper.rb +1 -1
  314. data/app/helpers/decidim/cta_button_helper.rb +1 -1
  315. data/app/helpers/decidim/decidim_form_helper.rb +24 -1
  316. data/app/helpers/decidim/endorsable_helper.rb +93 -0
  317. data/app/helpers/decidim/filter_params_helper.rb +30 -0
  318. data/app/helpers/decidim/filters_helper.rb +15 -5
  319. data/app/helpers/decidim/followable_helper.rb +11 -0
  320. data/app/helpers/decidim/layout_helper.rb +23 -5
  321. data/app/helpers/decidim/map_helper.rb +100 -17
  322. data/app/helpers/decidim/markup_helper.rb +9 -0
  323. data/app/helpers/decidim/messaging/conversation_helper.rb +61 -7
  324. data/app/helpers/decidim/omniauth_helper.rb +6 -13
  325. data/app/helpers/decidim/orders_helper.rb +15 -1
  326. data/app/helpers/decidim/paginate_helper.rb +3 -1
  327. data/app/helpers/decidim/participatory_space_helpers.rb +1 -1
  328. data/app/helpers/decidim/resource_versions_helper.rb +46 -0
  329. data/app/helpers/decidim/rich_text_editor_helper.rb +23 -0
  330. data/app/helpers/decidim/sanitize_helper.rb +13 -3
  331. data/app/helpers/decidim/scopes_helper.rb +7 -6
  332. data/app/helpers/decidim/tooltip_helper.rb +1 -1
  333. data/app/helpers/decidim/traceability_helper.rb +2 -8
  334. data/app/helpers/decidim/translations_helper.rb +7 -1
  335. data/app/helpers/decidim/user_profile_helper.rb +1 -1
  336. data/app/helpers/decidim/widget_urls_helper.rb +4 -2
  337. data/app/jobs/decidim/data_portability_export_job.rb +18 -10
  338. data/app/jobs/decidim/event_publisher_job.rb +1 -1
  339. data/app/jobs/decidim/export_job.rb +1 -1
  340. data/app/jobs/decidim/export_participatory_space_job.rb +20 -0
  341. data/app/jobs/decidim/machine_translation_fields_job.rb +30 -0
  342. data/app/jobs/decidim/machine_translation_resource_job.rb +113 -0
  343. data/app/jobs/decidim/machine_translation_save_job.rb +33 -0
  344. data/app/mailers/concerns/decidim/multitenant_asset_host.rb +33 -0
  345. data/app/mailers/decidim/application_mailer.rb +1 -0
  346. data/app/mailers/decidim/export_mailer.rb +9 -5
  347. data/app/mailers/decidim/messaging/conversation_mailer.rb +53 -4
  348. data/app/mailers/decidim/newsletter_mailer.rb +22 -4
  349. data/app/mailers/decidim/reported_mailer.rb +8 -1
  350. data/app/middleware/decidim/strip_x_forwarded_host.rb +14 -0
  351. data/app/models/decidim/action_log.rb +2 -2
  352. data/app/models/decidim/amendment.rb +0 -18
  353. data/app/models/decidim/area.rb +3 -0
  354. data/app/models/decidim/area_type.rb +4 -0
  355. data/app/models/decidim/attachment.rb +30 -2
  356. data/app/models/decidim/attachment_collection.rb +3 -0
  357. data/app/models/decidim/authorization.rb +27 -0
  358. data/app/models/decidim/category.rb +6 -0
  359. data/app/models/decidim/component.rb +16 -0
  360. data/app/models/decidim/content_block.rb +16 -4
  361. data/app/models/decidim/contextual_help_section.rb +4 -0
  362. data/app/models/decidim/endorsement.rb +30 -0
  363. data/app/models/decidim/follow.rb +3 -1
  364. data/app/models/decidim/messaging/conversation.rb +39 -11
  365. data/app/models/decidim/messaging/message.rb +32 -6
  366. data/app/models/decidim/messaging/participation.rb +1 -1
  367. data/app/models/decidim/messaging/receipt.rb +8 -0
  368. data/app/models/decidim/moderation.rb +1 -1
  369. data/app/models/decidim/newsletter.rb +10 -1
  370. data/app/models/decidim/oauth_application.rb +2 -0
  371. data/app/models/decidim/omniauth_provider.rb +28 -0
  372. data/app/models/decidim/organization.rb +94 -0
  373. data/app/models/decidim/participatory_space_role_config/admin.rb +8 -0
  374. data/app/models/decidim/participatory_space_role_config/base.rb +31 -0
  375. data/app/models/decidim/participatory_space_role_config/collaborator.rb +8 -0
  376. data/app/models/decidim/participatory_space_role_config/moderator.rb +11 -0
  377. data/app/models/decidim/participatory_space_role_config/null_object.rb +11 -0
  378. data/app/models/decidim/participatory_space_role_config/participatory_space_admin.rb +8 -0
  379. data/app/models/decidim/participatory_space_role_config/valuator.rb +11 -0
  380. data/app/models/decidim/scope.rb +8 -3
  381. data/app/models/decidim/scope_type.rb +3 -0
  382. data/app/models/decidim/share_token.rb +49 -0
  383. data/app/models/decidim/static_page.rb +4 -1
  384. data/app/models/decidim/static_page_topic.rb +3 -0
  385. data/app/models/decidim/user.rb +60 -5
  386. data/app/models/decidim/user_base_entity.rb +6 -2
  387. data/app/models/decidim/user_group.rb +30 -0
  388. data/app/permissions/decidim/permissions.rb +28 -6
  389. data/app/presenters/decidim/admin_log/user_presenter.rb +1 -1
  390. data/app/presenters/decidim/attachment_presenter.rb +21 -0
  391. data/app/presenters/decidim/home_stats_presenter.rb +5 -2
  392. data/app/presenters/decidim/log/base_presenter.rb +1 -1
  393. data/app/presenters/decidim/log/value_types/default_presenter.rb +1 -1
  394. data/app/presenters/decidim/metric_charts_presenter.rb +33 -13
  395. data/app/presenters/decidim/nil_presenter.rb +29 -0
  396. data/app/presenters/decidim/official_author_presenter.rb +36 -0
  397. data/app/presenters/decidim/resource_locator_presenter.rb +71 -10
  398. data/app/presenters/decidim/user_group_presenter.rb +1 -1
  399. data/app/presenters/decidim/user_presenter.rb +6 -0
  400. data/app/queries/decidim/metric_manage.rb +5 -0
  401. data/app/queries/decidim/metrics/followers_metric_manage.rb +1 -6
  402. data/app/queries/decidim/similar_emendations.rb +4 -4
  403. data/app/queries/decidim/user_groups/admin_memberships.rb +3 -3
  404. data/app/scrubbers/decidim/user_input_scrubber.rb +2 -2
  405. data/app/serializers/decidim/exporters/participatory_space_components_serializer.rb +46 -0
  406. data/{lib → app/serializers}/decidim/exporters/serializer.rb +0 -0
  407. data/app/serializers/decidim/importers/importer.rb +25 -0
  408. data/app/serializers/decidim/importers/participatory_space_components_importer.rb +76 -0
  409. data/app/services/decidim/activity_search.rb +1 -0
  410. data/app/services/decidim/base_diff_renderer.rb +42 -3
  411. data/app/services/decidim/data_portability_exporter.rb +72 -0
  412. data/app/services/decidim/events_manager.rb +4 -1
  413. data/app/services/decidim/open_data_exporter.rb +3 -1
  414. data/app/services/decidim/resource_search.rb +122 -17
  415. data/app/services/decidim/static_map_generator.rb +10 -21
  416. data/app/services/decidim/zip_stream/zip_stream_writer.rb +56 -0
  417. data/app/types/decidim/core/amendment_type.rb +26 -0
  418. data/app/types/decidim/core/area_api_type.rb +16 -0
  419. data/app/types/decidim/core/area_type_type.rb +14 -0
  420. data/app/types/decidim/core/base_input_filter.rb +8 -0
  421. data/app/types/decidim/core/base_input_sort.rb +22 -0
  422. data/app/types/decidim/core/component_input_filter.rb +50 -0
  423. data/app/types/decidim/core/component_input_sort.rb +32 -0
  424. data/app/types/decidim/core/decidim_type.rb +0 -4
  425. data/app/types/decidim/core/fingerprint_type.rb +15 -0
  426. data/app/types/decidim/core/has_endorsable_input_sort.rb +17 -0
  427. data/app/types/decidim/core/has_hastaggable_input_filter.rb +15 -0
  428. data/app/types/decidim/core/has_localized_input_filter.rb +21 -0
  429. data/app/types/decidim/core/has_localized_input_sort.rb +21 -0
  430. data/app/types/decidim/core/has_publishable_input_filter.rb +34 -0
  431. data/app/types/decidim/core/has_publishable_input_sort.rb +13 -0
  432. data/app/types/decidim/core/has_timestamp_input_filter.rb +52 -0
  433. data/app/types/decidim/core/has_timestamp_input_sort.rb +12 -0
  434. data/app/types/decidim/core/participatory_space_input_filter.rb +26 -0
  435. data/app/types/decidim/core/participatory_space_input_sort.rb +14 -0
  436. data/app/types/decidim/core/participatory_space_link_type.rb +24 -0
  437. data/app/types/decidim/core/trace_version_type.rb +29 -0
  438. data/app/types/decidim/core/user_entity_input_filter.rb +81 -0
  439. data/app/types/decidim/core/user_entity_input_sort.rb +24 -0
  440. data/app/types/decidim/core/user_group_type.rb +17 -5
  441. data/app/types/decidim/core/user_type.rb +17 -6
  442. data/app/uploaders/decidim/application_uploader.rb +15 -1
  443. data/app/uploaders/decidim/attachment_uploader.rb +23 -17
  444. data/app/uploaders/decidim/avatar_uploader.rb +4 -0
  445. data/app/uploaders/decidim/banner_image_uploader.rb +1 -2
  446. data/app/uploaders/decidim/data_portability_uploader.rb +2 -7
  447. data/app/uploaders/decidim/hero_image_uploader.rb +1 -1
  448. data/app/uploaders/decidim/homepage_image_uploader.rb +1 -1
  449. data/app/uploaders/decidim/image_uploader.rb +34 -6
  450. data/app/uploaders/decidim/newsletter_template_image_uploader.rb +36 -0
  451. data/app/uploaders/decidim/oauth_application_logo_uploader.rb +1 -1
  452. data/app/uploaders/decidim/official_image_footer_uploader.rb +1 -1
  453. data/app/uploaders/decidim/official_image_header_uploader.rb +1 -1
  454. data/app/uploaders/decidim/organization_logo_uploader.rb +1 -1
  455. data/app/uploaders/decidim/record_image_uploader.rb +15 -0
  456. data/app/validators/etiquette_validator.rb +0 -7
  457. data/app/validators/geocoding_validator.rb +9 -4
  458. data/app/validators/passthru_validator.rb +111 -0
  459. data/app/validators/scope_belongs_to_component_validator.rb +16 -0
  460. data/app/validators/time_zone_validator.rb +10 -0
  461. data/app/validators/uploader_content_type_validator.rb +44 -0
  462. data/app/views/decidim/account/delete.html.erb +6 -3
  463. data/app/views/decidim/account/show.html.erb +17 -10
  464. data/app/views/decidim/amendments/_edit_form_fields.html.erb +7 -13
  465. data/app/views/decidim/amendments/_similar_emendation.html.erb +4 -4
  466. data/app/views/decidim/amendments/compare_draft.html.erb +2 -2
  467. data/app/views/decidim/amendments/edit_draft.html.erb +2 -2
  468. data/app/views/decidim/amendments/new.html.erb +2 -2
  469. data/app/views/decidim/amendments/preview_draft.html.erb +3 -3
  470. data/app/views/decidim/amendments/review.html.erb +3 -3
  471. data/app/views/decidim/application/_collection.html.erb +2 -2
  472. data/app/views/decidim/application/_document.html.erb +4 -4
  473. data/app/views/decidim/application/_documents.html.erb +1 -1
  474. data/app/views/decidim/application/_photos.html.erb +1 -1
  475. data/app/views/decidim/authorization_modals/_content.html.erb +2 -2
  476. data/app/views/decidim/authorization_modals/show.html.erb +1 -1
  477. data/app/views/decidim/data_portability/show.html.erb +3 -0
  478. data/app/views/decidim/devise/confirmations/new.html.erb +3 -3
  479. data/app/views/decidim/devise/invitations/edit.html.erb +17 -15
  480. data/app/views/decidim/devise/omniauth_registrations/new.html.erb +5 -3
  481. data/app/views/decidim/devise/passwords/edit.html.erb +5 -3
  482. data/app/views/decidim/devise/passwords/new.html.erb +3 -3
  483. data/app/views/decidim/devise/registrations/edit.html.erb +2 -1
  484. data/app/views/decidim/devise/registrations/new.html.erb +12 -11
  485. data/app/views/decidim/devise/sessions/new.html.erb +7 -7
  486. data/app/views/decidim/devise/shared/_newsletter_modal.html.erb +3 -3
  487. data/app/views/decidim/devise/shared/_omniauth_buttons.html.erb +11 -11
  488. data/app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb +9 -8
  489. data/app/views/decidim/devise/unlocks/new.html.erb +33 -0
  490. data/app/views/decidim/doorkeeper/authorizations/new.html.erb +2 -2
  491. data/app/views/decidim/endorsements/_identity.html.erb +9 -0
  492. data/app/views/decidim/endorsements/identities.html.erb +12 -0
  493. data/app/views/decidim/endorsements/update_buttons_and_counters.js.erb +20 -0
  494. data/app/views/decidim/errors/internal_server_error.html.erb +2 -2
  495. data/app/views/decidim/errors/not_found.html.erb +2 -2
  496. data/app/views/decidim/export_mailer/data_portability_export.html.erb +2 -2
  497. data/app/views/decidim/gamification/badges/index.html.erb +4 -4
  498. data/app/views/decidim/group_admins/index.html.erb +6 -4
  499. data/app/views/decidim/group_invites/index.html.erb +5 -2
  500. data/app/views/decidim/group_members/index.html.erb +6 -4
  501. data/app/views/decidim/groups/_form.html.erb +2 -0
  502. data/app/views/decidim/groups/edit.html.erb +4 -2
  503. data/app/views/decidim/groups/new.html.erb +2 -2
  504. data/app/views/decidim/last_activities/index.html.erb +2 -0
  505. data/app/views/decidim/messaging/conversation_mailer/comanagers_new_conversation.html.erb +17 -0
  506. data/app/views/decidim/messaging/conversation_mailer/comanagers_new_message.html.erb +17 -0
  507. data/app/views/decidim/messaging/conversation_mailer/new_conversation.html.erb +2 -2
  508. data/app/views/decidim/messaging/conversation_mailer/new_group_conversation.html.erb +17 -0
  509. data/app/views/decidim/messaging/conversation_mailer/new_group_message.html.erb +17 -0
  510. data/app/views/decidim/messaging/conversation_mailer/new_message.html.erb +2 -2
  511. data/app/views/decidim/messaging/conversations/_add_conversation_users.html.erb +24 -0
  512. data/app/views/decidim/messaging/conversations/_conversation.html.erb +54 -0
  513. data/app/views/decidim/messaging/conversations/_error_modal.html.erb +21 -0
  514. data/app/views/decidim/messaging/conversations/_messages.html.erb +15 -0
  515. data/app/views/decidim/messaging/conversations/_new_conversation_button.html.erb +33 -0
  516. data/app/views/decidim/messaging/conversations/_reply.html.erb +3 -3
  517. data/app/views/decidim/messaging/conversations/_show.html.erb +34 -15
  518. data/app/views/decidim/messaging/conversations/_start.html.erb +7 -1
  519. data/app/views/decidim/messaging/conversations/create.js.erb +1 -1
  520. data/app/views/decidim/messaging/conversations/error.js.erb +10 -0
  521. data/app/views/decidim/messaging/conversations/index.html.erb +34 -29
  522. data/app/views/decidim/messaging/conversations/new.html.erb +1 -1
  523. data/app/views/decidim/messaging/conversations/show.html.erb +8 -4
  524. data/app/views/decidim/messaging/conversations/update.js.erb +1 -1
  525. data/app/views/decidim/newsletter_mailer/newsletter.html.erb +2 -2
  526. data/app/views/decidim/newsletters/show.html.erb +8 -1
  527. data/app/views/decidim/notification_mailer/event_received.html.erb +2 -2
  528. data/app/views/decidim/notifications/index.html.erb +4 -2
  529. data/app/views/decidim/notifications_settings/show.html.erb +14 -1
  530. data/app/views/decidim/own_user_groups/index.html.erb +4 -0
  531. data/app/views/decidim/pages/_standalone.html.erb +1 -1
  532. data/app/views/decidim/pages/_tabbed.html.erb +5 -5
  533. data/app/views/decidim/pages/index.html.erb +22 -13
  534. data/app/views/decidim/profiles/_user_follow.erb +3 -3
  535. data/app/views/decidim/profiles/show.html.erb +2 -0
  536. data/app/views/decidim/reported_mailer/report.html.erb +49 -3
  537. data/app/views/decidim/scopes/_scopes_picker_input.html.erb +15 -7
  538. data/app/views/decidim/scopes/picker.html.erb +31 -17
  539. data/app/views/decidim/searches/_count.html.erb +14 -11
  540. data/app/views/decidim/searches/_filters.html.erb +6 -21
  541. data/app/views/decidim/searches/_resources_filter_block.html.erb +20 -0
  542. data/app/views/decidim/searches/index.html.erb +5 -3
  543. data/app/views/decidim/shared/_check_boxes_tree.html.erb +56 -0
  544. data/app/views/decidim/shared/_confirm_modal.html.erb +18 -0
  545. data/app/views/decidim/shared/_embed_modal.html.erb +4 -1
  546. data/app/views/decidim/shared/_extended_navigation_bar.html.erb +3 -3
  547. data/app/views/decidim/shared/_filter_form_help.erb +8 -0
  548. data/app/views/decidim/shared/_floating_help.html.erb +7 -7
  549. data/app/views/decidim/shared/_login_modal.html.erb +17 -6
  550. data/app/views/decidim/shared/_orders.html.erb +16 -5
  551. data/app/views/decidim/shared/_results_per_page.html.erb +16 -6
  552. data/app/views/decidim/shared/_share_modal.html.erb +8 -4
  553. data/app/views/decidim/shared/_static_map.html.erb +2 -2
  554. data/app/views/decidim/shared/participatory_space_filters/_filters.html.erb +1 -1
  555. data/app/views/decidim/user_activities/index.html.erb +4 -0
  556. data/app/views/decidim/user_activities/index.js.erb +14 -0
  557. data/app/views/decidim/user_conversations/index.html.erb +4 -0
  558. data/app/views/decidim/user_conversations/show.html.erb +4 -0
  559. data/app/views/decidim/user_conversations/update.js.erb +8 -0
  560. data/app/views/decidim/user_interests/_scopes.html.erb +12 -10
  561. data/app/views/decidim/user_interests/show.html.erb +4 -1
  562. data/app/views/decidim/user_timeline/index.html.erb +5 -1
  563. data/app/views/decidim/user_timeline/index.js.erb +14 -0
  564. data/app/views/decidim/widgets/show.html.erb +4 -0
  565. data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
  566. data/app/views/kaminari/decidim/_first_page.html.erb +5 -1
  567. data/app/views/kaminari/decidim/_last_page.html.erb +5 -1
  568. data/app/views/kaminari/decidim/_next_page.html.erb +6 -1
  569. data/app/views/kaminari/decidim/_page.html.erb +2 -2
  570. data/app/views/kaminari/decidim/_paginator.html.erb +16 -14
  571. data/app/views/kaminari/decidim/_prev_page.html.erb +6 -1
  572. data/app/views/layouts/decidim/_admin_links.html.erb +2 -0
  573. data/app/views/layouts/decidim/_application.html.erb +4 -2
  574. data/app/views/layouts/decidim/_cookie_warning.html.erb +1 -1
  575. data/app/views/layouts/decidim/_edit_link.html.erb +0 -8
  576. data/app/views/layouts/decidim/_head.html.erb +4 -0
  577. data/app/views/layouts/decidim/_js_configuration.html.erb +34 -0
  578. data/app/views/layouts/decidim/_language_chooser.html.erb +10 -5
  579. data/app/views/layouts/decidim/_logo.html.erb +2 -22
  580. data/app/views/layouts/decidim/_mailer_logo.html.erb +2 -22
  581. data/app/views/layouts/decidim/_main_footer.html.erb +28 -0
  582. data/app/views/layouts/decidim/_mini_footer.html.erb +21 -0
  583. data/app/views/layouts/decidim/_omnipresent_banner.html.erb +1 -1
  584. data/app/views/layouts/decidim/_organization_colors.html.erb +4 -3
  585. data/app/views/layouts/decidim/_social_media_links.html.erb +15 -10
  586. data/app/views/layouts/decidim/_topbar_search.html.erb +12 -2
  587. data/app/views/layouts/decidim/_user_menu.html.erb +6 -6
  588. data/app/views/layouts/decidim/_wrapper.html.erb +28 -65
  589. data/app/views/layouts/decidim/newsletter_base.html.erb +46 -0
  590. data/app/views/layouts/decidim/user_profile.html.erb +8 -3
  591. data/app/views/layouts/decidim/widget.html.erb +2 -43
  592. data/config/initializers/browser.rb +5 -0
  593. data/config/initializers/devise.rb +17 -31
  594. data/config/initializers/invisible_captcha.rb +1 -0
  595. data/config/initializers/omniauth.rb +56 -0
  596. data/config/initializers/rack_attack.rb +25 -16
  597. data/config/locales/am-ET.yml +1 -0
  598. data/config/locales/ar.yml +44 -22
  599. data/config/locales/bg-BG.yml +1512 -0
  600. data/config/locales/bg.yml +1508 -0
  601. data/config/locales/ca.yml +302 -24
  602. data/config/locales/cs.yml +346 -55
  603. data/config/locales/da-DK.yml +9 -0
  604. data/config/locales/da.yml +1 -0
  605. data/config/locales/de.yml +311 -26
  606. data/config/locales/el-GR.yml +151 -0
  607. data/config/locales/el.yml +1587 -0
  608. data/config/locales/en.yml +308 -30
  609. data/config/locales/eo-UY.yml +2 -6
  610. data/config/locales/eo.yml +92 -0
  611. data/config/locales/es-MX.yml +297 -19
  612. data/config/locales/es-PY.yml +297 -19
  613. data/config/locales/es.yml +301 -23
  614. data/config/locales/et-EE.yml +9 -0
  615. data/config/locales/et.yml +1 -0
  616. data/config/locales/eu.yml +14 -19
  617. data/config/locales/fi-plain.yml +297 -19
  618. data/config/locales/fi.yml +361 -83
  619. data/config/locales/fr-CA.yml +1613 -0
  620. data/config/locales/fr.yml +304 -26
  621. data/config/locales/ga-IE.yml +1 -0
  622. data/config/locales/gl.yml +14 -19
  623. data/config/locales/hr-HR.yml +9 -0
  624. data/config/locales/hr.yml +1 -0
  625. data/config/locales/hu.yml +123 -39
  626. data/config/locales/id-ID.yml +14 -19
  627. data/config/locales/is-IS.yml +457 -0
  628. data/config/locales/is.yml +463 -0
  629. data/config/locales/it.yml +332 -54
  630. data/config/locales/ja-JP.yml +1587 -0
  631. data/config/locales/ja.yml +1605 -0
  632. data/config/locales/ko-KR.yml +1 -0
  633. data/config/locales/ko.yml +1 -0
  634. data/config/locales/lt-LT.yml +9 -0
  635. data/config/locales/lt.yml +1 -0
  636. data/config/locales/lv.yml +1481 -0
  637. data/config/locales/mt-MT.yml +9 -0
  638. data/config/locales/mt.yml +1 -0
  639. data/config/locales/nl.yml +292 -20
  640. data/config/locales/no.yml +951 -41
  641. data/config/locales/om-ET.yml +1 -0
  642. data/config/locales/pl.yml +801 -444
  643. data/config/locales/pt-BR.yml +15 -21
  644. data/config/locales/pt.yml +887 -551
  645. data/config/locales/ro-RO.yml +1609 -0
  646. data/config/locales/ru.yml +14 -14
  647. data/config/locales/sk-SK.yml +1426 -0
  648. data/config/locales/sk.yml +1440 -0
  649. data/config/locales/sl.yml +72 -0
  650. data/config/locales/so-SO.yml +1 -0
  651. data/config/locales/sr-CS.yml +122 -0
  652. data/config/locales/sv.yml +342 -40
  653. data/config/locales/ti-ER.yml +1 -0
  654. data/config/locales/tr-TR.yml +14 -19
  655. data/config/locales/uk.yml +10 -15
  656. data/config/locales/vi-VN.yml +1 -0
  657. data/config/locales/vi.yml +1 -0
  658. data/config/locales/zh-CN.yml +1584 -0
  659. data/config/locales/zh-TW.yml +1 -0
  660. data/config/routes.rb +6 -0
  661. data/db/migrate/20180810092428_move_organization_fields_to_hero_content_block.rb +2 -2
  662. data/db/migrate/20191028135718_add_lockable_to_users.rb +10 -0
  663. data/db/migrate/20191113092826_add_omniauth_settings_to_decidim_organization.rb +7 -0
  664. data/db/migrate/20191113144432_add_rich_text_editor_in_public_views_to_organizations.rb +10 -0
  665. data/db/migrate/20191118120529_add_weight_to_categories.rb +7 -0
  666. data/db/migrate/20191118123154_add_admin_terms_of_use_body_field_to_organization.rb +9 -0
  667. data/db/migrate/20191130151925_create_decidim_endorsements.rb +13 -0
  668. data/db/migrate/20191204075509_add_session_token_to_users.rb +7 -0
  669. data/db/migrate/20191212102051_remove_continuity_badges.rb +13 -0
  670. data/db/migrate/20200107142226_add_organization_timezone.rb +7 -0
  671. data/db/migrate/20200211173227_add_direct_message_types_to_users.rb +12 -0
  672. data/db/migrate/20200320105904_index_foreign_keys_in_decidim_action_logs.rb +9 -0
  673. data/db/migrate/20200320105905_index_foreign_keys_in_decidim_amendments.rb +7 -0
  674. data/db/migrate/20200320105909_index_foreign_keys_in_decidim_authorizations.rb +7 -0
  675. data/db/migrate/20200320105917_index_foreign_keys_in_decidim_contextual_help_sections.rb +7 -0
  676. data/db/migrate/20200320105919_index_foreign_keys_in_decidim_endorsements.rb +7 -0
  677. data/db/migrate/20200320105923_index_foreign_keys_in_decidim_notifications.rb +7 -0
  678. data/db/migrate/20200320105927_index_foreign_keys_in_oauth_access_grants.rb +7 -0
  679. data/db/migrate/20200323094443_add_id_to_content_blocks_scope.rb +7 -0
  680. data/db/migrate/20200326102407_rename_scope_column.rb +7 -0
  681. data/db/migrate/20200327082257_migrate_newsletters_to_templates.rb +33 -0
  682. data/db/migrate/20200327082954_remove_newsletter_body.rb +7 -0
  683. data/db/migrate/20200401073419_add_index_on_content_block_scope_id.rb +11 -0
  684. data/db/migrate/20200525184143_add_enable_machine_translation_to_decidim_organizations.rb +7 -0
  685. data/db/migrate/20200702073419_create_decidim_share_tokens.rb +16 -0
  686. data/db/migrate/20200707132401_add_comments_max_length_to_decidim_organization.rb +7 -0
  687. data/db/migrate/20200730142511_add_file_upload_settings_to_decidim_organizations.rb +36 -0
  688. data/db/migrate/20200806092109_add_machine_translation_display_priority_to_organizations.rb +17 -0
  689. data/db/migrate/20201004160335_remove_notifications_with_continuity_badge.rb +9 -0
  690. data/db/seeds.rb +26 -6
  691. data/{app/controllers/concerns → lib}/decidim/action_authorization.rb +0 -0
  692. data/lib/decidim/acts_as_author.rb +21 -0
  693. data/lib/decidim/amendable.rb +7 -4
  694. data/lib/decidim/api/amendable_entity_interface.rb +18 -0
  695. data/lib/decidim/api/amendable_interface.rb +18 -0
  696. data/lib/decidim/api/attachable_interface.rb +1 -1
  697. data/lib/decidim/api/author_interface.rb +4 -0
  698. data/lib/decidim/api/categorizable_interface.rb +1 -1
  699. data/lib/decidim/api/coauthorable_interface.rb +29 -0
  700. data/lib/decidim/api/endorsable_interface.rb +22 -0
  701. data/lib/decidim/api/fingerprint_interface.rb +13 -0
  702. data/lib/decidim/api/participatory_space_interface.rb +11 -9
  703. data/lib/decidim/api/participatory_space_resourceable_interface.rb +21 -0
  704. data/lib/decidim/api/scopable_interface.rb +1 -1
  705. data/lib/decidim/api/timestamps_interface.rb +21 -0
  706. data/lib/decidim/api/traceable_interface.rb +14 -0
  707. data/lib/decidim/authorable.rb +22 -1
  708. data/lib/decidim/authorization_form_builder.rb +7 -0
  709. data/lib/decidim/coauthorable.rb +32 -3
  710. data/lib/decidim/component_manifest.rb +61 -6
  711. data/lib/decidim/content_parsers.rb +1 -0
  712. data/lib/decidim/content_parsers/user_group_parser.rb +61 -0
  713. data/lib/decidim/content_parsers/user_parser.rb +3 -5
  714. data/lib/decidim/content_processor.rb +54 -29
  715. data/lib/decidim/content_renderers.rb +1 -0
  716. data/lib/decidim/content_renderers/base_renderer.rb +1 -1
  717. data/lib/decidim/content_renderers/hashtag_renderer.rb +2 -0
  718. data/lib/decidim/content_renderers/link_renderer.rb +4 -1
  719. data/lib/decidim/content_renderers/user_group_renderer.rb +32 -0
  720. data/lib/decidim/content_renderers/user_renderer.rb +3 -1
  721. data/lib/decidim/core.rb +134 -34
  722. data/lib/decidim/core/api.rb +8 -0
  723. data/lib/decidim/core/engine.rb +149 -27
  724. data/lib/decidim/core/test.rb +18 -0
  725. data/lib/decidim/core/test/factories.rb +157 -10
  726. data/lib/decidim/core/test/shared_examples/acts_as_author_examples.rb +12 -0
  727. data/lib/decidim/core/test/shared_examples/admin_resource_gallery_examples.rb +79 -0
  728. data/lib/decidim/core/test/shared_examples/amendable/accept_amendment_examples.rb +4 -4
  729. data/lib/decidim/core/test/shared_examples/amendable_interface_examples.rb +14 -0
  730. data/lib/decidim/core/test/shared_examples/amendable_proposals_interface_examples.rb +50 -0
  731. data/lib/decidim/core/test/shared_examples/authorable_interface_examples.rb +3 -0
  732. data/lib/decidim/core/test/shared_examples/back_to_list_button_examples.rb +17 -0
  733. data/lib/decidim/core/test/shared_examples/coauthorable_interface_examples.rb +60 -0
  734. data/lib/decidim/core/test/shared_examples/comments_examples.rb +118 -13
  735. data/lib/decidim/core/test/shared_examples/edit_link_shared_examples.rb +5 -1
  736. data/lib/decidim/core/test/shared_examples/embed_resource_examples.rb +49 -0
  737. data/lib/decidim/core/test/shared_examples/endorsable_interface_examples.rb +22 -0
  738. data/lib/decidim/core/test/shared_examples/endorsements_controller_shared_context.rb +22 -0
  739. data/lib/decidim/core/test/shared_examples/fingerprintable_interface_examples.rb +17 -0
  740. data/lib/decidim/core/test/shared_examples/follows_examples.rb +18 -2
  741. data/lib/decidim/core/test/shared_examples/input_filter_examples.rb +118 -0
  742. data/lib/decidim/core/test/shared_examples/input_sort_examples.rb +126 -0
  743. data/lib/decidim/core/test/shared_examples/logo_email.rb +20 -0
  744. data/lib/decidim/core/test/shared_examples/manage_component_share_tokens.rb +83 -0
  745. data/lib/decidim/core/test/shared_examples/map_examples.rb +186 -0
  746. data/lib/decidim/core/test/shared_examples/metric_manage_shared_context.rb +9 -0
  747. data/lib/decidim/core/test/shared_examples/participatory_space_resourcable_interface_examples.rb +43 -0
  748. data/lib/decidim/core/test/shared_examples/permissions.rb +143 -0
  749. data/lib/decidim/core/test/shared_examples/preview_component_with_share_token_examples.rb +55 -0
  750. data/lib/decidim/core/test/shared_examples/reports_examples.rb +4 -4
  751. data/lib/decidim/core/test/shared_examples/resource_search_examples.rb +200 -0
  752. data/lib/decidim/core/test/shared_examples/rich_text_editor_examples.rb +59 -0
  753. data/lib/decidim/core/test/shared_examples/scopable_resource_examples.rb +43 -0
  754. data/lib/decidim/core/test/shared_examples/scope_helper_examples.rb +12 -1
  755. data/lib/decidim/core/test/shared_examples/searchable_participatory_space_examples.rb +144 -0
  756. data/lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb +12 -0
  757. data/lib/decidim/core/test/shared_examples/searchable_results_examples.rb +15 -2
  758. data/lib/decidim/core/test/shared_examples/simple_event.rb +8 -0
  759. data/lib/decidim/core/test/shared_examples/system_endorse_resource_examples.rb +166 -0
  760. data/lib/decidim/core/test/shared_examples/timestamps_interface_examples.rb +21 -0
  761. data/lib/decidim/core/test/shared_examples/traceable_interface_examples.rb +47 -0
  762. data/lib/decidim/core/test/shared_examples/uncommentable_component_examples.rb +1 -1
  763. data/lib/decidim/core/test/shared_examples/with_endorsable_permissions_examples.rb +89 -0
  764. data/lib/decidim/core/version.rb +1 -1
  765. data/lib/decidim/deprecations.rb +19 -0
  766. data/lib/decidim/diffy_extension.rb +47 -0
  767. data/lib/decidim/endorsable.rb +25 -0
  768. data/lib/decidim/events.rb +1 -0
  769. data/lib/decidim/events/base_event.rb +11 -9
  770. data/lib/decidim/events/user_group_event.rb +45 -0
  771. data/lib/decidim/exporters.rb +7 -1
  772. data/lib/decidim/exporters/csv.rb +16 -2
  773. data/lib/decidim/exporters/excel.rb +1 -1
  774. data/lib/decidim/exporters/export_manifest.rb +105 -0
  775. data/lib/decidim/exporters/pdf.rb +56 -0
  776. data/lib/decidim/faker/localized.rb +10 -0
  777. data/lib/decidim/file_validator_humanizer.rb +98 -0
  778. data/lib/decidim/filter_form_builder.rb +38 -11
  779. data/lib/decidim/form_builder.rb +240 -44
  780. data/lib/decidim/geocodable.rb +79 -0
  781. data/lib/decidim/has_attachments.rb +11 -1
  782. data/lib/decidim/has_settings.rb +10 -4
  783. data/lib/decidim/has_upload_validations.rb +36 -0
  784. data/lib/decidim/map.rb +214 -0
  785. data/lib/decidim/map/autocomplete.rb +67 -0
  786. data/lib/decidim/map/dynamic_map.rb +89 -0
  787. data/lib/decidim/map/frontend.rb +97 -0
  788. data/lib/decidim/map/geocoding.rb +115 -0
  789. data/lib/decidim/map/provider.rb +12 -0
  790. data/lib/decidim/map/provider/autocomplete/here.rb +20 -0
  791. data/lib/decidim/map/provider/autocomplete/osm.rb +20 -0
  792. data/lib/decidim/map/provider/dynamic_map/here.rb +51 -0
  793. data/lib/decidim/map/provider/dynamic_map/osm.rb +13 -0
  794. data/lib/decidim/map/provider/geocoding/here.rb +58 -0
  795. data/lib/decidim/map/provider/geocoding/osm.rb +30 -0
  796. data/lib/decidim/map/provider/here.rb +21 -0
  797. data/lib/decidim/map/provider/osm.rb +22 -0
  798. data/lib/decidim/map/provider/static_map/here.rb +35 -0
  799. data/lib/decidim/map/provider/static_map/osm.rb +29 -0
  800. data/lib/decidim/map/static_map.rb +133 -0
  801. data/lib/decidim/map/utility.rb +38 -0
  802. data/lib/decidim/organization_settings.rb +267 -0
  803. data/lib/decidim/participable.rb +6 -0
  804. data/lib/decidim/participatory_space_manifest.rb +68 -0
  805. data/lib/decidim/participatory_space_resourceable.rb +43 -1
  806. data/lib/decidim/query_extensions.rb +19 -23
  807. data/lib/decidim/resource_manifest.rb +1 -1
  808. data/lib/decidim/resourceable.rb +1 -1
  809. data/lib/decidim/scopable.rb +19 -6
  810. data/lib/decidim/scopable_component.rb +29 -1
  811. data/lib/decidim/scopable_participatory_space.rb +19 -0
  812. data/lib/decidim/scopable_resource.rb +21 -0
  813. data/lib/decidim/search_resource_fields_mapper.rb +15 -2
  814. data/lib/decidim/searchable.rb +23 -1
  815. data/lib/decidim/settings_manifest.rb +16 -1
  816. data/lib/decidim/shareable_with_token.rb +27 -0
  817. data/lib/decidim/snippets.rb +30 -0
  818. data/lib/decidim/translatable_attributes.rb +42 -4
  819. data/lib/decidim/translatable_resource.rb +78 -0
  820. data/lib/decidim/view_model.rb +5 -0
  821. data/lib/tasks/decidim_data_portability_tasks.rake +66 -5
  822. data/lib/tasks/decidim_locales_tasks.rake +35 -0
  823. data/lib/tasks/decidim_metrics_tasks.rake +18 -7
  824. data/lib/tasks/decidim_tasks.rake +2 -0
  825. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.bg.js +14 -0
  826. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.da.js +14 -0
  827. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.el.js +14 -0
  828. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.eo.js +17 -0
  829. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.et.js +18 -0
  830. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.fr-CA.js +16 -0
  831. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.ga.js +15 -0
  832. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.hr.js +13 -0
  833. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.is.js +14 -0
  834. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.ja.js +16 -0
  835. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.lt.js +16 -0
  836. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.lv.js +17 -0
  837. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.mt.js +15 -0
  838. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.ro.js +15 -0
  839. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.sk.js +14 -0
  840. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.sl.js +14 -0
  841. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.sr.js +16 -0
  842. data/vendor/assets/javascripts/leaflet-tilelayer-here.js +200 -155
  843. data/vendor/assets/javascripts/svg4everybody.min.js +1 -2
  844. data/vendor/assets/javascripts/tribute.js +1690 -1621
  845. metadata +458 -46
  846. data/app/assets/images/decidim/gamification/badges/continuity.svg +0 -73
  847. data/app/assets/javascripts/decidim/vizzs/orgchart.js.es6 +0 -699
  848. data/app/assets/stylesheets/decidim/email.css +0 -1403
  849. data/app/assets/stylesheets/decidim/modules/_input-hashtags.scss +0 -124
  850. data/app/helpers/decidim/multi_translation_helper.rb +0 -0
  851. data/app/models/decidim/continuity_badge_status.rb +0 -9
  852. data/app/models/decidim/participatory_process_user_role.rb +0 -32
  853. data/app/services/decidim/continuity_badge_tracker.rb +0 -64
  854. data/app/views/decidim/messaging/conversations/_message.html.erb +0 -14
  855. data/lib/decidim/components/export_manifest.rb +0 -63
  856. data/lib/decidim/data_portability_file_reader.rb +0 -56
  857. data/lib/decidim/data_portability_file_zipper.rb +0 -67
  858. data/lib/decidim/hashtaggable.rb +0 -24
@@ -4,6 +4,8 @@ en:
4
4
  attributes:
5
5
  account:
6
6
  delete_reason: Reason to delete your account
7
+ common:
8
+ created_at: Created at
7
9
  group:
8
10
  about: About
9
11
  avatar: Avatar
@@ -34,6 +36,7 @@ en:
34
36
  decidim/profile_updated_event: Profile updated
35
37
  decidim/promote_to_admin: Promoted to group admin
36
38
  decidim/removed_from_group: Removed from group
39
+ decidim/resource_endorsed_event: Resurce endorsed
37
40
  activerecord:
38
41
  attributes:
39
42
  decidim/user:
@@ -47,6 +50,9 @@ en:
47
50
  decidim/amendment:
48
51
  one: Amendment
49
52
  other: Amendments
53
+ decidim/endorsement:
54
+ one: Endorsement
55
+ other: Endorsements
50
56
  decidim/user:
51
57
  one: Participant
52
58
  other: Participants
@@ -58,7 +64,9 @@ en:
58
64
  'true': 'Yes'
59
65
  carrierwave:
60
66
  errors:
67
+ general: Error processing image
61
68
  image_too_big: The image is too big
69
+ not_inside_organization: The file is not attached to any organization
62
70
  date:
63
71
  formats:
64
72
  decidim_short: "%d/%m/%Y"
@@ -67,11 +75,13 @@ en:
67
75
  decidim_with_month_name: "%d %B %Y"
68
76
  decidim_with_month_name_short: "%d %b"
69
77
  decidim:
78
+ accessibility:
79
+ external_link: External link
80
+ logo: "%{organization}'s official logo"
81
+ skip_button: Skip to main content
70
82
  account:
71
83
  data_portability_export:
72
84
  file_no_exists: File does not exist
73
- invalid_token: The provided token is invalid.
74
- no_token: No token provided
75
85
  notice: The download of your data is currently in progress. You'll receive an email when it's complete.
76
86
  delete:
77
87
  alert: This action cannot be undone. If you delete your account you won't be able to log in.
@@ -91,6 +101,9 @@ en:
91
101
  error: There was a problem updating your account.
92
102
  success: Your account was successfully updated.
93
103
  success_with_email_confirmation: Your account was successfully updated. You'll receive an email to confirm your new email address.
104
+ admin:
105
+ actions:
106
+ cancel: Cancel
94
107
  admin_log:
95
108
  area:
96
109
  create: "%{user_name} created the %{resource_name} area"
@@ -134,11 +147,16 @@ en:
134
147
  invite: "%{user_name} invited the participant %{resource_name} with role: %{role}"
135
148
  officialize: "%{user_name} officialized the participant %{resource_name}"
136
149
  remove_from_admin: "%{user_name} removed the participant %{resource_name} with role: %{role}"
150
+ show_email: "%{user_name} retrieved the email of the participant %{resource_name}"
137
151
  unofficialize: "%{user_name} unofficialized the participant %{resource_name}"
138
152
  user_group:
139
153
  reject: "%{user_name} rejected the %{resource_name} group verification"
140
154
  verify: "%{user_name} verified the group %{resource_name}"
141
155
  verify_via_csv: "%{user_name} verified the group %{resource_name} via a CSV file"
156
+ admin_terms_of_use:
157
+ default_body: "<h2>ADMIN TERMS OF USE</h2><p>We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:</p><ol><li>Respect the privacy of others.</li><li>Think before you click.</li><li>With great power comes great responsibility.</li></ol>"
158
+ alert:
159
+ dismiss: Dismiss notification
142
160
  amendments:
143
161
  accepted:
144
162
  error: An error ocurred while accepting the amendment.
@@ -209,9 +227,6 @@ en:
209
227
  update_draft:
210
228
  error: There was a problem updating the amendment draft.
211
229
  success: Amendment draft successfully updated.
212
- visibility_options:
213
- all: Amendments are visible to all
214
- participants: Amendments are visible only to their authors
215
230
  withdraw:
216
231
  error: An error ocurred while withdrawing the amendment
217
232
  success: The amendment has been withdrawn successfully
@@ -227,25 +242,35 @@ en:
227
242
  documents:
228
243
  one: Document
229
244
  other: Documents
245
+ document:
246
+ download: Download file
230
247
  documents:
231
248
  related_documents: Related documents
232
249
  photos:
233
250
  related_photos: Related images
234
251
  author:
252
+ avatar: Avatar
235
253
  comments:
236
254
  one: comment
237
255
  other: comments
256
+ endorsements:
257
+ one: endorsement
258
+ other: endorsements
238
259
  authorization_handlers:
239
260
  another_dummy_authorization_handler:
240
261
  explanation: Get verified by introducing a passport number starting with "A"
241
262
  fields:
242
263
  passport_number: Passport number
264
+ postal_code: Postal code
243
265
  name: Another example authorization
244
266
  dummy_authorization_handler:
245
267
  explanation: Get verified by introducing a document number ending with "X"
246
268
  fields:
269
+ allowed_postal_codes: Allowed postal codes (separated by commas)
270
+ allowed_scope_id: Allowed scope
247
271
  document_number: Document number
248
272
  postal_code: Postal code
273
+ scope_id: Scope
249
274
  name: Example authorization
250
275
  dummy_authorization_workflow:
251
276
  name: Dummy authorization workflow
@@ -259,6 +284,7 @@ en:
259
284
  foo: Foo
260
285
  name: Foo authorization
261
286
  granted_at: Granted at %{timestamp}
287
+ renew: Renew verification
262
288
  sms:
263
289
  explanation: Submit your mobile phone number so we can check your identity.
264
290
  name: Code by SMS
@@ -293,6 +319,8 @@ en:
293
319
  explanation_html: In order to perform this action you need to be authorized, before doing that you need to confirm your email <strong>%{email}</strong>.
294
320
  request_confirmation_instructions: Request confirmation instructions
295
321
  title: Confirm your email
322
+ show:
323
+ close_modal: Close modal
296
324
  collapsible_list:
297
325
  hidden_elements_count:
298
326
  one: and %{count} more
@@ -300,6 +328,19 @@ en:
300
328
  see_less: "(see less)"
301
329
  see_more: "(see more)"
302
330
  components:
331
+ component_order_selector:
332
+ no_content: We couldn\'t find any content with this criteria
333
+ order:
334
+ all_types: All types
335
+ collaborative_draft: Collaborative Draft
336
+ comment: Comment
337
+ debate: Debate
338
+ initiative: Initiative
339
+ meeting: Meeting
340
+ post: Post
341
+ proposal: Proposal
342
+ question: Question
343
+ title: 'Show:'
303
344
  dummy:
304
345
  actions:
305
346
  bar: Bar
@@ -309,11 +350,14 @@ en:
309
350
  global:
310
351
  amendments_enabled: Amendments enabled
311
352
  comments_enabled: Comments enabled
353
+ comments_max_length: Comments max length
312
354
  dummy_global_attribute_1: Dummy Attribute 1
313
355
  dummy_global_attribute_2: Dummy Attribute 2
314
356
  dummy_global_translatable_text: Dummy Translatable Text
315
357
  enable_pads_creation: Enable pads creation
316
358
  resources_permissions_enabled: Resources permissions enabled
359
+ scope_id: Scope
360
+ scopes_enabled: Scopes enabled
317
361
  step:
318
362
  amendment_creation_enabled: Amendment creation enabled
319
363
  amendment_promotion_enabled: Amendment promotion enabled
@@ -329,6 +373,9 @@ en:
329
373
  name: Footer sub hero banner
330
374
  hero:
331
375
  name: Hero image
376
+ hero_settings_form:
377
+ background_image: Background image
378
+ welcome_text: Welcome text
332
379
  highlighted_content_banner:
333
380
  name: Highlighted content banner
334
381
  how_to_participate:
@@ -343,7 +390,7 @@ en:
343
390
  metrics:
344
391
  name: Organization metrics
345
392
  stats:
346
- name: Organization stats
393
+ name: Organization statistics
347
394
  sub_hero:
348
395
  name: Sub hero banner
349
396
  core:
@@ -396,7 +443,7 @@ en:
396
443
  buttons:
397
444
  check: Check and continue
398
445
  close_modal: Close modal
399
- uncheck: Keep uncheck
446
+ uncheck: Keep unchecked
400
447
  notice: |-
401
448
  <p>Hey, are you sure you don't want to receive a newsletter?<br>
402
449
  Please consider again ticking the newsletter checkbox below.<br>
@@ -426,6 +473,16 @@ en:
426
473
  this_application_will_not_be_able_to: 'This application will not be able to:'
427
474
  update_profile: Update your profile
428
475
  wants_to_use_your_account_html: "<strong>%{application_name}</strong> wants to use your account"
476
+ endorsable:
477
+ endorsements: Endorsements
478
+ endorsements_count: Endorsements count
479
+ endorsement_buttons_cell:
480
+ already_endorsed: Endorsed
481
+ endorse: Endorse
482
+ endorsements:
483
+ identities:
484
+ done: Done
485
+ select_identity: Select identity
429
486
  errors:
430
487
  internal_server_error:
431
488
  title: There was a problem with our server
@@ -544,8 +601,23 @@ en:
544
601
  email_outro: You have received this notification because you were a member of that group.
545
602
  email_subject: You have been removed from the %{user_group_name} group!
546
603
  notification_title: You have been removed from the <a href="%{resource_path}">%{user_group_name}</a> group.
604
+ user_group_created:
605
+ email_intro: A new user group has been created with the name %{user_group_name}. You can now verify it in the <a href="%{groups_admin_url}">admin panel</a>.
606
+ email_outro: You have received this notification because you are an admin of the platform.
607
+ email_subject: A new user group has been created
608
+ notification_title: The %{user_group_name} user group has been created. You can now verify it in the <a href="%{groups_admin_path}">admin panel</a>.
609
+ user_group_updated:
610
+ email_intro: A user group with the name %{user_group_name} has updated its profile, leaving it unverified. You can now verify it in the <a href="%{groups_admin_url}">admin panel</a>.
611
+ email_outro: You have received this notification because you are an admin of the platform.
612
+ email_subject: A user group has updated its profile
613
+ notification_title: The %{user_group_name} user group has updated its profile, leaving it unverified. You can now verify it in the <a href="%{groups_admin_path}">admin panel</a>.
547
614
  notification_event:
548
615
  notification_title: An event occured to <a href="%{resource_path}">%{resource_title}</a>.
616
+ resource_endorsed:
617
+ email_intro: '%{endorser_name} %{endorser_nickname}, who you are following, has just endorsed "%{resource_title}" and we think it may be interesting to you. Check it out and contribute:'
618
+ email_outro: You have received this notification because you are following %{endorser_nickname}. You can stop receiving notifications following the previous link.
619
+ email_subject: "%{endorser_nickname} has performed a new endorsement"
620
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> %{resource_type} has been endorsed by <a href="%{endorser_path}">%{endorser_name} %{endorser_nickname}</a>.
549
621
  users:
550
622
  profile_updated:
551
623
  email_intro: The <a href="%{resource_url}">profile page</a> of %{name} (%{nickname}), who you are following, has been updated.
@@ -554,7 +626,7 @@ en:
554
626
  notification_title: The <a href="%{resource_path}">profile page</a> of %{name} (%{nickname}), who you are following, has been updated.
555
627
  export_mailer:
556
628
  data_portability_export:
557
- click_button: Click the next button to download your data. <br/> You will have the file available until %{date}.
629
+ click_button: 'Click the next button to download your data. <br/> You will have the file available until %{date}. <br/> You will need <a href=''https://www.7-zip.org/''>7-Zip</a> to open it. Password: %{password}'
558
630
  download: Download
559
631
  export:
560
632
  ready: Please find attached a zipped version of your export.
@@ -577,6 +649,9 @@ en:
577
649
  title: Fingerprint
578
650
  value: Value
579
651
  followers:
652
+ followers_count:
653
+ one: "%{count} follower"
654
+ other: "%{count} followers"
580
655
  no_followers: No followers yet.
581
656
  following:
582
657
  no_followings: Doesn't follow anyone or anything yet.
@@ -584,6 +659,7 @@ en:
584
659
  create:
585
660
  button: Follow
586
661
  error: There was a problem following this resource.
662
+ participatory_space: Already following <span class="show-for-sr">%{resource_name}</span>
587
663
  destroy:
588
664
  button: Stop following
589
665
  error: There was a problem unfollowing this resource.
@@ -596,20 +672,22 @@ en:
596
672
  password: The password is too short.
597
673
  password_confirmation: Password confirmation must match the password.
598
674
  error: There's an error in this field.
675
+ file_help:
676
+ file:
677
+ explanation: 'Guidance for file:'
678
+ message_1: Has to be an image or a document.
679
+ message_2: For images, use preferrably landscape images, the service crops the image.
680
+ image:
681
+ explanation: 'Guidance for image:'
682
+ message_1: Preferrably a landscape image that does not have any text.
683
+ message_2: The service crops the image.
684
+ file_validation:
685
+ allowed_file_extensions: 'Allowed file extensions: %{extensions}'
686
+ max_file_size: 'Maximum file size: %{megabytes}MB'
599
687
  remove_this_file: Remove this file
600
688
  gamification:
601
689
  all_badges_link: See all available badges.
602
690
  badges:
603
- continuity:
604
- conditions:
605
- - Come here often
606
- description: This badge is granted when you visit the platform in a regular way. We like having you around here!
607
- description_another: This participant has connected for %{score} consecutive days at some point.
608
- description_own: You have connected for %{score} consecutive days at some point.
609
- name: Continuity
610
- next_level_in: Connect for %{score} consecutive days to get to the next level!
611
- unearned_another: This participant hasn't signed in for more than one consecutive day.
612
- unearned_own: You haven't connected for more than one consecutive day.
613
691
  followers:
614
692
  conditions:
615
693
  - Being active and following other people will surely make other people follow you.
@@ -759,6 +837,13 @@ en:
759
837
  not_found: 'The scope type was not found on the database (ID: %{id})'
760
838
  managed_users:
761
839
  expired_session: The current administration session of a participant has expired.
840
+ map:
841
+ dynamic:
842
+ screen_reader_explanation: The following element is a map which presents the items on this page as map points. The element can be used with a screen reader but it may be hard to understand.
843
+ skip_button: Skip map
844
+ static:
845
+ latlng_text: 'latitude: %{latitude}, longitude: %{longitude}'
846
+ map_service_brand: OpenStreetMap
762
847
  members:
763
848
  no_members: This group doesn't have any members yet.
764
849
  menu:
@@ -766,32 +851,80 @@ en:
766
851
  home: Home
767
852
  messaging:
768
853
  conversation_mailer:
854
+ comanagers_new_conversation:
855
+ admin_in_group: You are receiving this because you are an admin in %{group}.
856
+ greeting: Hi, %{recipient}!
857
+ intro: "%{manager} has started a new conversation in the name of %{group}. Click here to see it:"
858
+ outro: Enjoy decidim!
859
+ subject: "%{manager} has started a new conversation as a %{group}"
860
+ comanagers_new_message:
861
+ admin_in_group: You are receiving this because you are an admin in %{group}.
862
+ greeting: Hi, %{recipient}!
863
+ intro: "%{manager} has posted new messages in a conversation in the name of %{group}. Click here to see them:"
864
+ outro: Enjoy decidim!
865
+ subject: "%{manager} has send new messages as a %{group}"
769
866
  new_conversation:
770
867
  greeting: Hi, %{recipient}!
771
868
  intro: "%{sender} has started a new conversation with you. Click here to see it:"
772
869
  outro: Enjoy decidim!
773
870
  subject: "%{sender} has started a conversation with you"
871
+ new_group_conversation:
872
+ admin_in_group: You are receiving this because you are an admin in %{group}.
873
+ greeting: Hi, %{recipient}!
874
+ intro: "%{sender} has started a new conversation with the group %{group}. Click here to see it:"
875
+ outro: Enjoy decidim!
876
+ subject: "%{sender} has started a conversation with %{group}"
877
+ new_group_message:
878
+ admin_in_group: You are receiving this because you are an admin in %{group}.
879
+ greeting: Hi, %{recipient}!
880
+ intro: "%{sender} has posted new messages in a conversation with the group %{group}. Click here to see it:"
881
+ outro: Enjoy decidim!
882
+ subject: "%{group} have new messages from %{sender}"
774
883
  new_message:
775
884
  greeting: Hi, %{recipient}!
776
885
  intro: "%{sender} has posted new messages in your conversation. Click here to see them:"
777
886
  outro: Enjoy decidim!
778
887
  subject: You have new messages from %{sender}
779
888
  conversations:
889
+ add_conversation_users:
890
+ add_max_users: 'Add users to conversation: 9 users max'
891
+ add_users_placeholder: Search...
892
+ modal_title: New conversation
893
+ no_results: No results
894
+ participant_with_disabled_message_reception: This participant has disabled message reception
895
+ conversation:
896
+ show: Show conversation with %{sender}
780
897
  create:
781
898
  error: Conversation not started. Try again later
899
+ error_modal:
900
+ close: Close modal
901
+ correct_errors: Please correct the errors and try again.
902
+ intro: 'There were the following errors with your message:'
903
+ ok: OK
782
904
  index:
905
+ ago: ago
906
+ close: Close modal
907
+ from: From
908
+ groups: My groups
909
+ last_message: Last message
910
+ new_conversation: New conversation
911
+ next: Next
783
912
  no_conversations: You have no conversations yet
784
913
  title: Conversations
785
914
  reply:
915
+ placeholder: Your reply...
786
916
  send: Send
787
917
  title: Reply
788
918
  show:
919
+ back: Back to all conversations
920
+ chat_with: Conversation with
921
+ not_allowed: This user does not accept any more direct messages.
789
922
  title: Conversation with %{usernames}
790
923
  start:
791
924
  send: Send
792
925
  title: Start a conversation
793
926
  update:
794
- error: Message not sent. Try again later
927
+ error: Message was not sent due to an error
795
928
  metrics:
796
929
  download:
797
930
  csv: Download data (csv)
@@ -812,6 +945,25 @@ en:
812
945
  note: You received this email because you're subscribed to newsletters on %{organization_name}. You can change your settings on your <a href="%{link}">notifications page</a>.
813
946
  see_on_website: Can’t see this email correctly? View it on the <a href="%{link}" target="_blank">website</a>.
814
947
  unsubscribe: To opt out of receiving this type of email, <a href="%{link}" target="_blank" class="unsubscribe">Unsubscribe</a>.
948
+ newsletter_templates:
949
+ basic_only_text:
950
+ body_preview: 'Dummy text for body: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque fringilla nisl tellus. Donec sed mi dui. Sed efficitur libero a felis tempor sollicitudin. Nullam vestibulum fringilla felis, id efficitur lorem sagittis et. Vivamus aliquam maximus velit vel dapibus. Mauris pellentesque, enim eu varius lacinia, risus ante rutrum ipsum, non lobortis augue lorem quis urna. Aenean et malesuada arcu.'
951
+ name: Basic (only text)
952
+ basic_only_text_settings_form:
953
+ body: Body
954
+ interpolations_hint: 'Hint: You can use "%{name}" anywhere in the body or subject and it will be replaced by the recipient''s name.'
955
+ image_text_cta:
956
+ body_preview: 'Dummy text for body: Maecenas ac nisl vitae lectus pretium facilisis. Etiam facilisis sem nibh, sit amet rutrum mi aliquam nec. Sed id urna at nisl pretium mollis eu vel velit. Proin vitae suscipit urna, sed faucibus urna. Pellentesque id libero vulputate ipsum scelerisque suscipit. Nam aliquam sodales mi sit amet cursus. Donec mattis faucibus purus. Aenean tincidunt porta lorem ac commodo. Vestibulum in mollis mi. Morbi eros erat, cursus ut tortor sit amet, imperdiet dapibus arcu. Suspendisse id egestas enim. In eget magna sed enim efficitur elementum sit amet aliquam quam. Donec fermentum metus eget urna luctus pulvinar.'
957
+ cta_text_preview: Call To Action text
958
+ introduction_preview: 'Dummy text for introduction: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque fringilla nisl tellus. Donec sed mi dui. Sed efficitur libero a felis tempor sollicitudin. Nullam vestibulum fringilla felis, id efficitur lorem sagittis et. Vivamus aliquam maximus velit vel dapibus. Mauris pellentesque, enim eu varius lacinia, risus ante rutrum ipsum, non lobortis augue lorem quis urna. Aenean et malesuada arcu.'
959
+ name: Image, text and Call To Action button
960
+ image_text_cta_settings_form:
961
+ body: Body
962
+ cta_text: Call To Action button text
963
+ cta_url: Call To Action button URL
964
+ interpolations_hint: 'Hint: You can use "%{name}" anywhere in the introduction, body, CTA text or subject and it will be replaced by the recipient''s name.'
965
+ introduction: Introduction
966
+ main_image: Main image
815
967
  newsletters:
816
968
  unsubscribe:
817
969
  check_subscription: If you want to change your preferences, you can do so in the <a href="%{link}" target="_blank">configuration page</a>
@@ -837,6 +989,8 @@ en:
837
989
  no_notifications: No notifications yet.
838
990
  notifications_settings:
839
991
  show:
992
+ allow_public_contact: Allow anyone to send me a direct message, even if I don't follow them.
993
+ direct_messages: Receive direct messages from anyone
840
994
  email_on_notification: I want to receive an email every time I receive a notification.
841
995
  everything_followed: Everything I follow
842
996
  newsletter_notifications: I want to receive newsletters
@@ -867,7 +1021,7 @@ en:
867
1021
  how_to_participate: How do I take part in a process?
868
1022
  meetings: Meetings
869
1023
  meetings_explanation: Find out where and when you can participate in public meetings.
870
- more_info: More info
1024
+ more_info: More info about %{resource_name}
871
1025
  proposals: Proposals
872
1026
  proposals_explanation: Make proposals, support existing ones and promote the changes you want to see.
873
1027
  footer_sub_hero:
@@ -878,7 +1032,7 @@ en:
878
1032
  participate: Participate
879
1033
  welcome: Welcome to %{organization}!
880
1034
  metrics:
881
- headline: Participation in figures
1035
+ headline: Metrics
882
1036
  statistics:
883
1037
  answers_count: Completed Surveys
884
1038
  assemblies_count: Assemblies
@@ -908,14 +1062,14 @@ en:
908
1062
  topics: Topics
909
1063
  participatory_space:
910
1064
  metrics:
911
- headline: Participation in figures
912
- link: Show all statistics
1065
+ headline: Metrics
1066
+ link: Show all metrics
913
1067
  terms_and_conditions:
914
1068
  accept:
915
1069
  error: There was a problem accepting the terms and conditions.
916
1070
  success: Great! You have accepted the terms and conditions.
917
1071
  form:
918
- agreement: I agree this terms
1072
+ agreement: I agree with these terms
919
1073
  legend: Agree to the terms and conditions of use
920
1074
  refuse:
921
1075
  modal_body: If you refuse, you won't be able to use the platform, you can <a href="%{data_portability_path}">download your data</a> and/or <a href="%{delete_path}">delete your account</a>.
@@ -939,10 +1093,12 @@ en:
939
1093
  show:
940
1094
  activity: Activity
941
1095
  badges: Badges
1096
+ conversations: Conversations
942
1097
  followers: Followers
943
1098
  following: Follows
944
1099
  groups: Groups
945
1100
  members: Members
1101
+ officialized: Official participant
946
1102
  timeline: Timeline
947
1103
  view_full_profile: View full profile
948
1104
  sidebar:
@@ -968,23 +1124,37 @@ en:
968
1124
  report_html: <p>The following <a href="%{url}">content</a> has been hidden automatically.</p>
969
1125
  subject: A resource has been hidden automatically
970
1126
  report:
1127
+ authors: Authors
1128
+ content: Reported content
1129
+ date: Reported on
1130
+ details: Details
971
1131
  hello: Hello %{name},
972
1132
  manage_moderations: Manage moderations
1133
+ participatory_space: Participatory space
1134
+ reason: Reason
973
1135
  report_html: <p>The following <a href="%{url}">content</a> has been reported.</p>
974
1136
  subject: A resource has been reported
975
1137
  reports:
976
1138
  create:
977
1139
  error: An error ocurred while creating the report. Please, try it again.
978
1140
  success: The report has been created successfully and it will be reviewed by an admin.
1141
+ resource_endorsements:
1142
+ create:
1143
+ error: There was a problem during the endorsement action.
979
1144
  scopes:
980
1145
  global: Global scope
981
1146
  picker:
982
1147
  cancel: Cancel
1148
+ change: Change selected scope
983
1149
  choose: Select
1150
+ currently_selected: Currently selected scope
984
1151
  title: Select %{field}
985
1152
  prompt: Select a scope
986
1153
  scopes: Scopes
1154
+ scopes_picker_input:
1155
+ select_scope: 'Select a scope (currently: %{current})'
987
1156
  search:
1157
+ results: Search results
988
1158
  results_found_for_term: '%{count} Results for the search: "%{term}"'
989
1159
  term_input_placeholder: Search
990
1160
  searches:
@@ -1006,7 +1176,16 @@ en:
1006
1176
  one: "%{count} result"
1007
1177
  other: "%{count} results"
1008
1178
  view_all: View all (%{count})
1179
+ security:
1180
+ selfxss_warning:
1181
+ description: This browser feature is meant for developers and you should not paste anything here if you were asked to do so. Pasting content in this window can compromise your privacy and give hackers access to your account.
1182
+ title: Stop!
1009
1183
  shared:
1184
+ confirm_modal:
1185
+ cancel: Cancel
1186
+ close_modal: Close modal
1187
+ ok: OK
1188
+ title: Confirm
1010
1189
  embed_modal:
1011
1190
  close_window: Close window
1012
1191
  embed: Please paste this code in your page
@@ -1014,6 +1193,9 @@ en:
1014
1193
  extended_navigation_bar:
1015
1194
  more: More
1016
1195
  unfold: Unfold
1196
+ filter_form_help:
1197
+ help: The form below filters the search results dynamically when the search conditions are changed.
1198
+ skip: Skip to results
1017
1199
  flag_modal:
1018
1200
  already_reported: This content is already reported and it will be reviewed by an admin.
1019
1201
  close: Close
@@ -1022,12 +1204,14 @@ en:
1022
1204
  offensive: Contains racism, sexism, slurs, personal attacks, death threats, suicide requests or any form of hate speech.
1023
1205
  report: Report
1024
1206
  spam: Contains clickbait, advertising, scams or script bots.
1025
- title: Report a problem
1207
+ title: Report inappropriate content
1026
1208
  floating_help:
1209
+ close: Close help
1027
1210
  help: Help
1028
1211
  follow_button:
1029
1212
  sign_in_before_follow: Please sign in before performing this action
1030
1213
  login_modal:
1214
+ close_modal: Close modal
1031
1215
  please_sign_in: Please sign in
1032
1216
  sign_up: Sign up
1033
1217
  participatory_space_filters:
@@ -1041,15 +1225,52 @@ en:
1041
1225
  select_user_group: Select a group
1042
1226
  results_per_page:
1043
1227
  label: 'Results per page:'
1228
+ title: Select number of results per page
1044
1229
  share_modal:
1045
1230
  close_window: Close window
1046
1231
  share: Share
1047
1232
  share_link: Share link
1048
- version_author:
1049
- deleted: Deleted participant
1233
+ tags:
1234
+ filter_results_for_category: 'Filter results for category: %{resource}'
1235
+ filter_results_for_scope: 'Filter results for scope: %{resource}'
1236
+ translation_bar:
1237
+ help_text: "<strong>Warning:</strong> Content might be automatically translated and not be 100% accurate."
1238
+ show_original: Show original text
1239
+ show_translated: Show automatically-translated text
1050
1240
  user_activity:
1051
1241
  index:
1052
1242
  no_activities_warning: This participant hasn't had any activity yet.
1243
+ user_contact_disabled: This participant does not accept direct messages.
1244
+ user_conversations:
1245
+ create:
1246
+ error: The message could not be created. Try again later
1247
+ existing_error: The message could not be created. The conversation already exists, please try again now.
1248
+ success: Conversation started successfully!
1249
+ index:
1250
+ add_max_users: 'Add users to conversation: 9 users max'
1251
+ add_users_placeholder: Search...
1252
+ close: Close
1253
+ conversations_info: Conversations are private. no one else can see them. A conversation can be started with any participant or group registered on the platform.
1254
+ from: From
1255
+ last_message: Last message
1256
+ modal_title: New conversation
1257
+ new_conversation: New conversation
1258
+ next: Next
1259
+ no_conversations_warning: There are no conversations yet.
1260
+ no_results: No results
1261
+ participant_with_disabled_message_reception: This participant has disabled message reception
1262
+ time_ago: "%{time} ago"
1263
+ new:
1264
+ title: Start a conversation
1265
+ reply:
1266
+ placeholder: Your reply...
1267
+ send: Send
1268
+ title_reply: Reply
1269
+ show:
1270
+ not_allowed: This user does not accept any more direct messages.
1271
+ title: Conversation with %{usernames}
1272
+ update:
1273
+ error: Message not sent. Try again later
1053
1274
  user_interests:
1054
1275
  show:
1055
1276
  my_interests: My interests
@@ -1059,6 +1280,33 @@ en:
1059
1280
  update:
1060
1281
  error: There was a problem updating your interests.
1061
1282
  success: Your interests have been successfully updated.
1283
+ version:
1284
+ show:
1285
+ back_to_resource: Go back
1286
+ changes_at_title: Changes at "%{title}"
1287
+ number_of_versions: Versions
1288
+ show_all_versions: Show all versions
1289
+ version_author: Version author
1290
+ version_created_at: Version created at
1291
+ version_number: Version number
1292
+ version_number_out_of_total: "%{current_version} out of %{total_count}"
1293
+ version_author:
1294
+ show:
1295
+ deleted: Deleted participant
1296
+ versions:
1297
+ resource_version:
1298
+ of_versions: "(of %{number})"
1299
+ see_other_versions: see other versions
1300
+ version: Version number %{number}
1301
+ versions_list:
1302
+ show:
1303
+ back_to_resource: Go back
1304
+ changes_at_title: Changes at "%{title}"
1305
+ number_of_versions: Versions
1306
+ title: Versions
1307
+ versions_list_item:
1308
+ show:
1309
+ version_index: Version %{index}
1062
1310
  welcome_notification:
1063
1311
  default_body: <p>Hi {{name}}, thanks for joining {{organization}} and welcome!</p><ul><li>If you want to get a quick idea of what you can do here, have a look at the <a href="{{help_url}}">Help</a> section.</li><li>Once you have read it you will get your first badge. Here's a <a href="{{badges_url}}">list of all the badges</a> you can get as you participate in {{organization}}</li><li>Last but not least, join other people, share with them the experience of being engaged and participating in {{organization}}. Make proposals, comments, debate, think about how to contribute to the common good, provide arguments to convince, listen and read to be convinced, express your ideas in a concrete and direct way, respond with patience and decision, defend your ideas and keep an open mind to collaborate and join other people's ideas.</li></ul>
1064
1312
  default_subject: Thanks for joining {{organization}}!
@@ -1221,6 +1469,7 @@ en:
1221
1469
  cycle_detected: a scope's parent can't be one of its descendants
1222
1470
  expired: has expired, please request a new one
1223
1471
  file_size_is_less_than_or_equal_to: file size must be less than or equal to %{count}
1472
+ invalid_time_zone: is not a valid time zone
1224
1473
  long_words: contains words that are too long (over 35 characters)
1225
1474
  must_start_with_caps: must start with a capital letter
1226
1475
  nesting_too_deep: can't be inside of a subcategory
@@ -1233,19 +1482,27 @@ en:
1233
1482
  too_much_caps: is using too many capital letters (over 25% of the text)
1234
1483
  too_short: is too short (under 15 characters)
1235
1484
  forms:
1236
- required: Required
1485
+ correct_errors: There are errors on the form, please correct them to continue.
1486
+ length_validator:
1487
+ minimum:
1488
+ one: at least %{count} character
1489
+ other: at least %{count} characters
1490
+ required: Required field
1491
+ required_explanation: "* Required fields are marked with an asterisk"
1237
1492
  invisible_captcha:
1238
1493
  sentence_for_humans: If you are human, ignore this field
1239
1494
  timestamp_error_message: Sorry, that was too quick! Please resubmit.
1240
1495
  layouts:
1241
1496
  decidim:
1242
1497
  cookie_warning:
1243
- description_html: This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about it %{link}.
1244
- link_label: here
1498
+ description_html: This site uses cookies. By continuing to browse the site, you agree to our use of cookies. %{link}.
1499
+ link_label: Find out more about cookies
1245
1500
  ok: I agree
1246
1501
  edit_link:
1247
1502
  edit: Edit
1248
1503
  footer:
1504
+ cc_by_license: Creative Commons License
1505
+ decidim_logo: Decidim Logo
1249
1506
  download_open_data: Download Open Data files
1250
1507
  made_with_open_source: Website made with <a target="_blank" href="https://github.com/decidim/decidim">free software</a>.
1251
1508
  header:
@@ -1257,9 +1514,19 @@ en:
1257
1514
  close_session: Close session
1258
1515
  description_html: You are managing the participant <b>%{user_name}</b>.
1259
1516
  expire_time_html: Your session will expire in <b><span class="minutes">%{minutes}</span> minutes</b>.
1517
+ language_chooser:
1518
+ choose_language: Choose language
1260
1519
  notifications_dashboard:
1261
1520
  mark_all_as_read: Mark all as read
1521
+ mark_as_read: Mark as read
1522
+ social_media_links:
1523
+ facebook: "%{organization} at Facebook"
1524
+ github: "%{organization} at GitHub"
1525
+ instagram: "%{organization} at Instagram"
1526
+ twitter: "%{organization} at Twitter"
1527
+ youtube: "%{organization} at YouTube"
1262
1528
  user_menu:
1529
+ account: 'User account: %{name}'
1263
1530
  admin_dashboard: Admin dashboard
1264
1531
  conversations: Conversations
1265
1532
  notifications: Notifications
@@ -1279,6 +1546,7 @@ en:
1279
1546
  see_more: See more
1280
1547
  locale:
1281
1548
  name: English
1549
+ name_with_error: English (error!)
1282
1550
  password_validator:
1283
1551
  domain_included_in_password: is too similar to this domain name
1284
1552
  email_included_in_password: is too similar to your email
@@ -1326,6 +1594,7 @@ en:
1326
1594
  invitation_instructions:
1327
1595
  accept_until_format: "%B %d, %Y %I:%M %p"
1328
1596
  long: "%B %d, %Y %H:%M"
1597
+ long_dashed: "%Y-%m-%d %H:%M:%S"
1329
1598
  short: "%d/%m/%Y %H:%M"
1330
1599
  time_of_day: "%H:%M"
1331
1600
  versions:
@@ -1333,13 +1602,22 @@ en:
1333
1602
  left: Deletions
1334
1603
  right: Additions
1335
1604
  dropdown:
1605
+ choose_diff_view_html: 'HTML view mode:'
1336
1606
  choose_diff_view_mode: 'Compare view mode:'
1607
+ option_escaped: Escaped
1337
1608
  option_split: Side-by-side
1609
+ option_unescaped: Unescaped
1338
1610
  option_unified: Unified
1339
1611
  views:
1340
1612
  pagination:
1341
1613
  first: "&laquo; First"
1614
+ first_title: Link to the first page
1342
1615
  last: Last &raquo;
1616
+ last_title: Link to the last page
1343
1617
  next: Next &rsaquo;
1618
+ next_title: Link to the next page
1619
+ pagination: Pagination
1344
1620
  previous: "&lsaquo; Prev"
1621
+ previous_title: Link to the previous page
1622
+ title: 'Page number: '
1345
1623
  truncate: "&hellip;"