decidim-enhanced_textwork 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (441) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +64 -0
  3. data/Rakefile +3 -0
  4. data/app/cells/decidim/enhanced_textwork/amendment/show.erb +14 -0
  5. data/app/cells/decidim/enhanced_textwork/amendment_cell.rb +39 -0
  6. data/app/cells/decidim/enhanced_textwork/collaborative_draft_cell.rb +49 -0
  7. data/app/cells/decidim/enhanced_textwork/collaborative_draft_link_to_paragraph/show.erb +13 -0
  8. data/app/cells/decidim/enhanced_textwork/collaborative_draft_link_to_paragraph_cell.rb +57 -0
  9. data/app/cells/decidim/enhanced_textwork/collaborative_draft_m/footer.erb +6 -0
  10. data/app/cells/decidim/enhanced_textwork/collaborative_draft_m/tags.erb +1 -0
  11. data/app/cells/decidim/enhanced_textwork/collaborative_draft_m_cell.rb +44 -0
  12. data/app/cells/decidim/enhanced_textwork/collaborative_drafts/reported_content/show.erb +3 -0
  13. data/app/cells/decidim/enhanced_textwork/collaborative_drafts/reported_content_cell.rb +15 -0
  14. data/app/cells/decidim/enhanced_textwork/comments/show.erb +33 -0
  15. data/app/cells/decidim/enhanced_textwork/comments_cell.rb +8 -0
  16. data/app/cells/decidim/enhanced_textwork/content_blocks/highlighted_paragraphs/elements.erb +5 -0
  17. data/app/cells/decidim/enhanced_textwork/content_blocks/highlighted_paragraphs/heading.erb +1 -0
  18. data/app/cells/decidim/enhanced_textwork/content_blocks/highlighted_paragraphs_cell.rb +19 -0
  19. data/app/cells/decidim/enhanced_textwork/cost_report/show.erb +35 -0
  20. data/app/cells/decidim/enhanced_textwork/cost_report_cell.rb +42 -0
  21. data/app/cells/decidim/enhanced_textwork/highlighted_paragraphs/show.erb +3 -0
  22. data/app/cells/decidim/enhanced_textwork/highlighted_paragraphs_cell.rb +25 -0
  23. data/app/cells/decidim/enhanced_textwork/highlighted_paragraphs_for_component/show.erb +19 -0
  24. data/app/cells/decidim/enhanced_textwork/highlighted_paragraphs_for_component_cell.rb +41 -0
  25. data/app/cells/decidim/enhanced_textwork/irreversible_action_modal/show.erb +27 -0
  26. data/app/cells/decidim/enhanced_textwork/irreversible_action_modal_cell.rb +80 -0
  27. data/app/cells/decidim/enhanced_textwork/paragraph_activity_cell.rb +35 -0
  28. data/app/cells/decidim/enhanced_textwork/paragraph_cell.rb +53 -0
  29. data/app/cells/decidim/enhanced_textwork/paragraph_link_to_collaborative_draft_cell.rb +26 -0
  30. data/app/cells/decidim/enhanced_textwork/paragraph_link_to_rejected_emendation/show.erb +9 -0
  31. data/app/cells/decidim/enhanced_textwork/paragraph_link_to_rejected_emendation_cell.rb +34 -0
  32. data/app/cells/decidim/enhanced_textwork/paragraph_linked_resources/show.erb +9 -0
  33. data/app/cells/decidim/enhanced_textwork/paragraph_linked_resources_cell.rb +14 -0
  34. data/app/cells/decidim/enhanced_textwork/paragraph_m/footer.erb +26 -0
  35. data/app/cells/decidim/enhanced_textwork/paragraph_m/tags.erb +1 -0
  36. data/app/cells/decidim/enhanced_textwork/paragraph_m_cell.rb +152 -0
  37. data/app/cells/decidim/enhanced_textwork/paragraph_tags/show.erb +33 -0
  38. data/app/cells/decidim/enhanced_textwork/paragraph_tags_cell.rb +35 -0
  39. data/app/cells/decidim/enhanced_textwork/paragraphs_picker/paragraphs.erb +12 -0
  40. data/app/cells/decidim/enhanced_textwork/paragraphs_picker/show.erb +14 -0
  41. data/app/cells/decidim/enhanced_textwork/paragraphs_picker_cell.rb +72 -0
  42. data/app/cells/decidim/enhanced_textwork/participatory_text_paragraph/buttons.erb +33 -0
  43. data/app/cells/decidim/enhanced_textwork/participatory_text_paragraph/show.erb +38 -0
  44. data/app/cells/decidim/enhanced_textwork/participatory_text_paragraph_cell.rb +104 -0
  45. data/app/cells/decidim/enhanced_textwork/reported_content/show.erb +4 -0
  46. data/app/cells/decidim/enhanced_textwork/reported_content_cell.rb +13 -0
  47. data/app/commands/decidim/enhanced_textwork/accept_access_to_collaborative_draft.rb +70 -0
  48. data/app/commands/decidim/enhanced_textwork/admin/answer_paragraph.rb +74 -0
  49. data/app/commands/decidim/enhanced_textwork/admin/assign_paragraphs_to_valuator.rb +61 -0
  50. data/app/commands/decidim/enhanced_textwork/admin/create_paragraph.rb +97 -0
  51. data/app/commands/decidim/enhanced_textwork/admin/create_paragraph_note.rb +67 -0
  52. data/app/commands/decidim/enhanced_textwork/admin/destroy_paragraph.rb +32 -0
  53. data/app/commands/decidim/enhanced_textwork/admin/discard_participatory_text.rb +40 -0
  54. data/app/commands/decidim/enhanced_textwork/admin/import_from_editor_participatory_text.rb +53 -0
  55. data/app/commands/decidim/enhanced_textwork/admin/import_paragraphs.rb +101 -0
  56. data/app/commands/decidim/enhanced_textwork/admin/import_participatory_text.rb +55 -0
  57. data/app/commands/decidim/enhanced_textwork/admin/merge_paragraphs.rb +69 -0
  58. data/app/commands/decidim/enhanced_textwork/admin/notify_paragraph_answer.rb +85 -0
  59. data/app/commands/decidim/enhanced_textwork/admin/publish_answers.rb +67 -0
  60. data/app/commands/decidim/enhanced_textwork/admin/publish_participatory_text.rb +81 -0
  61. data/app/commands/decidim/enhanced_textwork/admin/split_paragraphs.rb +67 -0
  62. data/app/commands/decidim/enhanced_textwork/admin/unassign_paragraphs_from_valuator.rb +62 -0
  63. data/app/commands/decidim/enhanced_textwork/admin/update_paragraph.rb +86 -0
  64. data/app/commands/decidim/enhanced_textwork/admin/update_paragraph_category.rb +68 -0
  65. data/app/commands/decidim/enhanced_textwork/admin/update_paragraph_scope.rb +75 -0
  66. data/app/commands/decidim/enhanced_textwork/admin/update_participatory_text.rb +68 -0
  67. data/app/commands/decidim/enhanced_textwork/create_collaborative_draft.rb +81 -0
  68. data/app/commands/decidim/enhanced_textwork/create_paragraph.rb +106 -0
  69. data/app/commands/decidim/enhanced_textwork/destroy_paragraph.rb +33 -0
  70. data/app/commands/decidim/enhanced_textwork/gallery_methods.rb +18 -0
  71. data/app/commands/decidim/enhanced_textwork/hashtags_methods.rb +36 -0
  72. data/app/commands/decidim/enhanced_textwork/publish_collaborative_draft.rb +93 -0
  73. data/app/commands/decidim/enhanced_textwork/publish_paragraph.rb +105 -0
  74. data/app/commands/decidim/enhanced_textwork/reject_access_to_collaborative_draft.rb +62 -0
  75. data/app/commands/decidim/enhanced_textwork/request_access_to_collaborative_draft.rb +49 -0
  76. data/app/commands/decidim/enhanced_textwork/unvote_paragraph.rb +65 -0
  77. data/app/commands/decidim/enhanced_textwork/update_collaborative_draft.rb +63 -0
  78. data/app/commands/decidim/enhanced_textwork/update_paragraph.rb +135 -0
  79. data/app/commands/decidim/enhanced_textwork/vote_paragraph.rb +77 -0
  80. data/app/commands/decidim/enhanced_textwork/withdraw_collaborative_draft.rb +65 -0
  81. data/app/commands/decidim/enhanced_textwork/withdraw_paragraph.rb +50 -0
  82. data/app/controllers/concerns/decidim/enhanced_textwork/admin/filterable.rb +82 -0
  83. data/app/controllers/concerns/decidim/enhanced_textwork/admin/picker.rb +21 -0
  84. data/app/controllers/concerns/decidim/enhanced_textwork/collaborative_orderable.rb +42 -0
  85. data/app/controllers/concerns/decidim/enhanced_textwork/orderable.rb +78 -0
  86. data/app/controllers/decidim/enhanced_textwork/admin/application_controller.rb +16 -0
  87. data/app/controllers/decidim/enhanced_textwork/admin/paragraph_answers_controller.rb +50 -0
  88. data/app/controllers/decidim/enhanced_textwork/admin/paragraph_notes_controller.rb +39 -0
  89. data/app/controllers/decidim/enhanced_textwork/admin/paragraphs_controller.rb +237 -0
  90. data/app/controllers/decidim/enhanced_textwork/admin/paragraphs_imports_controller.rb +33 -0
  91. data/app/controllers/decidim/enhanced_textwork/admin/paragraphs_merges_controller.rb +30 -0
  92. data/app/controllers/decidim/enhanced_textwork/admin/paragraphs_splits_controller.rb +30 -0
  93. data/app/controllers/decidim/enhanced_textwork/admin/participatory_texts_controller.rb +128 -0
  94. data/app/controllers/decidim/enhanced_textwork/admin/valuation_assignments_controller.rb +58 -0
  95. data/app/controllers/decidim/enhanced_textwork/application_controller.rb +31 -0
  96. data/app/controllers/decidim/enhanced_textwork/collaborative_draft_collaborator_requests_controller.rb +53 -0
  97. data/app/controllers/decidim/enhanced_textwork/collaborative_drafts_controller.rb +161 -0
  98. data/app/controllers/decidim/enhanced_textwork/paragraph_votes_controller.rb +65 -0
  99. data/app/controllers/decidim/enhanced_textwork/paragraphs_controller.rb +316 -0
  100. data/app/controllers/decidim/enhanced_textwork/versions_controller.rb +21 -0
  101. data/app/controllers/decidim/enhanced_textwork/widgets_controller.rb +19 -0
  102. data/app/events/decidim/enhanced_textwork/accepted_paragraph_event.rb +17 -0
  103. data/app/events/decidim/enhanced_textwork/admin/paragraph_note_created_event.rb +27 -0
  104. data/app/events/decidim/enhanced_textwork/admin/update_paragraph_category_event.rb +11 -0
  105. data/app/events/decidim/enhanced_textwork/admin/update_paragraph_scope_event.rb +11 -0
  106. data/app/events/decidim/enhanced_textwork/collaborative_draft_access_accepted_event.rb +8 -0
  107. data/app/events/decidim/enhanced_textwork/collaborative_draft_access_rejected_event.rb +8 -0
  108. data/app/events/decidim/enhanced_textwork/collaborative_draft_access_request_event.rb +27 -0
  109. data/app/events/decidim/enhanced_textwork/collaborative_draft_access_requested_event.rb +8 -0
  110. data/app/events/decidim/enhanced_textwork/collaborative_draft_access_requester_accepted_event.rb +8 -0
  111. data/app/events/decidim/enhanced_textwork/collaborative_draft_access_requester_rejected_event.rb +8 -0
  112. data/app/events/decidim/enhanced_textwork/collaborative_draft_withdrawn_event.rb +29 -0
  113. data/app/events/decidim/enhanced_textwork/creation_enabled_event.rb +8 -0
  114. data/app/events/decidim/enhanced_textwork/endorsing_enabled_event.rb +8 -0
  115. data/app/events/decidim/enhanced_textwork/evaluating_paragraph_event.rb +11 -0
  116. data/app/events/decidim/enhanced_textwork/paragraph_endorsed_event.rb +33 -0
  117. data/app/events/decidim/enhanced_textwork/paragraph_mentioned_event.rb +21 -0
  118. data/app/events/decidim/enhanced_textwork/publish_paragraph_event.rb +25 -0
  119. data/app/events/decidim/enhanced_textwork/rejected_paragraph_event.rb +17 -0
  120. data/app/events/decidim/enhanced_textwork/voting_enabled_event.rb +8 -0
  121. data/app/forms/decidim/enhanced_textwork/accept_access_to_collaborative_draft_form.rb +10 -0
  122. data/app/forms/decidim/enhanced_textwork/access_to_collaborative_draft_form.rb +33 -0
  123. data/app/forms/decidim/enhanced_textwork/admin/import_editor_participatory_text_form.rb +35 -0
  124. data/app/forms/decidim/enhanced_textwork/admin/import_participatory_text_form.rb +68 -0
  125. data/app/forms/decidim/enhanced_textwork/admin/paragraph_answer_form.rb +44 -0
  126. data/app/forms/decidim/enhanced_textwork/admin/paragraph_base_form.rb +137 -0
  127. data/app/forms/decidim/enhanced_textwork/admin/paragraph_form.rb +32 -0
  128. data/app/forms/decidim/enhanced_textwork/admin/paragraph_note_form.rb +16 -0
  129. data/app/forms/decidim/enhanced_textwork/admin/paragraphs_fork_form.rb +63 -0
  130. data/app/forms/decidim/enhanced_textwork/admin/paragraphs_import_form.rb +67 -0
  131. data/app/forms/decidim/enhanced_textwork/admin/paragraphs_merge_form.rb +13 -0
  132. data/app/forms/decidim/enhanced_textwork/admin/paragraphs_split_form.rb +12 -0
  133. data/app/forms/decidim/enhanced_textwork/admin/participatory_text_paragraph_form.rb +20 -0
  134. data/app/forms/decidim/enhanced_textwork/admin/preview_participatory_text_form.rb +21 -0
  135. data/app/forms/decidim/enhanced_textwork/admin/valuation_assignment_form.rb +37 -0
  136. data/app/forms/decidim/enhanced_textwork/collaborative_draft_form.rb +20 -0
  137. data/app/forms/decidim/enhanced_textwork/paragraph_form.rb +126 -0
  138. data/app/forms/decidim/enhanced_textwork/paragraph_wizard_create_step_form.rb +41 -0
  139. data/app/forms/decidim/enhanced_textwork/reject_access_to_collaborative_draft_form.rb +9 -0
  140. data/app/forms/decidim/enhanced_textwork/request_access_to_collaborative_draft_form.rb +20 -0
  141. data/app/helpers/decidim/enhanced_textwork/admin/filterable_helper.rb +17 -0
  142. data/app/helpers/decidim/enhanced_textwork/admin/paragraph_bulk_actions_helper.rb +35 -0
  143. data/app/helpers/decidim/enhanced_textwork/admin/paragraph_rankings_helper.rb +63 -0
  144. data/app/helpers/decidim/enhanced_textwork/admin/paragraphs_helper.rb +144 -0
  145. data/app/helpers/decidim/enhanced_textwork/admin/paragraphs_picker_helper.rb +30 -0
  146. data/app/helpers/decidim/enhanced_textwork/application_helper.rb +191 -0
  147. data/app/helpers/decidim/enhanced_textwork/collaborative_draft_cells_helper.rb +48 -0
  148. data/app/helpers/decidim/enhanced_textwork/collaborative_draft_helper.rb +29 -0
  149. data/app/helpers/decidim/enhanced_textwork/control_version_helper.rb +12 -0
  150. data/app/helpers/decidim/enhanced_textwork/map_helper.rb +48 -0
  151. data/app/helpers/decidim/enhanced_textwork/paragraph_cells_helper.rb +75 -0
  152. data/app/helpers/decidim/enhanced_textwork/paragraph_votes_helper.rb +103 -0
  153. data/app/helpers/decidim/enhanced_textwork/paragraph_wizard_helper.rb +140 -0
  154. data/app/helpers/decidim/enhanced_textwork/paragraphs_helper.rb +63 -0
  155. data/app/helpers/decidim/enhanced_textwork/participatory_texts_helper.rb +49 -0
  156. data/app/jobs/decidim/enhanced_textwork/notify_paragraphs_mentioned_job.rb +27 -0
  157. data/app/jobs/decidim/enhanced_textwork/settings_change_job.rb +50 -0
  158. data/app/models/decidim/enhanced_textwork/application_record.rb +10 -0
  159. data/app/models/decidim/enhanced_textwork/collaborative_draft.rb +73 -0
  160. data/app/models/decidim/enhanced_textwork/collaborative_draft_collaborator_request.rb +13 -0
  161. data/app/models/decidim/enhanced_textwork/paragraph.rb +411 -0
  162. data/app/models/decidim/enhanced_textwork/paragraph_note.rb +20 -0
  163. data/app/models/decidim/enhanced_textwork/paragraph_vote.rb +50 -0
  164. data/app/models/decidim/enhanced_textwork/participatory_text.rb +16 -0
  165. data/app/models/decidim/enhanced_textwork/valuation_assignment.rb +24 -0
  166. data/app/packs/documents/decidim/enhanced_textwork/participatory_texts/participatory_text.md +52 -0
  167. data/app/packs/documents/decidim/enhanced_textwork/participatory_texts/participatory_text.odt +0 -0
  168. data/app/packs/entrypoints/decidim_enhanced_textwork.js +17 -0
  169. data/app/packs/entrypoints/decidim_enhanced_textwork_admin.js +3 -0
  170. data/app/packs/images/decidim/enhanced_textwork/decidim_paragraphs.svg +1 -0
  171. data/app/packs/images/decidim/gamification/badges/decidim_gamification_badges_accepted_paragraphs.svg +1 -0
  172. data/app/packs/images/decidim/gamification/badges/decidim_gamification_badges_paragraph_votes.svg +1 -0
  173. data/app/packs/images/decidim/gamification/badges/decidim_gamification_badges_paragraphs.svg +1 -0
  174. data/app/packs/src/decidim/enhanced_textwork/add_paragraph.js +49 -0
  175. data/app/packs/src/decidim/enhanced_textwork/admin/paragraphs.js +143 -0
  176. data/app/packs/src/decidim/enhanced_textwork/admin/paragraphs_form.js +29 -0
  177. data/app/packs/src/decidim/enhanced_textwork/admin/paragraphs_picker.js +35 -0
  178. data/app/packs/src/decidim/enhanced_textwork/toggle_element.js +21 -0
  179. data/app/packs/src/decidim/enhanced_textwork/utils.js +11 -0
  180. data/app/packs/stylesheets/decidim/enhanced_textwork/_paragraphs.scss +208 -0
  181. data/app/packs/stylesheets/decidim/enhanced_textwork/paragraphs/_preview.scss +3 -0
  182. data/app/permissions/decidim/enhanced_textwork/admin/permissions.rb +147 -0
  183. data/app/permissions/decidim/enhanced_textwork/permissions.rb +163 -0
  184. data/app/presenters/decidim/enhanced_textwork/admin_log/paragraph_note_presenter.rb +39 -0
  185. data/app/presenters/decidim/enhanced_textwork/admin_log/paragraph_presenter.rb +51 -0
  186. data/app/presenters/decidim/enhanced_textwork/admin_log/valuation_assignment_presenter.rb +51 -0
  187. data/app/presenters/decidim/enhanced_textwork/admin_log/value_types/paragraph_state_presenter.rb +17 -0
  188. data/app/presenters/decidim/enhanced_textwork/admin_log/value_types/paragraph_title_body_presenter.rb +23 -0
  189. data/app/presenters/decidim/enhanced_textwork/admin_log/value_types/valuator_role_user_presenter.rb +19 -0
  190. data/app/presenters/decidim/enhanced_textwork/collaborative_draft_presenter.rb +25 -0
  191. data/app/presenters/decidim/enhanced_textwork/log/resource_presenter.rb +22 -0
  192. data/app/presenters/decidim/enhanced_textwork/log/valuation_assignment_presenter.rb +22 -0
  193. data/app/presenters/decidim/enhanced_textwork/official_author_presenter.rb +14 -0
  194. data/app/presenters/decidim/enhanced_textwork/paragraph_presenter.rb +146 -0
  195. data/app/queries/decidim/enhanced_textwork/filtered_paragraphs.rb +37 -0
  196. data/app/queries/decidim/enhanced_textwork/metrics/accepted_paragraphs_metric_manage.rb +32 -0
  197. data/app/queries/decidim/enhanced_textwork/metrics/endorsements_metric_manage.rb +58 -0
  198. data/app/queries/decidim/enhanced_textwork/metrics/paragraph_followers_metric_measure.rb +58 -0
  199. data/app/queries/decidim/enhanced_textwork/metrics/paragraph_participants_metric_measure.rb +74 -0
  200. data/app/queries/decidim/enhanced_textwork/metrics/paragraphs_metric_manage.rb +48 -0
  201. data/app/queries/decidim/enhanced_textwork/metrics/votes_metric_manage.rb +52 -0
  202. data/app/queries/decidim/enhanced_textwork/similar_paragraphs.rb +67 -0
  203. data/app/services/decidim/enhanced_textwork/collaborative_draft_search.rb +59 -0
  204. data/app/services/decidim/enhanced_textwork/diff_renderer.rb +74 -0
  205. data/app/services/decidim/enhanced_textwork/paragraph_builder.rb +132 -0
  206. data/app/services/decidim/enhanced_textwork/paragraph_search.rb +85 -0
  207. data/app/validators/paragraph_length_validator.rb +40 -0
  208. data/app/views/decidim/enhanced_textwork/admin/paragraph_answers/_form.html.erb +35 -0
  209. data/app/views/decidim/enhanced_textwork/admin/paragraph_notes/_form.html.erb +8 -0
  210. data/app/views/decidim/enhanced_textwork/admin/paragraph_notes/_paragraph_notes.html.erb +45 -0
  211. data/app/views/decidim/enhanced_textwork/admin/paragraphs/_bulk-actions.html.erb +33 -0
  212. data/app/views/decidim/enhanced_textwork/admin/paragraphs/_form.html.erb +101 -0
  213. data/app/views/decidim/enhanced_textwork/admin/paragraphs/_js-callout.html.erb +6 -0
  214. data/app/views/decidim/enhanced_textwork/admin/paragraphs/_paragraph-tr.html.erb +76 -0
  215. data/app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_assign_to_valuator.html.erb +15 -0
  216. data/app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_dropdown.html.erb +56 -0
  217. data/app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_merge.html.erb +15 -0
  218. data/app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_publish_answers.html.erb +14 -0
  219. data/app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_recategorize.html.erb +15 -0
  220. data/app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_scope-change.html.erb +25 -0
  221. data/app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_split.html.erb +15 -0
  222. data/app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_unassign_from_valuator.html.erb +15 -0
  223. data/app/views/decidim/enhanced_textwork/admin/paragraphs/edit.html.erb +7 -0
  224. data/app/views/decidim/enhanced_textwork/admin/paragraphs/index.html.erb +84 -0
  225. data/app/views/decidim/enhanced_textwork/admin/paragraphs/new.html.erb +7 -0
  226. data/app/views/decidim/enhanced_textwork/admin/paragraphs/publish_answers.js.erb +12 -0
  227. data/app/views/decidim/enhanced_textwork/admin/paragraphs/show.html.erb +186 -0
  228. data/app/views/decidim/enhanced_textwork/admin/paragraphs/update_category.js.erb +26 -0
  229. data/app/views/decidim/enhanced_textwork/admin/paragraphs/update_scope.js.erb +27 -0
  230. data/app/views/decidim/enhanced_textwork/admin/paragraphs_imports/new.html.erb +37 -0
  231. data/app/views/decidim/enhanced_textwork/admin/participatory_texts/_article-preview.html.erb +16 -0
  232. data/app/views/decidim/enhanced_textwork/admin/participatory_texts/_bulk-actions.html.erb +3 -0
  233. data/app/views/decidim/enhanced_textwork/admin/participatory_texts/index.html.erb +55 -0
  234. data/app/views/decidim/enhanced_textwork/admin/participatory_texts/new_editor.html.erb +39 -0
  235. data/app/views/decidim/enhanced_textwork/admin/participatory_texts/new_import.html.erb +39 -0
  236. data/app/views/decidim/enhanced_textwork/collaborative_drafts/_accept_request_access_form.html.erb +8 -0
  237. data/app/views/decidim/enhanced_textwork/collaborative_drafts/_collaborative_drafts.html.erb +16 -0
  238. data/app/views/decidim/enhanced_textwork/collaborative_drafts/_collaborator_requests.html.erb +20 -0
  239. data/app/views/decidim/enhanced_textwork/collaborative_drafts/_count.html.erb +1 -0
  240. data/app/views/decidim/enhanced_textwork/collaborative_drafts/_edit_form_fields.html.erb +83 -0
  241. data/app/views/decidim/enhanced_textwork/collaborative_drafts/_filters.html.erb +32 -0
  242. data/app/views/decidim/enhanced_textwork/collaborative_drafts/_filters_small_view.html.erb +18 -0
  243. data/app/views/decidim/enhanced_textwork/collaborative_drafts/_new_collaborative_draft_button.html.erb +11 -0
  244. data/app/views/decidim/enhanced_textwork/collaborative_drafts/_reject_request_access_form.html.erb +10 -0
  245. data/app/views/decidim/enhanced_textwork/collaborative_drafts/_request_access_form.html.erb +7 -0
  246. data/app/views/decidim/enhanced_textwork/collaborative_drafts/_wizard_aside.html.erb +13 -0
  247. data/app/views/decidim/enhanced_textwork/collaborative_drafts/_wizard_header.html.erb +14 -0
  248. data/app/views/decidim/enhanced_textwork/collaborative_drafts/edit.html.erb +31 -0
  249. data/app/views/decidim/enhanced_textwork/collaborative_drafts/index.html.erb +23 -0
  250. data/app/views/decidim/enhanced_textwork/collaborative_drafts/index.js.erb +10 -0
  251. data/app/views/decidim/enhanced_textwork/collaborative_drafts/new.html.erb +24 -0
  252. data/app/views/decidim/enhanced_textwork/collaborative_drafts/show.html.erb +128 -0
  253. data/app/views/decidim/enhanced_textwork/paragraph_votes/update_buttons_and_counters.js.erb +41 -0
  254. data/app/views/decidim/enhanced_textwork/paragraphs/_count.html.erb +1 -0
  255. data/app/views/decidim/enhanced_textwork/paragraphs/_dynamic_map_instructions.html.erb +4 -0
  256. data/app/views/decidim/enhanced_textwork/paragraphs/_edit_form_fields.html.erb +115 -0
  257. data/app/views/decidim/enhanced_textwork/paragraphs/_endorsements_card_row.html.erb +0 -0
  258. data/app/views/decidim/enhanced_textwork/paragraphs/_filters.html.erb +48 -0
  259. data/app/views/decidim/enhanced_textwork/paragraphs/_filters_small_view.html.erb +18 -0
  260. data/app/views/decidim/enhanced_textwork/paragraphs/_linked_paragraphs.html.erb +34 -0
  261. data/app/views/decidim/enhanced_textwork/paragraphs/_paragraph.html.erb +1 -0
  262. data/app/views/decidim/enhanced_textwork/paragraphs/_paragraph_badge.html.erb +3 -0
  263. data/app/views/decidim/enhanced_textwork/paragraphs/_paragraph_similar.html.erb +22 -0
  264. data/app/views/decidim/enhanced_textwork/paragraphs/_paragraphs.html.erb +46 -0
  265. data/app/views/decidim/enhanced_textwork/paragraphs/_remaining_votes_count.html.erb +3 -0
  266. data/app/views/decidim/enhanced_textwork/paragraphs/_vote_button.html.erb +61 -0
  267. data/app/views/decidim/enhanced_textwork/paragraphs/_votes_count.html.erb +18 -0
  268. data/app/views/decidim/enhanced_textwork/paragraphs/_voting_rules.html.erb +50 -0
  269. data/app/views/decidim/enhanced_textwork/paragraphs/_wizard_aside.html.erb +20 -0
  270. data/app/views/decidim/enhanced_textwork/paragraphs/_wizard_header.html.erb +42 -0
  271. data/app/views/decidim/enhanced_textwork/paragraphs/compare.html.erb +23 -0
  272. data/app/views/decidim/enhanced_textwork/paragraphs/complete.html.erb +24 -0
  273. data/app/views/decidim/enhanced_textwork/paragraphs/edit.html.erb +31 -0
  274. data/app/views/decidim/enhanced_textwork/paragraphs/edit_draft.html.erb +26 -0
  275. data/app/views/decidim/enhanced_textwork/paragraphs/index.html.erb +56 -0
  276. data/app/views/decidim/enhanced_textwork/paragraphs/index.js.erb +10 -0
  277. data/app/views/decidim/enhanced_textwork/paragraphs/new.html.erb +38 -0
  278. data/app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_index.html.erb +20 -0
  279. data/app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_overview.html.erb +35 -0
  280. data/app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_paragraph_vote_button.html.erb +53 -0
  281. data/app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_paragraph_vote_button_chevron.html.erb +72 -0
  282. data/app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_paragraph_votes_count.html.erb +41 -0
  283. data/app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/_view_index.html.erb +10 -0
  284. data/app/views/decidim/enhanced_textwork/paragraphs/participatory_texts/participatory_text.html.erb +29 -0
  285. data/app/views/decidim/enhanced_textwork/paragraphs/preview.html.erb +41 -0
  286. data/app/views/decidim/enhanced_textwork/paragraphs/show.html.erb +143 -0
  287. data/app/views/decidim/enhanced_textwork/versions/index.html.erb +16 -0
  288. data/app/views/decidim/enhanced_textwork/versions/show.html.erb +18 -0
  289. data/config/assets.rb +10 -0
  290. data/config/locales/de.yml +927 -0
  291. data/config/locales/en.yml +967 -0
  292. data/config/locales/todo/am-ET.yml +1 -0
  293. data/config/locales/todo/ar-SA.yml +801 -0
  294. data/config/locales/todo/ar.yml +791 -0
  295. data/config/locales/todo/bg-BG.yml +237 -0
  296. data/config/locales/todo/bg.yml +238 -0
  297. data/config/locales/todo/ca.yml +908 -0
  298. data/config/locales/todo/cs-CZ.yml +787 -0
  299. data/config/locales/todo/cs.yml +969 -0
  300. data/config/locales/todo/da-DK.yml +1 -0
  301. data/config/locales/todo/da.yml +1 -0
  302. data/config/locales/todo/el-GR.yml +1 -0
  303. data/config/locales/todo/el.yml +848 -0
  304. data/config/locales/todo/eo-UY.yml +1 -0
  305. data/config/locales/todo/eo.yml +1 -0
  306. data/config/locales/todo/es-MX.yml +908 -0
  307. data/config/locales/todo/es-PY.yml +908 -0
  308. data/config/locales/todo/es.yml +908 -0
  309. data/config/locales/todo/et-EE.yml +1 -0
  310. data/config/locales/todo/et.yml +1 -0
  311. data/config/locales/todo/eu.yml +717 -0
  312. data/config/locales/todo/fi-pl.yml +763 -0
  313. data/config/locales/todo/fi-plain.yml +920 -0
  314. data/config/locales/todo/fi.yml +920 -0
  315. data/config/locales/todo/fr-CA.yml +936 -0
  316. data/config/locales/todo/fr-LU.yml +903 -0
  317. data/config/locales/todo/fr.yml +936 -0
  318. data/config/locales/todo/ga-IE.yml +275 -0
  319. data/config/locales/todo/gl.yml +808 -0
  320. data/config/locales/todo/hr-HR.yml +1 -0
  321. data/config/locales/todo/hr.yml +1 -0
  322. data/config/locales/todo/hu.yml +847 -0
  323. data/config/locales/todo/id-ID.yml +704 -0
  324. data/config/locales/todo/is-IS.yml +269 -0
  325. data/config/locales/todo/is.yml +274 -0
  326. data/config/locales/todo/it.yml +908 -0
  327. data/config/locales/todo/ja.yml +922 -0
  328. data/config/locales/todo/ko-KR.yml +1 -0
  329. data/config/locales/todo/ko.yml +1 -0
  330. data/config/locales/todo/lb-LU.yml +1 -0
  331. data/config/locales/todo/lb.yml +40 -0
  332. data/config/locales/todo/lt-LT.yml +1 -0
  333. data/config/locales/todo/lt.yml +1 -0
  334. data/config/locales/todo/lv.yml +838 -0
  335. data/config/locales/todo/mt-MT.yml +1 -0
  336. data/config/locales/todo/mt.yml +1 -0
  337. data/config/locales/todo/nl.yml +882 -0
  338. data/config/locales/todo/no.yml +770 -0
  339. data/config/locales/todo/om-ET.yml +1 -0
  340. data/config/locales/todo/pl.yml +927 -0
  341. data/config/locales/todo/pt-BR.yml +908 -0
  342. data/config/locales/todo/pt.yml +945 -0
  343. data/config/locales/todo/ro-RO.yml +886 -0
  344. data/config/locales/todo/ru.yml +379 -0
  345. data/config/locales/todo/si-LK.yml +1 -0
  346. data/config/locales/todo/sk-SK.yml +896 -0
  347. data/config/locales/todo/sk.yml +851 -0
  348. data/config/locales/todo/sl.yml +26 -0
  349. data/config/locales/todo/so-SO.yml +1 -0
  350. data/config/locales/todo/sr-CS.yml +125 -0
  351. data/config/locales/todo/sv.yml +908 -0
  352. data/config/locales/todo/sw-KE.yml +1 -0
  353. data/config/locales/todo/ti-ER.yml +1 -0
  354. data/config/locales/todo/tr-TR.yml +890 -0
  355. data/config/locales/todo/uk.yml +379 -0
  356. data/config/locales/todo/vi-VN.yml +1 -0
  357. data/config/locales/todo/vi.yml +1 -0
  358. data/config/locales/todo/zh-CN.yml +857 -0
  359. data/config/locales/todo/zh-TW.yml +1 -0
  360. data/db/migrate/20161212110850_create_decidim_paragraphs.rb +16 -0
  361. data/db/migrate/20170112115253_create_paragraph_votes.rb +14 -0
  362. data/db/migrate/20170113114245_add_enhanced_textwork_text_search_indexes.rb +8 -0
  363. data/db/migrate/20170118120151_add_counter_cache_votes_to_paragraphs.rb +7 -0
  364. data/db/migrate/20170120151202_add_user_group_id_to_paragraphs.rb +7 -0
  365. data/db/migrate/20170131092413_add_answers_to_paragraphs.rb +9 -0
  366. data/db/migrate/20170205082832_add_index_to_decidim_enhanced_textwork_paragraphs_paragraph_votes_count.rb +9 -0
  367. data/db/migrate/20170215113152_create_paragraph_reports.rb +16 -0
  368. data/db/migrate/20170215131720_add_report_count_to_paragraphs.rb +7 -0
  369. data/db/migrate/20170215132030_add_reference_to_paragraphs.rb +13 -0
  370. data/db/migrate/20170220152416_add_hidden_at_to_paragraphs.rb +7 -0
  371. data/db/migrate/20170228105156_add_geolocalization_fields_to_paragraphs.rb +9 -0
  372. data/db/migrate/20170307085300_migrate_paragraph_reports_data_to_reports.rb +24 -0
  373. data/db/migrate/20170410073742_remove_not_null_reference_paragraphs.rb +7 -0
  374. data/db/migrate/20170612101809_migrate_paragraphs_category.rb +15 -0
  375. data/db/migrate/20171201115434_create_paragraph_endorsements.rb +16 -0
  376. data/db/migrate/20171201122623_add_counter_cache_endorsements_to_paragraphs.rb +8 -0
  377. data/db/migrate/20171212102250_enable_pg_trgm_extension_for_paragraphs.rb +18 -0
  378. data/db/migrate/20171220084719_add_published_at_to_paragraphs.rb +14 -0
  379. data/db/migrate/20180111110204_create_decidim_paragraph_notes.rb +15 -0
  380. data/db/migrate/20180115155220_add_index_created_at_paragraph_notes.rb +7 -0
  381. data/db/migrate/20180305133811_rename_features_to_components_at_paragraphs.rb +11 -0
  382. data/db/migrate/20180326091532_create_decidim_enhanced_textwork_collaborative_drafts.rb +29 -0
  383. data/db/migrate/20180413135249_fix_nil_threshold_per_paragraph.rb +18 -0
  384. data/db/migrate/20180529101323_add_counter_cache_coauthorships_to_paragraphs.rb +8 -0
  385. data/db/migrate/20180529110230_move_enhanced_textwork_authorships_to_coauthorships.rb +28 -0
  386. data/db/migrate/20180529110830_remove_authorships_from_paragraphs.rb +8 -0
  387. data/db/migrate/20180613151121_create_enhanced_textwork_collaborative_draft_collaborator_requests.rb +12 -0
  388. data/db/migrate/20180711074134_add_enhanced_textwork_counter_cache_coauthorships_to_collaborative_drafts.rb +7 -0
  389. data/db/migrate/20180711075004_remove_index_counter_cache_coauthorships_to_paragraphs.rb +7 -0
  390. data/db/migrate/20180927111721_create_enhanced_textwork_participatory_texts.rb +13 -0
  391. data/db/migrate/20180930125321_add_participatory_text_level_to_paragraphs.rb +7 -0
  392. data/db/migrate/20180930125321_add_position_to_paragraphs.rb +7 -0
  393. data/db/migrate/20181003074440_fix_user_groups_ids_in_paragraphs_endorsements.rb +20 -0
  394. data/db/migrate/20181010114622_add_enhanced_textwork_temporary_votes.rb +9 -0
  395. data/db/migrate/20181016132225_add_enhanced_textwork_organization_as_author.rb +13 -0
  396. data/db/migrate/20181017084221_make_author_polymorhpic_for_paragraph_endorsements.rb +31 -0
  397. data/db/migrate/20181026073215_add_enhanced_textwork_created_in_meeting.rb +7 -0
  398. data/db/migrate/20190215113158_use_enhanced_textwork_md5_indexes.rb +17 -0
  399. data/db/migrate/20191206154128_add_endorsements_counter_cache_to_paragraphs.rb +7 -0
  400. data/db/migrate/20200120215928_move_paragraph_endorsements_to_core_endorsements.rb +54 -0
  401. data/db/migrate/20200120230130_drop_paragraph_endorsements.rb +8 -0
  402. data/db/migrate/20200203111239_add_paragraph_valuation_assignments.rb +12 -0
  403. data/db/migrate/20200210135152_add_costs_to_paragraphs.rb +9 -0
  404. data/db/migrate/20200212120110_sync_paragraphs_state_with_amendments_state.rb +28 -0
  405. data/db/migrate/20200227175922_add_state_published_at_to_paragraphs.rb +7 -0
  406. data/db/migrate/20200306123652_publish_existing_paragraphs_state.rb +15 -0
  407. data/db/migrate/20200708091228_move_paragraphs_fields_to_i18n.rb +86 -0
  408. data/db/migrate/20200730131631_move_paragraph_endorsed_event_notifications_to_resource_endorsed_event.rb +20 -0
  409. data/db/migrate/20200827154156_add_commentable_counter_cache_to_paragraphs.rb +12 -0
  410. data/db/migrate/20201002085508_fix_paragraphs_data.rb +36 -0
  411. data/db/migrate/20210127115628_fix_answered_paragraphs_after_copy.rb +14 -0
  412. data/db/migrate/20210310102839_add_followable_counter_cache_to_paragraphs.rb +16 -0
  413. data/db/migrate/20210310120812_add_enhanced_textwork_followable_counter_cache_to_collaborative_drafts.rb +16 -0
  414. data/db/migrate/20210318082934_fix_counters_for_copied_paragraphs.rb +19 -0
  415. data/lib/decidim/api/paragraph_input_filter.rb +29 -0
  416. data/lib/decidim/api/paragraph_input_sort.rb +20 -0
  417. data/lib/decidim/api/paragraph_type.rb +56 -0
  418. data/lib/decidim/api/paragraphs_type.rb +43 -0
  419. data/lib/decidim/content_parsers/paragraph_parser.rb +101 -0
  420. data/lib/decidim/content_renderers/paragraph_renderer.rb +33 -0
  421. data/lib/decidim/enhanced_textwork/admin.rb +10 -0
  422. data/lib/decidim/enhanced_textwork/admin_engine.rb +52 -0
  423. data/lib/decidim/enhanced_textwork/api.rb +10 -0
  424. data/lib/decidim/enhanced_textwork/commentable_collaborative_draft.rb +38 -0
  425. data/lib/decidim/enhanced_textwork/commentable_paragraph.rb +36 -0
  426. data/lib/decidim/enhanced_textwork/component.rb +448 -0
  427. data/lib/decidim/enhanced_textwork/doc_to_markdown.rb +50 -0
  428. data/lib/decidim/enhanced_textwork/engine.rb +204 -0
  429. data/lib/decidim/enhanced_textwork/html_to_markdown.rb +22 -0
  430. data/lib/decidim/enhanced_textwork/markdown_to_paragraphs.rb +153 -0
  431. data/lib/decidim/enhanced_textwork/odt_to_markdown.rb +46 -0
  432. data/lib/decidim/enhanced_textwork/paragraph_creator.rb +98 -0
  433. data/lib/decidim/enhanced_textwork/paragraph_serializer.rb +95 -0
  434. data/lib/decidim/enhanced_textwork/participatory_text_section.rb +21 -0
  435. data/lib/decidim/enhanced_textwork/test/capybara_paragraphs_picker.rb +59 -0
  436. data/lib/decidim/enhanced_textwork/test/factories.rb +492 -0
  437. data/lib/decidim/enhanced_textwork/valuatable.rb +21 -0
  438. data/lib/decidim/enhanced_textwork/version.rb +14 -0
  439. data/lib/decidim/enhanced_textwork.rb +58 -0
  440. data/lib/decidim/exporters/word.rb +309 -0
  441. metadata +704 -0
