decidim-decidim_awesome 0.6.0 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +38 -14
  3. data/app/assets/config/decidim_admin_decidim_awesome_manifest.js +1 -0
  4. data/app/assets/javascripts/decidim/decidim_awesome/admin/form_exit_warn.js.es6 +30 -0
  5. data/app/assets/javascripts/decidim/decidim_awesome/awesome_map/legacy_map.js.es6 +14 -4
  6. data/app/assets/javascripts/decidim/decidim_awesome/awesome_map/legacy_proposals.js.es6 +82 -0
  7. data/app/assets/javascripts/decidim/decidim_awesome/awesome_map/map.js.es6 +13 -2
  8. data/app/assets/javascripts/decidim/decidim_awesome/awesome_map/meetings.js.es6 +15 -13
  9. data/app/assets/javascripts/decidim/decidim_awesome/awesome_map/proposals.js.es6 +29 -13
  10. data/app/assets/javascripts/decidim/decidim_awesome/editors/quill_editor.js.es6 +1 -1
  11. data/app/assets/stylesheets/decidim/decidim_awesome/admin.scss +4 -0
  12. data/app/awesome_overrides/presenters/decidim/menu_presenter_override.rb +31 -0
  13. data/app/awesome_overrides/presenters/decidim/proposals/proposal_presenter_override.rb +31 -5
  14. data/app/commands/decidim/decidim_awesome/admin/create_menu_hack.rb +51 -0
  15. data/app/commands/decidim/decidim_awesome/admin/create_scoped_style.rb +34 -0
  16. data/app/commands/decidim/decidim_awesome/admin/destroy_menu_hack.rb +47 -0
  17. data/app/commands/decidim/decidim_awesome/admin/destroy_scoped_style.rb +40 -0
  18. data/app/commands/decidim/decidim_awesome/admin/update_config.rb +1 -1
  19. data/app/commands/decidim/decidim_awesome/admin/update_menu_hack.rb +47 -0
  20. data/app/commands/decidim/decidim_awesome/create_editor_image.rb +5 -3
  21. data/app/controllers/decidim/decidim_awesome/admin/application_controller.rb +4 -3
  22. data/app/controllers/decidim/decidim_awesome/admin/config_controller.rb +38 -2
  23. data/app/controllers/decidim/decidim_awesome/admin/constraints_controller.rb +13 -0
  24. data/app/controllers/decidim/decidim_awesome/admin/menu_hacks_controller.rb +116 -0
  25. data/app/controllers/decidim/decidim_awesome/editor_images_controller.rb +1 -1
  26. data/app/forms/decidim/decidim_awesome/admin/config_form.rb +11 -2
  27. data/app/forms/decidim/decidim_awesome/admin/constraint_form.rb +0 -2
  28. data/app/forms/decidim/decidim_awesome/admin/intergram_form.rb +0 -2
  29. data/app/forms/decidim/decidim_awesome/admin/menu_form.rb +39 -0
  30. data/app/forms/decidim/decidim_awesome/editor_image_form.rb +2 -0
  31. data/app/helpers/decidim/decidim_awesome/admin/config_constraints_helpers.rb +5 -1
  32. data/app/helpers/decidim/decidim_awesome/map_helper.rb +11 -1
  33. data/app/models/decidim/decidim_awesome/editor_image.rb +4 -3
  34. data/app/permissions/decidim/decidim_awesome/admin/permissions.rb +19 -0
  35. data/app/permissions/decidim/decidim_awesome/permissions.rb +2 -0
  36. data/app/uploaders/decidim/decidim_awesome/image_uploader.rb +9 -0
  37. data/app/views/decidim/decidim_awesome/admin/config/_form_styles.html.erb +27 -0
  38. data/app/views/decidim/decidim_awesome/admin/config/show.html.erb +1 -1
  39. data/app/views/decidim/decidim_awesome/admin/menu_hacks/_form.html.erb +7 -0
  40. data/app/views/decidim/decidim_awesome/admin/menu_hacks/edit.html.erb +13 -0
  41. data/app/views/decidim/decidim_awesome/admin/menu_hacks/index.html.erb +44 -0
  42. data/app/views/decidim/decidim_awesome/admin/menu_hacks/new.html.erb +13 -0
  43. data/app/views/decidim/decidim_awesome/iframe_component/iframe/show.html.erb +6 -1
  44. data/app/views/decidim/decidim_awesome/map_component/map/show.html.erb +40 -18
  45. data/app/views/layouts/decidim/admin/decidim_awesome.html.erb +10 -0
  46. data/app/views/layouts/decidim/decidim_awesome/_awesome_config.html.erb +1 -1
  47. data/app/views/layouts/decidim/decidim_awesome/_custom_styles.html.erb +3 -0
  48. data/app/views/v0.22/layouts/decidim/_head.html.erb +1 -0
  49. data/app/views/v0.23/layouts/decidim/_head.html.erb +1 -0
  50. data/config/locales/ca.yml +96 -9
  51. data/config/locales/cs.yml +91 -4
  52. data/config/locales/en.yml +70 -4
  53. data/config/locales/es.yml +125 -38
  54. data/config/locales/eu.yml +212 -0
  55. data/config/locales/fr.yml +90 -3
  56. data/config/locales/nl.yml +212 -0
  57. data/config/locales/sv.yml +90 -3
  58. data/lib/decidim/decidim_awesome.rb +27 -0
  59. data/lib/decidim/decidim_awesome/admin_engine.rb +3 -0
  60. data/lib/decidim/decidim_awesome/awesome_helpers.rb +16 -0
  61. data/lib/decidim/decidim_awesome/checksums.yml +8 -0
  62. data/lib/decidim/decidim_awesome/config.rb +13 -12
  63. data/lib/decidim/decidim_awesome/engine.rb +1 -1
  64. data/lib/decidim/decidim_awesome/iframe_component/component.rb +3 -3
  65. data/lib/decidim/decidim_awesome/map_component/component.rb +6 -0
  66. data/lib/decidim/decidim_awesome/menu_hacker.rb +88 -0
  67. data/lib/decidim/decidim_awesome/test/factories.rb +1 -1
  68. data/lib/decidim/decidim_awesome/test/shared_examples/config_examples.rb +4 -2
  69. data/lib/decidim/decidim_awesome/test/shared_examples/editor_examples.rb +71 -0
  70. data/lib/decidim/decidim_awesome/test/shared_examples/menu_hack_contexts.rb +71 -0
  71. data/lib/decidim/decidim_awesome/version.rb +1 -2
  72. data/vendor/assets/javascripts/jsrender.min.js +4 -0
  73. metadata +26 -3
