decidim-participatory_documents 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,96 +3,98 @@ es:
3
3
  activemodel:
4
4
  attributes:
5
5
  document:
6
- box_color: Color of the boxes
7
- box_opacity: Opacity applied at the color of the boxes (%)
8
- description: Helper description
9
- file: PDF Document
10
- title: Helper title
6
+ box_color: Color de las cajas
7
+ box_opacity: Opacidad aplicada al color de las cajas (%)
8
+ description: Descripción de ayuda
9
+ file: Documento PDF
10
+ title: Título de ayuda
11
+ suggestion:
12
+ body: Añade tu sugerencia
11
13
  errors:
12
14
  models:
13
15
  answer_suggestion:
14
16
  attributes:
15
17
  state:
16
- inclusion: It's not possible to publish with status "not answered"
18
+ inclusion: No es posible publicar con estado "sin respuesta"
17
19
  document:
18
- has_suggestions: This document cannot be changed or removed because it has suggestions
20
+ has_suggestions: Este documento no puede ser cambiado o eliminado porque tiene sugerencias
19
21
  suggestion:
20
22
  attributes:
21
- not_blank: 'Validation failed: Please provide a message or upload a file'
22
- too_long: is too long (over %{max_length} characters)
23
- too_short: is too short (under %{min_length} characters)
23
+ not_blank: 'Validación fallida: Por favor, proporcione un mensaje o suba un archivo'
24
+ too_long: es demasiado largo (más de %{max_length} caracteres)
25
+ too_short: es demasiado corto (menos de %{min_length} caracteres)
24
26
  decidim:
25
27
  admin:
26
28
  actions:
27
- export: Export
29
+ export: Exportar
28
30
  exports:
29
- export_as: "%{name} as %{export_format}"
31
+ export_as: "%{name} como %{export_format}"
30
32
  filters:
31
33
  search_placeholder:
32
- body_cont: Body Contains
34
+ body_cont: El cuerpo contiene
33
35
  suggestions:
34
36
  body_cont:
35
- label: Body contains
37
+ label: El cuerpo contiene
36
38
  dummy_author_ids_has:
37
- label: Author
39
+ label: Autor
38
40
  dummy_suggestable_id_has:
39
- label: Section
41
+ label: Sección
40
42
  state_eq:
41
- label: State is
43
+ label: El estado es
42
44
  values:
43
- accepted: Accepted
44
- evaluating: Evaluating
45
- not_answered: Not Answered
46
- published: Published
47
- rejected: Rejected
48
- withdrawn: Withdrawn
45
+ accepted: Aceptada
46
+ evaluating: En evaluación
47
+ not_answered: No contestada
48
+ published: Publicada
49
+ rejected: Rechazada
50
+ withdrawn: Retirada
49
51
  valuator_role_ids_has:
50
- label: Assigned to valuator
52
+ label: Asignada a evaluadora
51
53
  admin_log:
52
54
  annotation:
53
- create: "%{user_name} creó una nueva área participativa para %{document_name}"
54
- delete: "%{user_name} deleted a participatory area for %{document_name}"
55
- update: "%{user_name} has updated a participatory area for %{document_name}"
55
+ create: "%{user_name} eliminó una nueva área participativa en %{document_name}"
56
+ delete: "%{user_name} eliminó una nueva área participativa en %{document_name}"
57
+ update: "%{user_name} ha editado una nueva área participativa en %{document_name}"
56
58
  document:
57
59
  create: "%{user_name} creó el documento llamado %{resource_name} en %{space_name}"
58
60
  delete: "%{user_name} borro el documento llamado %{resource_name} en %{space_name}"
59
61
  update: "%{user_name} actualizo el documento llamado %{resource_name} en %{space_name}"
60
62
  section:
61
- create: "%{user_name} has created a new Section named %{resource_name} for %{document_name}"
62
- delete: "%{user_name} has deleted a section"
63
- update: "%{user_name} has updated a section in %{document_name}"
63
+ create: "%{user_name} ha creado una nueva sección participativa llamada %{resource_name} en %{document_name}"
64
+ delete: "%{user_name} ha eliminado una sección"
65
+ update: "%{user_name} ha editado una sección en %{document_name}"
64
66
  suggestion_note:
65
- create: "%{user_name} created a new suggestion note %{suggestion}"
67
+ create: "%{user_name} ha creado una nueva nota privada en %{suggestion}"
66
68
  components:
67
69
  participatory_documents:
68
70
  name: Documento participativo
69
71
  settings:
70
72
  global:
71
- max_suggestion_length: Maximum suggestion length (characters)
72
- min_suggestion_length: Minimum suggestion length (characters)
73
- suggestion_answering_enabled: Enable suggestion answering from admin
73
+ max_suggestion_length: Longitud máxima de la sugerencia (caracteres)
74
+ min_suggestion_length: Longitud mínima de la sugerencia (caracteres)
75
+ suggestion_answering_enabled: Habilitar la respuesta de sugerencias des del administrador
74
76
  events:
75
77
  participatory_documents:
76
78
  suggestion_answered:
77
79
  affected_user:
78
- email_intro: 'A suggestion you submitted on "<a href="%{resource_path}">%{resource_title}</a>" document has been answered by an administrator. You can read the answer in this page:'
79
- email_outro: You have received this notification because you have submitted a suggestion for "<a href="%{resource_path}">%{resource_title}</a>" document.
80
- email_subject: A suggestion you have submitted has been answered by an administrator
81
- notification_title: A suggestion you submitted on "<a href="%{resource_path}">%{resource_title}</a>" document has been answered by an administrator
80
+ email_intro: 'La sugerencia que enviaste en el documento"<a href="%{resource_path}">%{resource_title}</a>" ha sido respondida por una administradora. Puedes consultar la respuesta en esta página:'
81
+ email_outro: Ha recibido esta notificación porque envió una sugerencia en el documento "<a href="%{resource_path}">%{resource_title}</a>".
82
+ email_subject: Una sugerencia que has enviado ha sido respondida por una administradora
83
+ notification_title: La sugerencia que enviaste en el documento"<a href="%{resource_path}">%{resource_title}</a>" ha sido respondida por una administradora
82
84
  forms:
83
85
  file_help:
84
86
  file:
85
- pdf_message: Only PDF files are allowed
87
+ pdf_message: Solo se permiten archivos PDF
86
88
  participatory_documents:
87
89
  actions:
88
90
  back: Atrás
89
- back_edit: Go back to edit participatory sections
90
- confirm: This action means that you will not be able to edit the document or create new sections, are you sure?
91
+ back_edit: Volver atrás para editar las secciones de participación
92
+ confirm: Esta acción significa que no podrá editar el documento o crear nuevas secciones, ¿está seguro?
91
93
  edit_boxes: Editar áreas participativas
92
94
  edit_document: Editar/subir documento
93
- finish_publishing: Publish participatory sections
95
+ finish_publishing: Publicar secciones participativas
94
96
  new: Subir un documento PDF
95
- preview_publishing_sections: Preview and publish sections
97
+ preview_publishing_sections: Previsualizar y publicar secciones de participación
96
98
  title: Acciones
97
99
  admin:
98
100
  documents:
@@ -103,116 +105,116 @@ es:
103
105
  title: Edita el documento participativo
104
106
  update: Actualiza
105
107
  final_publish:
106
- error: There was an error publishing sections
107
- success: Sections have been successfully published
108
+ error: Hubo un error al publicar las secciones
109
+ success: Las secciones han sido publicadas correctamente
108
110
  form:
109
- alert_suggestions_html: "<strong>IMPORTANT:</strong> This document cannot be changed or removed because it already has suggestions attached"
110
- box_style_preview: 'Box style preview:'
111
- warning_sections_html: "<strong>Warning:</strong> If you upload a new document, all the participatory areas will be deleted!"
111
+ alert_suggestions_html: "<strong>IMPORTANTE:</strong> Este documento no puede ser cambiado o eliminado porque ya tiene sugerencias asociadas"
112
+ box_style_preview: 'Vista previa del estilo de caja:'
113
+ warning_sections_html: "<strong>¡Atención!:</strong> Si subes un nuevo documento, todas las secciones de participación serán eliminadas"
112
114
  index:
113
115
  start: Por favor cargue un documento PDF para empezar
114
116
  new:
115
- create: Create participatory document
116
- title: New participatory document
117
+ create: Crear documento participativo
118
+ title: Nuevo documento participativo
117
119
  sections:
118
- empty: "(empty)"
120
+ empty: "(vacío)"
119
121
  update:
120
- error: There was a problem updating Document
122
+ error: Se ha producido un error al actualizar el documento
121
123
  success: El documento ha sido actualizado con éxito
122
124
  exports:
123
- suggestions: Suggestions
125
+ suggestions: Sugerencias
124
126
  suggestion_notes:
125
127
  create:
126
- error: There was a problem creating this suggestion note
127
- success: Suggestion note successfully created
128
+ error: Se ha producido un error al crear la nota
129
+ success: La nota ha sido creada con éxito
128
130
  form:
129
- note: Note
130
- submit: Submit
131
- leave_your_note: Leave your note
131
+ note: Nota
132
+ submit: Enviar
133
+ leave_your_note: Deja tu nota
132
134
  modal:
133
- body: Body
134
- title: Edit note
135
- update: Update
136
- title: Private notes
135
+ body: Cuerpo
136
+ title: Editar nota
137
+ update: Actualizar
138
+ title: Notas privadas
137
139
  update:
138
- edited: Edited
139
- invalid: There was a problem updating this suggestion note
140
- success: Suggestion note successfully updated
140
+ edited: Editado
141
+ invalid: Se ha producido un error al actualizar la nota
142
+ success: La nota ha sido actualizada con éxito
141
143
  suggestions:
142
144
  answer:
143
- invalid: There was an error adding the answer
144
- success: Successfully added the answer
145
+ invalid: Se ha producido un error al añadir la respuesta
146
+ success: Se añadió correctamente la respuesta
145
147
  form:
146
- answer: Answer
147
- answer_is_published: Published
148
- title: Answer Suggestion
148
+ answer: Respuesta
149
+ answer_is_published: Publicada
150
+ title: Respuesta de la sugerencia
149
151
  index:
150
152
  actions:
151
- answer: Answer
152
- assign_to_valuator: Assign to valuator
153
- assign_to_valuator_button: Assign
154
- cancel: Cancel
155
- download: download %{filename}
156
- publish: Publish
157
- publish_answers: Publish answers
158
- title: Actions
159
- unassign_from_valuator: Unassign from valuator
160
- unassign_from_valuator_button: Unassign
161
- author: Author
162
- created_at: Submitted on
153
+ answer: Respuesta
154
+ assign_to_valuator: Asignar a evaluadora
155
+ assign_to_valuator_button: Asignar
156
+ cancel: Cancelar
157
+ download: descargar %{filename}
158
+ publish: Publicar
159
+ publish_answers: Publicar respuestas
160
+ title: Acciones
161
+ unassign_from_valuator: Desasignar la evaluadora
162
+ unassign_from_valuator_button: Desasignar
163
+ author: Autor
164
+ created_at: Envíado el
163
165
  id: Id
164
- no_text: "(no text)"
165
- published_answer: Published Answer
166
- section: Section
167
- selected: selected
168
- state: State
169
- suggestion: Suggestion
170
- title: List Suggestions
166
+ no_text: "(sin texto)"
167
+ published_answer: Respuesta publicada
168
+ section: Sección de participación
169
+ selected: seleccionado
170
+ state: Estado
171
+ suggestion: Sugerencia
172
+ title: Lista de Sugerencias
171
173
  publish_answers:
172
- number_of_suggestions: Answers for %{number} suggestions will be published.
173
- select_a_suggestion: Please select a suggestion
174
- success: Suggestion answers successfully published.
174
+ number_of_suggestions: Se publicarán las respuestas para %{number} sugerencias.
175
+ select_a_suggestion: Por favor, elige una sugerencia
176
+ success: Las respuestas en las sugerencias han sido publicadas correctamente.
175
177
  show:
176
- authors: Authors
177
- body: Body
178
- created_at: Creation date
179
- file: File
180
- update: Update
178
+ authors: Autores
179
+ body: Cuerpo
180
+ created_at: Fecha de creación
181
+ file: Archivo
182
+ update: Actualizar
181
183
  suggestion:
182
184
  global: Global
183
185
  valuators:
184
- assigned_valuators: Assigned valuators
185
- remove_assignment: Remove assignment
186
- remove_assignment_confirmation: Are you sure you want to remove the valuator from this suggestion?
187
- valuators: Valuators
186
+ assigned_valuators: Evaluadoras asignadas
187
+ remove_assignment: Eliminar asignación
188
+ remove_assignment_confirmation: '¿Confirmas que quieres desasignar la evaluadora de esta sugerencia?'
189
+ valuators: Evaluadoras
188
190
  valuation_assignments:
189
191
  create:
190
- invalid: There was an error assigning suggestions to a valuator
191
- success: Suggestions assigned to a valuator successfully
192
+ invalid: Se ha producido un error al asignar sugerencias a una evaluadora
193
+ success: Sugerencias asignadas a evaluadora con éxito
192
194
  delete:
193
- invalid: There was an error unassigning suggestions from a valuator
194
- success: Valuator unassigned from suggestions successfully
195
+ invalid: Se ha producido un error al desasignar sugerencias a una evaluadora
196
+ success: Evaluadora desasignada correctamente
195
197
  document:
196
- close: Close
197
- export_my_suggestions: Export my suggestions
198
- global_suggestions: Global suggestions
199
- save_changes: Save changes!
200
- send_suggestion: Send suggestion
201
- suggestion_answer: Official answer
202
- upload_file: Attach a document
198
+ close: Cerrar
199
+ export_my_suggestions: Exportar mis sugerencias
200
+ global_suggestions: Sugerencias globales
201
+ save_changes: '¡Guardar cambios!'
202
+ send_suggestion: Enviar sugerencia
203
+ suggestion_answer: Respuesta oficial
204
+ upload_file: Adjuntar documento
203
205
  document_suggestions:
204
206
  export:
205
- empty: There are no suggestions to export.
206
- success: "%{count} suggestions have been successfully exported. Please check your email inbox at %{email}."
207
+ empty: No hay sugerencias para exportar.
208
+ success: "Se han exportado correctamente %{count} sugerencias. Revisa tu bandeja de entrada de correo en %{email}."
207
209
  documents:
208
210
  export_modal:
209
- description_html: You have %{count} suggestions on this document. If you want to export them, you will receive a ZIP file with and Excel document in it with all your data and any possible answer the admins have given to you. <br><br>You will receive an email at <b>%{email}</b>.
210
- send: Send me my suggestions
211
- title: Export my suggestions
212
- missing: There is no document uploaded yet
213
- not_supported: This page requires JavaScript to be enabled!
214
- preview_title: Preview
215
- publish_description: 'Admin options: you are previewing the participatory sections of the document'
211
+ description_html: Tiene %{count} sugerencias en este documento. Si quiere exportarlo, recibirá un fichero ZIP que contiene un documento Excel con todos sus datos y cualquier posible respuesta que los administradores le hayan dado. <br><br>Recibirá un correo electrónico en <b>%{email}</b>.
212
+ send: Envíame mis sugerencias
213
+ title: Exportar mis sugerencias
214
+ missing: No hay ningún documento subido aún
215
+ not_supported: '¡Esta página requiere JavaScript para ser habilitada!'
216
+ preview_title: Previsualizar
217
+ publish_description: 'Opciones de administración: está previsualizando las secciones participativas del documento'
216
218
  models:
217
219
  document:
218
220
  fields:
@@ -223,37 +225,37 @@ es:
223
225
  title: Título
224
226
  section:
225
227
  fields:
226
- artificial_tile: Section %{position}
228
+ artificial_tile: Sección %{position}
227
229
  suggestion:
228
230
  fields:
229
- valuators: Valuators
231
+ valuators: Evaluadoras
230
232
  'no': 'No'
231
233
  suggestions:
232
234
  answers:
233
- accepted: Accepted
234
- evaluating: Evaluating
235
- not_answered: Not Answered
236
- published: Published
237
- rejected: Rejected
238
- withdrawn: Withdrawn
235
+ accepted: Aceptada
236
+ evaluating: En evaluación
237
+ not_answered: No contestada
238
+ published: Publicada
239
+ rejected: Rechazada
240
+ withdrawn: Retirada
239
241
  modal:
240
- exit_full_screen: Exit fullscreen
241
- full_screen: Fullscreen
242
+ exit_full_screen: Salir pantalla completa
243
+ full_screen: Pantalla Completa
242
244
  ui_messages:
243
- allSaved: All the areas have been saved successfully
244
- confirmExit: Are you sure you want to exit?
245
- created: The area has been created
246
- errorsSaving: Some errors have occurred while saving the areas
247
- group: Group
248
- modalTitle: Section %{section}, area %{box}
249
- move: Move
250
- needsSaving: You have to save the areas before editing them
251
- operationFailed: The operation has failed
252
- removeBoxConfirm: Are you sure you want to delete this area? This cannot be undone.
253
- removed: The area has been removed
254
- startEditing: Start creating areas for participation by clicking and dragging. Once created, boxes can be resized, moved, or grouped.
255
- startSuggesting: Click on a marked area to participate!
245
+ allSaved: Todas las áreas han sido guardadas correctamente
246
+ confirmExit: '¿Seguro que quieres salir?'
247
+ created: El área ha sido creada
248
+ errorsSaving: Se han producido algunos errores al guardar las áreas
249
+ group: Grupo
250
+ modalTitle: Sección %{section}, área %{box}
251
+ move: Mover
252
+ needsSaving: Tienes que guardar las áreas antes de editarlas
253
+ operationFailed: La operación falló
254
+ removeBoxConfirm: '¿Está seguro que desea eliminar esta área? Esta acción no se puede deshacer.'
255
+ removed: El área ha sido eliminada
256
+ startEditing: Empieza a crear áreas para la participación haciendo clic y arrastrando. Una vez creadas y guardadas, se pueden cambiar el tamaño, mover o agrupar. Una agrupación de áreas es una sección. Finalmente, se publicarán todas las secciones (sean agrupadas en varias áreas o en una sola área).
257
+ startSuggesting: '¡Haga clic en una sección marcada para participar!'
256
258
  suggestion_form:
257
- blank: There was an error creating the suggestion. Upload the valid file or add a text message with the suggestion.
258
- title: Write your suggestion or upload a file with your suggestions
259
+ blank: Se ha producido un error al crear la sugerencia. Sube un archivo válido o añade un mensaje de texto con la sugerencia.
260
+ title: Escribe tu sugerencia o sube un archivo con tus sugerencias
259
261
  'yes': 'Sí'
@@ -2,8 +2,8 @@
2
2
 
3
3
  module Decidim
4
4
  module ParticipatoryDocuments
5
- VERSION = "0.2.1"
6
- DECIDIM_VERSION = "0.27.4"
5
+ VERSION = "0.2.2"
6
+ DECIDIM_VERSION = "0.27.5"
7
7
  COMPAT_DECIDIM_VERSION = [">= 0.27.0", "< 0.28"].freeze
8
8
  end
9
9
  end
@@ -22,6 +22,10 @@ module Decidim
22
22
  config_accessor :max_suggestion_length do
23
23
  ENV.fetch("MAX_SUGGESTION_LENGTH", 1000).to_i
24
24
  end
25
+
26
+ config_accessor :antivirus_enabled do
27
+ defined?(AntivirusValidator) ? true : false
28
+ end
25
29
  end
26
30
  end
27
31
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-participatory_documents
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Vergés
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-10-26 00:00:00.000000000 Z
11
+ date: 2024-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-core