decidim-forms 0.22.0 → 0.23.3
Sign up to get free protection for your applications and to get access to all the features.
- 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 +203 -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/controllers/decidim/forms/concerns/has_questionnaire.rb +3 -2
- 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/forms/decidim/forms/questionnaire_form.rb +5 -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 +30 -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 +65 -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 +22 -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 +56 -4
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +53 -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 +55 -3
- data/config/locales/gl.yml +1 -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 +48 -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/si-LK.yml +1 -0
- 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/sw-KE.yml +1 -0
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +88 -2
- 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/db/migrate/20201110152921_add_salt_to_decidim_forms_questionnaires.rb +16 -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 +31 -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/user_answers_serializer.rb +1 -1
- data/lib/decidim/forms/version.rb +1 -1
- metadata +97 -14
data/config/locales/cs.yml
CHANGED
@@ -3,6 +3,8 @@ cs:
|
|
3
3
|
attributes:
|
4
4
|
answer:
|
5
5
|
body: Odpovědět
|
6
|
+
choices: Možnosti
|
7
|
+
selected_choices: Vyberte možnosti
|
6
8
|
question:
|
7
9
|
max_choices: Maximální počet možností
|
8
10
|
question_type: Typ
|
@@ -25,26 +27,67 @@ cs:
|
|
25
27
|
description: Popis
|
26
28
|
tos: Podmínky služby
|
27
29
|
questionnaires:
|
30
|
+
actions:
|
31
|
+
back: Zpět na otázky
|
32
|
+
show: Zobrazit odpovědi
|
28
33
|
answer_option:
|
29
34
|
answer_option: Možnost odpovědi
|
30
35
|
free_text: Volný text
|
31
36
|
remove: Odstranit
|
32
37
|
statement: Prohlášení
|
38
|
+
answers:
|
39
|
+
actions:
|
40
|
+
back: Zpět na odpovědi
|
41
|
+
export: Export
|
42
|
+
show: Zobrazit odpovědi
|
43
|
+
empty: Zatím žádné odpovědi
|
44
|
+
export:
|
45
|
+
answer:
|
46
|
+
title: 'Odpověď č.%{number}'
|
47
|
+
export_response:
|
48
|
+
title: survey_user_answers_%{token}
|
49
|
+
index:
|
50
|
+
title: "%{total} odpovědí celkem"
|
51
|
+
show:
|
52
|
+
title: 'Odpověď č.%{number}'
|
53
|
+
display_condition:
|
54
|
+
answer_option: Možnost odpovědi
|
55
|
+
condition_question: Otázka
|
56
|
+
condition_type: Podmínka
|
57
|
+
condition_types:
|
58
|
+
answered: Odpovězeno
|
59
|
+
equal: Rovná se
|
60
|
+
match: Zahrnuje text
|
61
|
+
not_answered: Nezodpovězeno
|
62
|
+
not_equal: Není rovno
|
63
|
+
condition_value: Zahrnuje text
|
64
|
+
display_condition: Stav zobrazení
|
65
|
+
mandatory: Tato podmínka musí být splněna vždy bez ohledu na stav ostatních podmínek
|
66
|
+
remove: Odebrat
|
67
|
+
save_warning: Nezapomeňte uložit formulář před nastavením podmínek zobrazení
|
68
|
+
select_answer_option: Vyberte možnost odpovědi
|
69
|
+
select_condition_question: Vyberte otázku
|
70
|
+
select_condition_type: Vyberte typ podmínky
|
33
71
|
edit:
|
34
72
|
save: Uložit
|
35
73
|
title: Upravit dotazník
|
36
74
|
form:
|
37
75
|
add_question: Přidat otázku
|
38
76
|
add_separator: Přidat oddělovač
|
39
|
-
already_answered_warning:
|
40
|
-
collapse: Sbalit všechny
|
77
|
+
already_answered_warning: Formulář je již zodpovězen některými uživateli, takže jeho otázky nemůžete upravovat.
|
78
|
+
collapse: Sbalit všechny otázky
|
41
79
|
expand: Rozbalit všechny otázky
|
80
|
+
preview: Náhled
|
81
|
+
title: Upravit formulář
|
82
|
+
unpublished_warning: Formulář není zveřejněn. Můžete změnit jeho otázky, ale tím odstraníte aktuální odpovědi.
|
42
83
|
matrix_row:
|
43
84
|
matrix_row: Řádek
|
44
85
|
remove: Odstranit
|
45
86
|
statement: Prohlášení
|
46
87
|
question:
|
47
88
|
add_answer_option: Přidat možnost odpovědi
|
89
|
+
add_display_condition: Přidat podmínku zobrazení
|
90
|
+
add_display_condition_info: Uložit formulář pro nastavení podmínek zobrazení
|
48
91
|
add_matrix_row: Přidat řádek
|
49
92
|
any: Žádný
|
50
93
|
collapse: Sbalit
|
@@ -62,7 +105,7 @@ cs:
|
|
62
105
|
up: Nahoru
|
63
106
|
update:
|
64
107
|
invalid: Při ukládání dotazníku došlo k chybám.
|
65
|
-
success:
|
108
|
+
success: Formulář byl úspěšně uložen.
|
66
109
|
errors:
|
67
110
|
answer:
|
68
111
|
body: Tělo nemůže být prázdné
|
@@ -104,6 +147,11 @@ cs:
|
|
104
147
|
questionnaire_for_private_users:
|
105
148
|
body: Dotazník je k dispozici pouze pro soukromé uživatele
|
106
149
|
title: Dotazník byl uzavřen
|
150
|
+
questionnaire_js_disabled:
|
151
|
+
body: Některé funkce tohoto formuláře budou zakázány. Pro zlepšení použití formuláře povolte JavaScript ve vašem prohlížeči.
|
152
|
+
title: JavaScript je zakázán
|
153
|
+
questionnaire_not_published:
|
154
|
+
body: Tento formulář zatím není zveřejněn.
|
107
155
|
tos_agreement: Účastí přijímáte jeho smluvní podmínky
|
108
156
|
step_navigation:
|
109
157
|
show:
|
@@ -112,9 +160,13 @@ cs:
|
|
112
160
|
continue: Pokračovat
|
113
161
|
submit: Odeslat
|
114
162
|
user_answers_serializer:
|
163
|
+
body: Odpověď
|
164
|
+
completion: Ukončení
|
115
165
|
created_at: Zodpovězeno
|
116
166
|
id: ID odpovědi
|
117
|
-
ip_hash:
|
167
|
+
ip_hash: IP Hash
|
168
|
+
question: Otázka
|
118
169
|
registered: Registrován
|
170
|
+
session_token: Identifikátor uživatele
|
119
171
|
unregistered: Neregistrovaný
|
120
172
|
user_status: Stav uživatele
|
@@ -0,0 +1 @@
|
|
1
|
+
da:
|
data/config/locales/de.yml
CHANGED
@@ -3,6 +3,8 @@ de:
|
|
3
3
|
attributes:
|
4
4
|
answer:
|
5
5
|
body: Antworten
|
6
|
+
choices: Auswahl
|
7
|
+
selected_choices: Ausgewählte Auswahl
|
6
8
|
question:
|
7
9
|
max_choices: Maximale Anzahl von Auswahlmöglichkeiten
|
8
10
|
question_type: Art
|
@@ -25,11 +27,47 @@ de:
|
|
25
27
|
description: Beschreibung
|
26
28
|
tos: Nutzungsbedingungen
|
27
29
|
questionnaires:
|
30
|
+
actions:
|
31
|
+
back: Zurück zu Fragen
|
32
|
+
show: Antworten anzeigen
|
28
33
|
answer_option:
|
29
34
|
answer_option: Antwortoption
|
30
35
|
free_text: Freier Text
|
31
36
|
remove: Löschen
|
32
37
|
statement: Aussage
|
38
|
+
answers:
|
39
|
+
actions:
|
40
|
+
back: Zurück zu Antworten
|
41
|
+
export: Exportieren
|
42
|
+
show: Antworten anzeigen
|
43
|
+
empty: Noch keine Antworten
|
44
|
+
export:
|
45
|
+
answer:
|
46
|
+
title: 'Antwort #%{number}'
|
47
|
+
export_response:
|
48
|
+
title: Umfrage_Benutzer_Antworten_%{token}
|
49
|
+
index:
|
50
|
+
title: "%{total} Antworten insgesamt"
|
51
|
+
show:
|
52
|
+
title: 'Antwort #%{number}'
|
53
|
+
display_condition:
|
54
|
+
answer_option: Antwortoption
|
55
|
+
condition_question: Frage
|
56
|
+
condition_type: Bedingung
|
57
|
+
condition_types:
|
58
|
+
answered: Beantwortet
|
59
|
+
equal: Gleich
|
60
|
+
match: Beinhaltet Text
|
61
|
+
not_answered: Unbeantwortet
|
62
|
+
not_equal: Nicht gleich
|
63
|
+
condition_value: Enthaltener Text
|
64
|
+
display_condition: Bedingung anzeigen
|
65
|
+
mandatory: Diese Bedingung muss immer erfüllt werden, unabhängig vom Status anderer Bedingungen
|
66
|
+
remove: Löschen
|
67
|
+
save_warning: Vergessen Sie nicht, das Formular zu speichern, bevor Sie die Anzeigebedingungen konfigurieren
|
68
|
+
select_answer_option: Antwortoption auswählen
|
69
|
+
select_condition_question: Eine Frage
|
70
|
+
select_condition_type: Wählen Sie einen Bedingungstyp
|
33
71
|
edit:
|
34
72
|
save: Speichern
|
35
73
|
title: Fragebogen bearbeiten
|
@@ -39,12 +77,17 @@ de:
|
|
39
77
|
already_answered_warning: Der Fragebogen wird bereits von einigen Benutzern beantwortet, sodass Sie die Fragen nicht ändern können.
|
40
78
|
collapse: Alle Fragen einklappen
|
41
79
|
expand: Alle Fragen ausklappen
|
80
|
+
preview: Vorschau
|
81
|
+
title: Formular bearbeiten
|
82
|
+
unpublished_warning: Das Formular ist nicht öffentlich. Sie können die Fragen ändern, dabei werden allerdings die aktuellen Antworten gelöscht.
|
42
83
|
matrix_row:
|
43
84
|
matrix_row: Zeile
|
44
85
|
remove: Löschen
|
45
86
|
statement: Aussage
|
46
87
|
question:
|
47
88
|
add_answer_option: Antwortoption hinzufügen
|
89
|
+
add_display_condition: Anzeigebedingung hinzufügen
|
90
|
+
add_display_condition_info: Speichern Sie das Formular, um die Anzeigebedingungen zu konfigurieren
|
48
91
|
add_matrix_row: Zeile hinzufügen
|
49
92
|
any: Irgendein
|
50
93
|
collapse: Einklappen
|
@@ -62,7 +105,7 @@ de:
|
|
62
105
|
up: Hoch
|
63
106
|
update:
|
64
107
|
invalid: Beim Speichern des Fragebogens sind Fehler aufgetreten.
|
65
|
-
success:
|
108
|
+
success: Formular erfolgreich gespeichert.
|
66
109
|
errors:
|
67
110
|
answer:
|
68
111
|
body: Körper kann nicht leer sein
|
@@ -104,6 +147,11 @@ de:
|
|
104
147
|
questionnaire_for_private_users:
|
105
148
|
body: Der Fragebogen ist nur für Privatanwender verfügbar
|
106
149
|
title: Fragebogen geschlossen
|
150
|
+
questionnaire_js_disabled:
|
151
|
+
body: Manche Funktionen des Formulars werden deaktiviert sein. Aktivieren Sie JavaScript in Ihrem Browser für eine bessere Erfahrung.
|
152
|
+
title: JavaScript ist deaktiviert
|
153
|
+
questionnaire_not_published:
|
154
|
+
body: Dieses Formular ist noch nicht veröffentlicht.
|
107
155
|
tos_agreement: Mit der Teilnahme stimmen Sie den Nutzungsbedingungen zu
|
108
156
|
step_navigation:
|
109
157
|
show:
|
@@ -112,9 +160,13 @@ de:
|
|
112
160
|
continue: Weiter
|
113
161
|
submit: einreichen
|
114
162
|
user_answers_serializer:
|
163
|
+
body: Antwort
|
164
|
+
completion: Abschluss
|
115
165
|
created_at: Beantwortet am
|
116
166
|
id: ID beantworten
|
117
167
|
ip_hash: IP-Hash
|
168
|
+
question: Frage
|
118
169
|
registered: Registriert
|
170
|
+
session_token: Benutzerkennung
|
119
171
|
unregistered: Nicht registriert
|
120
172
|
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
|