decidim-forms 0.29.6 → 0.30.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/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 +4 -25
- 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 +14 -4
- data/app/views/decidim/forms/admin/questionnaires/_questions_form.html.erb +80 -0
- data/app/views/decidim/forms/admin/questionnaires/_separator.html.erb +10 -3
- data/app/views/decidim/forms/admin/questionnaires/_title_and_description.html.erb +11 -1
- 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/_answer.html.erb +1 -1
- 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/_long_answer.html.erb +1 -1
- data/app/views/decidim/forms/questionnaires/answers/_short_answer.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/ar.yml +18 -1
- data/config/locales/bg.yml +42 -2
- data/config/locales/ca.yml +59 -13
- data/config/locales/cs.yml +54 -8
- data/config/locales/de.yml +56 -10
- data/config/locales/el.yml +41 -2
- data/config/locales/en.yml +51 -5
- data/config/locales/es-MX.yml +61 -15
- data/config/locales/es-PY.yml +61 -15
- data/config/locales/es.yml +60 -14
- data/config/locales/eu.yml +58 -12
- data/config/locales/fi-plain.yml +56 -10
- data/config/locales/fi.yml +56 -10
- data/config/locales/fr-CA.yml +51 -13
- data/config/locales/fr.yml +51 -13
- data/config/locales/ga-IE.yml +9 -0
- data/config/locales/gl.yml +11 -1
- data/config/locales/hu.yml +14 -1
- data/config/locales/id-ID.yml +9 -1
- data/config/locales/it.yml +31 -3
- data/config/locales/ja.yml +13 -12
- data/config/locales/lb.yml +32 -1
- data/config/locales/lt.yml +41 -2
- data/config/locales/lv.yml +15 -1
- data/config/locales/nl.yml +29 -0
- data/config/locales/no.yml +33 -0
- data/config/locales/pl.yml +43 -2
- data/config/locales/pt-BR.yml +35 -0
- data/config/locales/pt.yml +31 -0
- data/config/locales/ro-RO.yml +50 -17
- data/config/locales/ru.yml +3 -2
- data/config/locales/sk.yml +12 -1
- data/config/locales/sl.yml +7 -0
- data/config/locales/sv.yml +17 -15
- data/config/locales/tr-TR.yml +27 -0
- data/config/locales/val-ES.yml +2 -0
- data/config/locales/zh-CN.yml +27 -0
- data/config/locales/zh-TW.yml +41 -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 +46 -7
- 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 +115 -247
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires.rb +3 -29
- data/lib/decidim/forms/version.rb +1 -1
- data/lib/decidim/forms.rb +0 -1
- metadata +18 -33
- 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/config/locales/ca-IT.yml +0 -192
- data/lib/decidim/exporters/form_pdf_controller_helper.rb +0 -13
data/config/locales/nl.yml
CHANGED
|
@@ -4,11 +4,19 @@ nl:
|
|
|
4
4
|
attributes:
|
|
5
5
|
answer:
|
|
6
6
|
body: Antwoord
|
|
7
|
+
choices: Keuzes
|
|
8
|
+
selected_choices: Geselecteerde keuzes
|
|
7
9
|
question:
|
|
8
10
|
max_choices: Maximum aantal keuzes
|
|
9
11
|
question_type: Type
|
|
10
12
|
questionnaire_question:
|
|
11
13
|
mandatory: Verplicht
|
|
14
|
+
errors:
|
|
15
|
+
models:
|
|
16
|
+
answer:
|
|
17
|
+
attributes:
|
|
18
|
+
choices:
|
|
19
|
+
missing: zijn niet compleet
|
|
12
20
|
decidim:
|
|
13
21
|
forms:
|
|
14
22
|
admin:
|
|
@@ -22,14 +30,22 @@ nl:
|
|
|
22
30
|
show: Antwoorden tonen
|
|
23
31
|
answer_option:
|
|
24
32
|
answer_option: Antwoord optie
|
|
33
|
+
free_text: Vrije tekst
|
|
25
34
|
remove: Verwijderen
|
|
26
35
|
statement: Uitspraak
|
|
27
36
|
answers:
|
|
28
37
|
actions:
|
|
38
|
+
back: Terug naar antwoorden
|
|
39
|
+
export: Exporteren
|
|
29
40
|
show: Toon antwoorden
|
|
30
41
|
empty: Nog geen antwoorden
|
|
42
|
+
export:
|
|
43
|
+
answer:
|
|
44
|
+
title: 'Antwoord #%{number}'
|
|
31
45
|
export_response:
|
|
32
46
|
title: survey_user_answers_%{token}
|
|
47
|
+
index:
|
|
48
|
+
title: "%{total} totale antwoorden"
|
|
33
49
|
show:
|
|
34
50
|
title: 'Antwoord #%{number}'
|
|
35
51
|
display_condition:
|
|
@@ -70,20 +86,26 @@ nl:
|
|
|
70
86
|
any: Ieder
|
|
71
87
|
collapse: Samenvouwen
|
|
72
88
|
description: Omschrijving
|
|
89
|
+
down: naar beneden
|
|
73
90
|
expand: Uitklappen
|
|
74
91
|
question: Vraag
|
|
75
92
|
remove: Verwijderen
|
|
76
93
|
statement: Uitspraak
|
|
94
|
+
up: omhoog
|
|
77
95
|
separator:
|
|
96
|
+
down: Omlaag
|
|
78
97
|
remove: Verwijderen
|
|
79
98
|
separator: Scheidingsteken
|
|
99
|
+
up: Omhoog
|
|
80
100
|
title_and_description:
|
|
81
101
|
collapse: Inklappen
|
|
82
102
|
description: Beschrijving
|
|
103
|
+
down: Naar beneden
|
|
83
104
|
expand: Uitklappen
|
|
84
105
|
remove: Verwijderen
|
|
85
106
|
title: Titel
|
|
86
107
|
title_and_description: Titel en beschrijving
|
|
108
|
+
up: Naar boven
|
|
87
109
|
update:
|
|
88
110
|
invalid: Er zijn fouten opgetreden bij het opslaan van de vragenlijst.
|
|
89
111
|
success: Formulier succesvol opgeslagen.
|
|
@@ -101,6 +123,7 @@ nl:
|
|
|
101
123
|
questionnaires:
|
|
102
124
|
answer:
|
|
103
125
|
invalid: Er zijn fouten opgetreden bij het beantwoorden van de vragenlijst.
|
|
126
|
+
max_choices_alert: Er zijn te veel keuzes geselecteerd
|
|
104
127
|
success: Vragenlijst met succes beantwoord.
|
|
105
128
|
question:
|
|
106
129
|
max_choices: 'Max. Keuzes: %{n}'
|
|
@@ -131,6 +154,12 @@ nl:
|
|
|
131
154
|
submit: Verzenden
|
|
132
155
|
user_answers_serializer:
|
|
133
156
|
body: Beantwoorden
|
|
157
|
+
completion: Voltooiing
|
|
134
158
|
created_at: Beantwoord
|
|
135
159
|
id: Antwoord ID
|
|
160
|
+
ip_hash: IP Hash
|
|
136
161
|
question: Vraag
|
|
162
|
+
registered: Geregistreerd
|
|
163
|
+
session_token: Gebruiker identificatie
|
|
164
|
+
unregistered: Niet-geregistreerd
|
|
165
|
+
user_status: Gebruiker-status
|
data/config/locales/no.yml
CHANGED
|
@@ -4,12 +4,24 @@
|
|
|
4
4
|
attributes:
|
|
5
5
|
answer:
|
|
6
6
|
body: Svar
|
|
7
|
+
choices: Valg
|
|
8
|
+
selected_choices: Valgte valg
|
|
7
9
|
question:
|
|
8
10
|
max_choices: Maksimalt antall valg
|
|
9
11
|
question_type: Type
|
|
10
12
|
questionnaire_question:
|
|
11
13
|
mandatory: Obligatorisk
|
|
12
14
|
max_characters: Tegngrense (la være 0 hvis ingen begrensning)
|
|
15
|
+
errors:
|
|
16
|
+
models:
|
|
17
|
+
answer:
|
|
18
|
+
attributes:
|
|
19
|
+
add_documents:
|
|
20
|
+
needs_to_be_reattached: Må legges til på nytt
|
|
21
|
+
body:
|
|
22
|
+
too_long: er for lang
|
|
23
|
+
choices:
|
|
24
|
+
missing: er ikke fullstendig
|
|
13
25
|
decidim:
|
|
14
26
|
forms:
|
|
15
27
|
admin:
|
|
@@ -23,14 +35,22 @@
|
|
|
23
35
|
show: Vis svar
|
|
24
36
|
answer_option:
|
|
25
37
|
answer_option: Svaralternativ
|
|
38
|
+
free_text: Fri tekst
|
|
26
39
|
remove: Fjern
|
|
27
40
|
statement: Uttalelse
|
|
28
41
|
answers:
|
|
29
42
|
actions:
|
|
43
|
+
back: Tilbake til svar
|
|
44
|
+
export: Eksporter
|
|
30
45
|
show: Vis svar
|
|
31
46
|
empty: Ingen svar enda
|
|
47
|
+
export:
|
|
48
|
+
answer:
|
|
49
|
+
title: 'Svar #%{number}'
|
|
32
50
|
export_response:
|
|
33
51
|
title: undersøkelse_bruker_svar_%{token}
|
|
52
|
+
index:
|
|
53
|
+
title: "%{total} svar totalt"
|
|
34
54
|
show:
|
|
35
55
|
title: 'Svar #%{number}'
|
|
36
56
|
display_condition:
|
|
@@ -72,20 +92,26 @@
|
|
|
72
92
|
any: Alle
|
|
73
93
|
collapse: Skjul
|
|
74
94
|
description: Beskrivelse
|
|
95
|
+
down: Ned
|
|
75
96
|
expand: Utvid
|
|
76
97
|
question: Spørsmål
|
|
77
98
|
remove: Fjern
|
|
78
99
|
statement: Uttalelse
|
|
100
|
+
up: Opp
|
|
79
101
|
separator:
|
|
102
|
+
down: Ned
|
|
80
103
|
remove: Fjern
|
|
81
104
|
separator: Skilletegn
|
|
105
|
+
up: Opp
|
|
82
106
|
title_and_description:
|
|
83
107
|
collapse: Kollaps
|
|
84
108
|
description: Beskrivelse
|
|
109
|
+
down: Ned
|
|
85
110
|
expand: Utvid
|
|
86
111
|
remove: Fjern
|
|
87
112
|
title: Tittel
|
|
88
113
|
title_and_description: Tittel og beskrivelse
|
|
114
|
+
up: Opp
|
|
89
115
|
update:
|
|
90
116
|
invalid: Det oppstod et problem med å lagre dette skjema.
|
|
91
117
|
success: Skjemaet ble lagret.
|
|
@@ -104,6 +130,7 @@
|
|
|
104
130
|
questionnaires:
|
|
105
131
|
answer:
|
|
106
132
|
invalid: Det oppstod et problem med å svare på skjemaet.
|
|
133
|
+
max_choices_alert: For mange valg er merket
|
|
107
134
|
success: Skjema ble besvart.
|
|
108
135
|
question:
|
|
109
136
|
max_choices: 'Maksimum valg: %{n}'
|
|
@@ -134,6 +161,12 @@
|
|
|
134
161
|
submit: Send inn
|
|
135
162
|
user_answers_serializer:
|
|
136
163
|
body: Svar
|
|
164
|
+
completion: Fullføring
|
|
137
165
|
created_at: Besvart på
|
|
138
166
|
id: Svar ID
|
|
167
|
+
ip_hash: IP Hash
|
|
139
168
|
question: Spørsmål
|
|
169
|
+
registered: Registrert
|
|
170
|
+
session_token: Brukeridentifikator
|
|
171
|
+
unregistered: Uregistrert
|
|
172
|
+
user_status: Brukerstatus
|
data/config/locales/pl.yml
CHANGED
|
@@ -4,6 +4,8 @@ pl:
|
|
|
4
4
|
attributes:
|
|
5
5
|
answer:
|
|
6
6
|
body: Odpowiedź
|
|
7
|
+
choices: Opcje
|
|
8
|
+
selected_choices: Wybrane opcje
|
|
7
9
|
question:
|
|
8
10
|
max_choices: Maksymalna liczba opcji do wyboru
|
|
9
11
|
question_type: Typ odpowiedzi
|
|
@@ -12,8 +14,15 @@ pl:
|
|
|
12
14
|
max_characters: Limit znaków (zostaw 0, jeśli nie chcesz ustawiać limitu)
|
|
13
15
|
errors:
|
|
14
16
|
models:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
answer:
|
|
18
|
+
attributes:
|
|
19
|
+
add_documents:
|
|
20
|
+
needs_to_be_reattached: Załącz ponownie
|
|
21
|
+
body:
|
|
22
|
+
too_long: jest zbyt długie
|
|
23
|
+
choices:
|
|
24
|
+
missing: nie są kompletne
|
|
25
|
+
too_many: Możesz wybrać maksymalnie %{count}.
|
|
17
26
|
decidim:
|
|
18
27
|
forms:
|
|
19
28
|
admin:
|
|
@@ -27,14 +36,24 @@ pl:
|
|
|
27
36
|
show: Pokaż odpowiedzi
|
|
28
37
|
answer_option:
|
|
29
38
|
answer_option: Opcja odpowiedzi
|
|
39
|
+
free_text: Możliwość wpisania dowolnego tekstu
|
|
30
40
|
remove: Usuń
|
|
31
41
|
statement: Komunikat
|
|
32
42
|
answers:
|
|
33
43
|
actions:
|
|
44
|
+
back: Powrót do odpowiedzi
|
|
45
|
+
export: Eksportuj
|
|
46
|
+
next: Następne ›
|
|
47
|
+
previous: "‹ Poprzedni"
|
|
34
48
|
show: Pokaż odpowiedzi
|
|
35
49
|
empty: Brak odpowiedzi
|
|
50
|
+
export:
|
|
51
|
+
answer:
|
|
52
|
+
title: 'Odpowiedź #%{number}'
|
|
36
53
|
export_response:
|
|
37
54
|
title: ankieta_odpowiedzi_uzytkownika_%{token}
|
|
55
|
+
index:
|
|
56
|
+
title: "%{total} odpowiedzi ogółem"
|
|
38
57
|
show:
|
|
39
58
|
title: 'Odpowiedź #%{number}'
|
|
40
59
|
display_condition:
|
|
@@ -76,26 +95,35 @@ pl:
|
|
|
76
95
|
any: Dowolny
|
|
77
96
|
collapse: Zwiń
|
|
78
97
|
description: Opis
|
|
98
|
+
down: Na dół
|
|
79
99
|
expand: Rozwiń
|
|
80
100
|
question: Pytanie
|
|
81
101
|
remove: Usuń
|
|
82
102
|
statement: Komunikat
|
|
103
|
+
up: W górę
|
|
83
104
|
separator:
|
|
105
|
+
down: Na dół
|
|
84
106
|
remove: Usuń
|
|
85
107
|
separator: Separator
|
|
108
|
+
up: W górę
|
|
86
109
|
title_and_description:
|
|
87
110
|
collapse: Zwiń
|
|
88
111
|
description: Opis
|
|
112
|
+
down: W dół
|
|
89
113
|
expand: Rozwiń
|
|
90
114
|
remove: Usuń
|
|
91
115
|
title: Tytuł
|
|
92
116
|
title_and_description: Tytuł i opis
|
|
117
|
+
up: W górę
|
|
93
118
|
update:
|
|
94
119
|
invalid: Podczas zapisywania formularza wystąpił błąd.
|
|
95
120
|
success: Formularz został zapisany.
|
|
96
121
|
admin_log:
|
|
97
122
|
questionnaire:
|
|
98
123
|
update: "%{user_name} zaktualizował(a) kwestionariusz %{resource_name}"
|
|
124
|
+
errors:
|
|
125
|
+
answer:
|
|
126
|
+
body: Treść nie może być pusta
|
|
99
127
|
images:
|
|
100
128
|
dimensions: "%{width} × %{height} px"
|
|
101
129
|
processors:
|
|
@@ -111,14 +139,21 @@ pl:
|
|
|
111
139
|
single_option: Jedna opcja
|
|
112
140
|
sorting: Sortowanie
|
|
113
141
|
title_and_description: Tytuł i opis
|
|
142
|
+
questionnaire_answer_presenter:
|
|
143
|
+
download_attachment: Pobierz załącznik
|
|
114
144
|
questionnaires:
|
|
115
145
|
answer:
|
|
116
146
|
invalid: Podczas wypełniania formularza wystąpiły błędy.
|
|
147
|
+
max_choices_alert: Wybrano zbyt wiele opcji
|
|
117
148
|
success: Wypełniono formularz.
|
|
118
149
|
question:
|
|
119
150
|
max_choices: 'Maksymalny wybór opcji: %{n}'
|
|
120
151
|
show:
|
|
121
152
|
answer_questionnaire:
|
|
153
|
+
already_have_an_account?: Posiadasz już konto?
|
|
154
|
+
are_you_new?: Nowy użytkownik?
|
|
155
|
+
sign_in_description: Zaloguj się, aby wziąć udział w ankiecie
|
|
156
|
+
sign_up_description: Utwórz konto uczestnika, aby wziąć udział w ankiecie
|
|
122
157
|
title: Wypełnij formularz
|
|
123
158
|
current_step: Krok %{step}
|
|
124
159
|
empty: Nie skonfigurowano jeszcze żadnych pytań dla tego formularza.
|
|
@@ -145,6 +180,12 @@ pl:
|
|
|
145
180
|
submit: Zatwierdź
|
|
146
181
|
user_answers_serializer:
|
|
147
182
|
body: Odpowiedź
|
|
183
|
+
completion: Ukończenie
|
|
148
184
|
created_at: Odpowiedziałem
|
|
149
185
|
id: ID odpowiedzi
|
|
186
|
+
ip_hash: Hash IP
|
|
150
187
|
question: Pytanie
|
|
188
|
+
registered: Zarejestrowano
|
|
189
|
+
session_token: Identyfikator użytkownika
|
|
190
|
+
unregistered: Nie zarejestrowano
|
|
191
|
+
user_status: Status użytkownika
|
data/config/locales/pt-BR.yml
CHANGED
|
@@ -4,12 +4,24 @@ pt-BR:
|
|
|
4
4
|
attributes:
|
|
5
5
|
answer:
|
|
6
6
|
body: Responda
|
|
7
|
+
choices: Escolhas
|
|
8
|
+
selected_choices: Escolhas selecionadas
|
|
7
9
|
question:
|
|
8
10
|
max_choices: Número máximo de escolhas
|
|
9
11
|
question_type: Tipo
|
|
10
12
|
questionnaire_question:
|
|
11
13
|
mandatory: Obrigatório
|
|
12
14
|
max_characters: Limite de caracteres (deixe para 0 se não houver limite)
|
|
15
|
+
errors:
|
|
16
|
+
models:
|
|
17
|
+
answer:
|
|
18
|
+
attributes:
|
|
19
|
+
add_documents:
|
|
20
|
+
needs_to_be_reattached: Precisa ser reanexado
|
|
21
|
+
body:
|
|
22
|
+
too_long: é longo demais
|
|
23
|
+
choices:
|
|
24
|
+
missing: não estão completos
|
|
13
25
|
decidim:
|
|
14
26
|
forms:
|
|
15
27
|
admin:
|
|
@@ -23,14 +35,22 @@ pt-BR:
|
|
|
23
35
|
show: Mostrar respostas
|
|
24
36
|
answer_option:
|
|
25
37
|
answer_option: Opção de resposta
|
|
38
|
+
free_text: Texto livre
|
|
26
39
|
remove: Remover
|
|
27
40
|
statement: Declaração
|
|
28
41
|
answers:
|
|
29
42
|
actions:
|
|
43
|
+
back: Voltar para respostas
|
|
44
|
+
export: Exportar
|
|
30
45
|
show: Mostrar respostas
|
|
31
46
|
empty: Ainda não há respostas
|
|
47
|
+
export:
|
|
48
|
+
answer:
|
|
49
|
+
title: 'Resposta #%{number}'
|
|
32
50
|
export_response:
|
|
33
51
|
title: pesquisa_respostas_do_usuário_%{token}
|
|
52
|
+
index:
|
|
53
|
+
title: "%{total} respostas totais"
|
|
34
54
|
show:
|
|
35
55
|
title: 'Resposta #%{number}'
|
|
36
56
|
display_condition:
|
|
@@ -72,20 +92,26 @@ pt-BR:
|
|
|
72
92
|
any: Qualquer
|
|
73
93
|
collapse: Recolher
|
|
74
94
|
description: Descrição
|
|
95
|
+
down: Baixa
|
|
75
96
|
expand: Expandir
|
|
76
97
|
question: Questão
|
|
77
98
|
remove: Remover
|
|
78
99
|
statement: Declaração
|
|
100
|
+
up: Acima
|
|
79
101
|
separator:
|
|
102
|
+
down: Para Baixo
|
|
80
103
|
remove: Remover
|
|
81
104
|
separator: Separador
|
|
105
|
+
up: Para Cima
|
|
82
106
|
title_and_description:
|
|
83
107
|
collapse: Recolher
|
|
84
108
|
description: Descrição
|
|
109
|
+
down: Abaixo
|
|
85
110
|
expand: Expandir
|
|
86
111
|
remove: Excluir
|
|
87
112
|
title: Título
|
|
88
113
|
title_and_description: Título e descrição
|
|
114
|
+
up: Acima
|
|
89
115
|
update:
|
|
90
116
|
invalid: Houve erros ao salvar o questionário.
|
|
91
117
|
success: Formulário salvo com sucesso.
|
|
@@ -107,9 +133,12 @@ pt-BR:
|
|
|
107
133
|
single_option: Opção única
|
|
108
134
|
sorting: Classificação
|
|
109
135
|
title_and_description: Título e descrição
|
|
136
|
+
questionnaire_answer_presenter:
|
|
137
|
+
download_attachment: Baixar anexo
|
|
110
138
|
questionnaires:
|
|
111
139
|
answer:
|
|
112
140
|
invalid: Houve erros ao responder a pesquisa.
|
|
141
|
+
max_choices_alert: Há muitas opções selecionadas
|
|
113
142
|
success: Questionário respondido com sucesso.
|
|
114
143
|
question:
|
|
115
144
|
max_choices: 'Escolhas máximas: %{n}'
|
|
@@ -140,6 +169,12 @@ pt-BR:
|
|
|
140
169
|
submit: Enviar
|
|
141
170
|
user_answers_serializer:
|
|
142
171
|
body: Resposta
|
|
172
|
+
completion: Conclusão
|
|
143
173
|
created_at: Respondido em
|
|
144
174
|
id: ID da resposta
|
|
175
|
+
ip_hash: Hash IP
|
|
145
176
|
question: Questão
|
|
177
|
+
registered: Registrado
|
|
178
|
+
session_token: Identificador de Usuário
|
|
179
|
+
unregistered: Não registrado
|
|
180
|
+
user_status: Status do usuário
|
data/config/locales/pt.yml
CHANGED
|
@@ -4,12 +4,24 @@ pt:
|
|
|
4
4
|
attributes:
|
|
5
5
|
answer:
|
|
6
6
|
body: Responder
|
|
7
|
+
choices: Escolhas
|
|
8
|
+
selected_choices: Escolhas seleccionadas
|
|
7
9
|
question:
|
|
8
10
|
max_choices: Número máximo de escolhas
|
|
9
11
|
question_type: Tipo
|
|
10
12
|
questionnaire_question:
|
|
11
13
|
mandatory: Obrigatório
|
|
12
14
|
max_characters: Limite de caracteres (deixar 0 se não houver limite)
|
|
15
|
+
errors:
|
|
16
|
+
models:
|
|
17
|
+
answer:
|
|
18
|
+
attributes:
|
|
19
|
+
add_documents:
|
|
20
|
+
needs_to_be_reattached: Precisa de ser reanexado
|
|
21
|
+
body:
|
|
22
|
+
too_long: é demasiado longo
|
|
23
|
+
choices:
|
|
24
|
+
missing: não estão completos
|
|
13
25
|
decidim:
|
|
14
26
|
forms:
|
|
15
27
|
admin:
|
|
@@ -23,14 +35,22 @@ pt:
|
|
|
23
35
|
show: Mostrar respostas
|
|
24
36
|
answer_option:
|
|
25
37
|
answer_option: Opção de resposta
|
|
38
|
+
free_text: Texto livre
|
|
26
39
|
remove: Remover
|
|
27
40
|
statement: Declaração
|
|
28
41
|
answers:
|
|
29
42
|
actions:
|
|
43
|
+
back: Retroceder às respostas
|
|
44
|
+
export: Exportar
|
|
30
45
|
show: Mostrar respostas
|
|
31
46
|
empty: Ainda não há respostas
|
|
47
|
+
export:
|
|
48
|
+
answer:
|
|
49
|
+
title: 'Resposta #%{number}'
|
|
32
50
|
export_response:
|
|
33
51
|
title: survey_user_answers_%{token}
|
|
52
|
+
index:
|
|
53
|
+
title: "%{total} respostas totais"
|
|
34
54
|
show:
|
|
35
55
|
title: 'Resposta #%{number}'
|
|
36
56
|
display_condition:
|
|
@@ -72,13 +92,17 @@ pt:
|
|
|
72
92
|
any: Qualquer
|
|
73
93
|
collapse: Colapsar
|
|
74
94
|
description: Descrição
|
|
95
|
+
down: Abaixo
|
|
75
96
|
expand: Expandir
|
|
76
97
|
question: Questão
|
|
77
98
|
remove: Remover
|
|
78
99
|
statement: Declaração
|
|
100
|
+
up: Acima
|
|
79
101
|
separator:
|
|
102
|
+
down: Abaixo
|
|
80
103
|
remove: Remover
|
|
81
104
|
separator: Separador
|
|
105
|
+
up: Acima
|
|
82
106
|
update:
|
|
83
107
|
invalid: Ocorreu um problema ao guardar o questionário.
|
|
84
108
|
success: Formulário guardado com êxito
|
|
@@ -96,6 +120,7 @@ pt:
|
|
|
96
120
|
questionnaires:
|
|
97
121
|
answer:
|
|
98
122
|
invalid: Ocorreu um problema ao responder ao questionário.
|
|
123
|
+
max_choices_alert: Estão selecionadas demasiadas opções
|
|
99
124
|
success: Questionário respondido corretamente.
|
|
100
125
|
question:
|
|
101
126
|
max_choices: 'Escolhas máximas: %{n}'
|
|
@@ -126,6 +151,12 @@ pt:
|
|
|
126
151
|
submit: Submeter
|
|
127
152
|
user_answers_serializer:
|
|
128
153
|
body: Responder
|
|
154
|
+
completion: Conclusão
|
|
129
155
|
created_at: Respondido em
|
|
130
156
|
id: ID da resposta
|
|
157
|
+
ip_hash: IP Hash
|
|
131
158
|
question: Questão
|
|
159
|
+
registered: Registado
|
|
160
|
+
session_token: Identificador do utilizador
|
|
161
|
+
unregistered: Não registado
|
|
162
|
+
user_status: Estado de utilizador
|
data/config/locales/ro-RO.yml
CHANGED
|
@@ -11,28 +11,29 @@ ro:
|
|
|
11
11
|
question_type: Tip
|
|
12
12
|
questionnaire_question:
|
|
13
13
|
mandatory: Obligatoriu
|
|
14
|
-
max_characters: Limita de caractere (lăsați 0 dacă nu este nicio limită)
|
|
14
|
+
max_characters: Limita de caractere (lăsați la 0 dacă nu este nicio limită)
|
|
15
15
|
errors:
|
|
16
16
|
models:
|
|
17
17
|
answer:
|
|
18
18
|
attributes:
|
|
19
|
+
add_documents:
|
|
20
|
+
needs_to_be_reattached: Trebuie să fie reatașate
|
|
19
21
|
body:
|
|
20
22
|
too_long: este prea lung
|
|
21
23
|
choices:
|
|
22
|
-
|
|
23
|
-
questionnaire:
|
|
24
|
-
request_invalid: A apărut o eroare la procesarea cererii. Te rugăm să încerci din nou.
|
|
24
|
+
missing: nu sunt completate
|
|
25
25
|
decidim:
|
|
26
26
|
forms:
|
|
27
27
|
admin:
|
|
28
28
|
models:
|
|
29
29
|
components:
|
|
30
|
+
allow_editing_answers: Permiteți utilizatorilor înregistrați să modifice propriile răspunsuri la sondaj
|
|
30
31
|
description: Descriere
|
|
31
|
-
tos:
|
|
32
|
+
tos: Condiţii de utilizare
|
|
32
33
|
questionnaires:
|
|
33
34
|
actions:
|
|
34
35
|
back: Înapoi la întrebări
|
|
35
|
-
show:
|
|
36
|
+
show: Afișează răspunsurile
|
|
36
37
|
answer_option:
|
|
37
38
|
answer_option: Opțiune de răspuns
|
|
38
39
|
free_text: Text liber
|
|
@@ -41,13 +42,18 @@ ro:
|
|
|
41
42
|
answers:
|
|
42
43
|
actions:
|
|
43
44
|
back: Înapoi la răspunsuri
|
|
44
|
-
export:
|
|
45
|
+
export: Exportă
|
|
45
46
|
next: Următoarea ›
|
|
46
47
|
previous: "‹ Anterioara"
|
|
47
|
-
show:
|
|
48
|
+
show: Afişează răspunsurile
|
|
48
49
|
empty: Niciun răspuns încă
|
|
50
|
+
export:
|
|
51
|
+
answer:
|
|
52
|
+
title: 'Răspuns #%{number}'
|
|
49
53
|
export_response:
|
|
50
54
|
title: survey_user_answers_%{token}
|
|
55
|
+
index:
|
|
56
|
+
title: "%{total} răspunsuri în total"
|
|
51
57
|
show:
|
|
52
58
|
title: 'Răspuns #%{number}'
|
|
53
59
|
display_condition:
|
|
@@ -56,7 +62,7 @@ ro:
|
|
|
56
62
|
condition_type: Condiție
|
|
57
63
|
condition_types:
|
|
58
64
|
answered: Răspunse
|
|
59
|
-
equal: Egal
|
|
65
|
+
equal: Egal cu
|
|
60
66
|
match: Include textul
|
|
61
67
|
not_answered: Fără răspuns
|
|
62
68
|
not_equal: Nu este egal cu
|
|
@@ -70,16 +76,16 @@ ro:
|
|
|
70
76
|
select_condition_type: Selectați un tip de condiție
|
|
71
77
|
edit:
|
|
72
78
|
save: Salvează
|
|
73
|
-
title:
|
|
79
|
+
title: Editare chestionar
|
|
74
80
|
form:
|
|
75
81
|
add_question: Adaugă întrebare
|
|
76
|
-
collapse:
|
|
82
|
+
collapse: Restrânge toate întrebările
|
|
77
83
|
expand: Extinde toate întrebările
|
|
78
84
|
preview: Previzualizează
|
|
79
|
-
title:
|
|
85
|
+
title: Actualizați chestionarul pentru %{questionnaire_for}
|
|
80
86
|
matrix_row:
|
|
81
87
|
matrix_row: Rând
|
|
82
|
-
remove:
|
|
88
|
+
remove: Elimină
|
|
83
89
|
statement: Declarație
|
|
84
90
|
question:
|
|
85
91
|
add_answer_option: Adaugă opțiune de răspuns
|
|
@@ -89,26 +95,35 @@ ro:
|
|
|
89
95
|
any: Oricare
|
|
90
96
|
collapse: Restrângeți
|
|
91
97
|
description: Descriere
|
|
98
|
+
down: Mergi în jos
|
|
92
99
|
expand: Extindeți
|
|
93
100
|
question: Întrebare
|
|
94
101
|
remove: Eliminați
|
|
95
102
|
statement: Declarație
|
|
103
|
+
up: Mergi în sus
|
|
96
104
|
separator:
|
|
105
|
+
down: Mergi în jos
|
|
97
106
|
remove: Elimină
|
|
98
107
|
separator: Separator
|
|
108
|
+
up: Mergi în sus
|
|
99
109
|
title_and_description:
|
|
100
|
-
collapse:
|
|
110
|
+
collapse: Restrânge
|
|
101
111
|
description: Descriere
|
|
102
|
-
|
|
112
|
+
down: Mergi în jos
|
|
113
|
+
expand: Extinde
|
|
103
114
|
remove: Șterge
|
|
104
115
|
title: Titlu
|
|
105
116
|
title_and_description: Titlu și descriere
|
|
117
|
+
up: Mergi în sus
|
|
106
118
|
update:
|
|
107
119
|
invalid: A apărut o eroare la salvarea chestionarului.
|
|
108
120
|
success: Chestionarul a fost salvat cu succes.
|
|
109
121
|
admin_log:
|
|
110
122
|
questionnaire:
|
|
111
123
|
update: "%{user_name} a actualizat chestionarul %{resource_name}"
|
|
124
|
+
errors:
|
|
125
|
+
answer:
|
|
126
|
+
body: Conținutul nu poate fi gol
|
|
112
127
|
images:
|
|
113
128
|
dimensions: "%{width} x %{height} px"
|
|
114
129
|
processors:
|
|
@@ -124,21 +139,30 @@ ro:
|
|
|
124
139
|
single_option: Opțiune unică
|
|
125
140
|
sorting: Sortare
|
|
126
141
|
title_and_description: Titlu și descriere
|
|
142
|
+
questionnaire_answer_presenter:
|
|
143
|
+
download_attachment: Descărcare atașament
|
|
127
144
|
questionnaires:
|
|
128
145
|
answer:
|
|
129
146
|
invalid: A apărut o problemă la completarea chestionarului.
|
|
147
|
+
max_choices_alert: Există prea multe alegeri selectate
|
|
130
148
|
success: Chestionarul a fost completat cu succes.
|
|
131
149
|
question:
|
|
132
150
|
max_choices: 'Număr maxim de alegeri: %{n}'
|
|
133
151
|
show:
|
|
134
152
|
answer_questionnaire:
|
|
135
|
-
|
|
153
|
+
already_have_an_account?: Ai deja un cont?
|
|
154
|
+
are_you_new?: Utilizator nou?
|
|
155
|
+
sign_up_description: Creați un cont de participant pentru a participa la sondaj
|
|
156
|
+
title: Completează chestionarul
|
|
136
157
|
current_step: Pasul %{step}
|
|
137
158
|
empty: Nicio întrebare configurată pentru acest formular încă.
|
|
138
159
|
of_total_steps: din %{total_steps}
|
|
139
160
|
questionnaire_answered:
|
|
140
161
|
body: Ai completat deja la acest chestionar.
|
|
141
162
|
title: Un răspuns a fost deja trimis
|
|
163
|
+
questionnaire_answered_edit:
|
|
164
|
+
body: Ați răspuns deja la acest sondaj. %{link}
|
|
165
|
+
edit: Modificați răspunsurile
|
|
142
166
|
questionnaire_closed:
|
|
143
167
|
body: Chestionarul este închis și nu mai poate fi completat.
|
|
144
168
|
title: Formular închis
|
|
@@ -153,12 +177,21 @@ ro:
|
|
|
153
177
|
tos_agreement: Prin participare accepți Termenii și condițiile sale de utilizare
|
|
154
178
|
step_navigation:
|
|
155
179
|
show:
|
|
156
|
-
|
|
180
|
+
are_you_sure_edit: Veți putea să modificați răspunsurile. Sunteți sigur?
|
|
181
|
+
are_you_sure_edit_guest: Dacă doriți să modificați răspunsurile după ce veți răspunde, atunci trebuie să vă autentificați sau să creați un cont.
|
|
182
|
+
are_you_sure_no_edit: Această acțiune nu poate fi anulată și nu veți putea să vă modificați răspunsurile. Sunteți sigur?
|
|
157
183
|
back: Înapoi
|
|
158
184
|
continue: Continuă
|
|
185
|
+
disallowed: Nu aveți permisiunea să vă modificați răspunsurile.
|
|
159
186
|
submit: Trimite
|
|
160
187
|
user_answers_serializer:
|
|
161
188
|
body: Răspuns
|
|
189
|
+
completion: Finalizare
|
|
162
190
|
created_at: Răspuns completat la
|
|
163
191
|
id: ID răspuns
|
|
192
|
+
ip_hash: IP Hash
|
|
164
193
|
question: Întrebare
|
|
194
|
+
registered: Înregistrat
|
|
195
|
+
session_token: Identificator utilizator
|
|
196
|
+
unregistered: Neînregistrat
|
|
197
|
+
user_status: Stadiul utilizatorului
|
data/config/locales/ru.yml
CHANGED
|
@@ -10,6 +10,7 @@ ru:
|
|
|
10
10
|
questionnaires:
|
|
11
11
|
answer_option:
|
|
12
12
|
answer_option: Вариант ответа
|
|
13
|
+
free_text: Произвольный текст
|
|
13
14
|
remove: Удалить
|
|
14
15
|
edit:
|
|
15
16
|
save: Сохранить
|
|
@@ -20,8 +21,10 @@ ru:
|
|
|
20
21
|
question:
|
|
21
22
|
add_answer_option: Добавить вариант ответа
|
|
22
23
|
any: Любые
|
|
24
|
+
down: Вниз
|
|
23
25
|
question: Вопрос
|
|
24
26
|
remove: Удалить
|
|
27
|
+
up: Вверх
|
|
25
28
|
update:
|
|
26
29
|
invalid: При попытке сохранить форму произошли ошибки.
|
|
27
30
|
question_types:
|
|
@@ -40,5 +43,3 @@ ru:
|
|
|
40
43
|
step_navigation:
|
|
41
44
|
show:
|
|
42
45
|
submit: Отправить
|
|
43
|
-
user_answers_serializer:
|
|
44
|
-
question: Вопрос
|