@@ -22,12 +22,19 @@ en:
22
22
  intergram_title_open: Opened chat title
23
23
  intergram_use_floating_button: If checked, the closed chat is always a button
24
24
  instead of a text
25
+ scoped_styles: 'Custom styles #%{id}'
25
26
  use_markdown_editor: Use a Markdown editor instead of the HTML editor
26
27
  constraint:
27
28
  component_id: or specifically in
28
29
  component_manifest: Only in components of type
29
30
  participatory_space_manifest: Apply to participatory spaces of type
30
31
  participatory_space_slug: Only in
32
+ menu:
33
+ position: Position
34
+ raw_label: Label
35
+ target: Opens in
36
+ url: URL
37
+ visibility: Visibility
31
38
  decidim:
32
39
  admin:
33
40
  menu:
@@ -37,6 +44,7 @@ en:
37
44
  name: Fullscreen Iframe
38
45
  settings:
39
46
  global:
47
+ announcement: Announcement
40
48
  iframe: Iframe code
41
49
  iframe_help: 'Put your code as html: <iframe width="100%" height="700"
42
50
  frameBorder="0" allowFullscreen src="..."></iframe>. Content will be
@@ -45,6 +53,7 @@ en:
45
53
  no_margins: No margins between the iframe and the rest of the page
46
54
  viewport_width: Limit maximum width to the application viewport
47
55
  step:
56
+ announcement: Announcement
48
57
  iframe: Iframe code
49
58
  awesome_map:
50
59
  name: Awesome Map
@@ -55,6 +64,11 @@ en:
55
64
  map_height: Map height (px)
56
65
  step:
