decidim-surveys 0.29.1 → 0.30.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/surveys/survey_card_metadata_cell.rb +43 -0
- data/app/cells/decidim/surveys/survey_cell.rb +26 -0
- data/app/cells/decidim/surveys/survey_l_cell.rb +34 -0
- data/app/cells/decidim/surveys/survey_s_cell.rb +21 -0
- data/app/commands/decidim/surveys/admin/create_survey.rb +21 -0
- data/app/commands/decidim/surveys/admin/publish_survey.rb +58 -0
- data/app/commands/decidim/surveys/admin/unpublish_survey.rb +44 -0
- data/app/commands/decidim/surveys/admin/update_survey.rb +62 -0
- data/app/commands/decidim/surveys/publish_answers.rb +55 -0
- data/app/commands/decidim/surveys/unpublish_answers.rb +55 -0
- data/app/controllers/concerns/decidim/surveys/admin/filterable.rb +23 -0
- data/app/controllers/decidim/surveys/admin/answers_controller.rb +73 -0
- data/app/controllers/decidim/surveys/admin/publish_answers_controller.rb +66 -0
- data/app/controllers/decidim/surveys/admin/surveys_controller.rb +99 -11
- data/app/controllers/decidim/surveys/surveys_controller.rb +50 -5
- data/app/forms/decidim/surveys/admin/survey_form.rb +18 -0
- data/app/helpers/decidim/surveys/application_helper.rb +34 -0
- data/app/helpers/decidim/surveys/publish_answers_helper.rb +104 -0
- data/app/helpers/decidim/surveys/survey_helper.rb +4 -0
- data/app/models/decidim/surveys/survey.rb +67 -12
- data/app/permissions/decidim/surveys/admin/permissions.rb +10 -1
- data/app/permissions/decidim/surveys/permissions.rb +0 -2
- data/app/presenters/decidim/surveys/admin_log/survey_presenter.rb +34 -0
- data/app/queries/decidim/surveys/metrics/answers_metric_manage.rb +3 -3
- data/app/queries/decidim/surveys/metrics/survey_participants_metric_measure.rb +2 -2
- data/app/views/decidim/surveys/admin/answers/index.html.erb +49 -0
- data/app/views/decidim/surveys/admin/answers/show.html.erb +43 -0
- data/app/views/decidim/surveys/admin/publish_answers/_toggle_button.html.erb +22 -0
- data/app/views/decidim/surveys/admin/publish_answers/index.html.erb +44 -0
- data/app/views/decidim/surveys/admin/surveys/_form.html.erb +28 -0
- data/app/views/decidim/surveys/admin/surveys/edit.html.erb +4 -21
- data/app/views/decidim/surveys/admin/surveys/edit_questions.html.erb +47 -0
- data/app/views/decidim/surveys/admin/surveys/index.html.erb +51 -0
- data/app/views/decidim/surveys/surveys/_published_questions_answers.html.erb +13 -0
- data/app/views/decidim/surveys/surveys/_surveys.html.erb +13 -0
- data/app/views/decidim/surveys/surveys/index.html.erb +27 -0
- data/app/views/decidim/surveys/surveys/index.js.erb +4 -0
- data/app/views/decidim/surveys/surveys/not_allowed.html.erb +22 -0
- data/config/locales/ar.yml +4 -3
- data/config/locales/bg.yml +0 -14
- data/config/locales/bn-BD.yml +1 -0
- data/config/locales/bs-BA.yml +1 -0
- data/config/locales/ca.yml +83 -14
- data/config/locales/cs.yml +87 -14
- data/config/locales/de.yml +83 -14
- data/config/locales/el.yml +0 -11
- data/config/locales/en.yml +83 -14
- data/config/locales/es-MX.yml +83 -14
- data/config/locales/es-PY.yml +83 -14
- data/config/locales/es.yml +83 -14
- data/config/locales/eu.yml +85 -16
- data/config/locales/fi-plain.yml +83 -14
- data/config/locales/fi.yml +83 -14
- data/config/locales/fr-CA.yml +74 -14
- data/config/locales/fr.yml +74 -14
- data/config/locales/ga-IE.yml +0 -4
- data/config/locales/gl.yml +0 -10
- data/config/locales/hu.yml +0 -3
- data/config/locales/id-ID.yml +0 -2
- data/config/locales/is-IS.yml +0 -2
- data/config/locales/it.yml +3 -10
- data/config/locales/ja.yml +80 -13
- data/config/locales/lb.yml +0 -10
- data/config/locales/lt.yml +0 -11
- data/config/locales/lv.yml +0 -3
- data/config/locales/nl.yml +0 -10
- data/config/locales/no.yml +0 -10
- data/config/locales/pl.yml +0 -14
- data/config/locales/pt-BR.yml +0 -14
- data/config/locales/pt.yml +0 -10
- data/config/locales/ro-RO.yml +0 -11
- data/config/locales/ru.yml +0 -2
- data/config/locales/sk.yml +0 -3
- data/config/locales/sv.yml +0 -14
- data/config/locales/tr-TR.yml +0 -10
- data/config/locales/uk.yml +0 -2
- data/config/locales/zh-CN.yml +0 -6
- data/config/locales/zh-TW.yml +0 -11
- data/db/migrate/20240828103030_add_deleted_at_to_decidim_surveys_surveys.rb +8 -0
- data/db/migrate/20240925124312_add_settings_to_decidim_surveys_surveys.rb +42 -0
- data/db/migrate/20250115193836_add_allow_survey_editing.rb +7 -0
- data/decidim-surveys.gemspec +2 -2
- data/lib/decidim/api/survey_type.rb +11 -2
- data/lib/decidim/api/surveys_type.rb +5 -8
- data/lib/decidim/surveys/admin_engine.rb +15 -5
- data/lib/decidim/surveys/component.rb +7 -24
- data/lib/decidim/surveys/engine.rb +2 -2
- data/lib/decidim/surveys/seeds.rb +115 -10
- data/lib/decidim/surveys/test/factories.rb +24 -0
- data/lib/decidim/surveys/version.rb +1 -1
- metadata +51 -19
- data/app/commands/decidim/surveys/create_survey.rb +0 -19
- data/app/views/decidim/surveys/admin/component/_actions.html.erb +0 -44
data/config/locales/cs.yml
CHANGED
@@ -17,25 +17,20 @@ cs:
|
|
17
17
|
many: Odpovědi
|
18
18
|
other: Odpovědi
|
19
19
|
decidim:
|
20
|
+
admin:
|
21
|
+
admin_log:
|
22
|
+
changeset:
|
23
|
+
surveys: průzkumy
|
20
24
|
components:
|
21
25
|
surveys:
|
22
26
|
actions:
|
23
27
|
answer: Odpovědět
|
24
|
-
name:
|
28
|
+
name: Průzkumy
|
25
29
|
settings:
|
30
|
+
announcement: Oznámení
|
26
31
|
global:
|
27
32
|
announcement: Oznámení
|
28
|
-
clean_after_publish: Odstranit odpovědi při publikování ankety
|
29
|
-
ends_at: Odpověď přijata do
|
30
|
-
ends_at_help: Ponechte prázdné pro žádné konkrétní datum
|
31
|
-
scope_id: Oblast působnosti
|
32
|
-
scopes_enabled: Oblasti působnosti povoleny
|
33
|
-
starts_at: Odpovědi přijaté od
|
34
|
-
starts_at_help: Ponechte prázdné pro žádné konkrétní datum
|
35
33
|
step:
|
36
|
-
allow_answers: Povolte odpovědi
|
37
|
-
allow_unregistered: Umožnit neregistrovaným uživatelům odpovědět na průzkum
|
38
|
-
allow_unregistered_help: Pokud je aktivní, nebude nutné se přihlásit k odpovědi na dotazník. To může vést ke špatným nebo nespolehlivým údajům a bude to zranitelnější vůči automatickým útokům. Používejte s opatrností! Mějte na paměti, že účastník může odpovědět na stejný průzkum několikrát, použitím různých prohlížečů nebo funkce "soukromého prohlížení" svého webového prohlížeče.
|
39
34
|
announcement: Oznámení
|
40
35
|
events:
|
41
36
|
surveys:
|
@@ -57,18 +52,80 @@ cs:
|
|
57
52
|
statistics:
|
58
53
|
answers_count: Odpovědi
|
59
54
|
surveys:
|
55
|
+
actions:
|
56
|
+
answers_alert: Odstranění odpovědí při zveřejnění je pro tento průzkum aktivní. V současné době existuje %{answers_count} odpovědí, které budou zničeny, pokud budete pokračovat.
|
57
|
+
confirm_destroy: Opravdu to chcete smazat?
|
58
|
+
destroy: Zničit
|
59
|
+
edit: Upravit
|
60
|
+
manage_questions: Spravovat otázky
|
61
|
+
new_survey: Nový průzkum
|
62
|
+
preview: Náhled
|
63
|
+
title: Akce
|
60
64
|
admin:
|
61
|
-
|
62
|
-
|
63
|
-
|
65
|
+
answers:
|
66
|
+
index:
|
67
|
+
title: "%{total} odpovědí celkem"
|
68
|
+
show:
|
69
|
+
title: 'Odpověď č.%{number}'
|
64
70
|
exports:
|
65
71
|
survey_user_answers: Odpovědi účastníka na průzkum
|
72
|
+
publish_answers:
|
73
|
+
index:
|
74
|
+
answers:
|
75
|
+
one: "%{count} odpověď"
|
76
|
+
few: "%{count} odpovědi"
|
77
|
+
many: "%{count} odpovědí"
|
78
|
+
other: "%{count} odpovědí"
|
79
|
+
description: |-
|
80
|
+
Zveřejněním odpovědí na otázky je veřejnosti zviditelníte.
|
81
|
+
Můžete vybrat odpovědi, které chcete publikovat, kliknutím na zaškrtávací políčko vedle každé otázky.
|
82
|
+
Můžete publikovat pouze následující typy úloh: "Jedna možnost", "Vícenásobná možnost", "Matice (jedna možnost)", "Matice (více možností)" a "Řazení".
|
83
|
+
status:
|
84
|
+
not_published: Nezveřejněno
|
85
|
+
published: Zveřejněno
|
86
|
+
title: Zveřejnit odpovědi
|
66
87
|
surveys:
|
88
|
+
create:
|
89
|
+
invalid: Při vytváření ankety došlo k chybě.
|
90
|
+
success: Anketa byla úspěšně vytvořena.
|
91
|
+
destroy:
|
92
|
+
success: Anketa byla úspěšně odstraněna.
|
93
|
+
edit:
|
94
|
+
title: Upravit anketu
|
95
|
+
index:
|
96
|
+
title: Ankety
|
97
|
+
publish:
|
98
|
+
invalid: Při publikování této ankety došlo k chybě.
|
99
|
+
success: Anketa byla úspěšně publikována.
|
100
|
+
unpublish:
|
101
|
+
invalid: Při rušení publikování této ankety došlo k chybě.
|
102
|
+
success: Anketa byla úspěšně zneveřejněna.
|
67
103
|
update:
|
68
104
|
invalid: Při ukládání průzkumu došlo k chybám.
|
69
105
|
success: Průzkum byl úspěšně uložen.
|
106
|
+
admin_log:
|
107
|
+
survey:
|
108
|
+
create: "%{user_name} vytvořil anketu %{resource_name} na místě %{space_name} jako anketu"
|
109
|
+
delete: "%{user_name} odstranil anketu %{resource_name} v místnosti %{space_name} jako anketu"
|
110
|
+
publish: "%{user_name} publikoval anketu %{resource_name} v prostoru %{space_name}"
|
111
|
+
unpublish: "%{user_name} zrušil publikaci ankety %{resource_name} v prostoru %{space_name}"
|
112
|
+
update: "%{user_name} aktualizoval anketu %{resource_name} v prostoru %{space_name}"
|
113
|
+
directory:
|
114
|
+
surveys:
|
115
|
+
index:
|
116
|
+
surveys: Ankety
|
70
117
|
last_activity:
|
71
118
|
new_survey: 'Nový průzkum:'
|
119
|
+
models:
|
120
|
+
survey:
|
121
|
+
fields:
|
122
|
+
answers: Odpovědi
|
123
|
+
questions: Otázky
|
124
|
+
status: Status
|
125
|
+
title: Název
|
126
|
+
status:
|
127
|
+
closed: Uzavřeno
|
128
|
+
open: Otevřeno
|
72
129
|
survey_confirmation_mailer:
|
73
130
|
confirmation:
|
74
131
|
body: Úspěšně jste odpověděli na anketu %{questionnaire_title} v rámci %{participatory_space}
|
@@ -79,3 +136,19 @@ cs:
|
|
79
136
|
invalid: Při odpovědi na průzkum došlo k chybám.
|
80
137
|
spam_detected: Vyskytl se problém s odpovědí na formulář. Možná jste byl příliš rychlý, můžete to zkusit znovu?
|
81
138
|
success: Průzkum úspěšně odpověděl.
|
139
|
+
count:
|
140
|
+
surveys_count:
|
141
|
+
one: "%{count} anketa"
|
142
|
+
few: "%{count} ankety"
|
143
|
+
many: "%{count} anket"
|
144
|
+
other: "%{count} anket"
|
145
|
+
filters:
|
146
|
+
all: Vše
|
147
|
+
state_values:
|
148
|
+
closed: Uzavřeno
|
149
|
+
open: Otevřeno
|
150
|
+
no_surveys_warning: Žádné ankety neodpovídají zadaným kritériím nebo není žádná anketa otevřena.
|
151
|
+
show:
|
152
|
+
closed: Uzavřeno
|
153
|
+
open: Otevřeno
|
154
|
+
questions: otázky
|
data/config/locales/de.yml
CHANGED
@@ -13,25 +13,20 @@ de:
|
|
13
13
|
one: Antworten
|
14
14
|
other: Antworten
|
15
15
|
decidim:
|
16
|
+
admin:
|
17
|
+
admin_log:
|
18
|
+
changeset:
|
19
|
+
surveys: Umfragen
|
16
20
|
components:
|
17
21
|
surveys:
|
18
22
|
actions:
|
19
23
|
answer: Antworten
|
20
|
-
name:
|
24
|
+
name: Umfragen
|
21
25
|
settings:
|
26
|
+
announcement: Ankündigung
|
22
27
|
global:
|
23
28
|
announcement: Ankündigung
|
24
|
-
clean_after_publish: Antworten bei Veröffentlichung des Fragebogens löschen
|
25
|
-
ends_at: Antworten akzeptiert bis
|
26
|
-
ends_at_help: Leer lassen für kein bestimmtes Datum
|
27
|
-
scope_id: Bereich
|
28
|
-
scopes_enabled: Bereiche aktiviert
|
29
|
-
starts_at: Antworten akzeptiert von
|
30
|
-
starts_at_help: Leer lassen für kein bestimmtes Datum
|
31
29
|
step:
|
32
|
-
allow_answers: Erlaube Antworten
|
33
|
-
allow_unregistered: Nicht registrierten Benutzern die Beantwortung des Fragebogens erlauben
|
34
|
-
allow_unregistered_help: Wenn aktiviert, ist keine Anmeldung erforderlich, um die Umfrage zu beantworten. Dies kann zu schlechten oder unzuverlässigen Daten führen und ist anfälliger für automatisierte Angriffe. Verwenden Sie diese Funktion mit Vorsicht! Beachten Sie, dass ein Teilnehmer die gleiche Umfrage mehrfach beantworten kann, indem er verschiedene Browser oder die "Private Browsing"-Funktion ihres Web-Browsers nutzt.
|
35
30
|
announcement: Ankündigung
|
36
31
|
events:
|
37
32
|
surveys:
|
@@ -53,18 +48,78 @@ de:
|
|
53
48
|
statistics:
|
54
49
|
answers_count: Antworten
|
55
50
|
surveys:
|
51
|
+
actions:
|
52
|
+
answers_alert: Das Löschen von Antworten bei der Veröffentlichung ist für diese Umfrage aktiv. Derzeit gibt es %{answers_count} Antworten, die gelöscht werden, wenn Sie fortfahren.
|
53
|
+
confirm_destroy: Möchten Sie fortfahren und die Antworten löschen?
|
54
|
+
destroy: Löschen
|
55
|
+
edit: Bearbeiten
|
56
|
+
manage_questions: Fragen verwalten
|
57
|
+
new_survey: Neue Umfrage
|
58
|
+
preview: Vorschau
|
59
|
+
title: Aktionen
|
56
60
|
admin:
|
57
|
-
|
58
|
-
|
59
|
-
|
61
|
+
answers:
|
62
|
+
index:
|
63
|
+
title: "%{total} Antworten insgesamt"
|
64
|
+
show:
|
65
|
+
title: 'Antwort #%{number}'
|
60
66
|
exports:
|
61
67
|
survey_user_answers: Umfrage Benutzer Antworten
|
68
|
+
publish_answers:
|
69
|
+
index:
|
70
|
+
answers:
|
71
|
+
one: "%{count} Antwort"
|
72
|
+
other: "%{count} Antworten"
|
73
|
+
description: |-
|
74
|
+
Indem Sie die Antworten der Fragen veröffentlichen, machen Sie sie für die Öffentlichkeit sichtbar.
|
75
|
+
Sie können die zu veröffentlichenden Antworten auswählen, indem Sie auf das Kontrollkästchen neben jeweiligen Frage klicken.
|
76
|
+
Sie können nur folgende Fragentypen veröffentlichen: "Einzelne Option", "Mehrfachoption", "Matrix (Einzelne Option)", "Matrix (Mehrfachoption)" und "Sortierung".
|
77
|
+
status:
|
78
|
+
not_published: Nicht veröffentlicht
|
79
|
+
published: Veröffentlicht
|
80
|
+
title: Antworten veröffentlichen
|
62
81
|
surveys:
|
82
|
+
create:
|
83
|
+
invalid: Beim Erstellen der Umfrage ist ein Problem aufgetreten.
|
84
|
+
success: Umfrage erfolgreich erstellt.
|
85
|
+
destroy:
|
86
|
+
success: Umfrage erfolgreich gelöscht.
|
87
|
+
edit:
|
88
|
+
title: Umfrage bearbeiten
|
89
|
+
index:
|
90
|
+
title: Umfragen
|
91
|
+
publish:
|
92
|
+
invalid: Beim Veröffentlichen dieser Umfrage ist ein Problem aufgetreten.
|
93
|
+
success: Umfrage erfolgreich veröffentlicht.
|
94
|
+
unpublish:
|
95
|
+
invalid: Beim Aufheben der Veröffentlichung dieser Umfrage ist ein Fehler aufgetreten.
|
96
|
+
success: Veröffentlichung der Umfrage erfolgreich aufgehoben.
|
63
97
|
update:
|
64
98
|
invalid: Beim Speichern der Umfrage sind Fehler aufgetreten.
|
65
99
|
success: Umfrage wurde erfolgreich gespeichert.
|
100
|
+
admin_log:
|
101
|
+
survey:
|
102
|
+
create: "%{user_name} hat das Umfrage %{resource_name} in %{space_name} erstellt"
|
103
|
+
delete: "%{user_name} hat das Umfrage %{resource_name} in %{space_name} gelöscht"
|
104
|
+
publish: "%{user_name} hat die Umfrage %{resource_name} im Bereichs %{space_name} veröffentlicht"
|
105
|
+
unpublish: "%{user_name} hat die Umfrage %{resource_name} im Bereich %{space_name} zurückgezogen"
|
106
|
+
update: "%{user_name} hat die Umfrage %{resource_name} im Bereich %{space_name} aktualisiert"
|
107
|
+
directory:
|
108
|
+
surveys:
|
109
|
+
index:
|
110
|
+
surveys: Umfragen
|
66
111
|
last_activity:
|
67
112
|
new_survey: 'Neue Umfrage:'
|
113
|
+
models:
|
114
|
+
survey:
|
115
|
+
fields:
|
116
|
+
answers: Antworten
|
117
|
+
questions: Fragen
|
118
|
+
status: Status
|
119
|
+
title: Titel
|
120
|
+
status:
|
121
|
+
closed: Geschlossen
|
122
|
+
open: Offen
|
68
123
|
survey_confirmation_mailer:
|
69
124
|
confirmation:
|
70
125
|
body: Sie haben die Umfrage %{questionnaire_title} auf %{participatory_space} erfolgreich beantwortet
|
@@ -75,3 +130,17 @@ de:
|
|
75
130
|
invalid: Bei der Beantwortung der Umfrage sind Fehler aufgetreten.
|
76
131
|
spam_detected: Bei der Beantwortung der Umfrage ist ein Fehler aufgetreten. Möglicherweise waren Sie zu schnell, können Sie es erneut versuchen?
|
77
132
|
success: Umfrage erfolgreich beantwortet.
|
133
|
+
count:
|
134
|
+
surveys_count:
|
135
|
+
one: "%{count} Umfrage"
|
136
|
+
other: "%{count} Umfragen"
|
137
|
+
filters:
|
138
|
+
all: Alle
|
139
|
+
state_values:
|
140
|
+
closed: Geschlossen
|
141
|
+
open: Offen
|
142
|
+
no_surveys_warning: Keine Umfragen entsprechen Ihren Suchkriterien oder es ist keine Umfrage geöffnet.
|
143
|
+
show:
|
144
|
+
closed: Geschlossen
|
145
|
+
open: Offen
|
146
|
+
questions: Fragen
|
data/config/locales/el.yml
CHANGED
@@ -17,21 +17,10 @@ el:
|
|
17
17
|
surveys:
|
18
18
|
actions:
|
19
19
|
answer: Απάντηση
|
20
|
-
name: Έρευνα
|
21
20
|
settings:
|
22
21
|
global:
|
23
22
|
announcement: Ανακοίνωση
|
24
|
-
clean_after_publish: Διαγραφή απαντήσεων κατά τη δημοσίευση της έρευνας
|
25
|
-
ends_at: Απαντήσεις αποδεκτές μέχρι
|
26
|
-
ends_at_help: Αφήστε κενό για καμία συγκεκριμένη ημερομηνία
|
27
|
-
scope_id: Πεδίο εφαρμογής
|
28
|
-
scopes_enabled: Ενεργοποιημένα πεδία εφαρμογών
|
29
|
-
starts_at: Αποδεκτές απαντήσεις από
|
30
|
-
starts_at_help: Αφήστε κενό για καμία συγκεκριμένη ημερομηνία
|
31
23
|
step:
|
32
|
-
allow_answers: Να επιτρέπονται απαντήσεις
|
33
|
-
allow_unregistered: Να επιτρέπεται σε μη εγγεγραμμένους χρήστες να απαντήσουν στην έρευνα
|
34
|
-
allow_unregistered_help: Εάν είναι ενεργό, δεν θα απαιτείται σύνδεση για να απαντήσετε στην έρευνα. Αυτό μπορεί να οδηγήσει σε κακά ή αναξιόπιστα δεδομένα και θα είναι πιο ευάλωτο σε αυτοματοποιημένες επιθέσεις. Χρησιμοποιήστε με προσοχή! Λάβετε υπόψη ότι ένας συμμετέχων θα μπορούσε να απαντήσει στην ίδια έρευνα πολλές φορές, χρησιμοποιώντας διαφορετικά προγράμματα περιήγησης ή το χαρακτηριστικό "ιδιωτικό πρόγραμμα περιήγησης" του προγράμματος περιήγησης ιστού.
|
35
24
|
announcement: Ανακοίνωση
|
36
25
|
events:
|
37
26
|
surveys:
|
data/config/locales/en.yml
CHANGED
@@ -13,25 +13,20 @@ en:
|
|
13
13
|
one: Answer
|
14
14
|
other: Answers
|
15
15
|
decidim:
|
16
|
+
admin:
|
17
|
+
admin_log:
|
18
|
+
changeset:
|
19
|
+
surveys: surveys
|
16
20
|
components:
|
17
21
|
surveys:
|
18
22
|
actions:
|
19
23
|
answer: Answer
|
20
|
-
name:
|
24
|
+
name: Surveys
|
21
25
|
settings:
|
26
|
+
announcement: Announcement
|
22
27
|
global:
|
23
28
|
announcement: Announcement
|
24
|
-
clean_after_publish: Delete answers when publishing the survey
|
25
|
-
ends_at: Answers accepted until
|
26
|
-
ends_at_help: Leave blank for no specific date
|
27
|
-
scope_id: Scope
|
28
|
-
scopes_enabled: Scopes enabled
|
29
|
-
starts_at: Answers accepted from
|
30
|
-
starts_at_help: Leave blank for no specific date
|
31
29
|
step:
|
32
|
-
allow_answers: Allow answers
|
33
|
-
allow_unregistered: Allow unregistered users to answer the survey
|
34
|
-
allow_unregistered_help: If active, no login will be required in order to answer the survey. This may lead to poor or unreliable data and it will be more vulnerable to automated attacks. Use with caution! Mind that a participant could answer the same survey multiple times, by using different browsers or the "private browsing" feature of her web browser.
|
35
30
|
announcement: Announcement
|
36
31
|
events:
|
37
32
|
surveys:
|
@@ -53,18 +48,78 @@ en:
|
|
53
48
|
statistics:
|
54
49
|
answers_count: Answers
|
55
50
|
surveys:
|
51
|
+
actions:
|
52
|
+
answers_alert: Delete answers at publish is active for this survey. There are currently %{answers_count} answers that will be destroyed if you continue.
|
53
|
+
confirm_destroy: Are you sure you want to delete this?
|
54
|
+
destroy: Destroy
|
55
|
+
edit: Edit
|
56
|
+
manage_questions: Manage questions
|
57
|
+
new_survey: New survey
|
58
|
+
preview: Preview
|
59
|
+
title: Actions
|
56
60
|
admin:
|
57
|
-
|
58
|
-
|
59
|
-
|
61
|
+
answers:
|
62
|
+
index:
|
63
|
+
title: "%{total} total responses"
|
64
|
+
show:
|
65
|
+
title: 'Answer #%{number}'
|
60
66
|
exports:
|
61
67
|
survey_user_answers: Survey participant answers
|
68
|
+
publish_answers:
|
69
|
+
index:
|
70
|
+
answers:
|
71
|
+
one: "%{count} answer"
|
72
|
+
other: "%{count} answers"
|
73
|
+
description: |-
|
74
|
+
By publishing the questions' answers, you will make them visible to the public.
|
75
|
+
You can select the answers you want to publish by clicking on the checkbox next to each question.
|
76
|
+
You can only publish the following question types: "Single option", "Multiple option", "Matrix (single option)", "Matrix (multiple option)", and "Sorting".
|
77
|
+
status:
|
78
|
+
not_published: Not published
|
79
|
+
published: Published
|
80
|
+
title: Publish answers
|
62
81
|
surveys:
|
82
|
+
create:
|
83
|
+
invalid: There was a problem creating the survey.
|
84
|
+
success: Survey successfully created.
|
85
|
+
destroy:
|
86
|
+
success: Survey successfully deleted.
|
87
|
+
edit:
|
88
|
+
title: Edit survey
|
89
|
+
index:
|
90
|
+
title: Surveys
|
91
|
+
publish:
|
92
|
+
invalid: There was a problem publishing this survey.
|
93
|
+
success: Survey successfully published.
|
94
|
+
unpublish:
|
95
|
+
invalid: There was a problem unpublishing this survey.
|
96
|
+
success: Survey successfully unpublished.
|
63
97
|
update:
|
64
98
|
invalid: There was a problem saving the survey.
|
65
99
|
success: Survey successfully saved.
|
100
|
+
admin_log:
|
101
|
+
survey:
|
102
|
+
create: "%{user_name} created the %{resource_name} survey on the %{space_name} space as an survey"
|
103
|
+
delete: "%{user_name} deleted the %{resource_name} survey on the %{space_name} space as an survey"
|
104
|
+
publish: "%{user_name} published the %{resource_name} survey on the %{space_name} space"
|
105
|
+
unpublish: "%{user_name} unpublished the %{resource_name} survey on the %{space_name} space"
|
106
|
+
update: "%{user_name} updated the %{resource_name} survey on the %{space_name} space"
|
107
|
+
directory:
|
108
|
+
surveys:
|
109
|
+
index:
|
110
|
+
surveys: Surveys
|
66
111
|
last_activity:
|
67
112
|
new_survey: 'New survey:'
|
113
|
+
models:
|
114
|
+
survey:
|
115
|
+
fields:
|
116
|
+
answers: Answers
|
117
|
+
questions: Questions
|
118
|
+
status: Status
|
119
|
+
title: Title
|
120
|
+
status:
|
121
|
+
closed: Closed
|
122
|
+
open: Open
|
68
123
|
survey_confirmation_mailer:
|
69
124
|
confirmation:
|
70
125
|
body: You have successfully answered the %{questionnaire_title} survey within %{participatory_space}
|
@@ -75,3 +130,17 @@ en:
|
|
75
130
|
invalid: There was a problem answering the survey.
|
76
131
|
spam_detected: There was a problem answering the form. Maybe you have been too quick, can you try again?
|
77
132
|
success: Survey successfully answered.
|
133
|
+
count:
|
134
|
+
surveys_count:
|
135
|
+
one: "%{count} survey"
|
136
|
+
other: "%{count} surveys"
|
137
|
+
filters:
|
138
|
+
all: All
|
139
|
+
state_values:
|
140
|
+
closed: Closed
|
141
|
+
open: Open
|
142
|
+
no_surveys_warning: No surveys match your search criteria or there is not any survey open.
|
143
|
+
show:
|
144
|
+
closed: Closed
|
145
|
+
open: Open
|
146
|
+
questions: questions
|
data/config/locales/es-MX.yml
CHANGED
@@ -13,25 +13,20 @@ es-MX:
|
|
13
13
|
one: Respuesta
|
14
14
|
other: Respuestas
|
15
15
|
decidim:
|
16
|
+
admin:
|
17
|
+
admin_log:
|
18
|
+
changeset:
|
19
|
+
surveys: Encuestas
|
16
20
|
components:
|
17
21
|
surveys:
|
18
22
|
actions:
|
19
23
|
answer: Responder
|
20
|
-
name:
|
24
|
+
name: Encuestas
|
21
25
|
settings:
|
26
|
+
announcement: Aviso
|
22
27
|
global:
|
23
28
|
announcement: Anuncio
|
24
|
-
clean_after_publish: Borrar respuestas al publicar la encuesta
|
25
|
-
ends_at: Respuestas aceptadas hasta
|
26
|
-
ends_at_help: Dejar en blanco para ninguna fecha específica
|
27
|
-
scope_id: Ámbito
|
28
|
-
scopes_enabled: Ámbitos habilitados
|
29
|
-
starts_at: Respuestas aceptadas de
|
30
|
-
starts_at_help: Dejar en blanco para ninguna fecha específica
|
31
29
|
step:
|
32
|
-
allow_answers: Permitir respuestas
|
33
|
-
allow_unregistered: Permitir a las usuarias no registradas responder a la encuesta
|
34
|
-
allow_unregistered_help: Si está activo, no será necesario iniciar sesión para responder a la encuesta. Esto puede llevar a datos pobres o poco fiables y será más vulnerable a ataques automatizados. ¡Usar con precaución! Es importante que un participante pueda responder a la misma encuesta varias veces, utilizando diferentes navegadores o la función de "navegación privada" de su navegador web.
|
35
30
|
announcement: Anuncio
|
36
31
|
events:
|
37
32
|
surveys:
|
@@ -53,18 +48,78 @@ es-MX:
|
|
53
48
|
statistics:
|
54
49
|
answers_count: Respuestas
|
55
50
|
surveys:
|
51
|
+
actions:
|
52
|
+
answers_alert: La opción de borrar las respuestas al publicar la encuesta está activada. Si sigues, se borrarán las %{answers_count} existentes actualmente.
|
53
|
+
confirm_destroy: '¿Seguro que lo quieres eliminar?'
|
54
|
+
destroy: Eliminar
|
55
|
+
edit: Editar
|
56
|
+
manage_questions: Gestionar las preguntas
|
57
|
+
new_survey: Nueva encuesta
|
58
|
+
preview: Previsualizar
|
59
|
+
title: Acciones
|
56
60
|
admin:
|
57
|
-
|
58
|
-
|
59
|
-
|
61
|
+
answers:
|
62
|
+
index:
|
63
|
+
title: "%{total} respuestas totales"
|
64
|
+
show:
|
65
|
+
title: 'Respuesta #%{number}'
|
60
66
|
exports:
|
61
67
|
survey_user_answers: Respuestas de los usuarios de la encuesta
|
68
|
+
publish_answers:
|
69
|
+
index:
|
70
|
+
answers:
|
71
|
+
one: "%{count} respuesta"
|
72
|
+
other: "%{count} respuestas"
|
73
|
+
description: |-
|
74
|
+
Publicando las respuestas a las preguntas de la encuesta, estas serán visibles para las visitantes.
|
75
|
+
Puedes seleccionar las preguntas de las que quieres publicar las respuestas marcancndo el "checkbox" de cada una de ellas.
|
76
|
+
Solo puedes publicar las respuestas de las preguntas que son del tipo de respuesta: "Opción única", "Opción múltiple", "Matriz (opción única)", "Matriz (opción múltiple), y "Ordenación".
|
77
|
+
status:
|
78
|
+
not_published: No publicadas
|
79
|
+
published: Publicadas
|
80
|
+
title: Publicar respuestas
|
62
81
|
surveys:
|
82
|
+
create:
|
83
|
+
invalid: Se ha producido un error creando la encuesta.
|
84
|
+
success: Encuesta creada correctamente.
|
85
|
+
destroy:
|
86
|
+
success: Encuesta eliminada correctamente.
|
87
|
+
edit:
|
88
|
+
title: Editar la encuesta
|
89
|
+
index:
|
90
|
+
title: Encuestas
|
91
|
+
publish:
|
92
|
+
invalid: Se ha producido un error al publicar esta encuesta.
|
93
|
+
success: Encuesta publicada correctamente.
|
94
|
+
unpublish:
|
95
|
+
invalid: Se ha producido un error al despublicar esta encuesta.
|
96
|
+
success: Encuesta despublicada correctamente.
|
63
97
|
update:
|
64
98
|
invalid: Se han producido errores al guardar la encuesta.
|
65
99
|
success: Encuesta guardada correctamente.
|
100
|
+
admin_log:
|
101
|
+
survey:
|
102
|
+
create: "%{user_name} creó la encuesta %{resource_name} en el espacio de participación %{space_name}"
|
103
|
+
delete: "%{user_name} ha eliminado la encuesta %{resource_name} en el espacio de participación %{space_name}"
|
104
|
+
publish: "%{user_name} publicó la encuesta %{resource_name} en el espacio de participación %{space_name}"
|
105
|
+
unpublish: "%{user_name} ha despublicado la encuesta %{resource_name} en el espacio de participación %{space_name}"
|
106
|
+
update: "%{user_name} ha actualizado la encuesta %{resource_name} en el espacio de participación %{space_name}"
|
107
|
+
directory:
|
108
|
+
surveys:
|
109
|
+
index:
|
110
|
+
surveys: Encuestas
|
66
111
|
last_activity:
|
67
112
|
new_survey: 'Nueva encuesta:'
|
113
|
+
models:
|
114
|
+
survey:
|
115
|
+
fields:
|
116
|
+
answers: Respuestas
|
117
|
+
questions: Preguntas
|
118
|
+
status: Estado
|
119
|
+
title: Título
|
120
|
+
status:
|
121
|
+
closed: Cerrada
|
122
|
+
open: Abierta
|
68
123
|
survey_confirmation_mailer:
|
69
124
|
confirmation:
|
70
125
|
body: Has respondido con éxito a la encuesta %{questionnaire_title} dentro de %{participatory_space}
|
@@ -75,3 +130,17 @@ es-MX:
|
|
75
130
|
invalid: Se han producido errores al responder a la encuesta.
|
76
131
|
spam_detected: Hubo un problema respondiendo al formulario. Tal vez has sido demasiado rápido, ¿puedes intentarlo de nuevo?
|
77
132
|
success: La encuesta ha sido respondida con éxito.
|
133
|
+
count:
|
134
|
+
surveys_count:
|
135
|
+
one: "%{count} encuesta"
|
136
|
+
other: "%{count} encuestas"
|
137
|
+
filters:
|
138
|
+
all: Todas
|
139
|
+
state_values:
|
140
|
+
closed: Cerrada
|
141
|
+
open: Abiertas
|
142
|
+
no_surveys_warning: No hay encuestas que coincidan con tu criterio de búsqueda o no hay ninguna encuesta.
|
143
|
+
show:
|
144
|
+
closed: Cerrada
|
145
|
+
open: Abierta
|
146
|
+
questions: preguntas
|
data/config/locales/es-PY.yml
CHANGED
@@ -13,25 +13,20 @@ es-PY:
|
|
13
13
|
one: Respuesta
|
14
14
|
other: Respuestas
|
15
15
|
decidim:
|
16
|
+
admin:
|
17
|
+
admin_log:
|
18
|
+
changeset:
|
19
|
+
surveys: Encuestas
|
16
20
|
components:
|
17
21
|
surveys:
|
18
22
|
actions:
|
19
23
|
answer: Responder
|
20
|
-
name:
|
24
|
+
name: Encuestas
|
21
25
|
settings:
|
26
|
+
announcement: Aviso
|
22
27
|
global:
|
23
28
|
announcement: Anuncio
|
24
|
-
clean_after_publish: Borrar respuestas al publicar la encuesta
|
25
|
-
ends_at: Respuestas aceptadas hasta
|
26
|
-
ends_at_help: Dejar en blanco para ninguna fecha específica
|
27
|
-
scope_id: Ámbito
|
28
|
-
scopes_enabled: Ámbitos habilitados
|
29
|
-
starts_at: Respuestas aceptadas de
|
30
|
-
starts_at_help: Dejar en blanco para ninguna fecha específica
|
31
29
|
step:
|
32
|
-
allow_answers: Permitir respuestas
|
33
|
-
allow_unregistered: Permitir a las usuarias no registradas responder a la encuesta
|
34
|
-
allow_unregistered_help: Si está activo, no será necesario iniciar sesión para responder a la encuesta. Esto puede llevar a datos pobres o poco fiables y será más vulnerable a ataques automatizados. ¡Usar con precaución! Es importante que un participante pueda responder a la misma encuesta varias veces, utilizando diferentes navegadores o la función de "navegación privada" de su navegador web.
|
35
30
|
announcement: Anuncio
|
36
31
|
events:
|
37
32
|
surveys:
|
@@ -53,18 +48,78 @@ es-PY:
|
|
53
48
|
statistics:
|
54
49
|
answers_count: Respuestas
|
55
50
|
surveys:
|
51
|
+
actions:
|
52
|
+
answers_alert: La opción de borrar las respuestas al publicar la encuesta está activada. Si sigues, se borrarán las %{answers_count} existentes actualmente.
|
53
|
+
confirm_destroy: '¿Seguro que lo quieres eliminar?'
|
54
|
+
destroy: Eliminar
|
55
|
+
edit: Editar
|
56
|
+
manage_questions: Gestionar las preguntas
|
57
|
+
new_survey: Nueva encuesta
|
58
|
+
preview: Previsualizar
|
59
|
+
title: Acciones
|
56
60
|
admin:
|
57
|
-
|
58
|
-
|
59
|
-
|
61
|
+
answers:
|
62
|
+
index:
|
63
|
+
title: "%{total} respuestas totales"
|
64
|
+
show:
|
65
|
+
title: 'Respuesta #%{number}'
|
60
66
|
exports:
|
61
67
|
survey_user_answers: Respuestas de los usuarios de la encuesta
|
68
|
+
publish_answers:
|
69
|
+
index:
|
70
|
+
answers:
|
71
|
+
one: "%{count} respuesta"
|
72
|
+
other: "%{count} respuestas"
|
73
|
+
description: |-
|
74
|
+
Publicando las respuestas a las preguntas de la encuesta, estas serán visibles para las visitantes.
|
75
|
+
Puedes seleccionar las preguntas de las que quieres publicar las respuestas marcancndo el "checkbox" de cada una de ellas.
|
76
|
+
Solo puedes publicar las respuestas de las preguntas que son del tipo de respuesta: "Opción única", "Opción múltiple", "Matriz (opción única)", "Matriz (opción múltiple), y "Ordenación".
|
77
|
+
status:
|
78
|
+
not_published: No publicadas
|
79
|
+
published: Publicadas
|
80
|
+
title: Publicar respuestas
|
62
81
|
surveys:
|
82
|
+
create:
|
83
|
+
invalid: Se ha producido un error creando la encuesta.
|
84
|
+
success: Encuesta creada correctamente.
|
85
|
+
destroy:
|
86
|
+
success: Encuesta eliminada correctamente.
|
87
|
+
edit:
|
88
|
+
title: Editar la encuesta
|
89
|
+
index:
|
90
|
+
title: Encuestas
|
91
|
+
publish:
|
92
|
+
invalid: Se ha producido un error al publicar esta encuesta.
|
93
|
+
success: Encuesta publicada correctamente.
|
94
|
+
unpublish:
|
95
|
+
invalid: Se ha producido un error al despublicar esta encuesta.
|
96
|
+
success: Encuesta despublicada correctamente.
|
63
97
|
update:
|
64
98
|
invalid: Se han producido errores al guardar la encuesta.
|
65
99
|
success: Encuesta guardada correctamente.
|
100
|
+
admin_log:
|
101
|
+
survey:
|
102
|
+
create: "%{user_name} creó la encuesta %{resource_name} en el espacio de participación %{space_name}"
|
103
|
+
delete: "%{user_name} ha eliminado la encuesta %{resource_name} en el espacio de participación %{space_name}"
|
104
|
+
publish: "%{user_name} publicó la encuesta %{resource_name} en el espacio de participación %{space_name}"
|
105
|
+
unpublish: "%{user_name} ha despublicado la encuesta %{resource_name} en el espacio de participación %{space_name}"
|
106
|
+
update: "%{user_name} ha actualizado la encuesta %{resource_name} en el espacio de participación %{space_name}"
|
107
|
+
directory:
|
108
|
+
surveys:
|
109
|
+
index:
|
110
|
+
surveys: Encuestas
|
66
111
|
last_activity:
|
67
112
|
new_survey: 'Nueva encuesta:'
|
113
|
+
models:
|
114
|
+
survey:
|
115
|
+
fields:
|
116
|
+
answers: Respuestas
|
117
|
+
questions: Preguntas
|
118
|
+
status: Estado
|
119
|
+
title: Título
|
120
|
+
status:
|
121
|
+
closed: Cerrada
|
122
|
+
open: Abierta
|
68
123
|
survey_confirmation_mailer:
|
69
124
|
confirmation:
|
70
125
|
body: Has respondido con éxito a la encuesta %{questionnaire_title} dentro de %{participatory_space}
|
@@ -75,3 +130,17 @@ es-PY:
|
|
75
130
|
invalid: Se han producido errores al responder a la encuesta.
|
76
131
|
spam_detected: Hubo un problema respondiendo al formulario. Tal vez has sido demasiado rápido, ¿puedes intentarlo de nuevo?
|
77
132
|
success: La encuesta ha sido respondida con éxito.
|
133
|
+
count:
|
134
|
+
surveys_count:
|
135
|
+
one: "%{count} encuesta"
|
136
|
+
other: "%{count} encuestas"
|
137
|
+
filters:
|
138
|
+
all: Todas
|
139
|
+
state_values:
|
140
|
+
closed: Cerrada
|
141
|
+
open: Abiertas
|
142
|
+
no_surveys_warning: No hay encuestas que coincidan con tu criterio de búsqueda o no hay ninguna encuesta.
|
143
|
+
show:
|
144
|
+
closed: Cerrada
|
145
|
+
open: Abierta
|
146
|
+
questions: preguntas
|