decidim-decidim_awesome 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE-AGPLv3.txt +661 -0
  3. data/README.md +307 -0
  4. data/Rakefile +51 -0
  5. data/app/assets/config/decidim_admin_decidim_awesome_manifest.css +3 -0
  6. data/app/assets/config/decidim_admin_decidim_awesome_manifest.js +1 -0
  7. data/app/assets/config/decidim_decidim_awesome_manifest.css +5 -0
  8. data/app/assets/config/decidim_decidim_awesome_manifest.js +2 -0
  9. data/app/assets/images/decidim/decidim_awesome/loading.gif +0 -0
  10. data/app/assets/images/decidim/decidim_awesome/platoniq-logo.png +0 -0
  11. data/app/assets/javascripts/decidim/decidim_awesome/admin.js +2 -0
  12. data/app/assets/javascripts/decidim/decidim_awesome/admin/constraints.js.es6 +54 -0
  13. data/app/assets/javascripts/decidim/decidim_awesome/application.js +4 -0
  14. data/app/assets/javascripts/decidim/decidim_awesome/awesome_map/api_fetcher.js.es6 +38 -0
  15. data/app/assets/javascripts/decidim/decidim_awesome/awesome_map/categories.js.es6 +25 -0
  16. data/app/assets/javascripts/decidim/decidim_awesome/awesome_map/map.js.es6 +215 -0
  17. data/app/assets/javascripts/decidim/decidim_awesome/awesome_map/meetings.js.es6 +129 -0
  18. data/app/assets/javascripts/decidim/decidim_awesome/awesome_map/proposals.js.es6 +78 -0
  19. data/app/assets/javascripts/decidim/decidim_awesome/editors/markdown_view.js.es6 +12 -0
  20. data/app/assets/javascripts/decidim/decidim_awesome/editors/quill_editor.js.es6 +162 -0
  21. data/app/assets/javascripts/decidim/decidim_awesome/forms/autosave.js.es6 +90 -0
  22. data/app/assets/javascripts/decidim/decidim_awesome/proposals/images.js.es6 +25 -0
  23. data/app/assets/stylesheets/decidim/decidim_awesome/admin.scss +45 -0
  24. data/app/assets/stylesheets/decidim/decidim_awesome/admin/constraints.scss +37 -0
  25. data/app/assets/stylesheets/decidim/decidim_awesome/application.scss +8 -0
  26. data/app/assets/stylesheets/decidim/decidim_awesome/awesome_iframe/iframe.scss +10 -0
  27. data/app/assets/stylesheets/decidim/decidim_awesome/awesome_map/leaflet.scss.erb +9 -0
  28. data/app/assets/stylesheets/decidim/decidim_awesome/awesome_map/map.scss +66 -0
  29. data/app/assets/stylesheets/decidim/decidim_awesome/editors/markdown_editor.scss +17 -0
  30. data/app/assets/stylesheets/decidim/decidim_awesome/editors/markdown_view.scss +27 -0
  31. data/app/assets/stylesheets/decidim/decidim_awesome/editors/quill_editor.scss +7 -0
  32. data/app/assets/stylesheets/decidim/decidim_awesome/forms/autosave.scss +17 -0
  33. data/app/awesome_overrides/presenters/decidim/proposals/proposal_presenter_override.rb +31 -0
  34. data/app/commands/decidim/decidim_awesome/admin/create_constraint.rb +47 -0
  35. data/app/commands/decidim/decidim_awesome/admin/destroy_constraint.rb +31 -0
  36. data/app/commands/decidim/decidim_awesome/admin/update_config.rb +44 -0
  37. data/app/commands/decidim/decidim_awesome/admin/update_constraint.rb +44 -0
  38. data/app/commands/decidim/decidim_awesome/create_editor_image.rb +34 -0
  39. data/app/controllers/concerns/decidim/decidim_awesome/needs_awesome_config.rb +17 -0
  40. data/app/controllers/decidim/decidim_awesome/admin/application_controller.rb +21 -0
  41. data/app/controllers/decidim/decidim_awesome/admin/checks_controller.rb +37 -0
  42. data/app/controllers/decidim/decidim_awesome/admin/config_controller.rb +44 -0
  43. data/app/controllers/decidim/decidim_awesome/admin/constraints_controller.rb +126 -0
  44. data/app/controllers/decidim/decidim_awesome/application_controller.rb +14 -0
  45. data/app/controllers/decidim/decidim_awesome/editor_images_controller.rb +50 -0
  46. data/app/controllers/decidim/decidim_awesome/iframe_component/application_controller.rb +15 -0
  47. data/app/controllers/decidim/decidim_awesome/iframe_component/iframe_controller.rb +33 -0
  48. data/app/controllers/decidim/decidim_awesome/map_component/application_controller.rb +15 -0
  49. data/app/controllers/decidim/decidim_awesome/map_component/map_controller.rb +31 -0
  50. data/app/forms/decidim/decidim_awesome/admin/config_form.rb +22 -0
  51. data/app/forms/decidim/decidim_awesome/admin/constraint_form.rb +20 -0
  52. data/app/forms/decidim/decidim_awesome/admin/intergram_form.rb +21 -0
  53. data/app/forms/decidim/decidim_awesome/editor_image_form.rb +16 -0
  54. data/app/helpers/decidim/decidim_awesome/admin/config_constraints_helpers.rb +90 -0
  55. data/app/helpers/decidim/decidim_awesome/application_helper.rb +10 -0
  56. data/app/helpers/decidim/decidim_awesome/map_helper.rb +121 -0
  57. data/app/models/decidim/decidim_awesome/application_record.rb +10 -0
  58. data/app/models/decidim/decidim_awesome/awesome_config.rb +23 -0
  59. data/app/models/decidim/decidim_awesome/config_constraint.rb +13 -0
  60. data/app/models/decidim/decidim_awesome/editor_image.rb +24 -0
  61. data/app/permissions/decidim/decidim_awesome/permissions.rb +29 -0
  62. data/app/uploaders/decidim/decidim_awesome/image_uploader.rb +22 -0
  63. data/app/views/decidim/decidim_awesome/admin/checks/index.html.erb +35 -0
  64. data/app/views/decidim/decidim_awesome/admin/config/_constraints.html.erb +27 -0
  65. data/app/views/decidim/decidim_awesome/admin/config/_form_editors.html.erb +20 -0
  66. data/app/views/decidim/decidim_awesome/admin/config/_form_livechat.html.erb +44 -0
  67. data/app/views/decidim/decidim_awesome/admin/config/_form_proposals.html.erb +12 -0
  68. data/app/views/decidim/decidim_awesome/admin/config/_form_surveys.html.erb +9 -0
  69. data/app/views/decidim/decidim_awesome/admin/config/_modal.html.erb +11 -0
  70. data/app/views/decidim/decidim_awesome/admin/config/show.html.erb +15 -0
  71. data/app/views/decidim/decidim_awesome/admin/constraints/_form.html.erb +56 -0
  72. data/app/views/decidim/decidim_awesome/admin/constraints/new.html.erb +14 -0
  73. data/app/views/decidim/decidim_awesome/admin/constraints/show.html.erb +14 -0
  74. data/app/views/decidim/decidim_awesome/iframe_component/iframe/show.html.erb +9 -0
  75. data/app/views/decidim/decidim_awesome/map_component/map/error.erb +7 -0
  76. data/app/views/decidim/decidim_awesome/map_component/map/show.html.erb +74 -0
  77. data/app/views/layouts/decidim/_head.html.erb +5 -0
  78. data/app/views/layouts/decidim/admin/_header.html.erb +5 -0
  79. data/app/views/layouts/decidim/admin/decidim_awesome.html.erb +47 -0
  80. data/app/views/layouts/decidim/decidim_awesome/_awesome_config.html.erb +20 -0
  81. data/app/views/layouts/decidim/decidim_awesome/_intergram_widget.html.erb +16 -0
  82. data/app/views/v0.21/layouts/decidim/_head.html.erb +34 -0
  83. data/app/views/v0.21/layouts/decidim/admin/_header.html.erb +9 -0
  84. data/app/views/v0.22/layouts/decidim/_head.html.erb +36 -0
  85. data/app/views/v0.22/layouts/decidim/admin/_header.html.erb +11 -0
  86. data/config/i18n-tasks.yml +10 -0
  87. data/config/locales/ca.yml +125 -0
  88. data/config/locales/cs.yml +125 -0
  89. data/config/locales/en.yml +176 -0
  90. data/config/locales/es.yml +125 -0
  91. data/config/locales/fr.yml +125 -0
  92. data/config/locales/sv.yml +125 -0
  93. data/db/migrate/20200324170000_create_decidim_awesome_config.rb +16 -0
  94. data/db/migrate/20200324230936_create_awesome_editor_images.rb +14 -0
  95. data/db/migrate/20200403142257_create_decidim_awesome_config_constraints.rb +13 -0
  96. data/db/seeds.rb +27 -0
  97. data/lib/decidim/decidim_awesome.rb +110 -0
  98. data/lib/decidim/decidim_awesome/admin.rb +10 -0
  99. data/lib/decidim/decidim_awesome/admin_engine.rb +45 -0
  100. data/lib/decidim/decidim_awesome/awesome_helpers.rb +55 -0
  101. data/lib/decidim/decidim_awesome/checksums.yml +15 -0
  102. data/lib/decidim/decidim_awesome/config.rb +129 -0
  103. data/lib/decidim/decidim_awesome/content_renderers.rb +9 -0
  104. data/lib/decidim/decidim_awesome/content_renderers/markdown_renderer.rb +18 -0
  105. data/lib/decidim/decidim_awesome/context_analyzers.rb +11 -0
  106. data/lib/decidim/decidim_awesome/context_analyzers/component_analyzer.rb +38 -0
  107. data/lib/decidim/decidim_awesome/context_analyzers/participatory_space_analyzer.rb +31 -0
  108. data/lib/decidim/decidim_awesome/context_analyzers/request_analyzer.rb +97 -0
  109. data/lib/decidim/decidim_awesome/engine.rb +38 -0
  110. data/lib/decidim/decidim_awesome/iframe_component/component.rb +59 -0
  111. data/lib/decidim/decidim_awesome/iframe_component/engine.rb +23 -0
  112. data/lib/decidim/decidim_awesome/map_component/component.rb +74 -0
  113. data/lib/decidim/decidim_awesome/map_component/engine.rb +23 -0
  114. data/lib/decidim/decidim_awesome/system_checker.rb +63 -0
  115. data/lib/decidim/decidim_awesome/test/factories.rb +36 -0
  116. data/lib/decidim/decidim_awesome/test/shared_examples/config_examples.rb +25 -0
  117. data/lib/decidim/decidim_awesome/test/themes/css.lvh.me.css +3 -0
  118. data/lib/decidim/decidim_awesome/test/themes/erb.lvh.me.scss.erb +2 -0
  119. data/lib/decidim/decidim_awesome/test/themes/scss.lvh.me.scss +1 -0
  120. data/lib/decidim/decidim_awesome/test/themes/test-theme/body.scss +4 -0
  121. data/lib/decidim/decidim_awesome/version.rb +10 -0
  122. data/vendor/assets/images/layers-2x.png +0 -0
  123. data/vendor/assets/images/layers.png +0 -0
  124. data/vendor/assets/images/marker-icon.png +0 -0
  125. data/vendor/assets/javascripts/codemirror-4.inline-attachment.js +89 -0
  126. data/vendor/assets/javascripts/form-storage.js +824 -0
  127. data/vendor/assets/javascripts/highlight.min.js +44 -0
  128. data/vendor/assets/javascripts/image-resize.min.js +1 -0
  129. data/vendor/assets/javascripts/image-upload.min.js +6 -0
  130. data/vendor/assets/javascripts/inline-attachment.js +399 -0
  131. data/vendor/assets/javascripts/inscrybmde.min.js +7 -0
  132. data/vendor/assets/javascripts/jquery.inline-attachment.js +66 -0
  133. data/vendor/assets/javascripts/leaflet.featuregroup.subgroup.js +6 -0
  134. data/vendor/assets/stylesheets/default.min.css +1 -0
  135. data/vendor/assets/stylesheets/foundation.min.css +1 -0
  136. data/vendor/assets/stylesheets/github.min.css +2 -0
  137. data/vendor/assets/stylesheets/inscrybmde.min.css +8 -0
  138. metadata +267 -0