57
66
  announcement: Announcement
67
+ show_accepted: Show accepted proposals
68
+ show_evaluating: Show evaluating proposals
69
+ show_not_answered: Show not answered proposals
70
+ show_rejected: Show rejected proposals
71
+ show_withdrawn: Show withdrawn proposals
58
72
  decidim_awesome:
59
73
  admin:
60
74
  checks:
@@ -78,6 +92,12 @@ en:
78
92
  delete: Delete
79
93
  edit: Edit
80
94
  title: 'Applicable only in these cases:'
95
+ create_scoped_style:
96
+ error: Error creating a new CSS box! %{error}
97
+ success: CSS box %{key} created successfully
98
+ destroy_scoped_style:
99
+ error: Error removing CSS box! %{error}
100
+ success: CSS box %{key} removed successfully
81
101
  experimental: Experimental options
82
102
  form:
83
103
  help:
@@ -103,9 +123,17 @@ en:
103
123
  intergram_config: Invite the <a href="https://web.telegram.org/#/im?p=@IntergramBot">@Intergram
104
124
  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">+
105
125
  info</a>
126
+ scoped_styles: Create custom CSS that applies only in certain parts
127
+ of the public web (use the restrictions editor for that)
128
+ scoped_styles_variables: 'You can use the following CSS variables for
129
+ organization customized colors:'
106
130
  use_markdown_editor: This will substitute the Quill WYSIWYG editor,
107
- use a Markdown editor in the admin side and a frontend processor to
108
- render the text (text in database will be saved as markdown text)
131
+ use a Markdown editor instead. Text will be rendered as HTML in the
132
+ public pages (text in database will be saved as markdown text)
133
+ form_styles:
134
+ new: Add a new CSS box
135
+ remove: Remove this CSS box
136
+ sure_to_remove: Are you sure you want to destroy this CSS box?
109
137
  rich_text_editor_in_public_views: 'NOTE: "Rich text editor for participants"
110
138
  is enabled, this option won''t apply. Use the editors hacks instead to
111
139
  enable images in proposals.'
@@ -115,7 +143,7 @@ en:
115
143
  system: Everywhere except participatory spaces
116
144
  update:
117
145
  error: Error updating configuration! %{error}
118
- success: Configuration updated successfully!
146
+ success: Configuration updated successfully
119
147
  constraints:
120
148
  create:
121
149
  error: Error creating condition case
@@ -140,8 +168,46 @@ en:
140
168
  checks: System compatibility
141
169
  editors: Editor hacks
142
170
  livechat: Live Chat
171
+ menu_hacks: Menu tweaks
143
172
  proposals: Proposals hacks
173
+ styles: Custom styles
144
174
  surveys: Surveys & forms
175
+ menu_hacks:
176
+ create:
177
+ error: Error creating menu item! %{error}
178
+ success: Menu item created successfully
179
+ destroy:
180
+ error: Error removing menu item! %{error}
181
+ success: Menu item removed successfully
182
+ edit:
183
+ save: Save
184
+ title: Edit menu item
185
+ form:
186
+ label_help: Translations aren't automatically detected, be sure to fill
187
+ in all the fields!
188
+ target:
189
+ blank: New window
190
+ self: Same window
191
+ visibility:
192
+ default: Visible
193
+ hidden: Always hidden
194
+ logged: Only visible for logged users
195
+ non_logged: Only visible for non-logged users
196
+ index:
197
+ confirm_destroy: Are you sure to remove this customization?
198
+ edit: Edit
199
+ new: New item
200
+ remove: Remove addition
201
+ remove_hack: Remove customization
202
+ title: Main menu
203
+ new:
204
+ save: Save
205
+ title: New menu item
206
+ update:
207
+ error: Error updating menu item! %{error}
208
+ success: Menu item updated successfully
209
+ url_exists: The same URL is already configured, please edit that instead
210
+ of creating it again.
145
211
  config:
146
212
  intergram:
147
213
  auto_no_response: It seems that no one is available to answer right now.
@@ -155,7 +221,7 @@ en:
155
221
  editor_images:
156
222
  create:
157
223
  error: Error uploading image!