@@ -0,0 +1,967 @@
1
+ ---
2
+ en:
3
+ activemodel:
4
+ attributes:
5
+ collaborative_draft:
6
+ address: Address
7
+ body: Body
8
+ category_id: Category
9
+ decidim_scope_id: Scope
10
+ has_address: Has address
11
+ scope_id: Scope
12
+ state: State
13
+ title: Title
14
+ user_group_id: Create collaborative draft as
15
+ paragraph:
16
+ address: Address
17
+ answer: Answer
18
+ answered_at: Answered at
19
+ automatic_hashtags: Hashtags automatically added
20
+ body: Body
21
+ category_id: Category
22
+ decidim_scope_id: Scope
23
+ has_address: Has address
24
+ scope_id: Scope
25
+ state: State
26
+ suggested_hashtags: Suggested hashtags
27
+ title: Title
28
+ user_group_id: Create paragraph as
29
+ paragraph_answer:
30
+ answer: Answer
31
+ cost: Cost
32
+ cost_report: Cost report
33
+ execution_period: Execution period
34
+ paragraphs_copy:
35
+ copy_paragraphs: I understand that this will import all paragraphs from the selected component to the current one and that this action can't be reversed.
36
+ origin_component_id: Component to copy the paragraphs from
37
+ paragraphs_import:
38
+ import_paragraphs: Import paragraphs
39
+ keep_answers: Keep state and answers
40
+ keep_authors: Keep original authors
41
+ valuation_assignment:
42
+ admin_log:
43
+ valuator_role_id: Valuator name
44
+ errors:
45
+ models:
46
+ participatory_text:
47
+ attributes:
48
+ document:
49
+ invalid_document_type: 'Invalid document type. Accepted formats are: %{valid_mime_types}'
50
+ paragraph:
51
+ attributes:
52
+ add_documents:
53
+ needs_to_be_reattached: Needs to be reattached
54
+ add_photos:
55
+ needs_to_be_reattached: Needs to be reattached
56
+ body:
57
+ cant_be_equal_to_template: cannot be equal to the template
58
+ identical: AND title cannot be identical
59
+ title:
60
+ identical: AND body cannot be identical
61
+ paragraphs_merge:
62
+ attributes:
63
+ base:
64
+ not_official: Are not official
65
+ supported: Have received support or endorsements
66
+ paragraphs_split:
67
+ attributes:
68
+ base:
69
+ not_official: Are not official
70
+ supported: Have received support or endorsements
71
+ models:
72
+ decidim/enhanced_textwork/accepted_paragraph_event: Paragraph accepted
73
+ decidim/enhanced_textwork/admin/update_paragraph_category_event: Paragraph category changed
74
+ decidim/enhanced_textwork/admin/update_paragraph_scope_event: Paragraph scope changed
75
+ decidim/enhanced_textwork/creation_enabled_event: Paragraph creation enabled
76
+ decidim/enhanced_textwork/endorsing_enabled_event: Paragraph endorsing enabled
77
+ decidim/enhanced_textwork/evaluating_paragraph_event: Paragraph is being evaluated
78
+ decidim/enhanced_textwork/paragraph_mentioned_event: Paragraph mentioned
79
+ decidim/enhanced_textwork/publish_paragraph_event: Paragraph published
80
+ decidim/enhanced_textwork/rejected_paragraph_event: Paragraph rejected
81
+ decidim/enhanced_textwork/voting_enabled_event: Paragraph voting enabled
82
+ activerecord:
83
+ models:
84
+ decidim/enhanced_textwork/collaborative_draft:
85
+ one: Collaborative draft
86
+ other: Collaborative drafts
87
+ decidim/enhanced_textwork/paragraph:
88
+ one: Paragraph
89
+ other: Paragraphs
90
+ decidim/enhanced_textwork/paragraph_note:
91
+ one: Note
92
+ other: Notes
93
+ decidim/enhanced_textwork/paragraph_vote:
94
+ one: Support
95
+ other: Supports
96
+ decidim:
97
+ admin:
98
+ exports:
99
+ formats:
100
+ Word: docx
101
+ filters:
102
+ paragraphs:
103
+ category_id_eq:
104
+ label: Category
105
+ is_emendation_true:
106
+ label: Type
107
+ values:
108
+ 'false': Paragraphs
109
+ 'true': Amendments
110
+ scope_id_eq:
111
+ label: Scope
112
+ state_eq:
113
+ label: State
114
+ values:
115
+ accepted: Accepted
116
+ evaluating: Evaluating
117
+ published: Published
118
+ rejected: Rejected
119
+ validating: Technical validation
120
+ withdrawn: Withdrawn
121
+ state_null:
122
+ label: State
123
+ values:
124
+ 'true': Not answered
125
+ valuator_role_ids_has:
126
+ label: Assigned to valuator
127
+ search_placeholder:
128
+ id_string_or_title_cont: Search %{collection} by ID or title.
129
+ components:
130
+ enhanced_textwork:
131
+ actions:
132
+ amend: Amend
133
+ comment: Comment
134
+ create: Create
135
+ endorse: Endorse
136
+ vote: Support
137
+ vote_comment: Vote comment
138
+ withdraw: Withdraw
139
+ name: Enhanced Textwork
140
+ settings:
141
+ global:
142
+ amendments_enabled: Amendments enabled
143
+ amendments_enabled_help: If active, configure Amendment features for each step.
144
+ amendments_wizard_help_text: Amendments Wizard help text
145
+ announcement: Announcement
146
+ attachments_allowed: Allow attachments
147
+ can_accumulate_supports_beyond_threshold: Can accumulate supports beyond threshold
148
+ collaborative_drafts_enabled: Collaborative drafts enabled
149
+ comments_enabled: Comments enabled
150
+ comments_max_length: Comments max length (Leave 0 for default value)
151
+ default_sort_order: Default paragraph sorting
152
+ default_sort_order_help: Default means that if the supports are enabled, the paragraphs will be shown sorted by random, and if the supports are blocked, then they will be sorted by the most supported.
153
+ default_sort_order_options:
154
+ default: Default
155
+ most_commented: Most commented
156
+ most_endorsed: Most endorsed
157
+ most_followed: Most followed
158
+ most_voted: Most supported
159
+ random: Random
160
+ recent: Recent
161
+ with_more_authors: With more authors
162
+ geocoding_enabled: Geocoding enabled
163
+ minimum_votes_per_user: Minimum supports per user
164
+ new_paragraph_body_template: New paragraph body template
165
+ new_paragraph_body_template_help: You can define prefilled text that the new Paragraphs will have
166
+ new_paragraph_help_text: New paragraph help text
167
+ official_paragraphs_enabled: Official paragraphs enabled
168
+ participatory_texts_enabled: Participatory texts enabled
169
+ participatory_texts_enabled_readonly: Cannot interact with this setting if there are existing paragraphs. Please, create a new `Paragraphs component` if you want to enable this feature or discard all imported paragraphs in the `Participatory Texts` menu if you want to disable it.
170
+ hide_participatory_text_titles_enabled: Hide participatory text titles if they consist only of numbers
171
+ paragraph_answering_enabled: Paragraph answering enabled
172
+ paragraph_edit_before_minutes: Paragraphs can be edited by authors before this many minutes passes
173
+ paragraph_edit_time: Paragraph editing
174
+ paragraph_edit_time_choices:
175
+ infinite: Allow editing paragraphs for an infinite amount of time
176
+ limited: Allow editing of paragraphs within a specific timeframe
177
+ paragraph_length: Maximum paragraph body length
178
+ paragraph_limit: Paragraph limit per participant
179
+ paragraph_wizard_step_1_help_text: Paragraph wizard "Create" step help text
180
+ paragraph_wizard_step_2_help_text: Paragraph wizard "Compare" step help text
181
+ paragraph_wizard_step_3_help_text: Paragraph wizard "Complete" step help text
182
+ paragraph_wizard_step_4_help_text: Paragraph wizard "Publish" step help text
183
+ resources_permissions_enabled: Actions permissions can be set for each paragraph
184
+ scope_id: Scope
185
+ scopes_enabled: Scopes enabled
186
+ threshold_per_paragraph: Threshold per paragraph
187
+ vote_limit: Support limit per participant
188
+ step:
189
+ amendment_creation_enabled: Amendment creation enabled
190
+ amendment_creation_enabled_help: Participant can amend paragraphs.
191
+ amendment_promotion_enabled: Amendment promotion enabled
192
+ amendment_promotion_enabled_help: Emandation authors will be able to promote to Paragraph the rejected emendation.
193
+ amendment_reaction_enabled: Amendment reaction enabled
194
+ amendment_reaction_enabled_help: Paragraph's authors will be able to accept or reject Participant's emendations.
195
+ amendments_visibility: Amendments visibility
196
+ amendments_visibility_choices:
197
+ all: Amendments are visible to all
198
+ participants: Amendments are visible only to their authors
199
+ amendments_visibility_help: If the option "Amendments are visible only to their authors" is selected, participant must be logged in to see the amendments made.
200
+ announcement: Announcement
201
+ answers_with_costs: Enable costs on paragraph answers
202
+ automatic_hashtags: Hashtags added to all paragraphs
203
+ comments_blocked: Comments blocked
204
+ creation_enabled: Paragraph creation enabled
205
+ default_sort_order: Default paragraph sorting
206
+ default_sort_order_help: Default it means that if the supports are enabled, the paragraphs will be shown sorted by random, and if the supports are blocked, then they will be sorted by the most supported.
207
+ default_sort_order_options:
208
+ default: Default
209
+ most_commented: Most commented
210
+ most_endorsed: Most endorsed
211
+ most_followed: Most followed
212
+ most_voted: Most supported
213
+ random: Random
214
+ recent: Recent
215
+ with_more_authors: With more authors
216
+ endorsements_blocked: Endorsements blocked
217
+ endorsements_enabled: Endorsements enabled
218
+ paragraph_answering_enabled: Paragraph answering enabled
219
+ publish_answers_immediately: Publish paragraph answers immediately
220
+ suggested_hashtags: Hashtags suggested to participants for new paragraphs
221
+ votes_blocked: Supports blocked
222
+ votes_enabled: Supports enabled
223
+ votes_hidden: Supports hidden (if supports are enabled, checking this will hide the number of supports)
224
+ events:
225
+ paragraphs:
226
+ admin:
227
+ paragraph_note_created:
228
+ email_intro: Someone has left a note on the paragraph "%{resource_title}". Check it out at <a href="%{admin_paragraph_info_url}">the admin panel</a>
229
+ email_outro: You have received this notification because you can valuate the paragraph.
230
+ email_subject: Someone left a note on paragraph %{resource_title}.
231
+ notification_title: Someone has left a note on the paragraph <a href="%{resource_path}">%{resource_title}</a>. Check it out at <a href="%{admin_paragraph_info_path}">the admin panel</a>
232
+ collaborative_draft_access_accepted:
233
+ email_intro: '%{requester_name} has been accepted to access as a contributor of the <a href="%{resource_path}">%{resource_title}</a> collaborative draft.'
234
+ email_outro: You have received this notification because you are a collaborator of <a href="%{resource_path}">%{resource_title}</a>.
235
+ email_subject: "%{requester_name} has been accepted to access as a contributor of the %{resource_title}."
236
+ notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> has been <strong>accepted to access as a contributor</strong> of the <a href="%{resource_path}">%{resource_title}</a> collaborative draft.
237
+ collaborative_draft_access_rejected:
238
+ email_intro: '%{requester_name} has been rejected to access as a contributor of the <a href="%{resource_path}">%{resource_title}</a> collaborative draft.'
239
+ email_outro: You have received this notification because you are a collaborator of <a href="%{resource_path}">%{resource_title}</a>.
240
+ email_subject: "%{requester_name} has been rejected to access as a contributor of the %{resource_title} collaborative draft."
241
+ notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> has been <strong>rejected to access as a contributor</strong> of the <a href="%{resource_path}">%{resource_title}</a> collaborative draft.
242
+ collaborative_draft_access_requested:
243
+ email_intro: '%{requester_name} requested access as a contributor. You can <strong>accept or reject the request</strong> from the <a href="%{resource_path}">%{resource_title}</a> collaborative draft page.'
244
+ email_outro: You have received this notification because you are a collaborator of <a href="%{resource_path}">%{resource_title}</a>.
245
+ email_subject: "%{requester_name} requested access to contribute to %{resource_title}."
246
+ notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> requested access to contribute to the <a href="%{resource_path}">%{resource_title}</a> collaborative draft. Please <strong>accept or reject the request</strong>.
247
+ collaborative_draft_access_requester_accepted:
248
+ email_intro: You have been accepted to access as a contributor of the <a href="%{resource_path}">%{resource_title}</a> collaborative draft.
249
+ email_outro: You have received this notification because you requested to become a collaborator of <a href="%{resource_path}">%{resource_title}</a>.
250
+ email_subject: You have been accepted as a contributor of %{resource_title}.
251
+ notification_title: You have been <strong>accepted to access as a contributor</strong> of the <a href="%{resource_path}">%{resource_title}</a> collaborative draft.
252
+ collaborative_draft_access_requester_rejected:
253
+ email_intro: You have been rejected to access as a contributor of the <a href="%{resource_path}">%{resource_title}</a> collaborative draft.
254
+ email_outro: You have received this notification because you requested to become a collaborator of <a href="%{resource_path}">%{resource_title}</a>.
255
+ email_subject: You have been rejected as a contributor of %{resource_title}.
256
+ notification_title: You have been <strong>rejected to access as a contributor</strong> of the <a href="%{resource_path}">%{resource_title}</a> collaborative draft.
257
+ collaborative_draft_withdrawn:
258
+ email_intro: <a href="%{author_path}">%{author_name} %{author_nickname}</a> withdrawn the <a href="%{resource_path}">%{resource_title}</a> collaborative draft.
259
+ email_outro: You have received this notification because you are a collaborator of <a href="%{resource_path}">%{resource_title}</a>.
260
+ email_subject: "%{author_name} %{author_nickname} withdrawn the %{resource_title} collaborative draft."
261
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> <strong>withdrawn</strong> the <a href="%{resource_path}">%{resource_title}</a> collaborative draft.
262
+ creation_enabled:
263
+ email_intro: 'You can now create new paragraphs in %{participatory_space_title}! Start participating in this page:'
264
+ email_outro: You have received this notification because you are following %{participatory_space_title}. You can stop receiving notifications following the previous link.
265
+ email_subject: Paragraphs now available in %{participatory_space_title}
266
+ notification_title: You can now put forward <a href="%{resource_path}">new paragraphs</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a>
267
+ endorsing_enabled:
268
+ email_intro: 'You can endorse paragraphs in %{participatory_space_title}! Start participating in this page:'
269
+ email_outro: You have received this notification because you are following %{participatory_space_title}. You can stop receiving notifications following the previous link.
270
+ email_subject: Paragraphs endorsing has started for %{participatory_space_title}
271
+ notification_title: You can now start <a href="%{resource_path}">endorsing paragraphs</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a>
272
+ paragraph_accepted:
273
+ affected_user:
274
+ email_intro: 'Your paragraph "%{resource_title}" has been accepted. You can read the answer in this page:'
275
+ email_outro: You have received this notification because you are an author of "%{resource_title}".
276
+ email_subject: Your paragraph has been accepted
277
+ notification_title: Your paragraph <a href="%{resource_path}">%{resource_title}</a> has been accepted.
278
+ follower:
279
+ email_intro: 'The paragraph "%{resource_title}" has been accepted. You can read the answer in this page:'
280
+ email_outro: You have received this notification because you are following "%{resource_title}". You can unfollow it from the previous link.
281
+ email_subject: A paragraph you're following has been accepted
282
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> paragraph has been accepted.
283
+ paragraph_evaluating:
284
+ affected_user:
285
+ email_intro: 'Your paragraph "%{resource_title}" is currently being evaluated. You can check for an answer in this page:'
286
+ email_outro: You have received this notification because you are an author of "%{resource_title}".
287
+ email_subject: Your paragraph is being evaluated
288
+ notification_title: Your paragraph <a href="%{resource_path}">%{resource_title}</a> is being evaluated.
289
+ follower:
290
+ email_intro: 'The paragraph "%{resource_title}" is currently being evaluated. You can check for an answer in this page:'
291
+ email_outro: You have received this notification because you are following "%{resource_title}". You can unfollow it from the previous link.
292
+ email_subject: A paragraph you're following is being evaluated
293
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> paragraph is being evaluated.
294
+ paragraph_mentioned:
295
+ email_intro: Your paragraph "%{mentioned_paragraph_title}" has been mentioned <a href="%{resource_url}">in this space</a> in the comments.
296
+ email_outro: You have received this notification because you are an author of "%{resource_title}".
297
+ email_subject: Your paragraph "%{mentioned_paragraph_title}" has been mentioned
298
+ notification_title: Your paragraph "%{mentioned_paragraph_title}" has been mentioned <a href="%{resource_path}">in this space</a> in the comments.
299
+ paragraph_published:
300
+ email_intro: '%{author_name} %{author_nickname}, who you are following, has published a new paragraph called "%{resource_title}". Check it out and contribute:'
301
+ email_outro: You have received this notification because you are following %{author_nickname}. You can stop receiving notifications following the previous link.
302
+ email_subject: New paragraph "%{resource_title}" by %{author_nickname}
303
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> paragraph was published by <a href="%{author_path}">%{author_name} %{author_nickname}</a>.
304
+ paragraph_published_for_space:
305
+ email_intro: The paragraph "%{resource_title}" has been added to "%{participatory_space_title}" that you are following.
306
+ email_outro: You have received this notification because you are following "%{participatory_space_title}". You can stop receiving notifications following the previous link.
307
+ email_subject: New paragraph "%{resource_title}" added to %{participatory_space_title}
308
+ notification_title: The paragraph <a href="%{resource_path}">%{resource_title}</a> has been added to %{participatory_space_title}
309
+ paragraph_rejected:
310
+ affected_user:
311
+ email_intro: 'Your paragraph "%{resource_title}" has been rejected. You can read the answer in this page:'
312
+ email_outro: You have received this notification because you are an author of "%{resource_title}".
313
+ email_subject: Your paragraph been rejected
314
+ notification_title: Your paragraph <a href="%{resource_path}">%{resource_title}</a> has been rejected.
315
+ follower:
316
+ email_intro: 'The paragraph "%{resource_title}" has been rejected. You can read the answer in this page:'
317
+ email_outro: You have received this notification because you are following "%{resource_title}". You can unfollow it from the previous link.
318
+ email_subject: A paragraph you're following has been rejected
319
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> paragraph has been rejected.
320
+ paragraph_update_category:
321
+ email_intro: 'An admin has updated the category of your paragraph "%{resource_title}", check it out in this page:'
322
+ email_outro: You have received this notification because you are the author of the paragraph.
323
+ email_subject: The %{resource_title} paragraph category has been updated
324
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> paragraph category has been updated by an admin.
325
+ paragraph_update_scope:
326
+ email_intro: 'An admin has updated the scope of your paragraph "%{resource_title}", check it out in this page:'
327
+ email_outro: You have received this notification because you are the author of the paragraph.
328
+ email_subject: The %{resource_title} paragraph scope has been updated
329
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> paragraph scope has been updated by an admin.
330
+ voting_enabled:
331
+ email_intro: 'You can support paragraphs in %{participatory_space_title}! Start participating in this page:'
332
+ email_outro: You have received this notification because you are following %{participatory_space_title}. You can stop receiving notifications following the previous link.
333
+ email_subject: Paragraph support has started for %{participatory_space_title}
334
+ notification_title: You can now start <a href="%{resource_path}">supporting paragraphs</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a>
335
+ gamification:
336
+ badges:
337
+ accepted_paragraphs:
338
+ conditions:
339
+ - Choose the participation space of your interest with submission for paragraphs enabled
340
+ - Try to make paragraphs that can be carried out. This way they are more likely to be accepted.
341
+ description: This badge is granted when you actively participate with new paragraphs and these are accepted.
342
+ description_another: This participant had %{score} accepted paragraphs.
343
+ description_own: You got %{score} paragraphs accepted.
344
+ name: Accepted paragraphs
345
+ next_level_in: Get %{score} more paragraphs accepted to reach the next level!
346
+ unearned_another: This participant has not yet had any accepted paragraphs.
347
+ unearned_own: You got no paragraphs accepted yet.
348
+ paragraph_votes:
349
+ conditions:
350
+ - Browse and spend some time reading other people's paragraphs
351
+ - Give support to the paragraphs you like or find interesting
352
+ description: This badge is granted when you support other people's paragraphs.
353
+ description_another: This participant has given support to %{score} paragraphs.
354
+ description_own: You have given support to %{score} paragraphs.
355
+ name: Paragraph supports
356
+ next_level_in: Give support to %{score} more paragraphs to reach the next level!
357
+ unearned_another: This participant hasn't given support to any paragraphs yet.
358
+ unearned_own: You have given support to no paragraphs yet.
359
+ paragraphs:
360
+ conditions:
361
+ - Choose the participation space of your interest with submission for paragraphs enabled
362
+ - Create a new paragraph
363
+ description: This badge is granted when you actively participate with new paragraphs.
364
+ description_another: This participant has created %{score} paragraphs.
365
+ description_own: You have created %{score} paragraphs.
366
+ name: Paragraphs
367
+ next_level_in: Create %{score} more paragraphs to reach the next level!
368
+ unearned_another: This participant hasn't created any paragraphs yet.
369
+ unearned_own: You have created no paragraphs yet.
370
+ metrics:
371
+ accepted_paragraphs:
372
+ description: Number of paragraphs accepted
373
+ object: paragraphs
374
+ title: Accepted paragraphs
375
+ endorsements:
376
+ description: Number of endorsements to paragraphs
377
+ object: endorsements
378
+ title: Endorsements
379
+ paragraphs:
380
+ description: Number of paragraphs
381
+ object: paragraphs
382
+ title: Paragraphs
383
+ votes:
384
+ description: Number of supports to paragraphs
385
+ object: supports
386
+ title: Supports
387
+ participatory_spaces:
388
+ highlighted_paragraphs:
389
+ see_all: See all paragraphs (%{count})
390
+ enhanced_textwork:
391
+ actions:
392
+ answer_paragraph: Answer paragraph
393
+ edit_paragraph: Edit paragraph
394
+ import: Import from another component
395
+ new: New paragraph
396
+ participatory_texts: Participatory texts
397
+ show: Show paragraph
398
+ show_amendment: Show amendment
399
+ show_details: Show details
400
+ add_comment: Add comment
401
+ add_amendment: Add amendment
402
+ title: Actions
403
+ admin:
404
+ actions:
405
+ preview: Preview
406
+ exports:
407
+ paragraph_comments: Comments
408
+ paragraphs: Paragraphs
409
+ models:
410
+ paragraph:
411
+ name: Paragraph
412
+ participatory_texts:
413
+ article-preview:
414
+ title_hint: Empty title-fields will automatically be filled with numbers, but will be hidden on the public page when consisting of numbers only.
415
+ bulk-actions:
416
+ are_you_sure: Are you sure to discard the whole participatory text draft?
417
+ discard_all: Discard all
418
+ import_doc: Import document
419
+ write_document: Write document
420
+ discard:
421
+ success: All participatory text drafts have been discarded.
422
+ import:
423
+ invalid: The form is invalid!
424
+ invalid_file: The file contains some error, please try to edit the content of the file and re-upload it again.
425
+ success: Congratulations, the following sections have been converted to paragraphs. Now you can review and adjust them before publishing.
426
+ index:
427
+ info_1: The following sections have been converted to paragraphs. Now you can review and adjust them before publishing.
428
+ publish_document: Publish document
429
+ save_draft: Save draft
430
+ title: Preview participatory text
431
+ discard: Delete
432
+ discard_confirmation: Are you sure you want to discard this section draft?
433
+ new_editor:
434
+ title: Write text
435
+ bottom_hint: "(You will be able to preview and sort document sections)"
436
+ editor_description: "Write or paste your document. Use Heading 1 to define sections, Heading 2 for subsections and simple paragraphs to split text into articles."
437
+ import: Import
438
+ new_import:
439
+ accepted_mime_types:
440
+ md: Markdown
441
+ odt: ODT
442
+ bottom_hint: "(You will be able to preview and sort document sections)"
443
+ document_legend: 'Add a document lesser than 2MB, each section until 3 levels deep will be parsed into paragraphs. Suported formats are: %{valid_mime_types}'
444
+ title: Add document
445
+ upload_document: Upload document
446
+ publish:
447
+ invalid: Could not publish paragraphs
448
+ success: All paragraphs have been published
449
+ sections:
450
+ article: "<em>Article</em>"
451
+ section: "<em>Section:</em> <strong>%{title}</strong>"
452
+ sub-section: "<em>Subsection:</em> %{title}"
453
+ update:
454
+ success: Participatory text successfully updated.
455
+ paragraph_answers:
456
+ form:
457
+ accepted: Accepted
458
+ answer_paragraph: Answer
459
+ evaluating: Evaluating
460
+ rejected: Rejected
461
+ title: Answer for paragraph %{title}
462
+ paragraph_notes:
463
+ create:
464
+ error: There was a problem creating this paragraph note
465
+ success: Paragraph note successfully created
466
+ form:
467
+ note: Note
468
+ submit: Submit
469
+ leave_your_note: Leave your note
470
+ title: Private notes
471
+ paragraphs:
472
+ answer:
473
+ invalid: There's been a problem answering this paragraph
474
+ success: Paragraph successfully answered
475
+ create:
476
+ invalid: There's been a problem creating this paragraph
477
+ success: Paragraph successfully created
478
+ edit:
479
+ title: Update paragraph
480
+ update: Update
481
+ form:
482
+ attachment_legend: "(Optional) Add an attachment"
483
+ created_in_meeting: This paragraph comes from a meeting
484
+ delete_attachment: Delete attachment
485
+ select_a_category: Select a category
486
+ select_a_meeting: Select a meeting
487
+ index:
488
+ actions: Actions
489
+ assign_to_valuator: Assign to valuator
490
+ assign_to_valuator_button: Assign
491
+ cancel: Cancel
492
+ change_category: Change category
493
+ change_scope: Change scope
494
+ merge: Merge into a new one
495
+ merge_button: Merge
496
+ publish: Publish
497
+ publish_answers: Publish answers
498
+ select_component: Select a component
499
+ selected: selected
500
+ split: Split paragraphs
501
+ split_button: Split
502
+ title: Paragraphs
503
+ unassign_from_valuator: Unassign from valuator
504
+ unassign_from_valuator_button: Unassign
505
+ update: Update
506
+ update_scope_button: Update Scope
507
+ new:
508
+ create: Create
509
+ title: Create paragraph
510
+ publish_answers:
511
+ number_of_paragraphs: Answers for %{number} paragraphs will be published.
512
+ select_a_paragraph: Please select a paragraph
513
+ show:
514
+ amendments_count: Amendments count
515
+ assigned_valuators: Assigned valuators
516
+ authors: Authors
517
+ body: Body
518
+ comments_count: Comments count
519
+ comments_negative_count: Against
520
+ comments_neutral_count: Neutral
521
+ comments_positive_count: Favor
522
+ created_at: Creation date
523
+ documents: Documents
524
+ endorsements_count: Endorsements count
525
+ endorsements_ranking: Ranking by endorsements
526
+ endorsers: Endorsers
527
+ link: Link
528
+ n_more_endorsers:
529
+ one: and 1 more
530
+ other: and %{count} more
531
+ photos: Photos
532
+ paragraphs: Paragraphs
533
+ ranking: "%{ranking} of %{total}"
534
+ related_meetings: Related meetings
535
+ remove_assignment: Remove assignment
536
+ remove_assignment_confirmation: Are you sure you want to remove the valuator from this paragraph?
537
+ valuators: Valuators
538
+ votes_count: Supports count
539
+ votes_ranking: Ranking by supports
540
+ update_category:
541
+ invalid: 'These paragraphs already had the %{subject_name} category: %{paragraphs}.'
542
+ select_a_category: Please select a category
543
+ select_a_paragraph: Please select a paragraph
544
+ success: 'Paragraphs successfully updated to the %{subject_name} category: %{paragraphs}.'
545
+ update_scope:
546
+ invalid: 'These paragraphs already had the %{subject_name} scope: %{paragraphs}.'
547
+ select_a_paragraph: Please select a paragraph
548
+ select_a_scope: Please select a scope
549
+ success: 'Paragraphs successfully updated to the %{subject_name} scope: %{paragraphs}.'
550
+ paragraphs_imports:
551
+ create:
552
+ invalid: There was a problem importing the paragraphs
553
+ success: "%{number} paragraphs successfully imported"
554
+ new:
555
+ create: Import paragraphs
556
+ no_components: There are no other paragraph components in this participatory space to import the paragraphs from.
557
+ select_component: Please select a component
558
+ select_states: Check the status of the paragraphs to import
559
+ title: Import paragraphs
560
+ paragraphs_merges:
561
+ create:
562
+ invalid: 'There has been a problem merging the selected paragraphs because some of them:'
563
+ success: Successfully merged the paragraphs into a new one.
564
+ paragraphs_splits:
565
+ create:
566
+ invalid: 'There has been a problem splitting the selected paragraphs because some of them:'
567
+ success: Successfully splitted the paragraphs into new ones.
568
+ valuation_assignments:
569
+ create:
570
+ invalid: There was an error assigning paragraphs to a valuator
571
+ success: Paragraphs assigned to a valuator successfully
572
+ delete:
573
+ invalid: There was an error unassigning paragraphs from a valuator
574
+ success: Valuator unassigned from paragraphs successfully
575
+ admin_log:
576
+ paragraph:
577
+ answer: "%{user_name} answered the %{resource_name} paragraph on the %{space_name} space"
578
+ create: "%{user_name} created the %{resource_name} paragraph on the %{space_name} space as an official paragraph"
579
+ publish_answer: "%{user_name} published the answer to %{resource_name} paragraph on the %{space_name} space"
580
+ update: "%{user_name} updated the %{resource_name} official paragraph on the %{space_name} space"
581
+ paragraph_note:
582
+ create: "%{user_name} left a private note on the %{resource_name} paragraph on the %{space_name} space"
583
+ valuation_assignment:
584
+ create: "%{user_name} assigned the %{resource_name} paragraph to a valuator"
585
+ delete: "%{user_name} unassigned a valuator from the %{paragraph_title} paragraph"
586
+ answers:
587
+ accepted: Accepted
588
+ evaluating: Evaluating
589
+ not_answered: Not answered
590
+ rejected: Rejected
591
+ withdrawn: Withdrawn
592
+ application_helper:
593
+ filter_category_values:
594
+ all: All
595
+ filter_origin_values:
596
+ all: All
597
+ citizens: Citizens
598
+ meetings: Meetings
599
+ official: Official
600
+ user_groups: Groups
601
+ filter_scope_values:
602
+ all: All
603
+ filter_state_values:
604
+ accepted: Accepted
605
+ all: All
606
+ evaluating: Evaluating
607
+ not_answered: Not answered
608
+ rejected: Rejected
609
+ filter_type_values:
610
+ all: All
611
+ amendments: Amendments
612
+ paragraphs: Paragraphs
613
+ collaborative_drafts:
614
+ collaborative_draft:
615
+ publish:
616
+ error: There was a problem publishing the collaborative draft.
617
+ irreversible_action_modal:
618
+ body: After publishing the draft as a paragraph, the draft won't be editable anymore. The paragraph won't accept new authors or contributions.
619
+ cancel: Cancel
620
+ ok: Publish as a Paragraph
621
+ title: The following action is irreversible
622
+ success: Collaborative draft published successfully as a paragraph.
623
+ view_collaborative_draft: View Collaborative Draft
624
+ withdraw:
625
+ error: There was a problem closing the collaborative draft.
626
+ irreversible_action_modal:
627
+ body: After closing the draft, the draft won't be editable anymore. The draft won't accept new authors or contributions.
628
+ cancel: Cancel
629
+ ok: Withdraw the collaborative draft
630
+ title: The following action is irreversible
631
+ success: Collaborative draft withdrawn successfully.
632
+ count:
633
+ drafts_count:
634
+ one: "%{count} collaborative draft"
635
+ other: "%{count} collaborative drafts"
636
+ create:
637
+ error: There was a problem creating this collaborative drafts
638
+ success: Collaborative draft successfully created.
639
+ edit:
640
+ attachment_legend: "(Optional) Add an attachment"
641
+ back: Back
642
+ select_a_category: Please select a category
643
+ send: Send
644
+ title: Edit collaborative draft
645
+ filters:
646
+ all: All
647
+ amendment: Amendments
648
+ category: Category
649
+ open: Open
650
+ published: Published
651
+ related_to: Related to
652
+ scope: Scope
653
+ search: Search
654
+ state: Status
655
+ withdrawn: Withdrawn
656
+ filters_small_view:
657
+ close_modal: Close modal
658
+ filter: Filter
659
+ filter_by: Filter by
660
+ unfold: Unfold
661
+ new:
662
+ send: Continue
663
+ new_collaborative_draft_button:
664
+ new_collaborative_draft: New collaborative draft
665
+ orders:
666
+ label: 'Order drafts by:'
667
+ most_contributed: Most contributed
668
+ random: Random
669
+ recent: Recent
670
+ requests:
671
+ accepted_request:
672
+ error: Could not be accepted as a collaborator, please try again later.
673
+ success: "@%{user} has been accepted as a collaborator successfully"
674
+ access_requested:
675
+ error: Your request could not be completed, please try again later.
676
+ success: Your request to collaborate has been successfully sent
677
+ collaboration_requests:
678
+ accept_request: Accept
679
+ reject_request: Reject
680
+ title: Collaboration requests
681
+ rejected_request:
682
+ error: Could not be rejected as a collaborator, please try again later.
683
+ success: "@%{user} has been successfully rejected as a collaborator"
684
+ show:
685
+ back: Back
686
+ edit: Edit collaborative draft
687
+ final_paragraph: final paragraph
688
+ final_paragraph_help_text: This draft is finished. Check out the final paragraph
689
+ hidden_authors_count:
690
+ one: and %{count} more person
691
+ other: and %{count} more people
692
+ info-message: This is a <strong>collaborative draft</strong> for a paragraph. This means that you can help their authors to shape the paragraph using the comment section below or improve it directly by requesting access to edit it. Once the authors grant you access, you'll be able to make changes to this draft.
693
+ publish: Publish
694
+ publish_info: Publish this version of the draft or
695
+ published_paragraph: published paragraph
696
+ request_access: Request access
697
+ requested_access: Access requested
698
+ version_history: see version history for this paragraph
699
+ withdraw: withdraw the draft
700
+ states:
701
+ open: Open
702
+ published: Published
703
+ withdrawn: Withdrawn
704
+ update:
705
+ error: There was a problem saving the collaborative draft.
706
+ success: Collaborative draft successfully updated.
707
+ wizard_aside:
708
+ back_from_collaborative_draft: Back to collaborative drafts
709
+ info: You are creating a <strong>collaborative draft</strong>.
710
+ wizard_header:
711
+ title: Create your collaborative draft
712
+ content_blocks:
713
+ highlighted_paragraphs:
714
+ paragraphs: Paragraphs
715
+ create:
716
+ error: There was a problem saving the paragraph.
717
+ success: Paragraph successfully created. Saved as a Draft.
718
+ destroy_draft:
719
+ error: There was a problem deleting the collaborative draft.
720
+ success: Paragraph draft was successfully deleted.
721
+ last_activity:
722
+ new_paragraph_at_html: "<span>New paragraph at %{link}</span>"
723
+ paragraph_updated_at_html: "<span>Paragraph updated at %{link}</span>"
724
+ models:
725
+ collaborative_draft:
726
+ fields:
727
+ authors: Authors
728
+ comments: Comments
729
+ contributions: Contributions
730
+ paragraph:
731
+ fields:
732
+ category: Category
733
+ comments: Comments
734
+ id: ID
735
+ notes: Notes
736
+ official_paragraph: Official paragraph
737
+ published_answer: Published answer
738
+ published_at: Published at
739
+ scope: Scope
740
+ state: Status
741
+ title: Title
742
+ valuator: Valuator
743
+ valuators: Valuators
744
+ votes: Votes
745
+ new:
746
+ limit_reached: You can't create new paragraphs since you've exceeded the limit.
747
+ overview:
748
+ expand_amendments: Show all
749
+ shrink_amendments: Show less
750
+ participatory_text_paragraph:
751
+ alternative_title: There are no participatory texts at the moment
752
+ buttons:
753
+ amend: Amend
754
+ comment: Comment
755
+ comments: Comments
756
+ paragraph_votes:
757
+ create:
758
+ error: There was a problem supporting the paragraph.
759
+ paragraphs:
760
+ compare:
761
+ continue: Continue
762
+ no_similars_found: Well done! No similar paragraphs found
763
+ title: Similar Paragraphs
764
+ complete:
765
+ send: Send
766
+ title: Complete your paragraph
767
+ count:
768
+ paragraphs_count:
769
+ one: "%{count} paragraph"
770
+ other: "%{count} paragraphs"
771
+ dynamic_map_instructions:
772
+ description: The coordinates will be updated when clicking on 'preview' button. However, the address does not change.
773
+ instructions: You can move the point on the map.
774
+ edit:
775
+ add_documents: Documents
776
+ add_images: File
777
+ attachment_legend: "(Optional) Add an attachment"
778
+ back: Back
779
+ delete_document: Delete Document
780
+ delete_image: Delete Image
781
+ gallery_legend: "(Optional) Add an image to the paragraph card"
782
+ select_a_category: Please select a category
783
+ send: Send
784
+ title: Edit paragraph
785
+ edit_draft:
786
+ discard: Discard this draft
787
+ discard_confirmation: Are you sure you want to discard this paragraph draft?
788
+ send: Preview
789
+ title: Edit Paragraph Draft
790
+ filters:
791
+ activity: My activity
792
+ all: All
793
+ amendment_type: Type
794
+ category: Category
795
+ my_paragraphs: My paragraphs
796
+ origin: Origin
797
+ related_to: Related to
798
+ scope: Scope
799
+ search: Search
800
+ state: Status
801
+ type: Type
802
+ voted: Supported
803
+ filters_small_view:
804
+ close_modal: Close modal
805
+ filter: Filter
806
+ filter_by: Filter by
807
+ unfold: Unfold
808
+ index:
809
+ click_here: See all paragraphs
810
+ collaborative_drafts_list: Access collaborative drafts
811
+ new_paragraph: New paragraph
812
+ see_all: See all paragraphs
813
+ see_all_withdrawn: See all withdrawn paragraphs
814
+ text_banner: You are viewing the list of paragraphs withdrawn by their authors. %{go_back_link}.
815
+ view_paragraph: View paragraph
816
+ linked_paragraphs:
817
+ paragraph_votes:
818
+ one: support
819
+ other: supports
820
+ new:
821
+ send: Continue
822
+ title: Create Your Paragraph
823
+ orders:
824
+ label: 'Order paragraphs by:'
825
+ most_commented: Most commented
826
+ most_endorsed: Most endorsed
827
+ most_followed: Most followed
828
+ most_voted: Most supported
829
+ random: Random
830
+ recent: Recent
831
+ with_more_authors: With more authors
832
+ participatory_texts:
833
+ index:
834
+ document_index: Index
835
+ view_index:
836
+ see_index: See index
837
+ placeholder:
838
+ address: 37 Homewood Drive Brownsburg, IN 46112
839
+ preview:
840
+ announcement_body: Your paragraph has been saved as a draft. It needs to be published for it to appear on the site.
841
+ announcement_title: Your paragraph has not yet been published
842
+ modify: Modify the paragraph
843
+ paragraph_edit_before_minutes:
844
+ one: You will be able to edit this paragraph during the first minute after the paragraph is published. Once this time window passes, you will not be able to edit the paragraph.
845
+ other: You will be able to edit this paragraph during the first %{count} minutes after the paragraph is published. Once this time window passes, you will not be able to edit the paragraph.
846
+ publish: Publish
847
+ title: Publish your paragraph
848
+ paragraph:
849
+ creation_date: 'Creation: %{date}'
850
+ view_paragraph: View paragraph
851
+ paragraphs:
852
+ empty: There is no paragraph yet
853
+ empty_filters: There isn't any paragraph with this criteria
854
+ show:
855
+ answer: Answer
856
+ back_to: Back to
857
+ back_to_list: Back to list
858
+ changes_at_title: Amendment to "%{title}"
859
+ comments: Comments
860
+ edit_paragraph: Edit paragraph
861
+ endorsements_list: List of Endorsements
862
+ estimated_cost: Estimated cost
863
+ hidden_endorsers_count:
864
+ one: and %{count} more person
865
+ other: and %{count} more people
866
+ link_to_collaborative_draft_help_text: This paragraph is the result of a collaborative draft. Review the history
867
+ link_to_collaborative_draft_text: See the collaborative draft
868
+ link_to_promoted_emendation_help_text: This paragraph is a promoted emendation
869
+ link_to_promoted_emendation_text: See the rejected emendation.
870
+ link_to_paragraph_from_emendation_help_text: This is a rejected emendation
871
+ link_to_paragraph_from_emendation_text: See the Paragraph
872
+ paragraph_accepted_reason: 'This paragraph has been accepted because:'
873
+ paragraph_in_evaluation_reason: This paragraph is being evaluated
874
+ paragraph_rejected_reason: 'This paragraph has been rejected because:'
875
+ read_less: Read less
876
+ read_more: Read more
877
+ report: Report
878
+ withdraw_btn_hint: You can withdraw your paragraph if you change your mind, as long as you have not received any support. The paragraph is not deleted, it will appear in the list of withdrawn paragraphs.
879
+ withdraw_confirmation_html: Are you sure you want to withdraw this paragraph?<br><br><strong>This action cannot be cancelled!</strong>
880
+ withdraw_paragraph: Withdraw paragraph
881
+ tags:
882
+ changed_from: "(changed from <u>%{previous_name}</u> by an administrator)"
883
+ update:
884
+ title: Update paragraph
885
+ vote_button:
886
+ already_voted: Already supported
887
+ already_voted_hover: Withdraw support
888
+ maximum_votes_reached: Support limit reached
889
+ no_votes_remaining: No supports remaining
890
+ vote: Support
891
+ votes_blocked: Supports disabled
892
+ votes_count:
893
+ count:
894
+ one: Support
895
+ other: Supports
896
+ most_popular_paragraph: Most popular paragraph
897
+ need_more_votes: Need more supports
898
+ voting_rules:
899
+ can_accumulate_supports_beyond_threshold:
900
+ description: Each paragraph can accumulate more than %{limit} supports
901
+ minimum_votes_per_user:
902
+ description: You must distribute a minimum of %{votes} supports among different paragraphs.
903
+ given_enough_votes: You've given enough supports.
904
+ supports_remaining: You have to support %{remaining_votes} more paragraphs for your supports to be taken into account.
905
+ paragraph_limit:
906
+ description: You can create up to %{limit} paragraphs.
907
+ threshold_per_paragraph:
908
+ description: In order to be validated paragraphs need to reach %{limit} supports
909
+ title: 'Supports are subject to the following rules:'
910
+ vote_limit:
911
+ description: You can support up to %{limit} paragraphs.
912
+ left: Remaining
913
+ votes: Supports
914
+ wizard_aside:
915
+ back: Back
916
+ back_from_step_1: Back to paragraphs
917
+ back_from_step_2: Back to paragraphs
918
+ back_from_step_3: Back to compare paragraphs
919
+ back_from_step_4: Back to edit draft
920
+ info: You are creating a <strong>paragraph</strong>.
921
+ wizard_steps:
922
+ current_step: Current step
923
+ see_steps: see steps
924
+ step_1: Create your paragraph
925
+ step_2: Compare
926
+ step_3: Complete
927
+ step_4: Publish your paragraph
928
+ step_of: Step %{current_step_num} of %{total_steps}
929
+ title: Paragraph creation steps
930
+ paragraphs_picker:
931
+ choose_paragraphs: Choose paragraphs
932
+ close: Close
933
+ more_paragraphs: There are %{number} more paragraphs. Refine your search to locate them.
934
+ no_paragraphs: No paragraphs match your search criteria or there isn't any paragraphs.
935
+ publish:
936
+ error: There was a problem publishing the paragraph.
937
+ success: Paragraph successfully published.
938
+ publish_answers:
939
+ success: Paragraphs answers successfully published.
940
+ update:
941
+ error: There was a problem saving the paragraph.
942
+ success: Paragraph successfully updated.
943
+ update_draft:
944
+ error: There was a problem saving the collaborative draft.
945
+ success: Paragraph draft successfully updated.
946
+ versions:
947
+ collaborative_drafts:
948
+ back_to_resource: Go back to collaborative draft
949
+ index:
950
+ title: Versions
951
+ paragraphs:
952
+ back_to_resource: Go back to paragraph
953
+ withdraw:
954
+ errors:
955
+ has_supports: This paragraph can not be withdrawn because it already has supports.
956
+ resource_links:
957
+ copied_from_component:
958
+ paragraph_paragraph: Related paragraphs
959
+ included_projects:
960
+ project_result: 'Results appearing in this project:'
961
+ included_paragraphs:
962
+ paragraph_project: 'Paragraph appearing in these projects:'
963
+ paragraph_result: 'Paragraph appearing in these results:'
964
+ statistics:
965
+ paragraphs_accepted: Accepted Paragraphs
966
+ paragraphs_count: Paragraphs
967
+ supports_count: Supports