@@ -0,0 +1,176 @@
1
+ ---
2
+ en:
3
+ activemodel:
4
+ attributes:
5
+ config:
6
+ allow_images_in_full_editor: Allow images in the full HTML editor
7
+ allow_images_in_markdown_editor: Allow images in the markdown editor
8
+ allow_images_in_proposals: Allow images in the proposals editor
9
+ allow_images_in_small_editor: Allow images in the minimal HTML editor
10
+ auto_save_forms: Auto save forms in local storage
11
+ intergram_auto_no_response: A message that is sent one minute after the user
12
+ sends its first message and no response was received
13
+ intergram_auto_response: A message that is sent immediately after the user
14
+ sends its first message
15
+ intergram_chat_id: Chat ID
16
+ intergram_color: Color of the widget
17
+ intergram_for_admins: Enable Intergram Chat in the admin backend
18
+ intergram_intro_message: First message when the user opens the chat for the
19
+ first time
20
+ intergram_require_login: Only for logged users
21
+ intergram_title_closed: Closed chat title
22
+ intergram_title_open: Opened chat title
23
+ intergram_use_floating_button: If checked, the closed chat is always a button
24
+ instead of a text
25
+ use_markdown_editor: Use a Markdown editor instead of the HTML editor
26
+ constraint:
27
+ component_id: or specifically in
28
+ component_manifest: Only in components of type
29
+ participatory_space_manifest: Apply to participatory spaces of type
30
+ participatory_space_slug: Only in
31
+ decidim:
32
+ admin:
33
+ menu:
34
+ decidim_awesome: Decidim awesome
35
+ components:
36
+ awesome_iframe:
37
+ name: Fullscreen Iframe
38
+ settings:
39
+ global:
40
+ iframe: Iframe code
41
+ iframe_help: 'Put your code as html: <iframe width="100%" height="700"
42
+ frameBorder="0" allowFullscreen src="..."></iframe>. Content will be
43
+ sanitized from other HTML tags. Ensure to use 100% as width to fill
44
+ the screen.'
45
+ no_margins: No margins between the iframe and the rest of the page
46
+ viewport_width: Limit maximum width to the application viewport
47
+ step:
48
+ iframe: Iframe code
49
+ awesome_map:
50
+ name: Awesome Map
51
+ settings:
52
+ global:
53
+ announcement: Announcement
54
+ collapse: Start with collapsed menu
55
+ map_height: Map height (px)
56
+ step:
57
+ announcement: Announcement
58
+ decidim_awesome:
59
+ admin:
60
+ checks:
61
+ index:
62
+ decidim-admin: From Admin module
63
+ decidim-core: From Core module
64
+ decidim-proposals: From Proposals module
65
+ decidim_version: Decidim version %{version}
66
+ title: System compatibility checks
67
+ config:
68
+ constraints:
69
+ add_condition: Add case
70
+ always: Always
71
+ delete: Delete
72
+ edit: Edit
73
+ title: 'Applicable only in these cases:'
74
+ experimental: Experimental options
75
+ form:
76
+ help:
77
+ allow_images_in_full_editor: This will add an image uploader icon in
78
+ all the editors WYSIWYG with the full toolbar enabled.
79
+ allow_images_in_markdown_editor: This will allow markdown editor to
80
+ upload images by copy & paste or drag & drop.
81
+ allow_images_in_proposals: This will allow to upload images in the proposals
82
+ editor, available to any user
83
+ allow_images_in_small_editor: This will add an image uploader icon in
84
+ all the editors WYSIWYG with minimal options in the toolbar enabled.
85
+ auto_save_forms: This will use LocalStorage to automatically save data
86
+ introduced by users in surveys and other forms while they are filling
87
+ it. Data will be restored in a future visit with the same browser
88
+ in case the form is not submitted. If the form is submitted, data
89
+ will be removed. If users remove their LocalStorage data, data won't
90
+ be restored either.
91
+ drag_and_drop_supported: When uploading images, Drag & Drop is supported.
92
+ Images will be uploaded to the server and inserted as external resources
93
+ (it doesn't use base64 inline encoding).
94
+ intergram_about: Intergram uses Telegram messenger to handle a live
95
+ support chat widget embedded in the bottom of the page.
96
+ intergram_config: Invite the <a href="https://web.telegram.org/#/im?p=@IntergramBot">@Intergram
97
+ bot</a> to your group or start a chat with it directly. <a href="https://github.com/idoco/intergram#embed-intergram-in-your-website-with-these-2-simple-steps">+
98
+ info</a>
99
+ use_markdown_editor: This will substitute the Quill WYSIWYG editor,
100
+ use a Markdown editor in the admin side and a frontend processor to
101
+ render the text (text in database will be saved as markdown text)
102
+ rich_text_editor_in_public_views: 'NOTE: "Rich text editor for participants"
103
+ is enabled, this option won''t apply. Use the editors hacks instead to
104
+ enable images in proposals.'
105
+ show:
106
+ title: Tweaks for %{setting}
107
+ update: Update configuration
108
+ system: Everywhere except participatory spaces
109
+ update:
110
+ error: Error updating configuration! %{error}
111
+ success: Configuration updated successfully!
112
+ constraints:
113
+ create:
114
+ error: Error creating condition case
115
+ success: Condition case created successfully
116
+ destroy:
117
+ error: Error removing condition case
118
+ success: Condition case removed successfully
119
+ errors:
120
+ not_unique: Same condition already exists
121
+ new:
122
+ cancel: Cancel
123
+ constraint: New condition case
124
+ save: Save
125
+ show:
126
+ cancel: Cancel
127
+ constraint: Edit condition case
128
+ save: Save
129
+ update:
130
+ error: Error updating condition case
131
+ success: Condition case updated successfully
132
+ menu:
133
+ checks: System compatibility
134
+ editors: Editor hacks
135
+ livechat: Live Chat
136
+ proposals: Proposals hacks
137
+ surveys: Surveys & forms
138
+ config:
139
+ intergram:
140
+ auto_no_response: It seems that no one is available to answer right now.
141
+ Please tell us how we can contact you, and we will get back to you as
142
+ soon as we can.
143
+ auto_response: Looking for the first available admin (It might take a minute)
144
+ intro_message: Hello! How can we help you?
145
+ title_closed: Click to chat!
146
+ title_open: Let's chat!
147
+ credits: Decidim Awesome %{version} · Made with ♥ by Platoniq
148
+ editor_images:
149
+ create:
150
+ error: Error uploading image!
151
+ success: Image uploaded successfully!
152
+ map_component:
153
+ map:
154
+ error:
155
+ unavailable: The map is unavailable. Please configure geocoding to enable
156
+ this component.
157
+ show:
158
+ view_meeting: View meeting
159
+ view_proposal: View proposal
160
+ layouts:
161
+ decidim:
162
+ admin:
163
+ decidim_awesome:
164
+ title: Decidim Tweaks
165
+ decidim_awesome:
166
+ awesome_config:
167
+ amendments: Amendments
168
+ autosaved_error: LocalStorage is not supported in your browser, form cannot
169
+ be saved automatically.
170
+ autosaved_retrieved: Data for this form has been recovered from a previous
171
+ session
172
+ autosaved_success: Data saved in local storage
173
+ categories: Categories
174
+ drag_and_drop_image: Add images by dragging & dropping or pasting them.
175
+ meetings: Meetings
176
+ proposals: Proposals
@@ -0,0 +1,125 @@
1
+ es:
2
+ activemodel:
3
+ attributes:
4
+ config:
5
+ allow_images_in_full_editor: Permitir imágenes en el editor HTML completo
6
+ allow_images_in_markdown_editor: Permitir imágenes en el editor Markdown
7
+ allow_images_in_proposals: Permitir imágenes en el editor de propuestas
8
+ allow_images_in_small_editor: Permitir imágenes en el editor HTML reducido
9
+ auto_save_forms: Guardar automáticamente los formularios en el almacenamiento local
10
+ use_markdown_editor: Utilizar el editor Markdown en lugar del editor HTML
11
+ constraint:
12
+ component_id: o específicamente en
13
+ component_manifest: Solo en componentes de tipo
14
+ participatory_space_manifest: Aplicar en los espacios participativos de tipo
15
+ participatory_space_slug: Solo en
16
+ decidim:
17
+ admin:
18
+ menu:
19
+ decidim_awesome: Decidim Awesome
20
+ components:
21
+ awesome_iframe:
22
+ name: Fullscreen Iframe
23
+ settings:
24
+ global:
25
+ iframe: Iframe code
26
+ iframe_help: 'Put your code as html: <iframe width="100%" height="700" frameBorder="0" allowFullscreen src="..."></iframe>. Content will be sanitized from other HTML tags. Ensure to use 100% as width to fill the screen.'
27
+ no_margins: No margins between the iframe and the rest of the page
28
+ viewport_width: Limit maximum width to the application viewport
29
+ step:
30
+ iframe: Iframe code
31
+ awesome_map:
32
+ name: Mapa Global
33
+ settings:
34
+ global:
35
+ announcement: Anuncio
36
+ collapse: Iniciar con el menú contraído
37
+ map_height: Altura del mapa (px)
38
+ step:
39
+ announcement: Anuncio
40
+ decidim_awesome:
41
+ admin:
42
+ checks:
43
+ index:
44
+ decidim-admin: Del módulo Admin
45
+ decidim-core: Del módulo Core
46
+ decidim-proposals: Del módulo Propuestas
47
+ decidim_version: Versión de Decidim %{version}
48
+ title: Análisis de compatibilidad del sistema
49
+ config:
50
+ constraints:
51
+ add_condition: Añadir restricción
52
+ always: Siempre
53
+ delete: Eliminar
54
+ edit: Editar
55
+ title: 'Se aplica solo en estos casos:'
56
+ experimental: Opciones experimentales
57
+ form:
58
+ help:
59
+ allow_images_in_full_editor: Esto añadirá un botón para subir imágenes en el editor HTML completo.
60
+ allow_images_in_markdown_editor: This will allow markdown editor to upload images by copy & paste or drag & drop.
61
+ allow_images_in_proposals: This will allow to upload images in the proposals editor, available to any user
62
+ allow_images_in_small_editor: This will add an image uploader icon in all the editors WYSIWYG with minimal options in the toolbar enabled.
63
+ auto_save_forms: This will use LocalStorage to automatically save data introduced by users in surveys and other forms while they are filling it. Data will be restored in a future visit with the same browser in case the form is not submitted. If the form is submitted, data will be removed. If users remove their LocalStorage data, data won't be restored either.
64
+ drag_and_drop_supported: When uploading images, Drag & Drop is supported. Images will be uploaded to the server and inserted as external resources (it doesn't use base64 inline encoding).
65
+ use_markdown_editor: This will substitute the Quill WYSIWYG editor, use a Markdown editor in the admin side and a frontend processor to render the text (text in database will be saved as markdown text)
66
+ rich_text_editor_in_public_views: 'NOTE: "Rich text editor for participants" is enabled, this option won''t apply. Use the editors hacks instead to enable images in proposals.'
67
+ show:
68
+ title: Tweaks for %{setting}
69
+ update: Update configuration
70
+ system: Everywhere except participatory spaces
71
+ update:
72
+ error: Error updating configuration! %{error}
73
+ success: Configuration updated successfully!
74
+ constraints:
75
+ create:
76
+ error: Error creating condition case
77
+ success: Condition case created successfully
78
+ destroy:
79
+ error: Error removing condition case
80
+ success: Condition case removed successfully
81
+ errors:
82
+ not_unique: Same condition already exists
83
+ new:
84
+ cancel: Cancel
85
+ constraint: New condition case
86
+ save: Save
87
+ show:
88
+ cancel: Cancel
89
+ constraint: Edit condition case
90
+ save: Save
91
+ update:
92
+ error: Error updating condition case
93
+ success: Condition case updated successfully
94
+ menu:
95
+ checks: System compatibility
96
+ editors: Editor hacks
97
+ proposals: Proposals hacks
98
+ surveys: Surveys & forms
99
+ credits: Decidim Awesome %{version} · Made with ♥ by Platoniq
100
+ editor_images:
101
+ create:
102
+ error: Error uploading image!
103
+ success: Image uploaded successfully!
104
+ map_component:
105
+ map:
106
+ error:
107
+ unavailable: El mapa no está disponible. Por favor, configure la geocodificación para habilitar este componente.
108
+ show:
109
+ view_meeting: Ver encuentro
110
+ view_proposal: Ver propuesta
111
+ layouts:
112
+ decidim:
113
+ admin:
114
+ decidim_awesome:
115
+ title: Decidim Tweaks
116
+ decidim_awesome:
117
+ awesome_config:
118
+ amendments: Enmiendas
119
+ autosaved_error: El almacenamiento local no es compatible con tu navegador, el formulario no se podrá guardar automáticamente.
120
+ autosaved_retrieved: Los datos de este formulario se han recuperado de una sesión anterior
121
+ autosaved_success: Datos guardados en el almacenamiento local
122
+ categories: Categorías
123
+ drag_and_drop_image: Puedes añadir imágenes arrastrando y soltándolas o también pegándolas.
124
+ meetings: Encuentros
125
+ proposals: Propuestas
@@ -0,0 +1,125 @@
1
+ fr:
2
+ activemodel:
3
+ attributes:
4
+ config:
5
+ allow_images_in_full_editor: Allow images in the full HTML editor
6
+ allow_images_in_markdown_editor: Allow images in the markdown editor
7
+ allow_images_in_proposals: Allow images in the proposals editor
8
+ allow_images_in_small_editor: Allow images in the minimal HTML editor
9
+ auto_save_forms: Auto save forms in local storage
10
+ use_markdown_editor: Use a Markdown editor instead of the HTML editor
11
+ constraint:
12
+ component_id: or specifically in
13
+ component_manifest: Only in components of type
14
+ participatory_space_manifest: Apply to participatory spaces of type
15
+ participatory_space_slug: Only in
16
+ decidim:
17
+ admin:
18
+ menu:
19
+ decidim_awesome: Decidim awesome
20
+ components:
21
+ awesome_iframe:
22
+ name: Fullscreen Iframe
23
+ settings:
24
+ global:
25
+ iframe: Iframe code
26
+ iframe_help: 'Put your code as html: <iframe width="100%" height="700" frameBorder="0" allowFullscreen src="..."></iframe>. Content will be sanitized from other HTML tags. Ensure to use 100% as width to fill the screen.'
27
+ no_margins: No margins between the iframe and the rest of the page
28
+ viewport_width: Limit maximum width to the application viewport
29
+ step:
30
+ iframe: Iframe code
31
+ awesome_map:
32
+ name: Awesome Map
33
+ settings:
34
+ global:
35
+ announcement: Announcement
36
+ collapse: Start with collapsed menu
37
+ map_height: Map height (px)
38
+ step:
39
+ announcement: Announcement
40
+ decidim_awesome:
41
+ admin:
42
+ checks:
43
+ index:
44
+ decidim-admin: From Admin module
45
+ decidim-core: From Core module
46
+ decidim-proposals: From Proposals module
47
+ decidim_version: Decidim version %{version}
48
+ title: System compatibility checks
49
+ config:
50
+ constraints:
51
+ add_condition: Add case
52
+ always: Always
53
+ delete: Supprimer
54
+ edit: Modifier
55
+ title: 'Applicable only in these cases:'
56
+ experimental: Experimental options
57
+ form:
58
+ help:
59
+ allow_images_in_full_editor: This will add an image uploader icon in all the editors WYSIWYG with the full toolbar enabled.
60
+ allow_images_in_markdown_editor: This will allow markdown editor to upload images by copy & paste or drag & drop.
61
+ allow_images_in_proposals: This will allow to upload images in the proposals editor, available to any user
62
+ allow_images_in_small_editor: This will add an image uploader icon in all the editors WYSIWYG with minimal options in the toolbar enabled.
63
+ auto_save_forms: This will use LocalStorage to automatically save data introduced by users in surveys and other forms while they are filling it. Data will be restored in a future visit with the same browser in case the form is not submitted. If the form is submitted, data will be removed. If users remove their LocalStorage data, data won't be restored either.
64
+ drag_and_drop_supported: When uploading images, Drag & Drop is supported. Images will be uploaded to the server and inserted as external resources (it doesn't use base64 inline encoding).
65
+ use_markdown_editor: This will substitute the Quill WYSIWYG editor, use a Markdown editor in the admin side and a frontend processor to render the text (text in database will be saved as markdown text)
66
+ rich_text_editor_in_public_views: 'NOTE: "Rich text editor for participants" is enabled, this option won''t apply. Use the editors hacks instead to enable images in proposals.'
67
+ show:
68
+ title: Tweaks for %{setting}
69
+ update: Update configuration
70
+ system: Everywhere except participatory spaces
71
+ update:
72
+ error: Error updating configuration! %{error}
73
+ success: Configuration updated successfully!
74
+ constraints:
75
+ create:
76
+ error: Error creating condition case
77
+ success: Condition case created successfully
78
+ destroy:
79
+ error: Error removing condition case
80
+ success: Condition case removed successfully
81
+ errors:
82
+ not_unique: Same condition already exists
83
+ new:
84
+ cancel: Cancel
85
+ constraint: New condition case
86
+ save: Save
87
+ show:
88
+ cancel: Cancel
89
+ constraint: Edit condition case
90
+ save: Save
91
+ update:
92
+ error: Error updating condition case
93
+ success: Condition case updated successfully
94
+ menu:
95
+ checks: System compatibility
96
+ editors: Editor hacks
97
+ proposals: Proposals hacks
98
+ surveys: Surveys & forms
99
+ credits: Decidim Awesome %{version} · Made with ♥ by Platoniq
100
+ editor_images:
101
+ create:
102
+ error: Error uploading image!
103
+ success: Image uploaded successfully!
104
+ map_component:
105
+ map:
106
+ error:
107
+ unavailable: The map is unavailable. Please configure geocoding to enable this component.
108
+ show:
109
+ view_meeting: View meeting
110
+ view_proposal: View proposal
111
+ layouts:
112
+ decidim:
113
+ admin:
114
+ decidim_awesome:
115
+ title: Decidim Tweaks
116
+ decidim_awesome:
117
+ awesome_config:
118
+ amendments: Amendments
119
+ autosaved_error: LocalStorage is not supported in your browser, form cannot be saved automatically.
120
+ autosaved_retrieved: Data for this form has been recovered from a previous session
121
+ autosaved_success: Data saved in local storage
122
+ categories: Categories
123
+ drag_and_drop_image: Add images by dragging & dropping or pasting them.
124
+ meetings: Meetings
125
+ proposals: Proposals
@@ -0,0 +1,125 @@
1
+ sv:
2
+ activemodel:
3
+ attributes:
4
+ config:
5
+ allow_images_in_full_editor: Allow images in the full HTML editor
6
+ allow_images_in_markdown_editor: Allow images in the markdown editor
7
+ allow_images_in_proposals: Allow images in the proposals editor
8
+ allow_images_in_small_editor: Allow images in the minimal HTML editor
9
+ auto_save_forms: Auto save forms in local storage
10
+ use_markdown_editor: Use a Markdown editor instead of the HTML editor
11
+ constraint:
12
+ component_id: or specifically in
13
+ component_manifest: Only in components of type
14
+ participatory_space_manifest: Apply to participatory spaces of type
15
+ participatory_space_slug: Only in
16
+ decidim:
17
+ admin:
18
+ menu:
19
+ decidim_awesome: Decidim awesome
20
+ components:
21
+ awesome_iframe:
22
+ name: Fullscreen Iframe
23
+ settings:
24
+ global:
25
+ iframe: Iframe code
26
+ iframe_help: 'Put your code as html: <iframe width="100%" height="700" frameBorder="0" allowFullscreen src="..."></iframe>. Content will be sanitized from other HTML tags. Ensure to use 100% as width to fill the screen.'
27
+ no_margins: No margins between the iframe and the rest of the page
28
+ viewport_width: Limit maximum width to the application viewport
29
+ step:
30
+ iframe: Iframe code
31
+ awesome_map:
32
+ name: Awesome Map
33
+ settings:
34
+ global:
35
+ announcement: Announcement
36
+ collapse: Start with collapsed menu
37
+ map_height: Map height (px)
38
+ step:
39
+ announcement: Announcement
40
+ decidim_awesome:
41
+ admin:
42
+ checks:
43
+ index:
44
+ decidim-admin: From Admin module
45
+ decidim-core: From Core module
46
+ decidim-proposals: From Proposals module
47
+ decidim_version: Decidim version %{version}
48
+ title: System compatibility checks
49
+ config:
50
+ constraints:
51
+ add_condition: Add case
52
+ always: Always
53
+ delete: Delete
54
+ edit: Edit
55
+ title: 'Applicable only in these cases:'
56
+ experimental: Experimental options
57
+ form:
58
+ help:
59
+ allow_images_in_full_editor: This will add an image uploader icon in all the editors WYSIWYG with the full toolbar enabled.
60
+ allow_images_in_markdown_editor: This will allow markdown editor to upload images by copy & paste or drag & drop.
61
+ allow_images_in_proposals: This will allow to upload images in the proposals editor, available to any user
62
+ allow_images_in_small_editor: This will add an image uploader icon in all the editors WYSIWYG with minimal options in the toolbar enabled.
63
+ auto_save_forms: This will use LocalStorage to automatically save data introduced by users in surveys and other forms while they are filling it. Data will be restored in a future visit with the same browser in case the form is not submitted. If the form is submitted, data will be removed. If users remove their LocalStorage data, data won't be restored either.
64
+ drag_and_drop_supported: When uploading images, Drag & Drop is supported. Images will be uploaded to the server and inserted as external resources (it doesn't use base64 inline encoding).
65
+ use_markdown_editor: This will substitute the Quill WYSIWYG editor, use a Markdown editor in the admin side and a frontend processor to render the text (text in database will be saved as markdown text)
66
+ rich_text_editor_in_public_views: 'NOTE: "Rich text editor for participants" is enabled, this option won''t apply. Use the editors hacks instead to enable images in proposals.'
67
+ show:
68
+ title: Tweaks for %{setting}
69
+ update: Update configuration
70
+ system: Everywhere except participatory spaces
71
+ update:
72
+ error: Error updating configuration! %{error}
73
+ success: Configuration updated successfully!
74
+ constraints:
75
+ create:
76
+ error: Error creating condition case
77
+ success: Condition case created successfully
78
+ destroy:
79
+ error: Error removing condition case
80
+ success: Condition case removed successfully
81
+ errors:
82
+ not_unique: Same condition already exists
83
+ new:
84
+ cancel: Cancel
85
+ constraint: New condition case
86
+ save: Save
87
+ show:
88
+ cancel: Cancel
89
+ constraint: Edit condition case
90
+ save: Save
91
+ update:
92
+ error: Error updating condition case
93
+ success: Condition case updated successfully
94
+ menu:
95
+ checks: System compatibility
96
+ editors: Editor hacks
97
+ proposals: Proposals hacks
98
+ surveys: Surveys & forms
99
+ credits: Decidim Awesome %{version} · Made with ♥ by Platoniq
100
+ editor_images:
101
+ create:
102
+ error: Error uploading image!
103
+ success: Image uploaded successfully!
104
+ map_component:
105
+ map:
106
+ error:
107
+ unavailable: The map is unavailable. Please configure geocoding to enable this component.
108
+ show:
109
+ view_meeting: View meeting
110
+ view_proposal: View proposal
111
+ layouts:
112
+ decidim:
113
+ admin:
114
+ decidim_awesome:
115
+ title: Decidim Tweaks
116
+ decidim_awesome:
117
+ awesome_config:
118
+ amendments: Amendments
119
+ autosaved_error: LocalStorage is not supported in your browser, form cannot be saved automatically.
120
+ autosaved_retrieved: Data for this form has been recovered from a previous session
121
+ autosaved_success: Data saved in local storage
122
+ categories: Categories
123
+ drag_and_drop_image: Add images by dragging & dropping or pasting them.
124
+ meetings: Meetings
125
+ proposals: Proposals