158
- success: Image uploaded successfully!
224
+ success: Image uploaded successfully
159
225
  map_component:
160
226
  map:
161
227
  error:
@@ -7,27 +7,46 @@ es:
7
7
  allow_images_in_proposals: Permitir imágenes en el editor de propuestas
8
8
  allow_images_in_small_editor: Permitir imágenes en el editor HTML reducido
9
9
  auto_save_forms: Guardar automáticamente los formularios en el almacenamiento local
10
+ intergram_auto_no_response: Un mensaje que se envía un minuto después de que la usuaria haya enviado su primer mensaje y no se haya recibido respuesta
11
+ intergram_auto_response: Un mensaje que se envía inmediatamente después de que la usuaria envíe su primer mensaje
12
+ intergram_chat_id: ID de chat
13
+ intergram_color: Color del widget
14
+ intergram_for_admins: Activar el chat de Intergram en el backend de administración
15
+ intergram_intro_message: Primer mensaje cuando la usuaria abre el chat por primera vez
16
+ intergram_require_login: Solo para usuarias registradas
17
+ intergram_title_closed: Título del chat cerrado
18
+ intergram_title_open: Título del chat abierto
19
+ intergram_use_floating_button: Si está marcado, el chat cerrado siempre es un botón en lugar de un texto
20
+ scoped_styles: 'Estilos personalizados #%{id}'
10
21
  use_markdown_editor: Utilizar el editor Markdown en lugar del editor HTML
11
22
  constraint:
12
23
  component_id: o específicamente en
13
24
  component_manifest: Solo en componentes de tipo
14
25
  participatory_space_manifest: Aplicar en los espacios participativos de tipo
15
26
  participatory_space_slug: Solo en
27
+ menu:
28
+ position: Posición
29
+ raw_label: Etiqueta
30
+ target: Abrir en
31
+ url: URL
32
+ visibility: Visibilidad
16
33
  decidim:
17
34
  admin:
18
35
  menu:
19
36
  decidim_awesome: Decidim Awesome
20
37
  components:
21
38
  awesome_iframe:
22
- name: Fullscreen Iframe
39
+ name: Iframe en pantalla completa
23
40
  settings:
24
41
  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
42
+ announcement: Anuncio
43
+ iframe: Código iframe
44
+ iframe_help: 'Pon tu código como html: <iframe width="100%" height="700" frameBorder="0" allowFullscreen src="..."></iframe>. El contenido se limpiará de otras etiquetas HTML. Asegúrate de usar 100% como ancho de pantalla.'
45
+ no_margins: Sin márgenes entre el iframe y el resto de la página
46
+ viewport_width: Limitar el ancho máximo a la vista de la aplicación
29
47
  step:
30
- iframe: Iframe code
48
+ announcement: Anuncio
49
+ iframe: Código iframe
31
50
  awesome_map:
32
51
  name: Mapa Global
33
52
  settings:
@@ -37,14 +56,24 @@ es:
37
56
  map_height: Altura del mapa (px)
38
57
  step:
39
58
  announcement: Anuncio
59
+ show_accepted: Muestra las propuestas aceptadas
60
+ show_evaluating: Muestra las propuestas en evaluación
61
+ show_not_answered: Muestra las propuestas pendientes de contestart
62
+ show_rejected: Muestra las propuestas rechazadas
63
+ show_withdrawn: Muestra las propuestas retiradas
40
64
  decidim_awesome:
41
65
  admin:
42
66
  checks:
43
67
  index:
68
+ admin_head_tags: Etiquetas Awesome incluidas en el encabezado de la aplicación de administración
44
69
  decidim-admin: Del módulo Admin
45
70
  decidim-core: Del módulo Core
46
71
  decidim-proposals: Del módulo Propuestas
47
72
  decidim_version: Versión de Decidim %{version}
73
+ errors:
74
+ CSS: El encabezado no contiene las entradas requeridas <link> a la hoja de estilo. Para resolverlo, se pueden añadir manualmente al fichero personalizado _head.html.erb
75
+ JavaScript: El encabezado no contiene las entradas requeridas de Javascript <script>. Para resolverlo, se pueden añadir manualmente al fichero personalizado admin/_header.html.erb
76
+ head_tags: Etiquetas Awesome incluidas en el encabezado de la aplicación
48
77
  title: Análisis de compatibilidad del sistema
