decidim-surveys 0.10.1 → 0.11.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/app/assets/config/decidim_surveys_manifest.js +1 -0
- data/app/assets/javascripts/decidim/surveys/admin/auto_buttons_by_min_items.component.js.es6 +25 -0
- data/app/assets/javascripts/decidim/surveys/admin/auto_select_options_by_total_items.component.js.es6 +23 -0
- data/app/assets/javascripts/decidim/surveys/admin/surveys.js.es6 +146 -43
- data/app/assets/javascripts/decidim/surveys/autosortable_checkboxes.component.js.es6 +65 -0
- data/app/assets/javascripts/decidim/surveys/option_attached_inputs.component.js.es6 +32 -0
- data/app/assets/javascripts/decidim/surveys/surveys.js.es6 +20 -0
- data/app/assets/stylesheets/decidim/surveys/surveys.scss +20 -3
- data/app/commands/decidim/surveys/admin/update_survey.rb +36 -15
- data/app/commands/decidim/surveys/answer_survey.rb +12 -1
- data/app/commands/decidim/surveys/create_survey.rb +5 -5
- data/app/controllers/decidim/surveys/admin/application_controller.rb +2 -2
- data/app/controllers/decidim/surveys/admin/surveys_controller.rb +3 -3
- data/app/controllers/decidim/surveys/application_controller.rb +2 -2
- data/app/controllers/decidim/surveys/surveys_controller.rb +1 -1
- data/app/forms/decidim/surveys/admin/survey_answer_option_form.rb +23 -0
- data/app/forms/decidim/surveys/admin/survey_form.rb +7 -1
- data/app/forms/decidim/surveys/admin/survey_question_form.rb +12 -2
- data/app/forms/decidim/surveys/survey_answer_choice_form.rb +15 -0
- data/app/forms/decidim/surveys/survey_answer_form.rb +40 -6
- data/app/forms/decidim/surveys/survey_form.rb +1 -1
- data/app/helpers/decidim/surveys/admin/application_helper.rb +3 -19
- data/app/jobs/decidim/surveys/settings_change_job.rb +4 -4
- data/app/models/decidim/surveys/abilities/current_user_ability.rb +8 -8
- data/app/models/decidim/surveys/abilities/participatory_process_admin_ability.rb +1 -1
- data/app/models/decidim/surveys/survey.rb +2 -2
- data/app/models/decidim/surveys/survey_answer.rb +9 -1
- data/app/models/decidim/surveys/survey_answer_choice.rb +15 -0
- data/app/models/decidim/surveys/survey_answer_option.rb +9 -0
- data/app/models/decidim/surveys/survey_question.rb +21 -5
- data/app/views/decidim/surveys/admin/surveys/_answer_option.html.erb +28 -11
- data/app/views/decidim/surveys/admin/surveys/_form.html.erb +18 -14
- data/app/views/decidim/surveys/admin/surveys/_question.html.erb +74 -31
- data/app/views/decidim/surveys/admin/surveys/edit.html.erb +1 -1
- data/app/views/decidim/surveys/surveys/_answer.html.erb +94 -0
- data/app/views/decidim/surveys/surveys/show.html.erb +15 -42
- data/config/locales/ca.yml +33 -13
- data/config/locales/en.yml +33 -13
- data/config/locales/es.yml +33 -13
- data/config/locales/eu.yml +33 -13
- data/config/locales/fi.yml +33 -13
- data/config/locales/fr.yml +33 -13
- data/config/locales/gl.yml +33 -13
- data/config/locales/it.yml +33 -13
- data/config/locales/nl.yml +36 -16
- data/config/locales/pl.yml +33 -13
- data/config/locales/pt-BR.yml +33 -13
- data/config/locales/pt.yml +33 -13
- data/config/locales/ru.yml +0 -6
- data/config/locales/sv.yml +33 -13
- data/config/locales/uk.yml +0 -6
- data/db/migrate/20180305133837_rename_features_to_components_at_surveys.rb +11 -0
- data/db/migrate/20180314225829_add_max_choices_to_survey_questions.rb +7 -0
- data/db/migrate/20180321141024_add_description_to_decidim_survey_questions.rb +7 -0
- data/db/migrate/20180405014929_add_choices_to_decidim_survey_answers.rb +48 -0
- data/db/migrate/20180405015012_create_decidim_survey_answer_options.rb +43 -0
- data/db/migrate/20180405015147_create_decidim_survey_answer_choices.rb +61 -0
- data/db/migrate/20180405015258_add_free_text_to_survey_answer_options.rb +7 -0
- data/db/migrate/20180405015314_add_custom_body_to_survey_answer_choices.rb +7 -0
- data/db/migrate/20180406201818_add_position_to_decidim_survey_answer_choices.rb +7 -0
- data/lib/decidim/surveys.rb +1 -1
- data/lib/decidim/surveys/admin_engine.rb +0 -2
- data/lib/decidim/surveys/{feature.rb → component.rb} +38 -26
- data/lib/decidim/surveys/engine.rb +5 -1
- data/lib/decidim/surveys/test/factories.rb +22 -6
- data/lib/decidim/surveys/version.rb +1 -1
- metadata +33 -30
- data/app/assets/javascripts/decidim/surveys/admin/auto_label_by_position.component.js.es6 +0 -33
- data/app/assets/javascripts/decidim/surveys/admin/dynamic_fields.component.js.es6 +0 -95
- data/app/forms/decidim/surveys/admin/survey_question_answer_option_form.rb +0 -15
data/config/locales/gl.yml
CHANGED
@@ -5,8 +5,27 @@ gl:
|
|
5
5
|
body: Resposta
|
6
6
|
survey_question:
|
7
7
|
mandatory: Obrigatorio
|
8
|
+
max_choices: Número máximo de opcións
|
8
9
|
question_type: Tipo
|
10
|
+
errors:
|
11
|
+
models:
|
12
|
+
survey_answer:
|
13
|
+
attributes:
|
14
|
+
choices:
|
15
|
+
missing: non están completos
|
16
|
+
too_many: son demasiados
|
9
17
|
decidim:
|
18
|
+
components:
|
19
|
+
surveys:
|
20
|
+
actions:
|
21
|
+
answer: Resposta
|
22
|
+
name: Enquisa
|
23
|
+
settings:
|
24
|
+
global:
|
25
|
+
announcement: Anuncio
|
26
|
+
step:
|
27
|
+
allow_answers: Permitir respostas
|
28
|
+
announcement: Anuncio
|
10
29
|
events:
|
11
30
|
surveys:
|
12
31
|
survey_closed:
|
@@ -19,17 +38,10 @@ gl:
|
|
19
38
|
email_outro: Recibiches esta notificación porque estás seguindo %{participatory_space_title}. Podes deixar de recibir notificacións seguindo a ligazón anterior.
|
20
39
|
email_subject: Unha nova enquisa en %{participatory_space_title}
|
21
40
|
notification_title: A enquisa <a href="%{resource_path}">%{resource_title}</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a> está agora aberta.
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
name: Enquisa
|
27
|
-
settings:
|
28
|
-
global:
|
29
|
-
announcement: Anuncio
|
30
|
-
step:
|
31
|
-
allow_answers: Permitir respostas
|
32
|
-
announcement: Anuncio
|
41
|
+
forms:
|
42
|
+
errors:
|
43
|
+
survey_answer:
|
44
|
+
body: O corpo non pode estar en branco
|
33
45
|
surveys:
|
34
46
|
admin:
|
35
47
|
exports:
|
@@ -41,7 +53,8 @@ gl:
|
|
41
53
|
surveys:
|
42
54
|
answer_option:
|
43
55
|
answer_option: Opción de resposta
|
44
|
-
|
56
|
+
free_text: Texto libre
|
57
|
+
remove: Quitar
|
45
58
|
statement: Declaración
|
46
59
|
edit:
|
47
60
|
save: Gardar
|
@@ -51,9 +64,13 @@ gl:
|
|
51
64
|
already_answered_warning: Algunha xente xa respondeu a enquisa para que non poida modificar as súas preguntas.
|
52
65
|
question:
|
53
66
|
add_answer_option: Engadir unha opción de resposta
|
67
|
+
any: Calquera
|
68
|
+
description: Descrición
|
69
|
+
down: Baixo
|
54
70
|
question: Pregunta
|
55
|
-
|
71
|
+
remove: Quitar
|
56
72
|
statement: Declaración
|
73
|
+
up: Arriba
|
57
74
|
update:
|
58
75
|
invalid: Houbo erros ao gardar a enquisa.
|
59
76
|
success: A enquisa gardouse correctamente.
|
@@ -62,10 +79,13 @@ gl:
|
|
62
79
|
multiple_option: Múltipla opción
|
63
80
|
short_answer: Resposta curta
|
64
81
|
single_option: Opción única
|
82
|
+
sorting: Clasificación
|
65
83
|
surveys:
|
66
84
|
answer:
|
67
85
|
invalid: Houbo erros ao responder a enquisa.
|
68
86
|
success: A enquisa respondeu con éxito.
|
87
|
+
question:
|
88
|
+
max_choices: 'Opcións máximas: %{n}'
|
69
89
|
show:
|
70
90
|
answer_survey:
|
71
91
|
anonymous_user_message: <a href="%{sign_in_link}">Inicia sesión coa túa conta</a> ou <a href="%{sign_up_link}">insigne</a> para responder á enquisa.
|
data/config/locales/it.yml
CHANGED
@@ -5,8 +5,27 @@ it:
|
|
5
5
|
body: Risposta
|
6
6
|
survey_question:
|
7
7
|
mandatory: Obbligatorio
|
8
|
+
max_choices: Numero massimo di scelte
|
8
9
|
question_type: Tipo
|
10
|
+
errors:
|
11
|
+
models:
|
12
|
+
survey_answer:
|
13
|
+
attributes:
|
14
|
+
choices:
|
15
|
+
missing: non sono completi
|
16
|
+
too_many: sono troppi
|
9
17
|
decidim:
|
18
|
+
components:
|
19
|
+
surveys:
|
20
|
+
actions:
|
21
|
+
answer: Risposta
|
22
|
+
name: Sondaggio
|
23
|
+
settings:
|
24
|
+
global:
|
25
|
+
announcement: Annuncio
|
26
|
+
step:
|
27
|
+
allow_answers: Consenti risposte
|
28
|
+
announcement: Annuncio
|
10
29
|
events:
|
11
30
|
surveys:
|
12
31
|
survey_closed:
|
@@ -19,17 +38,10 @@ it:
|
|
19
38
|
email_outro: Hai ricevuto questa notifica perché stai seguendo %{participatory_space_title}. È possibile interrompere la ricezione di notifiche seguendo il collegamento precedente.
|
20
39
|
email_subject: Una nuova indagine su %{participatory_space_title}
|
21
40
|
notification_title: Il sondaggio <a href="%{resource_path}">%{resource_title}</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a> è ora aperto.
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
name: Sondaggio
|
27
|
-
settings:
|
28
|
-
global:
|
29
|
-
announcement: Annuncio
|
30
|
-
step:
|
31
|
-
allow_answers: Consenti risposte
|
32
|
-
announcement: Annuncio
|
41
|
+
forms:
|
42
|
+
errors:
|
43
|
+
survey_answer:
|
44
|
+
body: Il corpo non può essere vuoto
|
33
45
|
surveys:
|
34
46
|
admin:
|
35
47
|
exports:
|
@@ -41,7 +53,8 @@ it:
|
|
41
53
|
surveys:
|
42
54
|
answer_option:
|
43
55
|
answer_option: Opzione di risposta
|
44
|
-
|
56
|
+
free_text: Testo libero
|
57
|
+
remove: Rimuovere
|
45
58
|
statement: Dichiarazione
|
46
59
|
edit:
|
47
60
|
save: Salva
|
@@ -51,9 +64,13 @@ it:
|
|
51
64
|
already_answered_warning: Dato che alcuni utenti hanno già risposto al questionario, non è più possibile modificare le domande.
|
52
65
|
question:
|
53
66
|
add_answer_option: Aggiungre opzione di risposta
|
67
|
+
any: Qualunque
|
68
|
+
description: Descrizione
|
69
|
+
down: Giù
|
54
70
|
question: Domanda
|
55
|
-
|
71
|
+
remove: Rimuovere
|
56
72
|
statement: Dichiarazione
|
73
|
+
up: Su
|
57
74
|
update:
|
58
75
|
invalid: Ci sono stati degli errori durante il salvataggio dell'indagine.
|
59
76
|
success: Il questionario è stato salvato correttamente.
|
@@ -62,10 +79,13 @@ it:
|
|
62
79
|
multiple_option: Opzione multipla
|
63
80
|
short_answer: Risposta breve
|
64
81
|
single_option: Opzione unica
|
82
|
+
sorting: Ordinamento
|
65
83
|
surveys:
|
66
84
|
answer:
|
67
85
|
invalid: Ci sono stati degli errori durante il salvataggio dell'indagine.
|
68
86
|
success: Il questionario è stato salvato correttamente.
|
87
|
+
question:
|
88
|
+
max_choices: 'Scelte massime: %{n}'
|
69
89
|
show:
|
70
90
|
answer_survey:
|
71
91
|
anonymous_user_message: <a href="%{sign_in_link}">Entra con il tuo account</a> or <a href="%{sign_up_link}">Registrati</a> per poter commentare.
|
data/config/locales/nl.yml
CHANGED
@@ -5,24 +5,20 @@ nl:
|
|
5
5
|
body: Antwoord
|
6
6
|
survey_question:
|
7
7
|
mandatory: Verplicht
|
8
|
+
max_choices: Maximum aantal keuzes
|
8
9
|
question_type: Type
|
10
|
+
errors:
|
11
|
+
models:
|
12
|
+
survey_answer:
|
13
|
+
attributes:
|
14
|
+
choices:
|
15
|
+
missing: zijn niet compleet
|
16
|
+
too_many: zijn te veel
|
9
17
|
decidim:
|
10
|
-
|
11
|
-
surveys:
|
12
|
-
survey_closed:
|
13
|
-
email_intro: De enquête %{resource_title} in %{participatory_space_title} is gesloten.
|
14
|
-
email_outro: Je hebt deze melding ontvangen omdat je %{participatory_space_title}volgt. Je kunt stoppen met het ontvangen van meldingen na de vorige link.
|
15
|
-
email_subject: Een enquête is voltooid in %{participatory_space_title}
|
16
|
-
notification_title: De enquête <a href="%{resource_path}">%{resource_title}</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a> is voltooid.
|
17
|
-
survey_opened:
|
18
|
-
email_intro: 'De enquête %{resource_title} in %{participatory_space_title} is nu geopend. U kunt vanaf deze pagina deelnemen:'
|
19
|
-
email_outro: Je hebt deze melding ontvangen omdat je %{participatory_space_title}volgt. Je kunt stoppen met het ontvangen van meldingen na de vorige link.
|
20
|
-
email_subject: Een nieuwe enquête in %{participatory_space_title}
|
21
|
-
notification_title: De enquête <a href="%{resource_path}">%{resource_title}</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a> is nu geopend.
|
22
|
-
features:
|
18
|
+
components:
|
23
19
|
surveys:
|
24
20
|
actions:
|
25
|
-
answer:
|
21
|
+
answer: Antwoorden
|
26
22
|
name: Enquête
|
27
23
|
settings:
|
28
24
|
global:
|
@@ -30,6 +26,22 @@ nl:
|
|
30
26
|
step:
|
31
27
|
allow_answers: Antwoorden toestaan
|
32
28
|
announcement: Aankondiging
|
29
|
+
events:
|
30
|
+
surveys:
|
31
|
+
survey_closed:
|
32
|
+
email_intro: De enquête %{resource_title} in %{participatory_space_title} is gesloten.
|
33
|
+
email_outro: Je hebt deze melding ontvangen omdat je %{participatory_space_title}volgt. Je kan de notificaties uitschakelen door de voorgaande link te volgen.
|
34
|
+
email_subject: Een enquête is voltooid in %{participatory_space_title}
|
35
|
+
notification_title: De enquête <a href="%{resource_path}">%{resource_title}</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a> is voltooid.
|
36
|
+
survey_opened:
|
37
|
+
email_intro: 'De enquête %{resource_title} in %{participatory_space_title} is nu gestart. Je kan deelnemen op deze pagina:'
|
38
|
+
email_outro: Je hebt deze melding ontvangen omdat je %{participatory_space_title}volgt. Je kan de notificaties uitschakelen door de voorgaande link te volgen.
|
39
|
+
email_subject: Een nieuwe enquête in %{participatory_space_title}
|
40
|
+
notification_title: De enquête <a href="%{resource_path}">%{resource_title}</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a> is nu geopend.
|
41
|
+
forms:
|
42
|
+
errors:
|
43
|
+
survey_answer:
|
44
|
+
body: Mag niet leeg zijn
|
33
45
|
surveys:
|
34
46
|
admin:
|
35
47
|
exports:
|
@@ -41,7 +53,8 @@ nl:
|
|
41
53
|
surveys:
|
42
54
|
answer_option:
|
43
55
|
answer_option: Antwoord optie
|
44
|
-
|
56
|
+
free_text: Vrije tekst
|
57
|
+
remove: Verwijderen
|
45
58
|
statement: Stelling
|
46
59
|
edit:
|
47
60
|
save: Opslaan
|
@@ -51,9 +64,13 @@ nl:
|
|
51
64
|
already_answered_warning: Het onderzoek is al door sommige gebruikers beantwoord, hierdoor kunt u de vragen niet meer bewerken.
|
52
65
|
question:
|
53
66
|
add_answer_option: Voeg antwoord optie toe
|
67
|
+
any: Elk
|
68
|
+
description: Omschrijving
|
69
|
+
down: Omlaag
|
54
70
|
question: Vraag
|
55
|
-
|
71
|
+
remove: Verwijder
|
56
72
|
statement: Stelling
|
73
|
+
up: Omhoog
|
57
74
|
update:
|
58
75
|
invalid: Er zijn fouten geweest bij het opslaan van de enquête.
|
59
76
|
success: Enquête succesvol opgeslagen.
|
@@ -62,10 +79,13 @@ nl:
|
|
62
79
|
multiple_option: Meerdere opties
|
63
80
|
short_answer: Kort antwoord
|
64
81
|
single_option: Enkelvoudige optie
|
82
|
+
sorting: Sorteren
|
65
83
|
surveys:
|
66
84
|
answer:
|
67
85
|
invalid: Er zijn fouten opgetreden bij het opslaan van de pagina.
|
68
86
|
success: Enquête met succes beantwoord.
|
87
|
+
question:
|
88
|
+
max_choices: 'Max. aantal keuzes: %{n}'
|
69
89
|
show:
|
70
90
|
answer_survey:
|
71
91
|
anonymous_user_message: <a href="%{sign_in_link}">Meld u aan met uw account</a> of <a href="%{sign_up_link}">schrijf u in</a> om uw reactie toe te voegen.
|
data/config/locales/pl.yml
CHANGED
@@ -5,8 +5,27 @@ pl:
|
|
5
5
|
body: Odpowiedź
|
6
6
|
survey_question:
|
7
7
|
mandatory: Obowiązkowy
|
8
|
+
max_choices: Maksymalna liczba opcji
|
8
9
|
question_type: Rodzaj
|
10
|
+
errors:
|
11
|
+
models:
|
12
|
+
survey_answer:
|
13
|
+
attributes:
|
14
|
+
choices:
|
15
|
+
missing: nie są kompletne
|
16
|
+
too_many: jest zbyt wiele
|
9
17
|
decidim:
|
18
|
+
components:
|
19
|
+
surveys:
|
20
|
+
actions:
|
21
|
+
answer: Odpowiedź
|
22
|
+
name: Ankieta
|
23
|
+
settings:
|
24
|
+
global:
|
25
|
+
announcement: Ogłoszenie
|
26
|
+
step:
|
27
|
+
allow_answers: Pozwól odpowiedzi
|
28
|
+
announcement: Ogłoszenie
|
10
29
|
events:
|
11
30
|
surveys:
|
12
31
|
survey_closed:
|
@@ -19,17 +38,10 @@ pl:
|
|
19
38
|
email_outro: Otrzymałeś to powiadomienie, ponieważ obserwujesz %{participatory_space_title}. Możesz przestać otrzymywać powiadomienia po poprzednim linku.
|
20
39
|
email_subject: Nowa ankieta w %{participatory_space_title}
|
21
40
|
notification_title: Ankieta <a href="%{resource_path}">%{resource_title}</a> w <a href="%{participatory_space_url}">%{participatory_space_title}</a> jest teraz otwarta.
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
name: Ankieta
|
27
|
-
settings:
|
28
|
-
global:
|
29
|
-
announcement: Ogłoszenie
|
30
|
-
step:
|
31
|
-
allow_answers: Pozwól odpowiedzi
|
32
|
-
announcement: Ogłoszenie
|
41
|
+
forms:
|
42
|
+
errors:
|
43
|
+
survey_answer:
|
44
|
+
body: Treść nie może być pusta
|
33
45
|
surveys:
|
34
46
|
admin:
|
35
47
|
exports:
|
@@ -41,7 +53,8 @@ pl:
|
|
41
53
|
surveys:
|
42
54
|
answer_option:
|
43
55
|
answer_option: Odpowiedź
|
44
|
-
|
56
|
+
free_text: Dowolny tekst
|
57
|
+
remove: Usunąć
|
45
58
|
statement: Komunikat
|
46
59
|
edit:
|
47
60
|
save: Zapisać
|
@@ -51,9 +64,13 @@ pl:
|
|
51
64
|
already_answered_warning: Ankieta jest już udzielana przez niektórych użytkowników, więc nie można modyfikować jej pytań.
|
52
65
|
question:
|
53
66
|
add_answer_option: Dodaj odpowiedź
|
67
|
+
any: Każdy
|
68
|
+
description: Opis
|
69
|
+
down: Na dół
|
54
70
|
question: Pytanie
|
55
|
-
|
71
|
+
remove: Usunąć
|
56
72
|
statement: Komunikat
|
73
|
+
up: W górę
|
57
74
|
update:
|
58
75
|
invalid: Podczas zapisywania ankiety wystąpiły błędy.
|
59
76
|
success: Ankieta została zapisana pomyślnie.
|
@@ -62,10 +79,13 @@ pl:
|
|
62
79
|
multiple_option: Wiele opcji
|
63
80
|
short_answer: Krótka odpowiedź
|
64
81
|
single_option: Pojedyncza opcja
|
82
|
+
sorting: Sortowanie
|
65
83
|
surveys:
|
66
84
|
answer:
|
67
85
|
invalid: Podczas odpowiadania na ankiet pojawiły się błędy.
|
68
86
|
success: Ankieta odpowiedziała skutecznie.
|
87
|
+
question:
|
88
|
+
max_choices: 'Maksymalne opcje: %{n}'
|
69
89
|
show:
|
70
90
|
answer_survey:
|
71
91
|
anonymous_user_message: <a href="%{sign_in_link}">Zaloguj się na swoje konto</a> lub <a href="%{sign_up_link}">zarejestruj się</a>, aby odpowiedzieć na ankietę.
|
data/config/locales/pt-BR.yml
CHANGED
@@ -5,8 +5,27 @@ pt-BR:
|
|
5
5
|
body: Resposta
|
6
6
|
survey_question:
|
7
7
|
mandatory: Obrigatório
|
8
|
+
max_choices: Número máximo de escolhas
|
8
9
|
question_type: Tipo
|
10
|
+
errors:
|
11
|
+
models:
|
12
|
+
survey_answer:
|
13
|
+
attributes:
|
14
|
+
choices:
|
15
|
+
missing: não estão completos
|
16
|
+
too_many: são muitos
|
9
17
|
decidim:
|
18
|
+
components:
|
19
|
+
surveys:
|
20
|
+
actions:
|
21
|
+
answer: Responda
|
22
|
+
name: Pesquisa
|
23
|
+
settings:
|
24
|
+
global:
|
25
|
+
announcement: Anúncio
|
26
|
+
step:
|
27
|
+
allow_answers: Permitir respostas
|
28
|
+
announcement: Anúncio
|
10
29
|
events:
|
11
30
|
surveys:
|
12
31
|
survey_closed:
|
@@ -19,17 +38,10 @@ pt-BR:
|
|
19
38
|
email_outro: Você recebeu esta notificação porque está seguindo %{participatory_space_title}. Você pode parar de receber notificações após o link anterior.
|
20
39
|
email_subject: Uma nova pesquisa em %{participatory_space_title}
|
21
40
|
notification_title: A pesquisa <a href="%{resource_path}">%{resource_title}</a> em <a href="%{participatory_space_url}">%{participatory_space_title}</a> está agora aberta.
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
name: Pesquisa
|
27
|
-
settings:
|
28
|
-
global:
|
29
|
-
announcement: Anúncio
|
30
|
-
step:
|
31
|
-
allow_answers: Permitir respostas
|
32
|
-
announcement: Anúncio
|
41
|
+
forms:
|
42
|
+
errors:
|
43
|
+
survey_answer:
|
44
|
+
body: O corpo não pode ficar em branco
|
33
45
|
surveys:
|
34
46
|
admin:
|
35
47
|
exports:
|
@@ -41,7 +53,8 @@ pt-BR:
|
|
41
53
|
surveys:
|
42
54
|
answer_option:
|
43
55
|
answer_option: Opção de resposta
|
44
|
-
|
56
|
+
free_text: Texto livre
|
57
|
+
remove: Remover
|
45
58
|
statement: Declaração
|
46
59
|
edit:
|
47
60
|
save: Salve
|
@@ -51,9 +64,13 @@ pt-BR:
|
|
51
64
|
already_answered_warning: A pesquisa já foi respondida por alguns usuários para que você não possa modificar suas perguntas.
|
52
65
|
question:
|
53
66
|
add_answer_option: Adicionar opção de resposta
|
67
|
+
any: Qualquer
|
68
|
+
description: Descrição
|
69
|
+
down: Baixa
|
54
70
|
question: Questão
|
55
|
-
|
71
|
+
remove: Remover
|
56
72
|
statement: Declaração
|
73
|
+
up: Acima
|
57
74
|
update:
|
58
75
|
invalid: Houve erros ao salvar a pesquisa.
|
59
76
|
success: Pesquisa salva com sucesso.
|
@@ -62,10 +79,13 @@ pt-BR:
|
|
62
79
|
multiple_option: Opção múltipla
|
63
80
|
short_answer: Resposta curta
|
64
81
|
single_option: Opção única
|
82
|
+
sorting: Classificação
|
65
83
|
surveys:
|
66
84
|
answer:
|
67
85
|
invalid: Houve erros ao responder a pesquisa.
|
68
86
|
success: Pesquisa respondida com sucesso.
|
87
|
+
question:
|
88
|
+
max_choices: 'Escolhas máximas: %{n}'
|
69
89
|
show:
|
70
90
|
answer_survey:
|
71
91
|
anonymous_user_message: <a href="%{sign_in_link}">Inscreva-se com sua conta</a> ou <a href="%{sign_up_link}">sign up</a> para responder a pesquisa.
|
data/config/locales/pt.yml
CHANGED
@@ -5,8 +5,27 @@ pt:
|
|
5
5
|
body: Resposta
|
6
6
|
survey_question:
|
7
7
|
mandatory: Obrigatório
|
8
|
+
max_choices: Número máximo de escolhas
|
8
9
|
question_type: Tipo
|
10
|
+
errors:
|
11
|
+
models:
|
12
|
+
survey_answer:
|
13
|
+
attributes:
|
14
|
+
choices:
|
15
|
+
missing: não estão completos
|
16
|
+
too_many: são muitos
|
9
17
|
decidim:
|
18
|
+
components:
|
19
|
+
surveys:
|
20
|
+
actions:
|
21
|
+
answer: Responda
|
22
|
+
name: Pesquisa
|
23
|
+
settings:
|
24
|
+
global:
|
25
|
+
announcement: Anúncio
|
26
|
+
step:
|
27
|
+
allow_answers: Permitir respostas
|
28
|
+
announcement: Anúncio
|
10
29
|
events:
|
11
30
|
surveys:
|
12
31
|
survey_closed:
|
@@ -19,17 +38,10 @@ pt:
|
|
19
38
|
email_outro: Você recebeu esta notificação porque está seguindo %{participatory_space_title}. Você pode parar de receber notificações após o link anterior.
|
20
39
|
email_subject: Uma nova pesquisa em %{participatory_space_title}
|
21
40
|
notification_title: A pesquisa <a href="%{resource_path}">%{resource_title}</a> em <a href="%{participatory_space_url}">%{participatory_space_title}</a> está agora aberta.
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
name: Pesquisa
|
27
|
-
settings:
|
28
|
-
global:
|
29
|
-
announcement: Anúncio
|
30
|
-
step:
|
31
|
-
allow_answers: Permitir respostas
|
32
|
-
announcement: Anúncio
|
41
|
+
forms:
|
42
|
+
errors:
|
43
|
+
survey_answer:
|
44
|
+
body: O corpo não pode ficar em branco
|
33
45
|
surveys:
|
34
46
|
admin:
|
35
47
|
exports:
|
@@ -41,7 +53,8 @@ pt:
|
|
41
53
|
surveys:
|
42
54
|
answer_option:
|
43
55
|
answer_option: Opção de resposta
|
44
|
-
|
56
|
+
free_text: Texto livre
|
57
|
+
remove: Remover
|
45
58
|
statement: Declaração
|
46
59
|
edit:
|
47
60
|
save: Salve
|
@@ -51,9 +64,13 @@ pt:
|
|
51
64
|
already_answered_warning: A pesquisa já foi respondida por alguns usuários para que você não possa modificar suas perguntas.
|
52
65
|
question:
|
53
66
|
add_answer_option: Adicionar opção de resposta
|
67
|
+
any: Qualquer
|
68
|
+
description: Descrição
|
69
|
+
down: Baixa
|
54
70
|
question: Questão
|
55
|
-
|
71
|
+
remove: Remover
|
56
72
|
statement: Declaração
|
73
|
+
up: Acima
|
57
74
|
update:
|
58
75
|
invalid: Houve erros ao salvar a pesquisa.
|
59
76
|
success: Pesquisa salva com sucesso.
|
@@ -62,10 +79,13 @@ pt:
|
|
62
79
|
multiple_option: Opção múltipla
|
63
80
|
short_answer: Resposta curta
|
64
81
|
single_option: Opção única
|
82
|
+
sorting: Classificação
|
65
83
|
surveys:
|
66
84
|
answer:
|
67
85
|
invalid: Houve erros ao responder a pesquisa.
|
68
86
|
success: Pesquisa respondida com sucesso.
|
87
|
+
question:
|
88
|
+
max_choices: 'Escolhas máximas: %{n}'
|
69
89
|
show:
|
70
90
|
answer_survey:
|
71
91
|
anonymous_user_message: <a href="%{sign_in_link}">Inscreva-se com sua conta</a> ou <a href="%{sign_up_link}">sign up</a> para responder a pesquisa.
|