decidim-forms 0.29.2 → 0.30.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/forms/step_navigation_cell.rb +18 -5
- data/app/commands/decidim/forms/admin/update_questionnaire.rb +1 -82
- data/app/commands/decidim/forms/admin/update_questions.rb +109 -0
- data/app/commands/decidim/forms/answer_questionnaire.rb +10 -3
- data/app/controllers/decidim/forms/admin/concerns/has_questionnaire.rb +39 -3
- data/app/controllers/decidim/forms/admin/concerns/has_questionnaire_answers.rb +2 -2
- data/app/controllers/decidim/forms/concerns/has_questionnaire.rb +12 -4
- data/app/forms/decidim/forms/admin/display_condition_form.rb +1 -1
- data/app/forms/decidim/forms/admin/questionnaire_form.rb +0 -9
- data/app/forms/decidim/forms/admin/questions_form.rb +18 -0
- data/app/forms/decidim/forms/answer_choice_form.rb +5 -0
- data/app/forms/decidim/forms/answer_form.rb +1 -0
- data/app/forms/decidim/forms/questionnaire_form.rb +7 -0
- data/app/helpers/decidim/forms/admin/concerns/has_questionnaire_answers_pagination_helper.rb +1 -1
- data/app/helpers/decidim/forms/admin/concerns/has_questionnaire_answers_url_helper.rb +5 -5
- data/app/jobs/decidim/forms/export_questionnaire_answers_job.rb +5 -1
- data/app/models/decidim/forms/answer_choice.rb +0 -2
- data/app/models/decidim/forms/answer_option.rb +1 -1
- data/app/models/decidim/forms/question.rb +10 -0
- data/app/packs/entrypoints/decidim_forms.js +0 -1
- data/app/packs/entrypoints/decidim_forms_admin.js +6 -0
- data/app/packs/src/decidim/forms/admin/publish_answers_buttons.js +72 -0
- data/app/packs/src/decidim/forms/forms.js +22 -18
- data/app/presenters/decidim/forms/admin/questionnaire_participant_presenter.rb +1 -1
- data/app/presenters/decidim/forms/admin_log/question_presenter.rb +31 -0
- data/app/queries/decidim/forms/questionnaire_user_answers.rb +1 -1
- data/app/views/decidim/forms/admin/questionnaires/_answer_option_template.html.erb +1 -1
- data/app/views/decidim/forms/admin/questionnaires/_display_condition_template.html.erb +1 -1
- data/app/views/decidim/forms/admin/questionnaires/_form.html.erb +0 -89
- data/app/views/decidim/forms/admin/questionnaires/_matrix_row_template.html.erb +1 -1
- data/app/views/decidim/forms/admin/questionnaires/_question.html.erb +3 -3
- data/app/views/decidim/forms/admin/questionnaires/_questions_form.html.erb +80 -0
- data/app/views/decidim/forms/admin/questionnaires/edit.html.erb +0 -20
- data/app/views/decidim/forms/admin/questionnaires/edit_questions.html.erb +47 -0
- data/app/views/decidim/forms/questionnaires/_questionnaire.html.erb +8 -1
- data/app/views/decidim/forms/questionnaires/answers/_files.html.erb +1 -1
- data/app/views/decidim/forms/questionnaires/answers/_sorting.html.erb +12 -6
- data/app/views/decidim/forms/questionnaires/edit.html.erb +47 -0
- data/app/views/decidim/forms/questionnaires/show.html.erb +13 -2
- data/config/assets.rb +1 -2
- data/config/locales/bg.yml +0 -2
- data/config/locales/ca.yml +46 -6
- data/config/locales/cs.yml +45 -5
- data/config/locales/de.yml +45 -5
- data/config/locales/el.yml +0 -2
- data/config/locales/en.yml +45 -5
- data/config/locales/es-MX.yml +45 -5
- data/config/locales/es-PY.yml +45 -5
- data/config/locales/es.yml +45 -5
- data/config/locales/eu.yml +45 -5
- data/config/locales/fi-plain.yml +45 -5
- data/config/locales/fi.yml +45 -5
- data/config/locales/fr-CA.yml +37 -5
- data/config/locales/fr.yml +37 -5
- data/config/locales/ja.yml +1 -1
- data/config/locales/lt.yml +0 -2
- data/config/locales/pl.yml +0 -2
- data/config/locales/ro-RO.yml +8 -3
- data/config/locales/zh-TW.yml +0 -2
- data/db/migrate/20190315203056_add_session_token_to_decidim_forms_answers.rb +1 -1
- data/db/migrate/20241122142230_add_survey_answers_published_at_to_questions.rb +7 -0
- data/decidim-forms.gemspec +1 -2
- data/lib/decidim/api/answer_option_type.rb +1 -1
- data/lib/decidim/api/question_type.rb +4 -4
- data/lib/decidim/api/questionnaire_type.rb +4 -4
- data/lib/decidim/exporters/form_pdf.rb +114 -11
- data/lib/decidim/forms/download_your_data_user_answers_serializer.rb +0 -4
- data/lib/decidim/forms/test/factories.rb +2 -2
- data/lib/decidim/forms/test/shared_examples/has_questionnaire.rb +44 -4
- data/lib/decidim/forms/test/shared_examples/manage_questionnaire_answers.rb +17 -17
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/add_display_conditions.rb +19 -21
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/add_questions.rb +70 -94
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/update_display_conditions.rb +15 -18
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/update_questions.rb +90 -125
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires.rb +4 -25
- data/lib/decidim/forms/version.rb +1 -1
- data/lib/decidim/forms.rb +0 -1
- metadata +18 -32
- data/app/packs/entrypoints/decidim_questionnaire_answers_pdf.js +0 -1
- data/app/packs/entrypoints/decidim_questionnaire_answers_pdf.scss +0 -1
- data/app/packs/stylesheets/decidim/forms/questionnaire-answers-pdf.scss +0 -69
- data/app/views/decidim/forms/admin/questionnaires/answers/export/_answer.html.erb +0 -31
- data/app/views/decidim/forms/admin/questionnaires/answers/export/pdf.html.erb +0 -13
- data/app/views/layouts/decidim/forms/admin/questionnaires/questionnaire_answers.html.erb +0 -12
- data/config/initializers/wicked_pdf.rb +0 -26
- data/lib/decidim/exporters/form_pdf_controller_helper.rb +0 -13
data/config/assets.rb
CHANGED
@@ -5,6 +5,5 @@ base_path = File.expand_path("..", __dir__)
|
|
5
5
|
Decidim::Webpacker.register_path("#{base_path}/app/packs")
|
6
6
|
Decidim::Webpacker.register_entrypoints(
|
7
7
|
decidim_forms: "#{base_path}/app/packs/entrypoints/decidim_forms.js",
|
8
|
-
decidim_forms_admin: "#{base_path}/app/packs/entrypoints/decidim_forms_admin.js"
|
9
|
-
decidim_questionnaire_answers_pdf: "#{base_path}/app/packs/entrypoints/decidim_questionnaire_answers_pdf.js"
|
8
|
+
decidim_forms_admin: "#{base_path}/app/packs/entrypoints/decidim_forms_admin.js"
|
10
9
|
)
|
data/config/locales/bg.yml
CHANGED
data/config/locales/ca.yml
CHANGED
@@ -24,17 +24,39 @@ ca:
|
|
24
24
|
missing: no estan complets
|
25
25
|
too_many: Pots triar un màxim de %{count} opcions.
|
26
26
|
questionnaire:
|
27
|
-
request_invalid: Hi ha hagut un problema
|
27
|
+
request_invalid: Hi ha hagut un problema en gestionar la sol·licitud. Si us plau, torna-ho a provar.
|
28
28
|
decidim:
|
29
|
+
download_your_data:
|
30
|
+
help:
|
31
|
+
answers:
|
32
|
+
answer: La resposta a la pregunta
|
33
|
+
id: L'identificador únic de la resposta
|
34
|
+
question: La pregunta que es va respondre
|
35
|
+
questionnaire: L'enquesta que es va respondre
|
36
|
+
user: La usuària que va respondre l'enquesta
|
37
|
+
show:
|
38
|
+
answers: Exportar les respostes
|
39
|
+
survey_user_answers: Respostes de les usuàries a l'enquesta
|
29
40
|
forms:
|
30
41
|
admin:
|
31
42
|
models:
|
32
43
|
components:
|
44
|
+
allow_answers: Permetre respostes
|
45
|
+
allow_editing_answers: Permetre a les usuàries registrades editar les seves respostes a l'enquesta
|
46
|
+
allow_unregistered: Permet a usuàries no registrades contestar l'enquesta
|
47
|
+
allow_unregistered_help: Si està activat, no serà necessari iniciar sessió per a respondre l'enquesta. Això pot implicar una recollida de dades pobra o poc fiable i serà més vulnerable a atacs automatitzats. Fes-ho servir amb precaució! És important que una participant pugui respondre a la mateixa enquesta diverses vegades, fent servir diferents navegador o la funció de "navegació privada" del seu navegadro web.
|
48
|
+
announcement: Avís
|
49
|
+
clean_after_publish: Esborrar les respostes en publicar l'enquesta
|
33
50
|
description: Descripció
|
51
|
+
ends_at: Respostes acceptades fins a
|
52
|
+
ends_at_help: Deixar en blanc si no hi ha cap data específica
|
53
|
+
starts_at: Respostes acceptades des de
|
54
|
+
starts_at_help: Deixar en blanc si no hi ha cap data específica
|
34
55
|
tos: Termes del servei
|
35
56
|
questionnaires:
|
36
57
|
actions:
|
37
58
|
back: Tornar a les preguntes
|
59
|
+
publish_answers: Publica respostes
|
38
60
|
show: Mostrar les respostes
|
39
61
|
answer_option:
|
40
62
|
answer_option: Opció de resposta
|
@@ -79,16 +101,18 @@ ca:
|
|
79
101
|
edit:
|
80
102
|
save: Desa
|
81
103
|
title: Editar el qüestionari
|
82
|
-
|
83
|
-
add_question:
|
104
|
+
edit_questions:
|
105
|
+
add_question: Afegir pregunta
|
84
106
|
add_separator: Afegir separador
|
85
107
|
add_title_and_description: Afegir títol i descripció
|
86
|
-
|
108
|
+
save: Desar
|
109
|
+
title: Preguntes
|
110
|
+
form:
|
111
|
+
add_question: Afegeix una pregunta
|
87
112
|
collapse: Redueix totes les preguntes
|
88
113
|
expand: Expandeix totes les preguntes
|
89
114
|
preview: Previsualitzar
|
90
115
|
title: Editar formulari per %{questionnaire_for}
|
91
|
-
unpublished_warning: El formulari no està publicat. Pots modificar les preguntes, però en fer-ho s'esborraran les respostes actuals.
|
92
116
|
matrix_row:
|
93
117
|
matrix_row: Fila
|
94
118
|
remove: Elimina
|
@@ -107,6 +131,13 @@ ca:
|
|
107
131
|
remove: Eliminar
|
108
132
|
statement: Declaració
|
109
133
|
up: Amunt
|
134
|
+
questions_form:
|
135
|
+
already_answered_warning: No pots modificar les preguntes d'aquest formulari perquè algunes participants ja han respost el formulari.
|
136
|
+
collapse: Replega totes les preguntes
|
137
|
+
expand: Desplega totes les preguntes
|
138
|
+
unpublished_warning: El formulari no està publicat. Pots modificar les preguntes, però en fer-ho s'esborraran les respostes actuals.
|
139
|
+
update:
|
140
|
+
success: Pregunta/es afegida/es correctament a l'enquesta.
|
110
141
|
separator:
|
111
142
|
down: Baixar
|
112
143
|
remove: Eliminar
|
@@ -125,6 +156,9 @@ ca:
|
|
125
156
|
invalid: S'ha produït un error en desar el formulari.
|
126
157
|
success: Formulari desat correctament.
|
127
158
|
admin_log:
|
159
|
+
question:
|
160
|
+
publish_answers: "%{user_name} va publicar respostes a les preguntes de l'enquesta %{resource_name} a l'espai de participació %{space_name}"
|
161
|
+
unpublish_answers: "%{user_name} va despublicar respostes a les preguntes de l'enquesta %{resource_name} a l'espai de participació %{space_name}"
|
128
162
|
questionnaire:
|
129
163
|
update: "%{user_name} ha actualitzat el qüestionari %{resource_name}"
|
130
164
|
errors:
|
@@ -167,6 +201,9 @@ ca:
|
|
167
201
|
questionnaire_answered:
|
168
202
|
body: Ja has respost a aquest formulari.
|
169
203
|
title: Ja has respost
|
204
|
+
questionnaire_answered_edit:
|
205
|
+
body: 'Ja has respost a aquest formulari: %{link}'
|
206
|
+
edit: Edita les respostes
|
170
207
|
questionnaire_closed:
|
171
208
|
body: El formulari està tancat i no es pot respondre.
|
172
209
|
title: S'ha tancat el formulari
|
@@ -181,9 +218,12 @@ ca:
|
|
181
218
|
tos_agreement: En participar acceptes els Termes i condicions d'ús
|
182
219
|
step_navigation:
|
183
220
|
show:
|
184
|
-
|
221
|
+
are_you_sure_edit: Podràs editar les teves respostes. Segur que vols continuar?
|
222
|
+
are_you_sure_edit_guest: Si vols poder editar les teves respostes més tard, cal que iniciïs la teva sessió o que creïs un compte.
|
223
|
+
are_you_sure_no_edit: Aquesta acció no es pot desfer i no podràs editar les respostes. Segur que vols continuar?
|
185
224
|
back: Enrere
|
186
225
|
continue: Continuar
|
226
|
+
disallowed: No pots editar les teves respostes.
|
187
227
|
submit: Enviar respostes
|
188
228
|
user_answers_serializer:
|
189
229
|
body: Resposta
|
data/config/locales/cs.yml
CHANGED
@@ -24,17 +24,39 @@ cs:
|
|
24
24
|
missing: nejsou úplné
|
25
25
|
too_many: Můžete si vybrat maximálně %{count}.
|
26
26
|
questionnaire:
|
27
|
-
request_invalid: Při zpracování požadavku
|
27
|
+
request_invalid: Při zpracování požadavku se vyskytl problém. Zkuste to znovu.
|
28
28
|
decidim:
|
29
|
+
download_your_data:
|
30
|
+
help:
|
31
|
+
answers:
|
32
|
+
answer: Odpověď na otázku
|
33
|
+
id: Jedinečný identifikátor odpovědi
|
34
|
+
question: Otázka, která byla zodpovězena
|
35
|
+
questionnaire: Dotazník, který byl zodpovězen
|
36
|
+
user: Uživatel, který odpověděl na dotazník
|
37
|
+
show:
|
38
|
+
answers: Export odpovědí
|
39
|
+
survey_user_answers: Odpovědi uživatele na dotazník
|
29
40
|
forms:
|
30
41
|
admin:
|
31
42
|
models:
|
32
43
|
components:
|
44
|
+
allow_answers: Povolit odpovědi
|
45
|
+
allow_editing_answers: Umožnit registrovaným uživatelům upravovat vlastní odpovědi v průzkumu
|
46
|
+
allow_unregistered: Umožnit neregistrovaným uživatelům odpovídat na anketu
|
47
|
+
allow_unregistered_help: Pokud je aktivní, nebude nutné se přihlásit k odpovědi na dotazník. To může vést ke špatným nebo nespolehlivým údajům a bude to zranitelnější vůči automatickým útokům. Používejte s opatrností! Mějte na paměti, že účastník může odpovědět na stejný průzkum několikrát, použitím různých prohlížečů nebo funkce "soukromého prohlížení" svého webového prohlížeče.
|
48
|
+
announcement: Oznámení
|
49
|
+
clean_after_publish: Odstranit odpovědi při publikování ankety
|
33
50
|
description: Popis
|
51
|
+
ends_at: Odpověď přijata do
|
52
|
+
ends_at_help: Ponechte prázdné pro žádné konkrétní datum
|
53
|
+
starts_at: Odpovědi přijaté od
|
54
|
+
starts_at_help: Ponechte prázdné pro žádné konkrétní datum
|
34
55
|
tos: Podmínky služby
|
35
56
|
questionnaires:
|
36
57
|
actions:
|
37
58
|
back: Zpět na otázky
|
59
|
+
publish_answers: Zveřejnit odpovědi
|
38
60
|
show: Zobrazit odpovědi
|
39
61
|
answer_option:
|
40
62
|
answer_option: Možnost odpovědi
|
@@ -79,16 +101,18 @@ cs:
|
|
79
101
|
edit:
|
80
102
|
save: Uložit
|
81
103
|
title: Upravit dotazník
|
82
|
-
|
104
|
+
edit_questions:
|
83
105
|
add_question: Přidat otázku
|
84
106
|
add_separator: Přidat oddělovač
|
85
107
|
add_title_and_description: Přidat název a popis
|
86
|
-
|
108
|
+
save: Uložit
|
109
|
+
title: Otázky
|
110
|
+
form:
|
111
|
+
add_question: Přidat otázku
|
87
112
|
collapse: Sbalit všechny otázky
|
88
113
|
expand: Rozbalit všechny otázky
|
89
114
|
preview: Náhled
|
90
115
|
title: Upravit formulář pro %{questionnaire_for}
|
91
|
-
unpublished_warning: Formulář není zveřejněn. Můžete změnit jeho otázky, ale tím odstraníte aktuální odpovědi.
|
92
116
|
matrix_row:
|
93
117
|
matrix_row: Řádek
|
94
118
|
remove: Odstranit
|
@@ -107,6 +131,13 @@ cs:
|
|
107
131
|
remove: Odstranit
|
108
132
|
statement: Prohlášení
|
109
133
|
up: Nahoru
|
134
|
+
questions_form:
|
135
|
+
already_answered_warning: Formulář je již zodpovězen některými uživateli, takže jeho otázky nemůžete upravovat.
|
136
|
+
collapse: Sbalit všechny otázky
|
137
|
+
expand: Rozbalit všechny otázky
|
138
|
+
unpublished_warning: Formulář není zveřejněn. Můžete změnit jeho otázky, ale tím odstraníte aktuální odpovědi.
|
139
|
+
update:
|
140
|
+
success: Otázky ankety byly úspěšně uloženy.
|
110
141
|
separator:
|
111
142
|
down: Dolů
|
112
143
|
remove: Odebrat
|
@@ -125,6 +156,9 @@ cs:
|
|
125
156
|
invalid: Při ukládání dotazníku došlo k chybám.
|
126
157
|
success: Formulář byl úspěšně uložen.
|
127
158
|
admin_log:
|
159
|
+
question:
|
160
|
+
publish_answers: "%{user_name} zveřejnilo odpovědi na otázku %{resource_name} v prostoru %{space_name}"
|
161
|
+
unpublish_answers: "%{user_name} zrušil zveřejnění odpovědí na otázku %{resource_name} na prostoru %{space_name}"
|
128
162
|
questionnaire:
|
129
163
|
update: "%{user_name} aktualizoval dotazník %{resource_name}"
|
130
164
|
errors:
|
@@ -167,6 +201,9 @@ cs:
|
|
167
201
|
questionnaire_answered:
|
168
202
|
body: Již jste odpověděli na tento dotazník.
|
169
203
|
title: Již jste odpověděli
|
204
|
+
questionnaire_answered_edit:
|
205
|
+
body: Na tento formulář jste již odpověděli. %{link}
|
206
|
+
edit: Upravte své odpovědi
|
170
207
|
questionnaire_closed:
|
171
208
|
body: Dotazník je uzavřen a nelze jej zodpovědět.
|
172
209
|
title: Dotazník byl uzavřen
|
@@ -181,9 +218,12 @@ cs:
|
|
181
218
|
tos_agreement: Účastí přijímáte jeho smluvní podmínky
|
182
219
|
step_navigation:
|
183
220
|
show:
|
184
|
-
|
221
|
+
are_you_sure_edit: Budete moci upravit své odpovědi. Jste si jisti?
|
222
|
+
are_you_sure_edit_guest: Pokud chcete být schopni následně upravit své odpovědi, pak se musíte přihlásit nebo vytvořit účet.
|
223
|
+
are_you_sure_no_edit: Tuto akci nelze vrátit zpět a nebudete moci upravit své odpovědi. Jste si jisti?
|
185
224
|
back: Zpět
|
186
225
|
continue: Pokračovat
|
226
|
+
disallowed: Nemáte oprávnění upravovat své odpovědi.
|
187
227
|
submit: Odeslat
|
188
228
|
user_answers_serializer:
|
189
229
|
body: Odpověď
|
data/config/locales/de.yml
CHANGED
@@ -24,17 +24,39 @@ de:
|
|
24
24
|
missing: sind nicht vollständig
|
25
25
|
too_many: Sie können ein Maximum von %{count} auswählen.
|
26
26
|
questionnaire:
|
27
|
-
request_invalid:
|
27
|
+
request_invalid: Bei der Verarbeitung der Anfrage ist ein Fehler auftreten. Bitte versuchen Sie es erneut.
|
28
28
|
decidim:
|
29
|
+
download_your_data:
|
30
|
+
help:
|
31
|
+
answers:
|
32
|
+
answer: Die Antwort auf die Frage
|
33
|
+
id: Die eindeutige Bezeichnung der Antwort
|
34
|
+
question: Die Frage, die beantwortet wurde
|
35
|
+
questionnaire: Der Fragebogen, der beantwortet wurde
|
36
|
+
user: Der Benutzer, der den Fragebogen beantwortet hat
|
37
|
+
show:
|
38
|
+
answers: Antworten exportieren
|
39
|
+
survey_user_answers: Antworten zur Benutzerumfrage
|
29
40
|
forms:
|
30
41
|
admin:
|
31
42
|
models:
|
32
43
|
components:
|
44
|
+
allow_answers: Antworten zulassen
|
45
|
+
allow_editing_answers: Registrierten Benutzern die Bearbeitung eigener Umfrageantworten ermöglichen
|
46
|
+
allow_unregistered: Nicht registrierten Benutzern erlauben, die Umfrage zu beantworten
|
47
|
+
allow_unregistered_help: Wenn aktiviert, ist keine Anmeldung erforderlich, um die Umfrage zu beantworten. Dies kann zu schlechten oder unzuverlässigen Daten führen und ist anfälliger für automatisierte Angriffe. Verwenden Sie diese Funktion mit Vorsicht! Beachten Sie, dass ein Teilnehmer die gleiche Umfrage mehrfach beantworten kann, indem er verschiedene Browser oder die "Private Browsing"-Funktion ihres Web-Browsers nutzt.
|
48
|
+
announcement: Ankündigung
|
49
|
+
clean_after_publish: Antworten bei Veröffentlichung des Fragebogens löschen
|
33
50
|
description: Beschreibung
|
51
|
+
ends_at: Antworten akzeptiert bis
|
52
|
+
ends_at_help: Leer lassen für unbestimmtes Datum
|
53
|
+
starts_at: Antworten akzeptiert von
|
54
|
+
starts_at_help: Leer lassen für unbestimmtes Datum
|
34
55
|
tos: Nutzungsbedingungen
|
35
56
|
questionnaires:
|
36
57
|
actions:
|
37
58
|
back: Zurück zu Fragen
|
59
|
+
publish_answers: Antworten veröffentlichen
|
38
60
|
show: Antworten anzeigen
|
39
61
|
answer_option:
|
40
62
|
answer_option: Antwortoption
|
@@ -79,16 +101,18 @@ de:
|
|
79
101
|
edit:
|
80
102
|
save: Speichern
|
81
103
|
title: Fragebogen bearbeiten
|
82
|
-
|
104
|
+
edit_questions:
|
83
105
|
add_question: Frage hinzufügen
|
84
106
|
add_separator: Trennzeichen hinzufügen
|
85
107
|
add_title_and_description: Titel und Beschreibung hinzufügen
|
86
|
-
|
108
|
+
save: Speichern
|
109
|
+
title: Fragen
|
110
|
+
form:
|
111
|
+
add_question: Frage hinzufügen
|
87
112
|
collapse: Alle Fragen einklappen
|
88
113
|
expand: Alle Fragen ausklappen
|
89
114
|
preview: Vorschau
|
90
115
|
title: Formular für %{questionnaire_for} bearbeiten
|
91
|
-
unpublished_warning: Das Formular ist nicht veröffentlicht. Sie können die Fragen ändern, aber dadurch werden die aktuellen Antworten gelöscht.
|
92
116
|
matrix_row:
|
93
117
|
matrix_row: Zeile
|
94
118
|
remove: Löschen
|
@@ -107,6 +131,13 @@ de:
|
|
107
131
|
remove: Löschen
|
108
132
|
statement: Aussage
|
109
133
|
up: Oben
|
134
|
+
questions_form:
|
135
|
+
already_answered_warning: Der Fragebogen wird bereits von einigen Benutzern beantwortet, sodass Sie die Fragen nicht ändern können.
|
136
|
+
collapse: Alle Fragen einklappen
|
137
|
+
expand: Alle Fragen ausklappen
|
138
|
+
unpublished_warning: Das Formular ist nicht veröffentlicht. Sie können die Fragen ändern, aber dadurch werden die aktuellen Antworten gelöscht.
|
139
|
+
update:
|
140
|
+
success: Umfrage erfolgreich gespeichert.
|
110
141
|
separator:
|
111
142
|
down: Runter
|
112
143
|
remove: Löschen
|
@@ -125,6 +156,9 @@ de:
|
|
125
156
|
invalid: Beim Speichern des Fragebogens sind Fehler aufgetreten.
|
126
157
|
success: Formular erfolgreich gespeichert.
|
127
158
|
admin_log:
|
159
|
+
question:
|
160
|
+
publish_answers: "%{user_name} hat die Antworten zu den Fragen %{resource_name} im Bereich %{space_name} veröffentlicht"
|
161
|
+
unpublish_answers: "%{user_name} hat die Antworten zu den Fragen %{resource_name} im Bereich %{space_name} verborgen"
|
128
162
|
questionnaire:
|
129
163
|
update: "%{user_name} hat die Umfrage %{resource_name} aktualisiert"
|
130
164
|
errors:
|
@@ -167,6 +201,9 @@ de:
|
|
167
201
|
questionnaire_answered:
|
168
202
|
body: Sie haben diesen Fragebogen bereits beantwortet.
|
169
203
|
title: Schon beantwortet
|
204
|
+
questionnaire_answered_edit:
|
205
|
+
body: Sie haben dieses Formular bereits beantwortet. %{link}
|
206
|
+
edit: Antworten bearbeiten
|
170
207
|
questionnaire_closed:
|
171
208
|
body: Der Fragebogen ist geschlossen und kann nicht beantwortet werden.
|
172
209
|
title: Fragebogen geschlossen
|
@@ -181,9 +218,12 @@ de:
|
|
181
218
|
tos_agreement: 'Mit Ihrer Teilnahme stimmen Sie folgenden Nutzungsbedingungen zu:'
|
182
219
|
step_navigation:
|
183
220
|
show:
|
184
|
-
|
221
|
+
are_you_sure_edit: Sie werden Ihre Antworten bearbeiten können. Sind Sie sicher?
|
222
|
+
are_you_sure_edit_guest: Wenn Sie Ihre Antworten nachträglich bearbeiten möchten, müssen Sie sich anmelden oder ein Konto erstellen.
|
223
|
+
are_you_sure_no_edit: Diese Aktion kann nicht rückgängig gemacht werden und Sie können Ihre Antworten nicht mehr bearbeiten. Sind Sie sicher?
|
185
224
|
back: Zurück
|
186
225
|
continue: Weiter
|
226
|
+
disallowed: Sie dürfen Ihre Antworten nicht bearbeiten.
|
187
227
|
submit: einreichen
|
188
228
|
user_answers_serializer:
|
189
229
|
body: Antwort
|
data/config/locales/el.yml
CHANGED
data/config/locales/en.yml
CHANGED
@@ -24,17 +24,39 @@ en:
|
|
24
24
|
missing: are not complete
|
25
25
|
too_many: You can choose a maximum of %{count}.
|
26
26
|
questionnaire:
|
27
|
-
request_invalid: There was
|
27
|
+
request_invalid: There was a problem handling the request. Please try again.
|
28
28
|
decidim:
|
29
|
+
download_your_data:
|
30
|
+
help:
|
31
|
+
answers:
|
32
|
+
answer: The answer to the question
|
33
|
+
id: The unique identifier of the answer
|
34
|
+
question: The question that was answered
|
35
|
+
questionnaire: The questionnaire that was answered
|
36
|
+
user: The user who answered the questionnaire
|
37
|
+
show:
|
38
|
+
answers: Answers export
|
39
|
+
survey_user_answers: Survey user answers
|
29
40
|
forms:
|
30
41
|
admin:
|
31
42
|
models:
|
32
43
|
components:
|
44
|
+
allow_answers: Allow answers
|
45
|
+
allow_editing_answers: Allow registered users to edit own survey answers
|
46
|
+
allow_unregistered: Allow unregistered users to answer the survey
|
47
|
+
allow_unregistered_help: If active, no login will be required in order to answer the survey. This may lead to poor or unreliable data and it will be more vulnerable to automated attacks. Use with caution! Mind that a participant could answer the same survey multiple times, by using different browsers or the "private browsing" feature of her web browser.
|
48
|
+
announcement: Announcement
|
49
|
+
clean_after_publish: Delete answers when publishing the survey
|
33
50
|
description: Description
|
51
|
+
ends_at: Answers accepted until
|
52
|
+
ends_at_help: Leave blank for no specific date
|
53
|
+
starts_at: Answers accepted from
|
54
|
+
starts_at_help: Leave blank for no specific date
|
34
55
|
tos: Terms of service
|
35
56
|
questionnaires:
|
36
57
|
actions:
|
37
58
|
back: Back to questions
|
59
|
+
publish_answers: Publish answers
|
38
60
|
show: Show responses
|
39
61
|
answer_option:
|
40
62
|
answer_option: Answer option
|
@@ -79,16 +101,18 @@ en:
|
|
79
101
|
edit:
|
80
102
|
save: Save
|
81
103
|
title: Edit questionnaire
|
82
|
-
|
104
|
+
edit_questions:
|
83
105
|
add_question: Add question
|
84
106
|
add_separator: Add separator
|
85
107
|
add_title_and_description: Add title and description
|
86
|
-
|
108
|
+
save: Save
|
109
|
+
title: Questions
|
110
|
+
form:
|
111
|
+
add_question: Add question
|
87
112
|
collapse: Collapse all questions
|
88
113
|
expand: Expand all questions
|
89
114
|
preview: Preview
|
90
115
|
title: Edit form for %{questionnaire_for}
|
91
|
-
unpublished_warning: The form is not published. You may modify its questions, but doing so will delete current answers.
|
92
116
|
matrix_row:
|
93
117
|
matrix_row: Row
|
94
118
|
remove: Remove
|
@@ -107,6 +131,13 @@ en:
|
|
107
131
|
remove: Remove
|
108
132
|
statement: Statement
|
109
133
|
up: Up
|
134
|
+
questions_form:
|
135
|
+
already_answered_warning: The form is already answered by some users so you cannot modify its questions.
|
136
|
+
collapse: Collapse all questions
|
137
|
+
expand: Expand all questions
|
138
|
+
unpublished_warning: The form is not published. You may modify its questions, but doing so will delete current answers.
|
139
|
+
update:
|
140
|
+
success: Survey questions successfully saved.
|
110
141
|
separator:
|
111
142
|
down: Down
|
112
143
|
remove: Remove
|
@@ -125,6 +156,9 @@ en:
|
|
125
156
|
invalid: There was a problem saving the form.
|
126
157
|
success: Form successfully saved.
|
127
158
|
admin_log:
|
159
|
+
question:
|
160
|
+
publish_answers: "%{user_name} published the %{resource_name} question's answers on the %{space_name} space"
|
161
|
+
unpublish_answers: "%{user_name} unpublished the %{resource_name} question's answers on the %{space_name} space"
|
128
162
|
questionnaire:
|
129
163
|
update: "%{user_name} updated the %{resource_name} questionnaire"
|
130
164
|
errors:
|
@@ -167,6 +201,9 @@ en:
|
|
167
201
|
questionnaire_answered:
|
168
202
|
body: You have already answered this form.
|
169
203
|
title: Already answered
|
204
|
+
questionnaire_answered_edit:
|
205
|
+
body: You have already answered this form. %{link}
|
206
|
+
edit: Edit your answers
|
170
207
|
questionnaire_closed:
|
171
208
|
body: The form is closed and cannot be answered.
|
172
209
|
title: Form closed
|
@@ -181,9 +218,12 @@ en:
|
|
181
218
|
tos_agreement: By participating you accept its Terms of Service
|
182
219
|
step_navigation:
|
183
220
|
show:
|
184
|
-
|
221
|
+
are_you_sure_edit: You will be able to edit your answers. Are you sure?
|
222
|
+
are_you_sure_edit_guest: If you want to be able to edit your answers afterwards, then you need to log in or create an account.
|
223
|
+
are_you_sure_no_edit: This action cannot be undone and you will not be able to edit your answers. Are you sure?
|
185
224
|
back: Back
|
186
225
|
continue: Continue
|
226
|
+
disallowed: You are not allowed to edit your answers.
|
187
227
|
submit: Submit
|
188
228
|
user_answers_serializer:
|
189
229
|
body: Answer
|
data/config/locales/es-MX.yml
CHANGED
@@ -24,17 +24,39 @@ es-MX:
|
|
24
24
|
missing: no están completos
|
25
25
|
too_many: Puedes elegir un máximo de %{count} opciones.
|
26
26
|
questionnaire:
|
27
|
-
request_invalid:
|
27
|
+
request_invalid: Se ha producido un problema al procesar la solicitud. Por favor, vuelve a intentarlo.
|
28
28
|
decidim:
|
29
|
+
download_your_data:
|
30
|
+
help:
|
31
|
+
answers:
|
32
|
+
answer: La respuesta a la pregunta
|
33
|
+
id: El identificador único de la respuesta
|
34
|
+
question: La pregunta que se respondió
|
35
|
+
questionnaire: La encuesta que fue respondida
|
36
|
+
user: La usuaria que respondió a la encuesta
|
37
|
+
show:
|
38
|
+
answers: Exportar las respuestas
|
39
|
+
survey_user_answers: Respuestas de las usuarias a la encuesta
|
29
40
|
forms:
|
30
41
|
admin:
|
31
42
|
models:
|
32
43
|
components:
|
44
|
+
allow_answers: Permitir respuestas
|
45
|
+
allow_editing_answers: Permitir a las usuarias registradas editar sus respuestas en la encuesta
|
46
|
+
allow_unregistered: Permitir a las usuarias no registradas responder a la encuesta
|
47
|
+
allow_unregistered_help: Si está activo, no será necesario iniciar sesión para responder a la encuesta. Esto puede llevar a datos pobres o poco fiables y será más vulnerable a ataques automatizados. ¡Usar con precaución! Es importante que un participante pueda responder a la misma encuesta varias veces, utilizando diferentes navegadores o la función de "navegación privada" de su navegador web.
|
48
|
+
announcement: Aviso
|
49
|
+
clean_after_publish: Borrar respuestas al publicar la encuesta
|
33
50
|
description: Descripción
|
51
|
+
ends_at: Respuestas aceptadas hasta
|
52
|
+
ends_at_help: Dejar en blanco si no hay ninguna fecha específica
|
53
|
+
starts_at: Respuestas aceptadas desde
|
54
|
+
starts_at_help: Dejar en blanco si no hay ninguna fecha específica
|
34
55
|
tos: Términos y condiciones de uso
|
35
56
|
questionnaires:
|
36
57
|
actions:
|
37
58
|
back: Volver a las preguntas
|
59
|
+
publish_answers: Publicar respuestas
|
38
60
|
show: Mostrar las respuestas
|
39
61
|
answer_option:
|
40
62
|
answer_option: Opción de respuesta
|
@@ -79,16 +101,18 @@ es-MX:
|
|
79
101
|
edit:
|
80
102
|
save: Guardar
|
81
103
|
title: Editar el cuestionario
|
82
|
-
|
104
|
+
edit_questions:
|
83
105
|
add_question: Añadir pregunta
|
84
106
|
add_separator: Añadir separador
|
85
107
|
add_title_and_description: Añadir título y descripción
|
86
|
-
|
108
|
+
save: Guardar
|
109
|
+
title: Preguntas
|
110
|
+
form:
|
111
|
+
add_question: Añadir pregunta
|
87
112
|
collapse: Contraer todas las preguntas
|
88
113
|
expand: Expandir todos las preguntas
|
89
114
|
preview: Previsualizar
|
90
115
|
title: Editar formulario para %{questionnaire_for}
|
91
|
-
unpublished_warning: El formulario no está publicado. Puedes modificar sus preguntas, pero al hacerlo se borrarán las respuestas actuales.
|
92
116
|
matrix_row:
|
93
117
|
matrix_row: Fila
|
94
118
|
remove: Retirar
|
@@ -107,6 +131,13 @@ es-MX:
|
|
107
131
|
remove: Borrar
|
108
132
|
statement: Declaración
|
109
133
|
up: Arriba
|
134
|
+
questions_form:
|
135
|
+
already_answered_warning: No puedes modificar las preguntas porque algunas participantes ya han respondido el formulario.
|
136
|
+
collapse: Contraer todas las preguntas
|
137
|
+
expand: Desplegar todas las preguntas
|
138
|
+
unpublished_warning: El formulario no está publicado. Puedes modificar sus preguntas, pero al hacerlo se borrarán las respuestas actuales.
|
139
|
+
update:
|
140
|
+
success: Pregunta/s añadida/s correctamente a la encuesta.
|
110
141
|
separator:
|
111
142
|
down: Bajar
|
112
143
|
remove: Eliminar
|
@@ -125,6 +156,9 @@ es-MX:
|
|
125
156
|
invalid: Ha habido errores al guardar el cuestionario.
|
126
157
|
success: Formulario guardado correctamente.
|
127
158
|
admin_log:
|
159
|
+
question:
|
160
|
+
publish_answers: "%{user_name} publicó respuestas a las preguntas de la encuesta %{resource_name} en el espacio de participación %{space_name}"
|
161
|
+
unpublish_answers: "%{user_name} despublicó respuestas a las preguntas de la encuesta %{resource_name} en el espacio de participación %{space_name}"
|
128
162
|
questionnaire:
|
129
163
|
update: "%{user_name} actualizó el cuestionario %{resource_name}"
|
130
164
|
errors:
|
@@ -167,6 +201,9 @@ es-MX:
|
|
167
201
|
questionnaire_answered:
|
168
202
|
body: Ya has respondido este cuestionario.
|
169
203
|
title: Ya has respondido
|
204
|
+
questionnaire_answered_edit:
|
205
|
+
body: 'Ya has respondido a este formulario: %{link}'
|
206
|
+
edit: Editar las respuestas
|
170
207
|
questionnaire_closed:
|
171
208
|
body: El cuestionario está cerrado y ya no puedes responder.
|
172
209
|
title: Cuestionario cerrado
|
@@ -181,9 +218,12 @@ es-MX:
|
|
181
218
|
tos_agreement: Al responder aceptas los Términos y condiciones de uso
|
182
219
|
step_navigation:
|
183
220
|
show:
|
184
|
-
|
221
|
+
are_you_sure_edit: Podrás editar tus respuestas. ¿Seguro que quieres continuar?
|
222
|
+
are_you_sure_edit_guest: Si quieres poder editar tus respuestas más tarde, necesitas inicies tu sesión o crees una cuenta.
|
223
|
+
are_you_sure_no_edit: Esta acción no se puede deshacer y no podrás editar tus respuestas. ¿Seguro que quieres continuar?
|
185
224
|
back: Atrás
|
186
225
|
continue: Continuar
|
226
|
+
disallowed: No puedes editar tus respuestas.
|
187
227
|
submit: Enviar
|
188
228
|
user_answers_serializer:
|
189
229
|
body: Respuesta
|