49
78
  config:
50
79
  constraints:
@@ -53,54 +82,112 @@ es:
53
82
  delete: Eliminar
54
83
  edit: Editar
55
84
  title: 'Se aplica solo en estos casos:'
85
+ create_scoped_style:
86
+ error: '¡Error al crear una nueva caja CSS! %{error}'
87
+ success: Caja CSS %{key} creada correctamente
88
+ destroy_scoped_style:
89
+ error: '¡Error al eliminar la caja CSS! %{error}'
90
+ success: Caja CSS %{key} eliminada correctamente
56
91
  experimental: Opciones experimentales
57
92
  form:
58
93
  help:
59
94
  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.'
95
+ allow_images_in_markdown_editor: Esto permitirá al editor markdown subir imágenes con "copiar & pegar" o con "arrastrar & soltar".
96
+ allow_images_in_proposals: Esto permitirá subir imágenes en el editor de propuestas, disponibles para cualquier usuaria
97
+ allow_images_in_small_editor: Esto añadirá un botón para subir imágenes en el editor HTML mínimo.
98
+ auto_save_forms: Esto usará el almacenamiento local del navegador para guardar automáticamente los datos introducidos por las usuarias en las encuestas y otros formularios mientras los rellenen. Si no se ha mandado el formulario, los datos se restaurarán en la siguiente visita con el mismo navegador. Los datos se eliminarán una vez se envíe el formulario. Si las usuarias eliminan sus datos del navegador, estos tampoco se restaurarán.
99
+ drag_and_drop_supported: Cuando se suban imágenes, se puede hacer a través del método "arrastrar & soltar". Las imágenes se subirán en el servidor y se insertarán como recursos externos (no se utiliza codificación en línea base64).
100
+ intergram_about: Intergram utiliza el Telegram Messenger para gestionar un widget de chat de soporte incrustado en la parte inferior de la página.
101
+ intergram_config: 'Invita a la <a href="https://web.telegram.org/#/im?p=@IntergramBot">@Intergram bot</a> a tu grupo o inicia un chat con ella directamente. <a href="https://github.com/idoco/intergram#embed-intergram-in-your-website-with-these-2-simple-steps">+ info</a>'
102
+ scoped_styles: Crea CSS personalizados que solo se apliquen en ciertas partes de la web pública (para ello, utiliza el editor de restricciones)
103
+ scoped_styles_variables: 'Puedes utilizar las siguientes variables CSS para los colores personalizados de la organización:'
104
+ use_markdown_editor: Esto sustituirá al editor HTML (Quill), utilice un editor de Markdown en su lugar. El texto se mostrará como HTML en las páginas públicas (en la base de datos, el texto se almacenará como markdown)
105
+ form_styles:
106
+ new: Añadir una nueva caja CSS
107
+ remove: Eliminar esta caja CSS
108
+ sure_to_remove: '¿Estás segura de que quieres eliminar esta caja CSS?'
109
+ rich_text_editor_in_public_views: 'NOTA: "Editor de texto enriquecido para participantes" está habilitado, esta opción no se aplicará. Utiliza las modificaciones del editor general para añadir imágenes a las propuestas.'
67
110
  show:
68
- title: Tweaks for %{setting}
69
- update: Update configuration
70
- system: Everywhere except participatory spaces
111
+ title: Ajustes para %{setting}
112
+ update: Actualizar la configuración
113
+ system: En todas partes excepto en espacios participativos
71
114
  update:
72
- error: Error updating configuration! %{error}
73
- success: Configuration updated successfully!
115
+ error: Error actualizando la configuración! %{error}'
116
+ success: Configuración actualizada correctamente
74
117
  constraints:
75
118
  create:
76
- error: Error creating condition case
77
- success: Condition case created successfully
119
+ error: Error creando una nueva restricción
120
+ success: Restricción creada correctamente
78
121
  destroy:
79
- error: Error removing condition case
80
- success: Condition case removed successfully
122
+ error: Error eliminando la restricción
123
+ success: Restricción eliminada correctamente
81
124
  errors:
82
- not_unique: Same condition already exists
125
+ not_unique: Esta restricción ya existe
83
126
  new:
84
- cancel: Cancel
85
- constraint: New condition case
86
- save: Save
127
+ cancel: Cancelar
128
+ constraint: Nueva restricción
129
+ save: Guardar
87
130
  show:
88
- cancel: Cancel
89
- constraint: Edit condition case
90
- save: Save
131
+ cancel: Cancelar
132
+ constraint: Editar la restricción
133
+ save: Guardar
91
134
  update:
92
- error: Error updating condition case
93
- success: Condition case updated successfully
135
+ error: Error actualizando la restricción
136
+ success: Restricción actualizada correctamente
94
137
  menu:
95
- checks: System compatibility
96
- editors: Editor hacks
97
- proposals: Proposals hacks
98
- surveys: Surveys & forms
138
+ checks: Compatibilidad del sistema
139
+ editors: Modificaciones a los editores
140
+ livechat: Chat en vivo
141
+ menu_hacks: Ajustes en el menú
142
+ proposals: Modificaciones a las propuestas
143
+ styles: Estilos personalizados
144
+ surveys: Encuestas y formularios
145
+ menu_hacks:
146
+ create:
147
+ error: 'Error al crear nuevo ítem de menú: %{error}'
148
+ success: Ítem de menú creado correctamente
149
+ destroy:
150
+ error: 'Error al eliminar ítem de menú: %{error}'
151
+ success: Ítem de menú eliminado correctamente
152
+ edit:
153
+ save: Guardar
154
+ title: Editar ítem de menú
155
+ form:
156
+ label_help: Las traducciones no se detectan automáticamente, ¡asegúrate de rellenar todos los campos!
157
+ target:
158
+ blank: Nueva ventana
159
+ self: La misma ventana
160
+ visibility:
161
+ default: Visible
162
+ hidden: Siempre oculto
163
+ logged: Solo visible para usuarias logeadas
164
+ non_logged: Solo visible para usuarias no logeadas
165
+ index:
166
+ confirm_destroy: '¿Estás segura que quieres eliminar este elemento?'
167
+ edit: Editar
168
+ new: Crear nuevo ítem
169
+ remove: Eliminar adición
170
+ remove_hack: Eliminar personalización
171
+ title: Menú principal
172
+ new:
173
+ save: Guardar
174
+ title: Nuevo ítem de menú
175
+ update:
176
+ error: 'Error al actualizar el ítem de menú: %{error}'
177
+ success: Ítem de menú actualizado correctamente
178
+ url_exists: Esta URL ya ha sido configurada en otro ítem de menú, por favor edítalo en lugar de crear uno nuevo.
179
+ config:
180
+ intergram:
181
+ auto_no_response: Parece que no hay nadie disponible para responder en este momento. Por favor, indícanos cómo te podemos contactar y nos comunicaremos contigo lo antes posible.
182
+ auto_response: Buscando la primera administradora disponible (puede tardar un minuto)
183
+ intro_message: Hola, ¿en qué puedo ayudarte?
184
+ title_closed: '¡Haz clic para chatear!'
185
+ title_open: '¡Hablemos!'
99
186
  credits: Decidim Awesome %{version} · Made with ♥ by Platoniq
100
187
  editor_images:
101
188
  create:
102
- error: Error uploading image!
103
- success: Image uploaded successfully!
189
+ error: Error cargando imagen!'
190
+ success: Imagen subida correctamente
104
191
  map_component:
105
192
  map:
106
193
  error:
@@ -112,7 +199,7 @@ es:
112
199
  decidim:
113
200
  admin:
114
201
  decidim_awesome:
115
- title: Decidim Tweaks
202
+ title: Modificaciones a Decidim
116
203
  decidim_awesome:
117
204
  awesome_config:
118
205
  amendments: Enmiendas
