decidim-forms 0.22.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/config/admin/decidim_forms_manifest.css +3 -0
- data/app/assets/config/decidim_forms_manifest.css +1 -0
- data/app/assets/javascripts/decidim/forms/admin/auto_select_options_from_url.component.js.es6 +40 -0
- data/app/assets/javascripts/decidim/forms/admin/forms.js.es6 +181 -25
- data/app/assets/javascripts/decidim/forms/autosortable_checkboxes.component.js.es6 +54 -34
- data/app/assets/javascripts/decidim/forms/display_conditions.component.js.es6 +204 -0
- data/app/assets/javascripts/decidim/forms/forms.js.es6 +8 -1
- data/app/assets/stylesheets/decidim/forms/questionnaire-answers-pdf.scss +69 -0
- data/app/commands/decidim/forms/admin/update_questionnaire.rb +25 -1
- data/app/commands/decidim/forms/answer_questionnaire.rb +1 -1
- data/app/controllers/decidim/forms/admin/concerns/has_questionnaire.rb +47 -1
- data/app/controllers/decidim/forms/admin/concerns/has_questionnaire_answers.rb +97 -0
- data/app/forms/decidim/forms/admin/display_condition_form.rb +100 -0
- data/app/forms/decidim/forms/admin/question_form.rb +1 -0
- data/app/forms/decidim/forms/answer_form.rb +15 -0
- data/app/helpers/decidim/forms/admin/application_helper.rb +21 -0
- data/app/helpers/decidim/forms/admin/concerns/has_questionnaire_answers_pagination_helper.rb +49 -0
- data/app/helpers/decidim/forms/admin/concerns/has_questionnaire_answers_url_helper.rb +40 -0
- data/app/helpers/decidim/forms/admin/questionnaire_answers_helper.rb +27 -0
- data/app/jobs/decidim/forms/export_questionnaire_answers_job.rb +19 -0
- data/app/models/decidim/forms/answer.rb +0 -3
- data/app/models/decidim/forms/answer_option.rb +14 -0
- data/app/models/decidim/forms/display_condition.rb +51 -0
- data/app/models/decidim/forms/question.rb +34 -0
- data/app/models/decidim/forms/question_matrix_row.rb +3 -0
- data/app/models/decidim/forms/questionnaire.rb +11 -1
- data/app/presenters/decidim/forms/admin/questionnaire_answer_presenter.rb +43 -0
- data/app/presenters/decidim/forms/admin/questionnaire_participant_presenter.rb +60 -0
- data/app/presenters/decidim/forms/answer_option_presenter.rb +20 -0
- data/app/presenters/decidim/forms/question_presenter.rb +16 -0
- data/app/queries/decidim/forms/questionnaire_participant.rb +35 -0
- data/app/queries/decidim/forms/questionnaire_participants.rb +43 -0
- data/app/views/decidim/forms/admin/questionnaires/_display_condition.html.erb +88 -0
- data/app/views/decidim/forms/admin/questionnaires/_display_condition_template.html.erb +7 -0
- data/app/views/decidim/forms/admin/questionnaires/_form.html.erb +30 -4
- data/app/views/decidim/forms/admin/questionnaires/_question.html.erb +19 -3
- data/app/views/decidim/forms/admin/questionnaires/answers/export/_answer.html.erb +31 -0
- data/app/views/decidim/forms/admin/questionnaires/answers/export/pdf.html.erb +13 -0
- data/app/views/decidim/forms/admin/questionnaires/answers/index.html.erb +53 -0
- data/app/views/decidim/forms/admin/questionnaires/answers/show.html.erb +48 -0
- data/app/views/decidim/forms/admin/questionnaires/edit.html.erb +9 -5
- data/app/views/decidim/forms/questionnaires/_answer.html.erb +1 -1
- data/app/views/decidim/forms/questionnaires/show.html.erb +22 -2
- data/app/views/layouts/decidim/forms/admin/questionnaires/questionnaire_answers.html.erb +12 -0
- data/config/initializers/wicked_pdf.rb +25 -0
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/ar.yml +0 -1
- data/config/locales/bg-BG.yml +0 -2
- data/config/locales/bg.yml +14 -0
- data/config/locales/ca.yml +56 -4
- data/config/locales/cs.yml +54 -2
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +51 -1
- data/config/locales/el.yml +0 -2
- data/config/locales/en.yml +54 -2
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +53 -1
- data/config/locales/es-PY.yml +53 -1
- data/config/locales/es.yml +54 -2
- data/config/locales/et.yml +1 -0
- data/config/locales/eu.yml +0 -1
- data/config/locales/fi-plain.yml +53 -1
- data/config/locales/fi.yml +53 -1
- data/config/locales/fr-CA.yml +54 -2
- data/config/locales/fr.yml +54 -2
- data/config/locales/gl.yml +0 -1
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +0 -2
- data/config/locales/id-ID.yml +0 -1
- data/config/locales/is.yml +1 -0
- data/config/locales/it.yml +53 -1
- data/config/locales/ja-JP.yml +51 -1
- data/config/locales/ja.yml +170 -0
- data/config/locales/ko-KR.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/config/locales/lt.yml +1 -0
- data/config/locales/{lv-LV.yml → lv.yml} +0 -1
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +59 -7
- data/config/locales/no.yml +47 -2
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +52 -3
- data/config/locales/pt-BR.yml +0 -1
- data/config/locales/pt.yml +51 -2
- data/config/locales/ro-RO.yml +51 -2
- data/config/locales/ru.yml +0 -1
- data/config/locales/sk.yml +0 -2
- data/config/locales/sl.yml +7 -0
- data/config/locales/so-SO.yml +1 -0
- data/config/locales/sv.yml +51 -2
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +0 -1
- data/config/locales/vi-VN.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +172 -0
- data/config/locales/zh-TW.yml +1 -0
- data/db/migrate/20200130194123_create_decidim_forms_display_conditions.rb +20 -0
- data/lib/decidim/exporters/form_pdf.rb +33 -0
- data/lib/decidim/exporters/form_pdf_controller_helper.rb +11 -0
- data/lib/decidim/forms.rb +5 -0
- data/lib/decidim/forms/admin_engine.rb +1 -1
- data/lib/decidim/forms/test.rb +6 -0
- data/lib/decidim/forms/test/factories.rb +30 -0
- data/lib/decidim/forms/test/shared_examples/has_questionnaire.rb +619 -38
- data/lib/decidim/forms/test/shared_examples/manage_questionnaire_answers.rb +108 -0
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires.rb +21 -894
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/add_display_conditions.rb +179 -0
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/add_questions.rb +463 -0
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/update_display_conditions.rb +93 -0
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/update_questions.rb +461 -0
- data/lib/decidim/forms/version.rb +1 -1
- metadata +91 -11
|
@@ -0,0 +1 @@
|
|
|
1
|
+
da:
|
data/config/locales/de.yml
CHANGED
|
@@ -25,11 +25,47 @@ de:
|
|
|
25
25
|
description: Beschreibung
|
|
26
26
|
tos: Nutzungsbedingungen
|
|
27
27
|
questionnaires:
|
|
28
|
+
actions:
|
|
29
|
+
back: Zurück zu Fragen
|
|
30
|
+
show: Antworten anzeigen
|
|
28
31
|
answer_option:
|
|
29
32
|
answer_option: Antwortoption
|
|
30
33
|
free_text: Freier Text
|
|
31
34
|
remove: Löschen
|
|
32
35
|
statement: Aussage
|
|
36
|
+
answers:
|
|
37
|
+
actions:
|
|
38
|
+
back: Zurück zu Antworten
|
|
39
|
+
export: Exportieren
|
|
40
|
+
show: Antworten anzeigen
|
|
41
|
+
empty: Noch keine Antworten
|
|
42
|
+
export:
|
|
43
|
+
answer:
|
|
44
|
+
title: 'Antwort #%{number}'
|
|
45
|
+
export_response:
|
|
46
|
+
title: Umfrage_Benutzer_Antworten_%{token}
|
|
47
|
+
index:
|
|
48
|
+
title: "%{total} Antworten insgesamt"
|
|
49
|
+
show:
|
|
50
|
+
title: 'Antwort #%{number}'
|
|
51
|
+
display_condition:
|
|
52
|
+
answer_option: Antwortoption
|
|
53
|
+
condition_question: Frage
|
|
54
|
+
condition_type: Bedingung
|
|
55
|
+
condition_types:
|
|
56
|
+
answered: Beantwortet
|
|
57
|
+
equal: Gleich
|
|
58
|
+
match: Beinhaltet Text
|
|
59
|
+
not_answered: Unbeantwortet
|
|
60
|
+
not_equal: Nicht gleich
|
|
61
|
+
condition_value: Enthaltener Text
|
|
62
|
+
display_condition: Bedingung anzeigen
|
|
63
|
+
mandatory: Diese Bedingung muss immer erfüllt werden, unabhängig vom Status anderer Bedingungen
|
|
64
|
+
remove: Löschen
|
|
65
|
+
save_warning: Vergessen Sie nicht, das Formular zu speichern, bevor Sie die Anzeigebedingungen konfigurieren
|
|
66
|
+
select_answer_option: Antwortoption auswählen
|
|
67
|
+
select_condition_question: Eine Frage
|
|
68
|
+
select_condition_type: Wählen Sie einen Bedingungstyp
|
|
33
69
|
edit:
|
|
34
70
|
save: Speichern
|
|
35
71
|
title: Fragebogen bearbeiten
|
|
@@ -39,12 +75,17 @@ de:
|
|
|
39
75
|
already_answered_warning: Der Fragebogen wird bereits von einigen Benutzern beantwortet, sodass Sie die Fragen nicht ändern können.
|
|
40
76
|
collapse: Alle Fragen einklappen
|
|
41
77
|
expand: Alle Fragen ausklappen
|
|
78
|
+
preview: Vorschau
|
|
79
|
+
title: Formular bearbeiten
|
|
80
|
+
unpublished_warning: Das Formular ist nicht öffentlich. Sie können die Fragen ändern, dabei werden allerdings die aktuellen Antworten gelöscht.
|
|
42
81
|
matrix_row:
|
|
43
82
|
matrix_row: Zeile
|
|
44
83
|
remove: Löschen
|
|
45
84
|
statement: Aussage
|
|
46
85
|
question:
|
|
47
86
|
add_answer_option: Antwortoption hinzufügen
|
|
87
|
+
add_display_condition: Anzeigebedingung hinzufügen
|
|
88
|
+
add_display_condition_info: Speichern Sie das Formular, um die Anzeigebedingungen zu konfigurieren
|
|
48
89
|
add_matrix_row: Zeile hinzufügen
|
|
49
90
|
any: Irgendein
|
|
50
91
|
collapse: Einklappen
|
|
@@ -62,7 +103,7 @@ de:
|
|
|
62
103
|
up: Hoch
|
|
63
104
|
update:
|
|
64
105
|
invalid: Beim Speichern des Fragebogens sind Fehler aufgetreten.
|
|
65
|
-
success:
|
|
106
|
+
success: Formular erfolgreich gespeichert.
|
|
66
107
|
errors:
|
|
67
108
|
answer:
|
|
68
109
|
body: Körper kann nicht leer sein
|
|
@@ -104,6 +145,11 @@ de:
|
|
|
104
145
|
questionnaire_for_private_users:
|
|
105
146
|
body: Der Fragebogen ist nur für Privatanwender verfügbar
|
|
106
147
|
title: Fragebogen geschlossen
|
|
148
|
+
questionnaire_js_disabled:
|
|
149
|
+
body: Manche Funktionen des Formulars werden deaktiviert sein. Aktivieren Sie JavaScript in Ihrem Browser für eine bessere Erfahrung.
|
|
150
|
+
title: JavaScript ist deaktiviert
|
|
151
|
+
questionnaire_not_published:
|
|
152
|
+
body: Dieses Formular ist noch nicht veröffentlicht.
|
|
107
153
|
tos_agreement: Mit der Teilnahme stimmen Sie den Nutzungsbedingungen zu
|
|
108
154
|
step_navigation:
|
|
109
155
|
show:
|
|
@@ -112,9 +158,13 @@ de:
|
|
|
112
158
|
continue: Weiter
|
|
113
159
|
submit: einreichen
|
|
114
160
|
user_answers_serializer:
|
|
161
|
+
body: Antwort
|
|
162
|
+
completion: Abschluss
|
|
115
163
|
created_at: Beantwortet am
|
|
116
164
|
id: ID beantworten
|
|
117
165
|
ip_hash: IP-Hash
|
|
166
|
+
question: Frage
|
|
118
167
|
registered: Registriert
|
|
168
|
+
session_token: Benutzerkennung
|
|
119
169
|
unregistered: Nicht registriert
|
|
120
170
|
user_status: Benutzerstatus
|
data/config/locales/el.yml
CHANGED
|
@@ -62,7 +62,6 @@ el:
|
|
|
62
62
|
up: Επάνω
|
|
63
63
|
update:
|
|
64
64
|
invalid: Υπήρξε ένα πρόβλημα κατά την αποθήκευση της φόρμας.
|
|
65
|
-
success: Οι φόρμες αποθηκεύτηκαν με επιτυχία.
|
|
66
65
|
errors:
|
|
67
66
|
answer:
|
|
68
67
|
body: Το σώμα δεν μπορεί να είναι κενό
|
|
@@ -114,7 +113,6 @@ el:
|
|
|
114
113
|
user_answers_serializer:
|
|
115
114
|
created_at: Απαντήθηκε στις
|
|
116
115
|
id: Αναγνωριστικό απάντησης
|
|
117
|
-
ip_hash: Ip Hash
|
|
118
116
|
registered: Έχει εγγραφεί
|
|
119
117
|
unregistered: Δεν έχει εγγραφεί
|
|
120
118
|
user_status: Κατάσταση χρήστη
|
data/config/locales/en.yml
CHANGED
|
@@ -4,6 +4,8 @@ en:
|
|
|
4
4
|
attributes:
|
|
5
5
|
answer:
|
|
6
6
|
body: Answer
|
|
7
|
+
choices: Choices
|
|
8
|
+
selected_choices: Selected choices
|
|
7
9
|
question:
|
|
8
10
|
max_choices: Maximum number of choices
|
|
9
11
|
question_type: Type
|
|
@@ -26,11 +28,47 @@ en:
|
|
|
26
28
|
description: Description
|
|
27
29
|
tos: Terms of service
|
|
28
30
|
questionnaires:
|
|
31
|
+
actions:
|
|
32
|
+
back: Back to questions
|
|
33
|
+
show: Show responses
|
|
29
34
|
answer_option:
|
|
30
35
|
answer_option: Answer option
|
|
31
36
|
free_text: Free text
|
|
32
37
|
remove: Remove
|
|
33
38
|
statement: Statement
|
|
39
|
+
answers:
|
|
40
|
+
actions:
|
|
41
|
+
back: Back to responses
|
|
42
|
+
export: Export
|
|
43
|
+
show: Show answers
|
|
44
|
+
empty: No answers yet
|
|
45
|
+
export:
|
|
46
|
+
answer:
|
|
47
|
+
title: 'Response #%{number}'
|
|
48
|
+
export_response:
|
|
49
|
+
title: survey_user_answers_%{token}
|
|
50
|
+
index:
|
|
51
|
+
title: "%{total} total responses"
|
|
52
|
+
show:
|
|
53
|
+
title: 'Answer #%{number}'
|
|
54
|
+
display_condition:
|
|
55
|
+
answer_option: Answer option
|
|
56
|
+
condition_question: Question
|
|
57
|
+
condition_type: Condition
|
|
58
|
+
condition_types:
|
|
59
|
+
answered: Answered
|
|
60
|
+
equal: Equal
|
|
61
|
+
match: Includes text
|
|
62
|
+
not_answered: Not answered
|
|
63
|
+
not_equal: Not equal
|
|
64
|
+
condition_value: Included text
|
|
65
|
+
display_condition: Display condition
|
|
66
|
+
mandatory: This condition needs to be satisfied always regardless the status of other conditions
|
|
67
|
+
remove: Remove
|
|
68
|
+
save_warning: Remember to save the form before configuring display conditions
|
|
69
|
+
select_answer_option: Select answer option
|
|
70
|
+
select_condition_question: Select a question
|
|
71
|
+
select_condition_type: Select a condition type
|
|
34
72
|
edit:
|
|
35
73
|
save: Save
|
|
36
74
|
title: Edit questionnaire
|
|
@@ -40,12 +78,17 @@ en:
|
|
|
40
78
|
already_answered_warning: The form is already answered by some users so you cannot modify its questions.
|
|
41
79
|
collapse: Collapse all questions
|
|
42
80
|
expand: Expand all questions
|
|
81
|
+
preview: Preview
|
|
82
|
+
title: Edit form
|
|
83
|
+
unpublished_warning: The form is not published. You may modify its questions, but doing so will delete current answers.
|
|
43
84
|
matrix_row:
|
|
44
85
|
matrix_row: Row
|
|
45
86
|
remove: Remove
|
|
46
87
|
statement: Statement
|
|
47
88
|
question:
|
|
48
89
|
add_answer_option: Add answer option
|
|
90
|
+
add_display_condition: Add display condition
|
|
91
|
+
add_display_condition_info: Save the form to configure display conditions
|
|
49
92
|
add_matrix_row: Add row
|
|
50
93
|
any: Any
|
|
51
94
|
collapse: Collapse
|
|
@@ -63,7 +106,7 @@ en:
|
|
|
63
106
|
up: Up
|
|
64
107
|
update:
|
|
65
108
|
invalid: There was a problem saving the form.
|
|
66
|
-
success:
|
|
109
|
+
success: Form successfully saved.
|
|
67
110
|
errors:
|
|
68
111
|
answer:
|
|
69
112
|
body: Body can't be blank
|
|
@@ -105,6 +148,11 @@ en:
|
|
|
105
148
|
questionnaire_for_private_users:
|
|
106
149
|
body: The form is available only for private users
|
|
107
150
|
title: Form closed
|
|
151
|
+
questionnaire_js_disabled:
|
|
152
|
+
body: Some of this form's features will be disabled. To improve your experience, please enable JavaScript in your browser.
|
|
153
|
+
title: JavaScript is disabled
|
|
154
|
+
questionnaire_not_published:
|
|
155
|
+
body: This form is not published yet.
|
|
108
156
|
tos_agreement: By participating you accept its Terms of Service
|
|
109
157
|
step_navigation:
|
|
110
158
|
show:
|
|
@@ -113,9 +161,13 @@ en:
|
|
|
113
161
|
continue: Continue
|
|
114
162
|
submit: Submit
|
|
115
163
|
user_answers_serializer:
|
|
164
|
+
body: Answer
|
|
165
|
+
completion: Completion
|
|
116
166
|
created_at: Answered on
|
|
117
167
|
id: Answer ID
|
|
118
|
-
ip_hash:
|
|
168
|
+
ip_hash: IP Hash
|
|
169
|
+
question: Question
|
|
119
170
|
registered: Registered
|
|
171
|
+
session_token: User identifier
|
|
120
172
|
unregistered: Unregistered
|
|
121
173
|
user_status: User status
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
eo:
|
data/config/locales/es-MX.yml
CHANGED
|
@@ -3,6 +3,8 @@ es-MX:
|
|
|
3
3
|
attributes:
|
|
4
4
|
answer:
|
|
5
5
|
body: Responder
|
|
6
|
+
choices: Opciones
|
|
7
|
+
selected_choices: Opciones seleccionadas
|
|
6
8
|
question:
|
|
7
9
|
max_choices: Número máximo de opciones
|
|
8
10
|
question_type: Tipo
|
|
@@ -25,11 +27,47 @@ es-MX:
|
|
|
25
27
|
description: Descripción
|
|
26
28
|
tos: Términos y condiciones de uso
|
|
27
29
|
questionnaires:
|
|
30
|
+
actions:
|
|
31
|
+
back: Volver a las preguntas
|
|
32
|
+
show: Mostrar las respuestas
|
|
28
33
|
answer_option:
|
|
29
34
|
answer_option: Opción de respuesta
|
|
30
35
|
free_text: Texto libre
|
|
31
36
|
remove: Retirar
|
|
32
37
|
statement: Declaración
|
|
38
|
+
answers:
|
|
39
|
+
actions:
|
|
40
|
+
back: Volver a las respuestas
|
|
41
|
+
export: Exportar
|
|
42
|
+
show: Mostrar las respuestas
|
|
43
|
+
empty: Aún no hay respuestas
|
|
44
|
+
export:
|
|
45
|
+
answer:
|
|
46
|
+
title: 'Respuesta #%{number}'
|
|
47
|
+
export_response:
|
|
48
|
+
title: survey_user_answers_%{token}
|
|
49
|
+
index:
|
|
50
|
+
title: "%{total} total de respuestas"
|
|
51
|
+
show:
|
|
52
|
+
title: 'Respuesta #%{number}'
|
|
53
|
+
display_condition:
|
|
54
|
+
answer_option: Opción de respuesta
|
|
55
|
+
condition_question: Pregunta
|
|
56
|
+
condition_type: Condición
|
|
57
|
+
condition_types:
|
|
58
|
+
answered: Contestada
|
|
59
|
+
equal: Igual a
|
|
60
|
+
match: Incluye texto
|
|
61
|
+
not_answered: No contestada
|
|
62
|
+
not_equal: No es igual
|
|
63
|
+
condition_value: Texto incluido
|
|
64
|
+
display_condition: Condiciones de visualización
|
|
65
|
+
mandatory: Esta condición debe cumplirse siempre independientemente del estado de otras condiciones
|
|
66
|
+
remove: Eliminar
|
|
67
|
+
save_warning: Recuerda guardar la encuesta antes de configurar las condiciones de visualización
|
|
68
|
+
select_answer_option: Eliminar la opción de respuesta
|
|
69
|
+
select_condition_question: Seleccionar una pregunta
|
|
70
|
+
select_condition_type: Seleccionar un tipo de confirmación
|
|
33
71
|
edit:
|
|
34
72
|
save: Guardar
|
|
35
73
|
title: Editar el cuestionario
|
|
@@ -39,12 +77,17 @@ es-MX:
|
|
|
39
77
|
already_answered_warning: Algunos usuarios ya han respondido al cuestionario, por lo que no puedes modificar las preguntas.
|
|
40
78
|
collapse: Contraer todas las preguntas
|
|
41
79
|
expand: Expandir todos las preguntas
|
|
80
|
+
preview: Previsualizar
|
|
81
|
+
title: Editar el formulario
|
|
82
|
+
unpublished_warning: El formulario no está publicado. Puedes modificar sus preguntas, pero al hacerlo eliminará las respuestas actuales.
|
|
42
83
|
matrix_row:
|
|
43
84
|
matrix_row: Fila
|
|
44
85
|
remove: Retirar
|
|
45
86
|
statement: Declaración
|
|
46
87
|
question:
|
|
47
88
|
add_answer_option: Añadir opción de respuesta
|
|
89
|
+
add_display_condition: Agregar condición de visualización
|
|
90
|
+
add_display_condition_info: Guardar la encuesta para configurar las condiciones de visualización
|
|
48
91
|
add_matrix_row: Añadir fila
|
|
49
92
|
any: Alguna
|
|
50
93
|
collapse: Contraer
|
|
@@ -62,7 +105,7 @@ es-MX:
|
|
|
62
105
|
up: Subir
|
|
63
106
|
update:
|
|
64
107
|
invalid: Ha habido errores al guardar el cuestionario.
|
|
65
|
-
success:
|
|
108
|
+
success: Formulario guardado correctamente.
|
|
66
109
|
errors:
|
|
67
110
|
answer:
|
|
68
111
|
body: El campo no puede estar en blanco
|
|
@@ -104,6 +147,11 @@ es-MX:
|
|
|
104
147
|
questionnaire_for_private_users:
|
|
105
148
|
body: El cuestionario está disponible solo para usuarios privados
|
|
106
149
|
title: Cuestionario cerrado
|
|
150
|
+
questionnaire_js_disabled:
|
|
151
|
+
body: Algunas de las características de este formulario se desactivarán. Para mejorar tu experiencia, habilita JavaScript en tu navegador.
|
|
152
|
+
title: Javascript está desactivado
|
|
153
|
+
questionnaire_not_published:
|
|
154
|
+
body: Este formulario no se ha publicado todavía.
|
|
107
155
|
tos_agreement: Al responder aceptas los Términos y condiciones de uso
|
|
108
156
|
step_navigation:
|
|
109
157
|
show:
|
|
@@ -112,9 +160,13 @@ es-MX:
|
|
|
112
160
|
continue: Continuar
|
|
113
161
|
submit: Enviar
|
|
114
162
|
user_answers_serializer:
|
|
163
|
+
body: Respuesta
|
|
164
|
+
completion: Finalización
|
|
115
165
|
created_at: Respondido en
|
|
116
166
|
id: ID de respuesta
|
|
117
167
|
ip_hash: Hash de Dirección IP
|
|
168
|
+
question: Pregunta
|
|
118
169
|
registered: Registrado
|
|
170
|
+
session_token: Identificador de usuaria
|
|
119
171
|
unregistered: No registrado
|
|
120
172
|
user_status: Estado del usuario
|
data/config/locales/es-PY.yml
CHANGED
|
@@ -3,6 +3,8 @@ es-PY:
|
|
|
3
3
|
attributes:
|
|
4
4
|
answer:
|
|
5
5
|
body: Responder
|
|
6
|
+
choices: Opciones
|
|
7
|
+
selected_choices: Opciones seleccionadas
|
|
6
8
|
question:
|
|
7
9
|
max_choices: Número máximo de opciones
|
|
8
10
|
question_type: Tipo
|
|
@@ -25,11 +27,47 @@ es-PY:
|
|
|
25
27
|
description: Descripción
|
|
26
28
|
tos: Términos y condiciones de uso
|
|
27
29
|
questionnaires:
|
|
30
|
+
actions:
|
|
31
|
+
back: Volver a las preguntas
|
|
32
|
+
show: Mostrar las respuestas
|
|
28
33
|
answer_option:
|
|
29
34
|
answer_option: Opción de respuesta
|
|
30
35
|
free_text: Texto libre
|
|
31
36
|
remove: Retirar
|
|
32
37
|
statement: Declaración
|
|
38
|
+
answers:
|
|
39
|
+
actions:
|
|
40
|
+
back: Volver a las respuestas
|
|
41
|
+
export: Exportar
|
|
42
|
+
show: Mostrar las respuestas
|
|
43
|
+
empty: Aún no hay respuestas
|
|
44
|
+
export:
|
|
45
|
+
answer:
|
|
46
|
+
title: 'Respuesta #%{number}'
|
|
47
|
+
export_response:
|
|
48
|
+
title: survey_user_answers_%{token}
|
|
49
|
+
index:
|
|
50
|
+
title: "%{total} total de respuestas"
|
|
51
|
+
show:
|
|
52
|
+
title: 'Respuesta #%{number}'
|
|
53
|
+
display_condition:
|
|
54
|
+
answer_option: Opción de respuesta
|
|
55
|
+
condition_question: Pregunta
|
|
56
|
+
condition_type: Condición
|
|
57
|
+
condition_types:
|
|
58
|
+
answered: Contestada
|
|
59
|
+
equal: Igual a
|
|
60
|
+
match: Incluye texto
|
|
61
|
+
not_answered: No contestada
|
|
62
|
+
not_equal: No es igual
|
|
63
|
+
condition_value: Texto incluido
|
|
64
|
+
display_condition: Condiciones de visualización
|
|
65
|
+
mandatory: Esta condición debe cumplirse siempre independientemente del estado de otras condiciones
|
|
66
|
+
remove: Eliminar
|
|
67
|
+
save_warning: Recuerda guardar la encuesta antes de configurar las condiciones de visualización
|
|
68
|
+
select_answer_option: Eliminar la opción de respuesta
|
|
69
|
+
select_condition_question: Seleccionar una pregunta
|
|
70
|
+
select_condition_type: Seleccionar un tipo de confirmación
|
|
33
71
|
edit:
|
|
34
72
|
save: Guardar
|
|
35
73
|
title: Editar el cuestionario
|
|
@@ -39,12 +77,17 @@ es-PY:
|
|
|
39
77
|
already_answered_warning: Algunos usuarios ya han respondido al cuestionario, por lo que no puedes modificar las preguntas.
|
|
40
78
|
collapse: Contraer todas las preguntas
|
|
41
79
|
expand: Expandir todos las preguntas
|
|
80
|
+
preview: Previsualizar
|
|
81
|
+
title: Editar el formulario
|
|
82
|
+
unpublished_warning: El formulario no está publicado. Puedes modificar sus preguntas, pero al hacerlo eliminará las respuestas actuales.
|
|
42
83
|
matrix_row:
|
|
43
84
|
matrix_row: Fila
|
|
44
85
|
remove: Retirar
|
|
45
86
|
statement: Declaración
|
|
46
87
|
question:
|
|
47
88
|
add_answer_option: Añadir opción de respuesta
|
|
89
|
+
add_display_condition: Agregar condición de visualización
|
|
90
|
+
add_display_condition_info: Guardar la encuesta para configurar las condiciones de visualización
|
|
48
91
|
add_matrix_row: Añadir fila
|
|
49
92
|
any: Alguna
|
|
50
93
|
collapse: Contraer
|
|
@@ -62,7 +105,7 @@ es-PY:
|
|
|
62
105
|
up: Subir
|
|
63
106
|
update:
|
|
64
107
|
invalid: Ha habido errores al guardar el cuestionario.
|
|
65
|
-
success:
|
|
108
|
+
success: Formulario guardado correctamente.
|
|
66
109
|
errors:
|
|
67
110
|
answer:
|
|
68
111
|
body: El campo no puede estar en blanco
|
|
@@ -104,6 +147,11 @@ es-PY:
|
|
|
104
147
|
questionnaire_for_private_users:
|
|
105
148
|
body: El cuestionario está disponible solo para usuarios privados
|
|
106
149
|
title: Cuestionario cerrado
|
|
150
|
+
questionnaire_js_disabled:
|
|
151
|
+
body: Algunas de las características de este formulario se desactivarán. Para mejorar tu experiencia, habilita JavaScript en tu navegador.
|
|
152
|
+
title: Javascript está desactivado
|
|
153
|
+
questionnaire_not_published:
|
|
154
|
+
body: Este formulario no se ha publicado todavía.
|
|
107
155
|
tos_agreement: Al responder aceptas los Términos y condiciones de uso
|
|
108
156
|
step_navigation:
|
|
109
157
|
show:
|
|
@@ -112,9 +160,13 @@ es-PY:
|
|
|
112
160
|
continue: Continuar
|
|
113
161
|
submit: Enviar
|
|
114
162
|
user_answers_serializer:
|
|
163
|
+
body: Respuesta
|
|
164
|
+
completion: Finalización
|
|
115
165
|
created_at: Respondido en
|
|
116
166
|
id: ID de respuesta
|
|
117
167
|
ip_hash: Hash de Dirección IP
|
|
168
|
+
question: Pregunta
|
|
118
169
|
registered: Registrado
|
|
170
|
+
session_token: Identificador de usuaria
|
|
119
171
|
unregistered: No registrado
|
|
120
172
|
user_status: Estado del usuario
|
data/config/locales/es.yml
CHANGED
|
@@ -3,6 +3,8 @@ es:
|
|
|
3
3
|
attributes:
|
|
4
4
|
answer:
|
|
5
5
|
body: Responder
|
|
6
|
+
choices: Opciones
|
|
7
|
+
selected_choices: Opciones seleccionadas
|
|
6
8
|
question:
|
|
7
9
|
max_choices: Número máximo de opciones
|
|
8
10
|
question_type: Tipo
|
|
@@ -25,11 +27,47 @@ es:
|
|
|
25
27
|
description: Descripción
|
|
26
28
|
tos: Términos y condiciones de uso
|
|
27
29
|
questionnaires:
|
|
30
|
+
actions:
|
|
31
|
+
back: Volver a las preguntas
|
|
32
|
+
show: Mostrar las respuestas
|
|
28
33
|
answer_option:
|
|
29
34
|
answer_option: Opción de respuesta
|
|
30
35
|
free_text: Texto libre
|
|
31
36
|
remove: Eliminar
|
|
32
37
|
statement: Declaración
|
|
38
|
+
answers:
|
|
39
|
+
actions:
|
|
40
|
+
back: Volver a las respuestas
|
|
41
|
+
export: Exportar
|
|
42
|
+
show: Mostrar las respuestas
|
|
43
|
+
empty: Aún no hay respuestas
|
|
44
|
+
export:
|
|
45
|
+
answer:
|
|
46
|
+
title: 'Respuesta #%{number}'
|
|
47
|
+
export_response:
|
|
48
|
+
title: survey_user_answers_%{token}
|
|
49
|
+
index:
|
|
50
|
+
title: "%{total} respuestas totales"
|
|
51
|
+
show:
|
|
52
|
+
title: 'Respuesta #%{number}'
|
|
53
|
+
display_condition:
|
|
54
|
+
answer_option: Opción de respuesta
|
|
55
|
+
condition_question: Pregunta
|
|
56
|
+
condition_type: Condición
|
|
57
|
+
condition_types:
|
|
58
|
+
answered: Contestada
|
|
59
|
+
equal: Igual a
|
|
60
|
+
match: Incluye texto
|
|
61
|
+
not_answered: No contestada
|
|
62
|
+
not_equal: No es igual
|
|
63
|
+
condition_value: Texto incluido
|
|
64
|
+
display_condition: Condición de visualización
|
|
65
|
+
mandatory: Esta condición debe cumplirse siempre independientemente del estado de otras condiciones
|
|
66
|
+
remove: Eliminar
|
|
67
|
+
save_warning: Recuerda guardar el formulario antes de configurar las condiciones de visualización
|
|
68
|
+
select_answer_option: Seleccionar opción de respuesta
|
|
69
|
+
select_condition_question: Seleccionar una pregunta
|
|
70
|
+
select_condition_type: Seleccione un tipo de condición
|
|
33
71
|
edit:
|
|
34
72
|
save: Guardar
|
|
35
73
|
title: Editar el cuestionario
|
|
@@ -39,12 +77,17 @@ es:
|
|
|
39
77
|
already_answered_warning: Algunas participantes ya han respondido el formulario, por lo que no puedes modificar las preguntas.
|
|
40
78
|
collapse: Contraer todas las preguntas
|
|
41
79
|
expand: Expandir todos las preguntas
|
|
80
|
+
preview: Previsualizar
|
|
81
|
+
title: Editar el formulario
|
|
82
|
+
unpublished_warning: El formulario no está publicado. Puedes modificar sus preguntas, pero al hacerlo eliminará las respuestas actuales.
|
|
42
83
|
matrix_row:
|
|
43
84
|
matrix_row: Fila
|
|
44
85
|
remove: Eliminar
|
|
45
86
|
statement: Declaración
|
|
46
87
|
question:
|
|
47
88
|
add_answer_option: Añadir una opción de respuesta
|
|
89
|
+
add_display_condition: Agregar condición de visualización
|
|
90
|
+
add_display_condition_info: Guardar el formulario para configurar las condiciones de visualización
|
|
48
91
|
add_matrix_row: Añadir fila
|
|
49
92
|
any: Alguna
|
|
50
93
|
collapse: Contraer
|
|
@@ -62,7 +105,7 @@ es:
|
|
|
62
105
|
up: Subir
|
|
63
106
|
update:
|
|
64
107
|
invalid: Se ha producido un error al guardar el formulario.
|
|
65
|
-
success:
|
|
108
|
+
success: Formulario guardado correctamente.
|
|
66
109
|
errors:
|
|
67
110
|
answer:
|
|
68
111
|
body: El campo no puede estar en blanco
|
|
@@ -72,7 +115,7 @@ es:
|
|
|
72
115
|
dimensions: "%{width} x %{height} px"
|
|
73
116
|
dimensions_info: 'Esta imagen medirá:'
|
|
74
117
|
processors:
|
|
75
|
-
resize_and_pad:
|
|
118
|
+
resize_and_pad: Redimensionada y ajustada a
|
|
76
119
|
resize_to_fit: Redimensionada para ajustarla
|
|
77
120
|
question_types:
|
|
78
121
|
long_answer: Respuesta larga
|
|
@@ -104,6 +147,11 @@ es:
|
|
|
104
147
|
questionnaire_for_private_users:
|
|
105
148
|
body: El formulario está disponible solo para participantes privadas
|
|
106
149
|
title: Formulario cerrado
|
|
150
|
+
questionnaire_js_disabled:
|
|
151
|
+
body: Algunas de las características de este formulario se desactivarán. Para mejorar tu experiencia, habilita JavaScript en tu navegador.
|
|
152
|
+
title: Javascript está desactivado
|
|
153
|
+
questionnaire_not_published:
|
|
154
|
+
body: Este formulario no se ha publicado todavía.
|
|
107
155
|
tos_agreement: Al participar aceptas los Términos y condiciones de uso
|
|
108
156
|
step_navigation:
|
|
109
157
|
show:
|
|
@@ -112,9 +160,13 @@ es:
|
|
|
112
160
|
continue: Continuar
|
|
113
161
|
submit: Enviar respuestas
|
|
114
162
|
user_answers_serializer:
|
|
163
|
+
body: Respuesta
|
|
164
|
+
completion: Finalización
|
|
115
165
|
created_at: Respondido el
|
|
116
166
|
id: Identificador de respuesta
|
|
117
167
|
ip_hash: Hash de Dirección IP
|
|
168
|
+
question: Pregunta
|
|
118
169
|
registered: Registrado
|
|
170
|
+
session_token: Identificador de usuaria
|
|
119
171
|
unregistered: No registrado
|
|
120
172
|
user_status: Estado del usuario
|