decidim-forms 0.30.3 → 0.31.0.rc1
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/README.md +10 -10
- data/app/cells/decidim/forms/matrix_readonly/show.erb +1 -1
- data/app/cells/decidim/forms/matrix_readonly_cell.rb +3 -3
- data/app/cells/decidim/forms/question_readonly/show.erb +5 -5
- data/app/cells/decidim/forms/question_readonly/title_and_description.erb +3 -3
- data/app/cells/decidim/forms/response_readonly_cell.rb +9 -0
- data/app/cells/decidim/forms/step_navigation/show.erb +3 -3
- data/app/cells/decidim/forms/step_navigation_cell.rb +3 -3
- data/app/commands/decidim/forms/admin/update_questions.rb +6 -6
- data/app/commands/decidim/forms/{answer_questionnaire.rb → response_questionnaire.rb} +35 -35
- data/app/controllers/decidim/forms/admin/concerns/has_questionnaire.rb +12 -12
- data/app/controllers/decidim/forms/admin/concerns/{has_questionnaire_answers.rb → has_questionnaire_responses.rb} +23 -19
- data/app/controllers/decidim/forms/concerns/has_questionnaire.rb +38 -33
- data/app/forms/decidim/forms/admin/display_condition_form.rb +14 -14
- data/app/forms/decidim/forms/admin/question_form.rb +3 -3
- data/app/forms/decidim/forms/admin/{answer_option_form.rb → response_option_form.rb} +3 -3
- data/app/forms/decidim/forms/questionnaire_form.rb +8 -9
- data/app/forms/decidim/forms/{answer_choice_form.rb → response_choice_form.rb} +5 -5
- data/app/forms/decidim/forms/{answer_form.rb → response_form.rb} +9 -9
- data/app/helpers/decidim/forms/admin/application_helper.rb +2 -2
- data/app/helpers/decidim/forms/admin/concerns/{has_questionnaire_answers_pagination_helper.rb → has_questionnaire_responses_pagination_helper.rb} +4 -4
- data/app/helpers/decidim/forms/admin/concerns/{has_questionnaire_answers_url_helper.rb → has_questionnaire_responses_url_helper.rb} +5 -5
- data/app/helpers/decidim/forms/admin/questionnaire_responses_helper.rb +32 -0
- data/app/helpers/decidim/forms/application_helper.rb +1 -2
- data/app/jobs/decidim/forms/{export_questionnaire_answers_job.rb → export_questionnaire_responses_job.rb} +5 -5
- data/app/models/decidim/forms/display_condition.rb +20 -20
- data/app/models/decidim/forms/question.rb +14 -13
- data/app/models/decidim/forms/question_matrix_row.rb +1 -1
- data/app/models/decidim/forms/questionnaire.rb +11 -6
- data/app/models/decidim/forms/{answer.rb → response.rb} +9 -9
- data/app/models/decidim/forms/response_choice.rb +22 -0
- data/app/models/decidim/forms/{answer_option.rb → response_option.rb} +5 -5
- data/app/packs/entrypoints/decidim_forms_admin.js +3 -3
- data/app/packs/src/decidim/forms/admin/collapsible_questions.js +12 -10
- data/app/packs/src/decidim/forms/admin/forms.js +35 -35
- data/app/packs/src/decidim/forms/admin/{publish_answers_buttons.js → publish_responses_buttons.js} +12 -12
- data/app/packs/src/decidim/forms/display_conditions.component.js +12 -12
- data/app/packs/src/decidim/forms/forms.js +8 -29
- data/app/packs/stylesheets/decidim/forms/forms.scss +2 -2
- data/app/presenters/decidim/forms/admin/questionnaire_participant_presenter.rb +13 -13
- data/app/presenters/decidim/forms/admin/{questionnaire_answer_presenter.rb → questionnaire_response_presenter.rb} +15 -15
- data/app/presenters/decidim/forms/admin_log/question_presenter.rb +3 -3
- data/app/presenters/decidim/forms/{answer_option_presenter.rb → response_option_presenter.rb} +2 -2
- data/app/queries/decidim/forms/questionnaire_participant.rb +5 -5
- data/app/queries/decidim/forms/questionnaire_participants.rb +6 -6
- data/app/queries/decidim/forms/questionnaire_user_responses.rb +32 -0
- data/app/views/decidim/forms/admin/questionnaires/_display_condition.html.erb +9 -9
- data/app/views/decidim/forms/admin/questionnaires/_form.html.erb +2 -2
- data/app/views/decidim/forms/admin/questionnaires/_matrix_row.html.erb +3 -3
- data/app/views/decidim/forms/admin/questionnaires/_question.html.erb +21 -11
- data/app/views/decidim/forms/admin/questionnaires/_questions_form.html.erb +13 -41
- data/app/views/decidim/forms/admin/questionnaires/{_answer_option.html.erb → _response_option.html.erb} +7 -7
- data/app/views/decidim/forms/admin/questionnaires/_response_option_template.html.erb +7 -0
- data/app/views/decidim/forms/admin/questionnaires/_separator.html.erb +11 -1
- data/app/views/decidim/forms/admin/questionnaires/_title_and_description.html.erb +12 -2
- data/app/views/decidim/forms/admin/questionnaires/edit.html.erb +1 -1
- data/app/views/decidim/forms/admin/questionnaires/edit_questions.html.erb +8 -8
- data/app/views/decidim/forms/admin/questionnaires/responses/index.html.erb +80 -0
- data/app/views/decidim/forms/admin/questionnaires/responses/show.html.erb +43 -0
- data/app/views/decidim/forms/questionnaires/_questionnaire.html.erb +22 -26
- data/app/views/decidim/forms/questionnaires/_questionnaire_readonly.html.erb +8 -3
- data/app/views/decidim/forms/questionnaires/_response.html.erb +61 -0
- data/app/views/decidim/forms/questionnaires/edit.html.erb +2 -2
- data/app/views/decidim/forms/questionnaires/responses/_files.html.erb +1 -0
- data/app/views/decidim/forms/questionnaires/responses/_long_response.html.erb +3 -0
- data/app/views/decidim/forms/questionnaires/{answers → responses}/_matrix_multiple.html.erb +16 -15
- data/app/views/decidim/forms/questionnaires/{answers → responses}/_matrix_single.html.erb +17 -16
- data/app/views/decidim/forms/questionnaires/responses/_multiple_option.html.erb +26 -0
- data/app/views/decidim/forms/questionnaires/responses/_separator.html.erb +1 -0
- data/app/views/decidim/forms/questionnaires/responses/_short_response.html.erb +3 -0
- data/app/views/decidim/forms/questionnaires/responses/_single_option.html.erb +33 -0
- data/app/views/decidim/forms/questionnaires/responses/_sorting.html.erb +26 -0
- data/app/views/decidim/forms/questionnaires/responses/_title_and_description.html.erb +1 -0
- data/app/views/decidim/forms/questionnaires/show.html.erb +10 -10
- data/config/assets.rb +2 -2
- data/config/locales/ar.yml +2 -22
- data/config/locales/bg.yml +10 -36
- data/config/locales/ca-IT.yml +80 -74
- data/config/locales/ca.yml +80 -74
- data/config/locales/cs.yml +79 -76
- data/config/locales/de.yml +79 -72
- data/config/locales/el.yml +10 -36
- data/config/locales/en.yml +90 -84
- data/config/locales/es-MX.yml +82 -76
- data/config/locales/es-PY.yml +82 -76
- data/config/locales/es.yml +80 -74
- data/config/locales/eu.yml +78 -72
- data/config/locales/fi-plain.yml +78 -72
- data/config/locales/fi.yml +76 -70
- data/config/locales/fr-CA.yml +77 -68
- data/config/locales/fr.yml +77 -68
- data/config/locales/ga-IE.yml +4 -7
- data/config/locales/gl.yml +4 -22
- data/config/locales/hu.yml +4 -22
- data/config/locales/id-ID.yml +2 -22
- data/config/locales/it.yml +8 -40
- data/config/locales/ja.yml +87 -81
- data/config/locales/lb.yml +8 -36
- data/config/locales/lt.yml +10 -36
- data/config/locales/lv.yml +4 -22
- data/config/locales/nl.yml +10 -36
- data/config/locales/no.yml +10 -36
- data/config/locales/pl.yml +10 -36
- data/config/locales/pt-BR.yml +10 -36
- data/config/locales/pt.yml +8 -36
- data/config/locales/ro-RO.yml +29 -51
- data/config/locales/ru.yml +2 -9
- data/config/locales/sk.yml +2 -22
- data/config/locales/sl.yml +0 -5
- data/config/locales/sv.yml +89 -55
- data/config/locales/tr-TR.yml +8 -36
- data/config/locales/val-ES.yml +2 -0
- data/config/locales/zh-CN.yml +8 -36
- data/config/locales/zh-TW.yml +10 -36
- data/db/migrate/20190315203056_add_session_token_to_decidim_forms_answers.rb +1 -1
- data/db/migrate/20250314150250_rename_answer_to_response_in_decidim_forms.rb +30 -0
- data/db/migrate/20250319130003_change_question_types_in_questions.rb +14 -0
- data/lib/decidim/api/question_matrix_row_type.rb +13 -0
- data/lib/decidim/api/question_type.rb +4 -3
- data/lib/decidim/api/questionnaire_type.rb +1 -0
- data/lib/decidim/api/response_option_type.rb +13 -0
- data/lib/decidim/exporters/form_pdf.rb +33 -33
- data/lib/decidim/forms/api.rb +2 -1
- data/lib/decidim/forms/{download_your_data_user_answers_serializer.rb → download_your_data_user_responses_serializer.rb} +3 -3
- data/lib/decidim/forms/engine.rb +2 -2
- data/lib/decidim/forms/test/factories.rb +24 -24
- data/lib/decidim/forms/test/shared_examples/has_questionnaire.rb +176 -176
- data/lib/decidim/forms/test/shared_examples/manage_questionnaire_responses.rb +159 -0
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/add_display_conditions.rb +19 -19
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/add_questions.rb +44 -44
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/update_display_conditions.rb +10 -10
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/update_questions.rb +43 -140
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires.rb +4 -4
- data/lib/decidim/forms/test.rb +1 -1
- data/lib/decidim/forms/user_responses_serializer.rb +110 -0
- data/lib/decidim/forms/version.rb +1 -1
- data/lib/decidim/forms.rb +2 -2
- metadata +48 -45
- data/app/cells/decidim/forms/answer_readonly_cell.rb +0 -9
- data/app/helpers/decidim/forms/admin/questionnaire_answers_helper.rb +0 -30
- data/app/models/decidim/forms/answer_choice.rb +0 -22
- data/app/queries/decidim/forms/questionnaire_user_answers.rb +0 -32
- data/app/views/decidim/forms/admin/questionnaires/_answer_option_template.html.erb +0 -7
- data/app/views/decidim/forms/admin/questionnaires/answers/index.html.erb +0 -49
- data/app/views/decidim/forms/admin/questionnaires/answers/show.html.erb +0 -43
- data/app/views/decidim/forms/questionnaires/_answer.html.erb +0 -61
- data/app/views/decidim/forms/questionnaires/answers/_files.html.erb +0 -1
- data/app/views/decidim/forms/questionnaires/answers/_long_answer.html.erb +0 -3
- data/app/views/decidim/forms/questionnaires/answers/_multiple_option.html.erb +0 -25
- data/app/views/decidim/forms/questionnaires/answers/_separator.html.erb +0 -1
- data/app/views/decidim/forms/questionnaires/answers/_short_answer.html.erb +0 -3
- data/app/views/decidim/forms/questionnaires/answers/_single_option.html.erb +0 -32
- data/app/views/decidim/forms/questionnaires/answers/_sorting.html.erb +0 -26
- data/app/views/decidim/forms/questionnaires/answers/_title_and_description.html.erb +0 -1
- data/lib/decidim/api/answer_option_type.rb +0 -13
- data/lib/decidim/forms/test/shared_examples/manage_questionnaire_answers.rb +0 -149
- data/lib/decidim/forms/user_answers_serializer.rb +0 -105
- /data/app/cells/decidim/forms/{answer_readonly → response_readonly}/show.erb +0 -0
data/config/locales/nl.yml
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
nl:
|
|
3
3
|
activemodel:
|
|
4
4
|
attributes:
|
|
5
|
-
answer:
|
|
6
|
-
body: Antwoord
|
|
7
5
|
question:
|
|
8
6
|
max_choices: Maximum aantal keuzes
|
|
9
7
|
question_type: Type
|
|
@@ -18,35 +16,19 @@ nl:
|
|
|
18
16
|
tos: Servicevoorwaarden
|
|
19
17
|
questionnaires:
|
|
20
18
|
actions:
|
|
21
|
-
|
|
22
|
-
answer_option:
|
|
23
|
-
answer_option: Antwoord optie
|
|
24
|
-
remove: Verwijderen
|
|
25
|
-
statement: Uitspraak
|
|
26
|
-
answers:
|
|
27
|
-
actions:
|
|
28
|
-
show: Toon antwoorden
|
|
29
|
-
empty: Nog geen antwoorden
|
|
30
|
-
export_response:
|
|
31
|
-
title: survey_user_answers_%{token}
|
|
32
|
-
show:
|
|
33
|
-
title: 'Antwoord #%{number}'
|
|
19
|
+
back: Terug naar vragen
|
|
34
20
|
display_condition:
|
|
35
|
-
answer_option: Antwoord optie
|
|
36
21
|
condition_question: Vraag
|
|
37
22
|
condition_type: Voorwaarde
|
|
38
23
|
condition_types:
|
|
39
|
-
answered: beantwoord
|
|
40
24
|
equal: Gelijk
|
|
41
25
|
match: Tekst inbegrepen
|
|
42
|
-
not_answered: Niet beantwoord
|
|
43
26
|
not_equal: Niet gelijk aan
|
|
44
27
|
condition_value: Inbegrepen tekst
|
|
45
28
|
display_condition: Toon voorwaarde
|
|
46
29
|
mandatory: Deze voorwaarde moet altijd worden vervuld, ongeacht de status van andere voorwaarden
|
|
47
30
|
remove: Verwijderen
|
|
48
31
|
save_warning: Vergeet niet om het formulier op te slaan voordat u voorwaarden voor het weergeven configureert
|
|
49
|
-
select_answer_option: Selecteer antwoord optie
|
|
50
32
|
select_condition_question: Selecteer een vraag
|
|
51
33
|
select_condition_type: Selecteer een type voorwaarde
|
|
52
34
|
edit:
|
|
@@ -62,57 +44,54 @@ nl:
|
|
|
62
44
|
remove: Verwijderen
|
|
63
45
|
statement: Uitspraak
|
|
64
46
|
question:
|
|
65
|
-
add_answer_option: Antwoordoptie toevoegen
|
|
66
47
|
add_display_condition: Weergavevoorwaarde toevoegen
|
|
67
48
|
add_display_condition_info: Sla het formulier op om weergavevoorwaarden te configureren
|
|
68
49
|
add_matrix_row: Rij toevoegen
|
|
69
50
|
any: Ieder
|
|
70
51
|
collapse: Samenvouwen
|
|
71
52
|
description: Omschrijving
|
|
53
|
+
down: naar beneden
|
|
72
54
|
expand: Uitklappen
|
|
73
55
|
question: Vraag
|
|
74
56
|
remove: Verwijderen
|
|
75
57
|
statement: Uitspraak
|
|
58
|
+
up: omhoog
|
|
59
|
+
responses:
|
|
60
|
+
actions:
|
|
61
|
+
show: Antwoorden tonen
|
|
76
62
|
separator:
|
|
63
|
+
down: Omlaag
|
|
77
64
|
remove: Verwijderen
|
|
78
65
|
separator: Scheidingsteken
|
|
66
|
+
up: Omhoog
|
|
79
67
|
title_and_description:
|
|
80
68
|
collapse: Inklappen
|
|
81
69
|
description: Beschrijving
|
|
70
|
+
down: Naar beneden
|
|
82
71
|
expand: Uitklappen
|
|
83
72
|
remove: Verwijderen
|
|
84
73
|
title: Titel
|
|
85
74
|
title_and_description: Titel en beschrijving
|
|
75
|
+
up: Naar boven
|
|
86
76
|
update:
|
|
87
77
|
invalid: Er zijn fouten opgetreden bij het opslaan van de vragenlijst.
|
|
88
78
|
success: Formulier succesvol opgeslagen.
|
|
89
79
|
images:
|
|
90
80
|
dimensions: "%{width} x %{height} px"
|
|
91
81
|
question_types:
|
|
92
|
-
long_answer: Lang antwoord
|
|
93
82
|
matrix_multiple: Matrix (meerdere opties)
|
|
94
83
|
matrix_single: Matrix (enkele optie)
|
|
95
84
|
multiple_option: Meerdere optie
|
|
96
|
-
short_answer: Kort antwoord
|
|
97
85
|
single_option: Enkele optie
|
|
98
86
|
sorting: sorteer-
|
|
99
87
|
title_and_description: Titel en beschrijving
|
|
100
88
|
questionnaires:
|
|
101
|
-
answer:
|
|
102
|
-
invalid: Er zijn fouten opgetreden bij het beantwoorden van de vragenlijst.
|
|
103
|
-
success: Vragenlijst met succes beantwoord.
|
|
104
89
|
question:
|
|
105
90
|
max_choices: 'Max. Keuzes: %{n}'
|
|
106
91
|
show:
|
|
107
|
-
answer_questionnaire:
|
|
108
|
-
title: Beantwoord de vragenlijst
|
|
109
92
|
current_step: Stap %{step}
|
|
110
93
|
of_total_steps: van %{total_steps}
|
|
111
|
-
questionnaire_answered:
|
|
112
|
-
body: U hebt deze vragenlijst al beantwoord.
|
|
113
|
-
title: Al beantwoord
|
|
114
94
|
questionnaire_closed:
|
|
115
|
-
body: De vragenlijst is gesloten en kan niet worden beantwoord.
|
|
116
95
|
title: Vragenlijst gesloten
|
|
117
96
|
questionnaire_for_private_users:
|
|
118
97
|
body: De vragenlijst is alleen beschikbaar voor privé-gebruikers
|
|
@@ -128,8 +107,3 @@ nl:
|
|
|
128
107
|
back: Achterzijde
|
|
129
108
|
continue: Doorgaan
|
|
130
109
|
submit: Verzenden
|
|
131
|
-
user_answers_serializer:
|
|
132
|
-
body: Beantwoorden
|
|
133
|
-
created_at: Beantwoord
|
|
134
|
-
id: Antwoord ID
|
|
135
|
-
question: Vraag
|
data/config/locales/no.yml
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
"no":
|
|
3
3
|
activemodel:
|
|
4
4
|
attributes:
|
|
5
|
-
answer:
|
|
6
|
-
body: Svar
|
|
7
5
|
question:
|
|
8
6
|
max_choices: Maksimalt antall valg
|
|
9
7
|
question_type: Type
|
|
@@ -19,35 +17,19 @@
|
|
|
19
17
|
tos: Tjenestevilkår
|
|
20
18
|
questionnaires:
|
|
21
19
|
actions:
|
|
22
|
-
|
|
23
|
-
answer_option:
|
|
24
|
-
answer_option: Svaralternativ
|
|
25
|
-
remove: Fjern
|
|
26
|
-
statement: Uttalelse
|
|
27
|
-
answers:
|
|
28
|
-
actions:
|
|
29
|
-
show: Vis svar
|
|
30
|
-
empty: Ingen svar enda
|
|
31
|
-
export_response:
|
|
32
|
-
title: undersøkelse_bruker_svar_%{token}
|
|
33
|
-
show:
|
|
34
|
-
title: 'Svar #%{number}'
|
|
20
|
+
back: Tilbake til spørsmål
|
|
35
21
|
display_condition:
|
|
36
|
-
answer_option: Svaralternativ
|
|
37
22
|
condition_question: Spørsmål
|
|
38
23
|
condition_type: Betingelse
|
|
39
24
|
condition_types:
|
|
40
|
-
answered: Besvart
|
|
41
25
|
equal: Lik
|
|
42
26
|
match: Inkluder tekst
|
|
43
|
-
not_answered: Ikke besvart
|
|
44
27
|
not_equal: Ikke lik
|
|
45
28
|
condition_value: Inkludert tekst
|
|
46
29
|
display_condition: Vis betingelse
|
|
47
30
|
mandatory: Denne betingelsen må alltid oppfylles uavhengig av status for andre betingelser
|
|
48
31
|
remove: Fjern
|
|
49
32
|
save_warning: Husk å lagre skjemaet før du konfigurerer visningsbetingelser
|
|
50
|
-
select_answer_option: Velg svaralternativ
|
|
51
33
|
select_condition_question: Velg et spørsmål
|
|
52
34
|
select_condition_type: Velg en betingelsestype
|
|
53
35
|
edit:
|
|
@@ -64,27 +46,35 @@
|
|
|
64
46
|
remove: Fjern
|
|
65
47
|
statement: Uttalelse
|
|
66
48
|
question:
|
|
67
|
-
add_answer_option: Legg til svaralternativ
|
|
68
49
|
add_display_condition: Legg til visningsbetingelse
|
|
69
50
|
add_display_condition_info: Lagre skjemaet for å konfigurere visningsbetingelser
|
|
70
51
|
add_matrix_row: Legg til rad
|
|
71
52
|
any: Alle
|
|
72
53
|
collapse: Skjul
|
|
73
54
|
description: Beskrivelse
|
|
55
|
+
down: Ned
|
|
74
56
|
expand: Utvid
|
|
75
57
|
question: Spørsmål
|
|
76
58
|
remove: Fjern
|
|
77
59
|
statement: Uttalelse
|
|
60
|
+
up: Opp
|
|
61
|
+
responses:
|
|
62
|
+
actions:
|
|
63
|
+
show: Vis svar
|
|
78
64
|
separator:
|
|
65
|
+
down: Ned
|
|
79
66
|
remove: Fjern
|
|
80
67
|
separator: Skilletegn
|
|
68
|
+
up: Opp
|
|
81
69
|
title_and_description:
|
|
82
70
|
collapse: Kollaps
|
|
83
71
|
description: Beskrivelse
|
|
72
|
+
down: Ned
|
|
84
73
|
expand: Utvid
|
|
85
74
|
remove: Fjern
|
|
86
75
|
title: Tittel
|
|
87
76
|
title_and_description: Tittel og beskrivelse
|
|
77
|
+
up: Opp
|
|
88
78
|
update:
|
|
89
79
|
invalid: Det oppstod et problem med å lagre dette skjema.
|
|
90
80
|
success: Skjemaet ble lagret.
|
|
@@ -92,30 +82,19 @@
|
|
|
92
82
|
dimensions: "%{width} x %{height} px"
|
|
93
83
|
question_types:
|
|
94
84
|
files: Filer
|
|
95
|
-
long_answer: Langt svar
|
|
96
85
|
matrix_multiple: Matrise (Flervalg)
|
|
97
86
|
matrix_single: Matrise (Enkeltvalg)
|
|
98
87
|
multiple_option: Flere alternativer
|
|
99
|
-
short_answer: Kort svar
|
|
100
88
|
single_option: Enkelt alternativ
|
|
101
89
|
sorting: Sortering
|
|
102
90
|
title_and_description: Tittel og beskrivelse
|
|
103
91
|
questionnaires:
|
|
104
|
-
answer:
|
|
105
|
-
invalid: Det oppstod et problem med å svare på skjemaet.
|
|
106
|
-
success: Skjema ble besvart.
|
|
107
92
|
question:
|
|
108
93
|
max_choices: 'Maksimum valg: %{n}'
|
|
109
94
|
show:
|
|
110
|
-
answer_questionnaire:
|
|
111
|
-
title: Svar på skjemaet
|
|
112
95
|
current_step: Trinn %{step}
|
|
113
96
|
of_total_steps: av %{total_steps}
|
|
114
|
-
questionnaire_answered:
|
|
115
|
-
body: Dy har allerede svart på dette skjemaet.
|
|
116
|
-
title: Allerede besvart
|
|
117
97
|
questionnaire_closed:
|
|
118
|
-
body: Skjemaet er lukket og kan ikke besvares.
|
|
119
98
|
title: Skjema lukket
|
|
120
99
|
questionnaire_for_private_users:
|
|
121
100
|
body: Skjemaet er bare tilgjengelig for private brukere
|
|
@@ -131,8 +110,3 @@
|
|
|
131
110
|
back: Tilbake
|
|
132
111
|
continue: Fortsett
|
|
133
112
|
submit: Send inn
|
|
134
|
-
user_answers_serializer:
|
|
135
|
-
body: Svar
|
|
136
|
-
created_at: Besvart på
|
|
137
|
-
id: Svar ID
|
|
138
|
-
question: Spørsmål
|
data/config/locales/pl.yml
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
pl:
|
|
3
3
|
activemodel:
|
|
4
4
|
attributes:
|
|
5
|
-
answer:
|
|
6
|
-
body: Odpowiedź
|
|
7
5
|
question:
|
|
8
6
|
max_choices: Maksymalna liczba opcji do wyboru
|
|
9
7
|
question_type: Typ odpowiedzi
|
|
@@ -19,35 +17,19 @@ pl:
|
|
|
19
17
|
tos: Warunki uczestnictwa
|
|
20
18
|
questionnaires:
|
|
21
19
|
actions:
|
|
22
|
-
|
|
23
|
-
answer_option:
|
|
24
|
-
answer_option: Opcja odpowiedzi
|
|
25
|
-
remove: Usuń
|
|
26
|
-
statement: Komunikat
|
|
27
|
-
answers:
|
|
28
|
-
actions:
|
|
29
|
-
show: Pokaż odpowiedzi
|
|
30
|
-
empty: Brak odpowiedzi
|
|
31
|
-
export_response:
|
|
32
|
-
title: ankieta_odpowiedzi_uzytkownika_%{token}
|
|
33
|
-
show:
|
|
34
|
-
title: 'Odpowiedź #%{number}'
|
|
20
|
+
back: Powrót do pytań
|
|
35
21
|
display_condition:
|
|
36
|
-
answer_option: Opcja odpowiedzi
|
|
37
22
|
condition_question: Pytanie
|
|
38
23
|
condition_type: Warunek
|
|
39
24
|
condition_types:
|
|
40
|
-
answered: Odpowiedziano
|
|
41
25
|
equal: Równy
|
|
42
26
|
match: Zawiera tekst
|
|
43
|
-
not_answered: Nie odpowiedziano
|
|
44
27
|
not_equal: Nie jest równe
|
|
45
28
|
condition_value: Zawiera tekst
|
|
46
29
|
display_condition: Warunek wyświetlania
|
|
47
30
|
mandatory: Ten warunek musi być zawsze spełniony niezależnie od statusu innych warunków
|
|
48
31
|
remove: Usuń
|
|
49
32
|
save_warning: Pamiętaj, aby zapisać formularz przed skonfigurowaniem warunków wyświetlania
|
|
50
|
-
select_answer_option: Wybierz opcję odpowiedzi
|
|
51
33
|
select_condition_question: Wybierz pytanie
|
|
52
34
|
select_condition_type: Wybierz typ warunku
|
|
53
35
|
edit:
|
|
@@ -64,27 +46,35 @@ pl:
|
|
|
64
46
|
remove: Usuń
|
|
65
47
|
statement: Komunikat
|
|
66
48
|
question:
|
|
67
|
-
add_answer_option: Dodaj opcję odpowiedzi
|
|
68
49
|
add_display_condition: Dodaj warunek wyświetlania
|
|
69
50
|
add_display_condition_info: Zapisz formularz, aby skonfigurować warunki wyświetlania
|
|
70
51
|
add_matrix_row: Dodaj wiersz
|
|
71
52
|
any: Dowolny
|
|
72
53
|
collapse: Zwiń
|
|
73
54
|
description: Opis
|
|
55
|
+
down: Na dół
|
|
74
56
|
expand: Rozwiń
|
|
75
57
|
question: Pytanie
|
|
76
58
|
remove: Usuń
|
|
77
59
|
statement: Komunikat
|
|
60
|
+
up: W górę
|
|
61
|
+
responses:
|
|
62
|
+
actions:
|
|
63
|
+
show: Pokaż odpowiedzi
|
|
78
64
|
separator:
|
|
65
|
+
down: Na dół
|
|
79
66
|
remove: Usuń
|
|
80
67
|
separator: Separator
|
|
68
|
+
up: W górę
|
|
81
69
|
title_and_description:
|
|
82
70
|
collapse: Zwiń
|
|
83
71
|
description: Opis
|
|
72
|
+
down: W dół
|
|
84
73
|
expand: Rozwiń
|
|
85
74
|
remove: Usuń
|
|
86
75
|
title: Tytuł
|
|
87
76
|
title_and_description: Tytuł i opis
|
|
77
|
+
up: W górę
|
|
88
78
|
update:
|
|
89
79
|
invalid: Podczas zapisywania formularza wystąpił błąd.
|
|
90
80
|
success: Formularz został zapisany.
|
|
@@ -98,31 +88,20 @@ pl:
|
|
|
98
88
|
resize_to_fit: Rozmiar obrazu zostanie zmieniony i dopasowany do wymiarów %{dimensions}.
|
|
99
89
|
question_types:
|
|
100
90
|
files: Pliki
|
|
101
|
-
long_answer: Długa odpowiedź
|
|
102
91
|
matrix_multiple: Macierz (wiele opcji)
|
|
103
92
|
matrix_single: Macierz (jedna opcja)
|
|
104
93
|
multiple_option: Wiele opcji
|
|
105
|
-
short_answer: Krótka odpowiedź
|
|
106
94
|
single_option: Jedna opcja
|
|
107
95
|
sorting: Sortowanie
|
|
108
96
|
title_and_description: Tytuł i opis
|
|
109
97
|
questionnaires:
|
|
110
|
-
answer:
|
|
111
|
-
invalid: Podczas wypełniania formularza wystąpiły błędy.
|
|
112
|
-
success: Wypełniono formularz.
|
|
113
98
|
question:
|
|
114
99
|
max_choices: 'Maksymalny wybór opcji: %{n}'
|
|
115
100
|
show:
|
|
116
|
-
answer_questionnaire:
|
|
117
|
-
title: Wypełnij formularz
|
|
118
101
|
current_step: Krok %{step}
|
|
119
102
|
empty: Nie skonfigurowano jeszcze żadnych pytań dla tego formularza.
|
|
120
103
|
of_total_steps: z %{total_steps}
|
|
121
|
-
questionnaire_answered:
|
|
122
|
-
body: Już wypełniłeś/łaś ten formularz.
|
|
123
|
-
title: Już odpowiedziano
|
|
124
104
|
questionnaire_closed:
|
|
125
|
-
body: Formularz jest zamknięty i nie można udzielić na niego odpowiedzi.
|
|
126
105
|
title: Formularz został zamknięty
|
|
127
106
|
questionnaire_for_private_users:
|
|
128
107
|
body: Formularz jest dostępny tylko dla użytkowników prywatnych
|
|
@@ -138,8 +117,3 @@ pl:
|
|
|
138
117
|
back: Wróć
|
|
139
118
|
continue: Dalej
|
|
140
119
|
submit: Zatwierdź
|
|
141
|
-
user_answers_serializer:
|
|
142
|
-
body: Odpowiedź
|
|
143
|
-
created_at: Odpowiedziałem
|
|
144
|
-
id: ID odpowiedzi
|
|
145
|
-
question: Pytanie
|
data/config/locales/pt-BR.yml
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
pt-BR:
|
|
3
3
|
activemodel:
|
|
4
4
|
attributes:
|
|
5
|
-
answer:
|
|
6
|
-
body: Responda
|
|
7
5
|
question:
|
|
8
6
|
max_choices: Número máximo de escolhas
|
|
9
7
|
question_type: Tipo
|
|
@@ -19,35 +17,19 @@ pt-BR:
|
|
|
19
17
|
tos: Termos de serviço
|
|
20
18
|
questionnaires:
|
|
21
19
|
actions:
|
|
22
|
-
|
|
23
|
-
answer_option:
|
|
24
|
-
answer_option: Opção de resposta
|
|
25
|
-
remove: Remover
|
|
26
|
-
statement: Declaração
|
|
27
|
-
answers:
|
|
28
|
-
actions:
|
|
29
|
-
show: Mostrar respostas
|
|
30
|
-
empty: Ainda não há respostas
|
|
31
|
-
export_response:
|
|
32
|
-
title: pesquisa_respostas_do_usuário_%{token}
|
|
33
|
-
show:
|
|
34
|
-
title: 'Resposta #%{number}'
|
|
20
|
+
back: Voltar às perguntas
|
|
35
21
|
display_condition:
|
|
36
|
-
answer_option: Opção de resposta
|
|
37
22
|
condition_question: Questão
|
|
38
23
|
condition_type: Condição
|
|
39
24
|
condition_types:
|
|
40
|
-
answered: Respondido
|
|
41
25
|
equal: Igual
|
|
42
26
|
match: Incluir texto
|
|
43
|
-
not_answered: Não respondido
|
|
44
27
|
not_equal: Diferente
|
|
45
28
|
condition_value: Incluir texto
|
|
46
29
|
display_condition: Exibir condição
|
|
47
30
|
mandatory: Esta condição precisa ser sempre satisfeita independentemente do status de outras condições
|
|
48
31
|
remove: Remover
|
|
49
32
|
save_warning: Lembre-se de salvar o formulário antes de configurar condições de exibição
|
|
50
|
-
select_answer_option: Selecionar opção de resposta
|
|
51
33
|
select_condition_question: Selecione uma pergunta
|
|
52
34
|
select_condition_type: Selecione um tipo de condição
|
|
53
35
|
edit:
|
|
@@ -64,27 +46,35 @@ pt-BR:
|
|
|
64
46
|
remove: Remover
|
|
65
47
|
statement: Declaração
|
|
66
48
|
question:
|
|
67
|
-
add_answer_option: Adicionar opção de resposta
|
|
68
49
|
add_display_condition: Adicionar condição de exibição
|
|
69
50
|
add_display_condition_info: Salve o formulário para configurar condições de exibição
|
|
70
51
|
add_matrix_row: Adicionar linha
|
|
71
52
|
any: Qualquer
|
|
72
53
|
collapse: Recolher
|
|
73
54
|
description: Descrição
|
|
55
|
+
down: Baixa
|
|
74
56
|
expand: Expandir
|
|
75
57
|
question: Questão
|
|
76
58
|
remove: Remover
|
|
77
59
|
statement: Declaração
|
|
60
|
+
up: Acima
|
|
61
|
+
responses:
|
|
62
|
+
actions:
|
|
63
|
+
show: Mostrar respostas
|
|
78
64
|
separator:
|
|
65
|
+
down: Para Baixo
|
|
79
66
|
remove: Remover
|
|
80
67
|
separator: Separador
|
|
68
|
+
up: Para Cima
|
|
81
69
|
title_and_description:
|
|
82
70
|
collapse: Recolher
|
|
83
71
|
description: Descrição
|
|
72
|
+
down: Abaixo
|
|
84
73
|
expand: Expandir
|
|
85
74
|
remove: Excluir
|
|
86
75
|
title: Título
|
|
87
76
|
title_and_description: Título e descrição
|
|
77
|
+
up: Acima
|
|
88
78
|
update:
|
|
89
79
|
invalid: Houve erros ao salvar o questionário.
|
|
90
80
|
success: Formulário salvo com sucesso.
|
|
@@ -98,30 +88,19 @@ pt-BR:
|
|
|
98
88
|
resize_to_fit: Esta imagem será redimensionada para caber %{dimensions}.
|
|
99
89
|
question_types:
|
|
100
90
|
files: Arquivos
|
|
101
|
-
long_answer: Resposta longa
|
|
102
91
|
matrix_multiple: Matriz (Múltipla opção)
|
|
103
92
|
matrix_single: Matriz (opção única)
|
|
104
93
|
multiple_option: Opção múltipla
|
|
105
|
-
short_answer: Resposta curta
|
|
106
94
|
single_option: Opção única
|
|
107
95
|
sorting: Classificação
|
|
108
96
|
title_and_description: Título e descrição
|
|
109
97
|
questionnaires:
|
|
110
|
-
answer:
|
|
111
|
-
invalid: Houve erros ao responder a pesquisa.
|
|
112
|
-
success: Questionário respondido com sucesso.
|
|
113
98
|
question:
|
|
114
99
|
max_choices: 'Escolhas máximas: %{n}'
|
|
115
100
|
show:
|
|
116
|
-
answer_questionnaire:
|
|
117
|
-
title: Responda o questionário
|
|
118
101
|
current_step: Passo %{step}
|
|
119
102
|
of_total_steps: de %{total_steps}
|
|
120
|
-
questionnaire_answered:
|
|
121
|
-
body: Você já respondeu esta pesquisa.
|
|
122
|
-
title: Já respondido
|
|
123
103
|
questionnaire_closed:
|
|
124
|
-
body: O questionário está fechado e não pode ser respondido.
|
|
125
104
|
title: Questionário fechado
|
|
126
105
|
questionnaire_for_private_users:
|
|
127
106
|
body: O questionário está disponível apenas para usuários particulares
|
|
@@ -137,8 +116,3 @@ pt-BR:
|
|
|
137
116
|
back: Voltar
|
|
138
117
|
continue: Continuar
|
|
139
118
|
submit: Enviar
|
|
140
|
-
user_answers_serializer:
|
|
141
|
-
body: Resposta
|
|
142
|
-
created_at: Respondido em
|
|
143
|
-
id: ID da resposta
|
|
144
|
-
question: Questão
|
data/config/locales/pt.yml
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
pt:
|
|
3
3
|
activemodel:
|
|
4
4
|
attributes:
|
|
5
|
-
answer:
|
|
6
|
-
body: Responder
|
|
7
5
|
question:
|
|
8
6
|
max_choices: Número máximo de escolhas
|
|
9
7
|
question_type: Tipo
|
|
@@ -19,35 +17,19 @@ pt:
|
|
|
19
17
|
tos: Termos de serviço
|
|
20
18
|
questionnaires:
|
|
21
19
|
actions:
|
|
22
|
-
|
|
23
|
-
answer_option:
|
|
24
|
-
answer_option: Opção de resposta
|
|
25
|
-
remove: Remover
|
|
26
|
-
statement: Declaração
|
|
27
|
-
answers:
|
|
28
|
-
actions:
|
|
29
|
-
show: Mostrar respostas
|
|
30
|
-
empty: Ainda não há respostas
|
|
31
|
-
export_response:
|
|
32
|
-
title: survey_user_answers_%{token}
|
|
33
|
-
show:
|
|
34
|
-
title: 'Resposta #%{number}'
|
|
20
|
+
back: Retroceder às perguntas
|
|
35
21
|
display_condition:
|
|
36
|
-
answer_option: Opção de resposta
|
|
37
22
|
condition_question: Pergunta
|
|
38
23
|
condition_type: Condição
|
|
39
24
|
condition_types:
|
|
40
|
-
answered: Respondido
|
|
41
25
|
equal: Igual
|
|
42
26
|
match: Inclui texto
|
|
43
|
-
not_answered: Não respondido
|
|
44
27
|
not_equal: Diferente
|
|
45
28
|
condition_value: Incluiu texto
|
|
46
29
|
display_condition: Exibir condição
|
|
47
30
|
mandatory: Esta condição precisa de ser sempre satisfeita independentemente do estado das outras condições
|
|
48
31
|
remove: Remover
|
|
49
32
|
save_warning: Lembre-se de guardar o formulário antes de configurar as condições de exibição
|
|
50
|
-
select_answer_option: Selecionar opção de resposta
|
|
51
33
|
select_condition_question: Selecionar uma pergunta
|
|
52
34
|
select_condition_type: Selecionar um tipo de condição
|
|
53
35
|
edit:
|
|
@@ -64,20 +46,26 @@ pt:
|
|
|
64
46
|
remove: Remover
|
|
65
47
|
statement: Declaração
|
|
66
48
|
question:
|
|
67
|
-
add_answer_option: Adicionar opção de resposta
|
|
68
49
|
add_display_condition: Adicionar condição de exibição
|
|
69
50
|
add_display_condition_info: Guarde o formulário para configurar as condições de exibição
|
|
70
51
|
add_matrix_row: Adicionar linha
|
|
71
52
|
any: Qualquer
|
|
72
53
|
collapse: Colapsar
|
|
73
54
|
description: Descrição
|
|
55
|
+
down: Abaixo
|
|
74
56
|
expand: Expandir
|
|
75
57
|
question: Questão
|
|
76
58
|
remove: Remover
|
|
77
59
|
statement: Declaração
|
|
60
|
+
up: Acima
|
|
61
|
+
responses:
|
|
62
|
+
actions:
|
|
63
|
+
show: Mostrar respostas
|
|
78
64
|
separator:
|
|
65
|
+
down: Abaixo
|
|
79
66
|
remove: Remover
|
|
80
67
|
separator: Separador
|
|
68
|
+
up: Acima
|
|
81
69
|
update:
|
|
82
70
|
invalid: Ocorreu um problema ao guardar o questionário.
|
|
83
71
|
success: Formulário guardado com êxito
|
|
@@ -85,29 +73,18 @@ pt:
|
|
|
85
73
|
dimensions: "%{width} x %{height} px"
|
|
86
74
|
question_types:
|
|
87
75
|
files: Ficheiros
|
|
88
|
-
long_answer: Resposta longa
|
|
89
76
|
matrix_multiple: Matriz (Escolha múltipla)
|
|
90
77
|
matrix_single: Matriz (Escolha única)
|
|
91
78
|
multiple_option: Escolha múltipla
|
|
92
|
-
short_answer: Resposta curta
|
|
93
79
|
single_option: Escolha única
|
|
94
80
|
sorting: Ordenação
|
|
95
81
|
questionnaires:
|
|
96
|
-
answer:
|
|
97
|
-
invalid: Ocorreu um problema ao responder ao questionário.
|
|
98
|
-
success: Questionário respondido corretamente.
|
|
99
82
|
question:
|
|
100
83
|
max_choices: 'Escolhas máximas: %{n}'
|
|
101
84
|
show:
|
|
102
|
-
answer_questionnaire:
|
|
103
|
-
title: Responda ao questionário
|
|
104
85
|
current_step: Passo %{step}
|
|
105
86
|
of_total_steps: de %{total_steps}
|
|
106
|
-
questionnaire_answered:
|
|
107
|
-
body: Já respondeu a este questionário.
|
|
108
|
-
title: Já respondido
|
|
109
87
|
questionnaire_closed:
|
|
110
|
-
body: O questionário está encerrado e não pode ser respondido.
|
|
111
88
|
title: Questionário encerrado
|
|
112
89
|
questionnaire_for_private_users:
|
|
113
90
|
body: O questionário está disponível apenas para utilizadores privados
|
|
@@ -123,8 +100,3 @@ pt:
|
|
|
123
100
|
back: Retroceder
|
|
124
101
|
continue: Continuar
|
|
125
102
|
submit: Submeter
|
|
126
|
-
user_answers_serializer:
|
|
127
|
-
body: Responder
|
|
128
|
-
created_at: Respondido em
|
|
129
|
-
id: ID da resposta
|
|
130
|
-
question: Questão
|