@@ -0,0 +1,212 @@
1
+ eu:
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
+ intergram_auto_no_response: A message that is sent one minute after the user sends its first message and no response was received
11
+ intergram_auto_response: A message that is sent immediately after the user sends its first message
12
+ intergram_chat_id: Chat ID
13
+ intergram_color: Color of the widget
14
+ intergram_for_admins: Enable Intergram Chat in the admin backend
15
+ intergram_intro_message: First message when the user opens the chat for the first time
16
+ intergram_require_login: Only for logged users
17
+ intergram_title_closed: Closed chat title
18
+ intergram_title_open: Opened chat title
19
+ intergram_use_floating_button: If checked, the closed chat is always a button instead of a text
20
+ scoped_styles: 'Custom styles #%{id}'
21
+ use_markdown_editor: Use a Markdown editor instead of the HTML editor
22
+ constraint:
23
+ component_id: or specifically in
24
+ component_manifest: Only in components of type
25
+ participatory_space_manifest: Apply to participatory spaces of type
26
+ participatory_space_slug: Only in
27
+ menu:
28
+ position: Position
29
+ raw_label: Label
30
+ target: Opens in
31
+ url: URL
32
+ visibility: Visibility
33
+ decidim:
34
+ admin:
35
+ menu:
36
+ decidim_awesome: Decidim awesome
37
+ components:
38
+ awesome_iframe:
39
+ name: Fullscreen Iframe
40
+ settings:
41
+ global:
42
+ announcement: Oharra
43
+ iframe: Iframe code
44
+ 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.'
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
+ announcement: Oharra
49
+ iframe: Iframe code
50
+ awesome_map:
51
+ name: Awesome Map
52
+ settings:
53
+ global:
54
+ announcement: Oharra
55
+ collapse: Start with collapsed menu
56
+ map_height: Map height (px)
57
+ step:
58
+ announcement: Oharra
59
+ show_accepted: Show accepted proposals
60
+ show_evaluating: Show evaluating proposals
61
+ show_not_answered: Show not answered proposals
62
+ show_rejected: Show rejected proposals
63
+ show_withdrawn: Show withdrawn proposals
64
+ decidim_awesome:
65
+ admin:
66
+ checks:
67
+ index:
68
+ admin_head_tags: Awesome tags included in the admin application header
69
+ decidim-admin: From Admin module
70
+ decidim-core: From Core module
71
+ decidim-proposals: From Proposals module
72
+ decidim_version: Decidim version %{version}
73
+ errors:
74
+ CSS: Head does not contain the required <link> stylesheet entries. To solve it, you can manually add it to your custom _head.html.erb
75
+ JavaScript: Head does not contain the required <script> Javascript entries. To solve it, you can manually add it to your custom admin/_header.html.erb
76
+ head_tags: Awesome tags included in the application header
77
+ title: System compatibility checks
78
+ config:
79
+ constraints:
80
+ add_condition: Add case
81
+ always: Always
82
+ delete: Ezabatu
83
+ edit: Editatu
84
+ title: 'Applicable only in these cases:'
85
+ create_scoped_style:
86
+ error: Error creating a new CSS box! %{error}
87
+ success: CSS box %{key} created successfully
88
+ destroy_scoped_style:
89
+ error: Error removing CSS box! %{error}
90
+ success: CSS box %{key} removed successfully
91
+ experimental: Experimental options
92
+ form:
93
+ help:
94
+ allow_images_in_full_editor: This will add an image uploader icon in all the editors WYSIWYG with the full toolbar enabled.
95
+ allow_images_in_markdown_editor: This will allow markdown editor to upload images by copy & paste or drag & drop.
96
+ allow_images_in_proposals: This will allow to upload images in the proposals editor, available to any user
97
+ allow_images_in_small_editor: This will add an image uploader icon in all the editors WYSIWYG with minimal options in the toolbar enabled.
98
+ 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.
99
+ 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).
100
+ intergram_about: Intergram uses Telegram messenger to handle a live support chat widget embedded in the bottom of the page.
101
+ intergram_config: 'Invite the <a href="https://web.telegram.org/#/im?p=@IntergramBot">@Intergram 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">+ info</a>'
102
+ scoped_styles: Create custom CSS that applies only in certain parts of the public web (use the restrictions editor for that)
103
+ scoped_styles_variables: 'You can use the following CSS variables for organization customized colors:'
104
+ use_markdown_editor: This will substitute the Quill WYSIWYG editor, use a Markdown editor instead. Text will be rendered as HTML in the public pages (text in database will be saved as markdown text)
105
+ form_styles:
106
+ new: Add a new CSS box
107
+ remove: Remove this CSS box
108
+ sure_to_remove: Are you sure you want to destroy this CSS box?
109
+ 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.'
110
+ show:
111
+ title: Tweaks for %{setting}
112
+ update: Update configuration
113
+ system: Everywhere except participatory spaces
114
+ update:
115
+ error: Error updating configuration! %{error}
116
+ success: Configuration updated successfully
117
+ constraints:
118
+ create:
119
+ error: Error creating condition case
120
+ success: Condition case created successfully
121
+ destroy:
122
+ error: Error removing condition case
123
+ success: Condition case removed successfully
124
+ errors:
125
+ not_unique: Same condition already exists
126
+ new:
127
+ cancel: Ezeztatu
128
+ constraint: New condition case
129
+ save: Save
130
+ show:
131
+ cancel: Ezeztatu
132
+ constraint: Edit condition case
133
+ save: Save
134
+ update:
135
+ error: Error updating condition case
136
+ success: Condition case updated successfully
137
+ menu:
138
+ checks: System compatibility
139
+ editors: Editor hacks
140
+ livechat: Live Chat
141
+ menu_hacks: Menu tweaks
142
+ proposals: Proposals hacks
143
+ styles: Custom styles
144
+ surveys: Surveys & forms
145
+ menu_hacks:
146
+ create:
147
+ error: Error creating menu item! %{error}
148
+ success: Menu item created successfully
149
+ destroy:
150
+ error: Error removing menu item! %{error}
151
+ success: Menu item removed successfully
152
+ edit:
153
+ save: Save
154
+ title: Edit menu item
155
+ form:
156
+ label_help: Translations aren't automatically detected, be sure to fill in all the fields!
157
+ target:
158
+ blank: New window
159
+ self: Same window
160
+ visibility:
161
+ default: Visible
162
+ hidden: Always hidden
163
+ logged: Only visible for logged users
164
+ non_logged: Only visible for non-logged users
165
+ index:
166
+ confirm_destroy: Are you sure to remove this customization?
167
+ edit: Edit
168
+ new: New item
169
+ remove: Remove addition
170
+ remove_hack: Remove customization
171
+ title: Main menu
172
+ new:
173
+ save: Save
174
+ title: New menu item
175
+ update:
176
+ error: Error updating menu item! %{error}
177
+ success: Menu item updated successfully
178
+ url_exists: The same URL is already configured, please edit that instead of creating it again.
179
+ config:
180
+ intergram:
181
+ auto_no_response: It seems that no one is available to answer right now. Please tell us how we can contact you, and we will get back to you as soon as we can.
182
+ auto_response: Looking for the first available admin (It might take a minute)
183
+ intro_message: Hello! How can we help you?
184
+ title_closed: Click to chat!
185
+ title_open: Let's chat!
186
+ credits: Decidim Awesome %{version} · Made with ♥ by Platoniq
187
+ editor_images:
188
+ create:
189
+ error: Error uploading image!
190
+ success: Image uploaded successfully
191
+ map_component:
192
+ map:
193
+ error:
194
+ unavailable: The map is unavailable. Please configure geocoding to enable this component.
195
+ show:
196
+ view_meeting: Ikusi bilera
197
+ view_proposal: Ikusi proposamena
198
+ layouts:
199
+ decidim:
200
+ admin:
201
+ decidim_awesome:
202
+ title: Decidim Tweaks
203
+ decidim_awesome:
204
+ awesome_config:
205
+ amendments: Zuzenketak
206
+ autosaved_error: LocalStorage ez da onartzen zure arakatzailean, inprimakia ezin da automatikoki gorde.
207
+ autosaved_retrieved: Data for this form has been recovered from a previous session
208
+ autosaved_success: Tokiko biltegian gordetako datuak
209
+ categories: Kategoriak
210
+ drag_and_drop_image: Gehitu irudiak arrastatuz, jareginez edo itsatsita.
211
+ meetings: Topaketa-zerrenda
212
+ proposals: Proposamenak