decidim-forms 0.29.3 → 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 +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/ar.yml +16 -1
- data/config/locales/bg.yml +36 -2
- data/config/locales/ca.yml +53 -13
- data/config/locales/cs.yml +59 -8
- data/config/locales/de.yml +52 -12
- data/config/locales/el.yml +35 -2
- data/config/locales/en.yml +45 -5
- data/config/locales/es-MX.yml +55 -15
- data/config/locales/es-PY.yml +55 -15
- data/config/locales/es.yml +54 -14
- data/config/locales/eu.yml +51 -11
- data/config/locales/fi-plain.yml +50 -10
- data/config/locales/fi.yml +50 -10
- data/config/locales/fr-CA.yml +45 -13
- data/config/locales/fr.yml +45 -13
- data/config/locales/ga-IE.yml +5 -0
- data/config/locales/gl.yml +7 -1
- data/config/locales/hu.yml +10 -1
- data/config/locales/id-ID.yml +7 -1
- data/config/locales/it.yml +27 -3
- data/config/locales/ja.yml +7 -12
- data/config/locales/lb.yml +28 -1
- data/config/locales/lt.yml +35 -2
- data/config/locales/lv.yml +11 -1
- data/config/locales/nl.yml +23 -0
- data/config/locales/no.yml +27 -0
- data/config/locales/pl.yml +37 -2
- data/config/locales/pt-BR.yml +29 -0
- data/config/locales/pt.yml +27 -0
- data/config/locales/ro-RO.yml +44 -17
- data/config/locales/ru.yml +1 -2
- data/config/locales/sk.yml +10 -1
- data/config/locales/sl.yml +7 -0
- data/config/locales/sv.yml +37 -0
- data/config/locales/tr-TR.yml +23 -0
- data/config/locales/zh-CN.yml +23 -0
- data/config/locales/zh-TW.yml +35 -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 -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 -198
- data/lib/decidim/exporters/form_pdf_controller_helper.rb +0 -13
data/config/locales/lt.yml
CHANGED
@@ -4,6 +4,8 @@ lt:
|
|
4
4
|
attributes:
|
5
5
|
answer:
|
6
6
|
body: Atsakymas
|
7
|
+
choices: Pasirinkimai
|
8
|
+
selected_choices: Pasirinkti pasirinkimai
|
7
9
|
question:
|
8
10
|
max_choices: Maksimalus pasirinkimų skaičius
|
9
11
|
question_type: Tipas
|
@@ -12,8 +14,14 @@ lt:
|
|
12
14
|
max_characters: Simbolių limitas (palikti 0 jei limito nėra)
|
13
15
|
errors:
|
14
16
|
models:
|
15
|
-
|
16
|
-
|
17
|
+
answer:
|
18
|
+
attributes:
|
19
|
+
add_documents:
|
20
|
+
needs_to_be_reattached: Reikia pridėti iš naujo
|
21
|
+
body:
|
22
|
+
too_long: per ilgas
|
23
|
+
choices:
|
24
|
+
missing: nepilnas - trūksta elementų
|
17
25
|
decidim:
|
18
26
|
forms:
|
19
27
|
admin:
|
@@ -27,14 +35,24 @@ lt:
|
|
27
35
|
show: Rodyti atsakymus
|
28
36
|
answer_option:
|
29
37
|
answer_option: Atsakymo variantas
|
38
|
+
free_text: Laisva forma
|
30
39
|
remove: Pašalinti
|
31
40
|
statement: Pareiškimas
|
32
41
|
answers:
|
33
42
|
actions:
|
43
|
+
back: Grįžti į atsakymus
|
44
|
+
export: Eksportuoti
|
45
|
+
next: Kitas ›
|
46
|
+
previous: "‹ Ankst."
|
34
47
|
show: Rodyti atsakymus
|
35
48
|
empty: Atsakymų dar nėra
|
49
|
+
export:
|
50
|
+
answer:
|
51
|
+
title: 'Atsakymas #%{number}'
|
36
52
|
export_response:
|
37
53
|
title: apklausa_naudotoju_atsakymai_%{token}
|
54
|
+
index:
|
55
|
+
title: "%{total} iš viso atsakymų"
|
38
56
|
show:
|
39
57
|
title: 'Atsakymas #%{number}'
|
40
58
|
display_condition:
|
@@ -102,6 +120,9 @@ lt:
|
|
102
120
|
admin_log:
|
103
121
|
questionnaire:
|
104
122
|
update: "%{user_name} atnaujino %{resource_name} klausimyną"
|
123
|
+
errors:
|
124
|
+
answer:
|
125
|
+
body: Pagrindinė dalis negali būti tuščia
|
105
126
|
images:
|
106
127
|
dimensions: "%{width} x %{height} px"
|
107
128
|
processors:
|
@@ -117,14 +138,20 @@ lt:
|
|
117
138
|
single_option: Vienas variantas
|
118
139
|
sorting: Rūšiavimas
|
119
140
|
title_and_description: Pavadinimas ir aprašymas
|
141
|
+
questionnaire_answer_presenter:
|
142
|
+
download_attachment: Parsisiųsti priedą
|
120
143
|
questionnaires:
|
121
144
|
answer:
|
122
145
|
invalid: Atsakant į šią formą iškilo problema.
|
146
|
+
max_choices_alert: Per daug pasirinktų variantų
|
123
147
|
success: Į formos klausimus atsakyta.
|
124
148
|
question:
|
125
149
|
max_choices: 'Didžiausias pasirinkčių skaičius: %{n}'
|
126
150
|
show:
|
127
151
|
answer_questionnaire:
|
152
|
+
already_have_an_account?: Jau turite paskyrą?
|
153
|
+
are_you_new?: Naujas naudotojas?
|
154
|
+
sign_up_description: Norėdami dalyvauti apklausoje, susikurkite dalyvio paskyrą
|
128
155
|
title: Atsakyti į formos klausimus
|
129
156
|
current_step: Žingsnis %{step}
|
130
157
|
of_total_steps: iš%{total_steps}
|
@@ -150,6 +177,12 @@ lt:
|
|
150
177
|
submit: Pateikti
|
151
178
|
user_answers_serializer:
|
152
179
|
body: Atsakymas
|
180
|
+
completion: Užbaigimas
|
153
181
|
created_at: Atsakyta
|
154
182
|
id: Atsakymo ID
|
183
|
+
ip_hash: IP adreso "hash" kodas
|
155
184
|
question: Klausimas
|
185
|
+
registered: Užregistruota
|
186
|
+
session_token: Naudotojo identifikatorius
|
187
|
+
unregistered: Neregistruoti
|
188
|
+
user_status: Naudotojo būsena
|
data/config/locales/lv.yml
CHANGED
@@ -9,6 +9,12 @@ lv:
|
|
9
9
|
question_type: Veids
|
10
10
|
questionnaire_question:
|
11
11
|
mandatory: Obligāti
|
12
|
+
errors:
|
13
|
+
models:
|
14
|
+
answer:
|
15
|
+
attributes:
|
16
|
+
choices:
|
17
|
+
missing: nav pabeigti
|
12
18
|
decidim:
|
13
19
|
forms:
|
14
20
|
admin:
|
@@ -19,6 +25,7 @@ lv:
|
|
19
25
|
questionnaires:
|
20
26
|
answer_option:
|
21
27
|
answer_option: Atbildes iespēja
|
28
|
+
free_text: Brīva vieta tekstam
|
22
29
|
remove: Noņemt
|
23
30
|
statement: Paziņojums
|
24
31
|
edit:
|
@@ -64,6 +71,7 @@ lv:
|
|
64
71
|
questionnaires:
|
65
72
|
answer:
|
66
73
|
invalid: Atbildot uz veidlapas jautājumiem, radās problēma.
|
74
|
+
max_choices_alert: Ir izvēlēti pārāk daudzi varianti
|
67
75
|
success: Uz veidlapas jautājumiem ir veiksmīgi atbildēts.
|
68
76
|
question:
|
69
77
|
max_choices: 'Maksimālais izvēļu skaits: %{n}'
|
@@ -90,4 +98,6 @@ lv:
|
|
90
98
|
user_answers_serializer:
|
91
99
|
created_at: Atbildēts
|
92
100
|
id: Atbildes ID
|
93
|
-
|
101
|
+
registered: Reģistrēts
|
102
|
+
unregistered: Nereģistrēts
|
103
|
+
user_status: Lietotāja statuss
|
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:
|
@@ -107,6 +123,7 @@ nl:
|
|
107
123
|
questionnaires:
|
108
124
|
answer:
|
109
125
|
invalid: Er zijn fouten opgetreden bij het beantwoorden van de vragenlijst.
|
126
|
+
max_choices_alert: Er zijn te veel keuzes geselecteerd
|
110
127
|
success: Vragenlijst met succes beantwoord.
|
111
128
|
question:
|
112
129
|
max_choices: 'Max. Keuzes: %{n}'
|
@@ -137,6 +154,12 @@ nl:
|
|
137
154
|
submit: Verzenden
|
138
155
|
user_answers_serializer:
|
139
156
|
body: Beantwoorden
|
157
|
+
completion: Voltooiing
|
140
158
|
created_at: Beantwoord
|
141
159
|
id: Antwoord ID
|
160
|
+
ip_hash: IP Hash
|
142
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:
|
@@ -110,6 +130,7 @@
|
|
110
130
|
questionnaires:
|
111
131
|
answer:
|
112
132
|
invalid: Det oppstod et problem med å svare på skjemaet.
|
133
|
+
max_choices_alert: For mange valg er merket
|
113
134
|
success: Skjema ble besvart.
|
114
135
|
question:
|
115
136
|
max_choices: 'Maksimum valg: %{n}'
|
@@ -140,6 +161,12 @@
|
|
140
161
|
submit: Send inn
|
141
162
|
user_answers_serializer:
|
142
163
|
body: Svar
|
164
|
+
completion: Fullføring
|
143
165
|
created_at: Besvart på
|
144
166
|
id: Svar ID
|
167
|
+
ip_hash: IP Hash
|
145
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:
|
@@ -102,6 +121,9 @@ pl:
|
|
102
121
|
admin_log:
|
103
122
|
questionnaire:
|
104
123
|
update: "%{user_name} zaktualizował(a) kwestionariusz %{resource_name}"
|
124
|
+
errors:
|
125
|
+
answer:
|
126
|
+
body: Treść nie może być pusta
|
105
127
|
images:
|
106
128
|
dimensions: "%{width} × %{height} px"
|
107
129
|
processors:
|
@@ -117,14 +139,21 @@ pl:
|
|
117
139
|
single_option: Jedna opcja
|
118
140
|
sorting: Sortowanie
|
119
141
|
title_and_description: Tytuł i opis
|
142
|
+
questionnaire_answer_presenter:
|
143
|
+
download_attachment: Pobierz załącznik
|
120
144
|
questionnaires:
|
121
145
|
answer:
|
122
146
|
invalid: Podczas wypełniania formularza wystąpiły błędy.
|
147
|
+
max_choices_alert: Wybrano zbyt wiele opcji
|
123
148
|
success: Wypełniono formularz.
|
124
149
|
question:
|
125
150
|
max_choices: 'Maksymalny wybór opcji: %{n}'
|
126
151
|
show:
|
127
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
|
128
157
|
title: Wypełnij formularz
|
129
158
|
current_step: Krok %{step}
|
130
159
|
empty: Nie skonfigurowano jeszcze żadnych pytań dla tego formularza.
|
@@ -151,6 +180,12 @@ pl:
|
|
151
180
|
submit: Zatwierdź
|
152
181
|
user_answers_serializer:
|
153
182
|
body: Odpowiedź
|
183
|
+
completion: Ukończenie
|
154
184
|
created_at: Odpowiedziałem
|
155
185
|
id: ID odpowiedzi
|
186
|
+
ip_hash: Hash IP
|
156
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:
|
@@ -113,9 +133,12 @@ pt-BR:
|
|
113
133
|
single_option: Opção única
|
114
134
|
sorting: Classificação
|
115
135
|
title_and_description: Título e descrição
|
136
|
+
questionnaire_answer_presenter:
|
137
|
+
download_attachment: Baixar anexo
|
116
138
|
questionnaires:
|
117
139
|
answer:
|
118
140
|
invalid: Houve erros ao responder a pesquisa.
|
141
|
+
max_choices_alert: Há muitas opções selecionadas
|
119
142
|
success: Questionário respondido com sucesso.
|
120
143
|
question:
|
121
144
|
max_choices: 'Escolhas máximas: %{n}'
|
@@ -146,6 +169,12 @@ pt-BR:
|
|
146
169
|
submit: Enviar
|
147
170
|
user_answers_serializer:
|
148
171
|
body: Resposta
|
172
|
+
completion: Conclusão
|
149
173
|
created_at: Respondido em
|
150
174
|
id: ID da resposta
|
175
|
+
ip_hash: Hash IP
|
151
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:
|
@@ -100,6 +120,7 @@ pt:
|
|
100
120
|
questionnaires:
|
101
121
|
answer:
|
102
122
|
invalid: Ocorreu um problema ao responder ao questionário.
|
123
|
+
max_choices_alert: Estão selecionadas demasiadas opções
|
103
124
|
success: Questionário respondido corretamente.
|
104
125
|
question:
|
105
126
|
max_choices: 'Escolhas máximas: %{n}'
|
@@ -130,6 +151,12 @@ pt:
|
|
130
151
|
submit: Submeter
|
131
152
|
user_answers_serializer:
|
132
153
|
body: Responder
|
154
|
+
completion: Conclusão
|
133
155
|
created_at: Respondido em
|
134
156
|
id: ID da resposta
|
157
|
+
ip_hash: IP Hash
|
135
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
|
@@ -101,10 +107,10 @@ ro:
|
|
101
107
|
separator: Separator
|
102
108
|
up: Mergi în sus
|
103
109
|
title_and_description:
|
104
|
-
collapse:
|
110
|
+
collapse: Restrânge
|
105
111
|
description: Descriere
|
106
112
|
down: Mergi în jos
|
107
|
-
expand:
|
113
|
+
expand: Extinde
|
108
114
|
remove: Șterge
|
109
115
|
title: Titlu
|
110
116
|
title_and_description: Titlu și descriere
|
@@ -115,6 +121,9 @@ ro:
|
|
115
121
|
admin_log:
|
116
122
|
questionnaire:
|
117
123
|
update: "%{user_name} a actualizat chestionarul %{resource_name}"
|
124
|
+
errors:
|
125
|
+
answer:
|
126
|
+
body: Conținutul nu poate fi gol
|
118
127
|
images:
|
119
128
|
dimensions: "%{width} x %{height} px"
|
120
129
|
processors:
|
@@ -130,21 +139,30 @@ ro:
|
|
130
139
|
single_option: Opțiune unică
|
131
140
|
sorting: Sortare
|
132
141
|
title_and_description: Titlu și descriere
|
142
|
+
questionnaire_answer_presenter:
|
143
|
+
download_attachment: Descărcare atașament
|
133
144
|
questionnaires:
|
134
145
|
answer:
|
135
146
|
invalid: A apărut o problemă la completarea chestionarului.
|
147
|
+
max_choices_alert: Există prea multe alegeri selectate
|
136
148
|
success: Chestionarul a fost completat cu succes.
|
137
149
|
question:
|
138
150
|
max_choices: 'Număr maxim de alegeri: %{n}'
|
139
151
|
show:
|
140
152
|
answer_questionnaire:
|
141
|
-
|
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
|
142
157
|
current_step: Pasul %{step}
|
143
158
|
empty: Nicio întrebare configurată pentru acest formular încă.
|
144
159
|
of_total_steps: din %{total_steps}
|
145
160
|
questionnaire_answered:
|
146
161
|
body: Ai completat deja la acest chestionar.
|
147
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
|
148
166
|
questionnaire_closed:
|
149
167
|
body: Chestionarul este închis și nu mai poate fi completat.
|
150
168
|
title: Formular închis
|
@@ -159,12 +177,21 @@ ro:
|
|
159
177
|
tos_agreement: Prin participare accepți Termenii și condițiile sale de utilizare
|
160
178
|
step_navigation:
|
161
179
|
show:
|
162
|
-
|
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?
|
163
183
|
back: Înapoi
|
164
184
|
continue: Continuă
|
185
|
+
disallowed: Nu aveți permisiunea să vă modificați răspunsurile.
|
165
186
|
submit: Trimite
|
166
187
|
user_answers_serializer:
|
167
188
|
body: Răspuns
|
189
|
+
completion: Finalizare
|
168
190
|
created_at: Răspuns completat la
|
169
191
|
id: ID răspuns
|
192
|
+
ip_hash: IP Hash
|
170
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: Сохранить
|
@@ -42,5 +43,3 @@ ru:
|
|
42
43
|
step_navigation:
|
43
44
|
show:
|
44
45
|
submit: Отправить
|
45
|
-
user_answers_serializer:
|
46
|
-
question: Вопрос
|