decidim-surveys 0.30.2 → 0.31.0.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/app/commands/decidim/surveys/admin/create_survey.rb +14 -2
  4. data/app/commands/decidim/surveys/admin/publish_survey.rb +3 -3
  5. data/app/commands/decidim/surveys/admin/update_survey.rb +0 -13
  6. data/app/commands/decidim/surveys/admin/update_survey_settings.rb +53 -0
  7. data/app/commands/decidim/surveys/{publish_answers.rb → publish_responses.rb} +8 -8
  8. data/app/commands/decidim/surveys/{unpublish_answers.rb → unpublish_responses.rb} +8 -8
  9. data/app/controllers/decidim/surveys/admin/application_controller.rb +13 -0
  10. data/app/controllers/decidim/surveys/admin/{publish_answers_controller.rb → publish_responses_controller.rb} +9 -9
  11. data/app/controllers/decidim/surveys/admin/questions/surveys_controller.rb +48 -0
  12. data/app/controllers/decidim/surveys/admin/{answers_controller.rb → responses_controller.rb} +18 -13
  13. data/app/controllers/decidim/surveys/admin/settings/surveys_controller.rb +42 -0
  14. data/app/controllers/decidim/surveys/admin/surveys_controller.rb +20 -39
  15. data/app/controllers/decidim/surveys/surveys_controller.rb +15 -12
  16. data/app/forms/decidim/surveys/admin/survey_form.rb +3 -7
  17. data/app/forms/decidim/surveys/admin/survey_settings_form.rb +18 -0
  18. data/app/helpers/decidim/surveys/{publish_answers_helper.rb → publish_responses_helper.rb} +11 -11
  19. data/app/helpers/decidim/surveys/survey_helper.rb +1 -1
  20. data/app/jobs/decidim/surveys/{clean_survey_answers_job.rb → clean_survey_responses_job.rb} +4 -4
  21. data/app/jobs/decidim/surveys/settings_change_job.rb +5 -5
  22. data/app/mailers/decidim/surveys/survey_confirmation_mailer.rb +6 -6
  23. data/app/models/decidim/surveys/survey.rb +4 -4
  24. data/app/permissions/decidim/surveys/admin/permissions.rb +4 -4
  25. data/app/permissions/decidim/surveys/permissions.rb +1 -1
  26. data/app/serializers/decidim/surveys/data_importer.rb +5 -5
  27. data/app/serializers/decidim/surveys/data_serializer.rb +5 -5
  28. data/app/views/decidim/surveys/admin/publish_responses/_toggle_button.html.erb +22 -0
  29. data/app/views/decidim/surveys/admin/{publish_answers → publish_responses}/index.html.erb +4 -4
  30. data/app/views/decidim/surveys/admin/questions/surveys/edit.html.erb +44 -0
  31. data/app/views/decidim/surveys/admin/responses/index.html.erb +101 -0
  32. data/app/views/decidim/surveys/admin/responses/show.html.erb +43 -0
  33. data/app/views/decidim/surveys/admin/{surveys → settings/surveys}/_form.html.erb +2 -3
  34. data/app/views/decidim/surveys/admin/settings/surveys/edit.html.erb +23 -0
  35. data/app/views/decidim/surveys/admin/surveys/_tabs_menu.html.erb +11 -0
  36. data/app/views/decidim/surveys/admin/surveys/edit.html.erb +18 -18
  37. data/app/views/decidim/surveys/admin/surveys/index.html.erb +89 -23
  38. data/app/views/decidim/surveys/admin/surveys/new.html.erb +23 -0
  39. data/app/views/decidim/surveys/survey_confirmation_mailer/confirmation.html.erb +1 -1
  40. data/app/views/decidim/surveys/surveys/{_published_questions_answers.html.erb → _published_questions_responses.html.erb} +2 -2
  41. data/app/views/decidim/surveys/surveys/not_allowed.html.erb +2 -2
  42. data/app/views/layouts/decidim/admin/surveys.html.erb +18 -0
  43. data/config/assets.rb +1 -1
  44. data/config/locales/ar.yml +0 -20
  45. data/config/locales/bg.yml +0 -28
  46. data/config/locales/ca-IT.yml +45 -29
  47. data/config/locales/ca.yml +45 -29
  48. data/config/locales/cs.yml +33 -39
  49. data/config/locales/de.yml +43 -27
  50. data/config/locales/el.yml +0 -23
  51. data/config/locales/en.yml +49 -33
  52. data/config/locales/es-MX.yml +44 -28
  53. data/config/locales/es-PY.yml +44 -28
  54. data/config/locales/es.yml +44 -28
  55. data/config/locales/eu.yml +43 -27
  56. data/config/locales/fi-plain.yml +41 -25
  57. data/config/locales/fi.yml +41 -25
  58. data/config/locales/fr-CA.yml +35 -32
  59. data/config/locales/fr.yml +35 -32
  60. data/config/locales/ga-IE.yml +0 -13
  61. data/config/locales/gl.yml +0 -22
  62. data/config/locales/hu.yml +0 -16
  63. data/config/locales/id-ID.yml +0 -15
  64. data/config/locales/is-IS.yml +0 -2
  65. data/config/locales/it.yml +0 -22
  66. data/config/locales/ja.yml +43 -27
  67. data/config/locales/lb.yml +0 -22
  68. data/config/locales/lt.yml +0 -25
  69. data/config/locales/lv.yml +0 -17
  70. data/config/locales/nl.yml +0 -22
  71. data/config/locales/no.yml +0 -22
  72. data/config/locales/pl.yml +0 -30
  73. data/config/locales/pt-BR.yml +0 -22
  74. data/config/locales/pt.yml +0 -22
  75. data/config/locales/ro-RO.yml +18 -23
  76. data/config/locales/ru.yml +0 -13
  77. data/config/locales/sk.yml +0 -18
  78. data/config/locales/sl.yml +0 -8
  79. data/config/locales/sv.yml +8 -26
  80. data/config/locales/tr-TR.yml +0 -22
  81. data/config/locales/uk.yml +0 -13
  82. data/config/locales/zh-CN.yml +0 -15
  83. data/config/locales/zh-TW.yml +0 -22
  84. data/db/migrate/20250317110501_rename_answer_to_response_in_decidim_surveys.rb +8 -0
  85. data/lib/decidim/api/survey_type.rb +12 -0
  86. data/lib/decidim/surveys/admin_engine.rb +46 -7
  87. data/lib/decidim/surveys/component.rb +24 -19
  88. data/lib/decidim/surveys/engine.rb +8 -25
  89. data/lib/decidim/surveys/seeds.rb +42 -42
  90. data/lib/decidim/surveys/test/factories.rb +3 -3
  91. data/lib/decidim/surveys/version.rb +1 -1
  92. data/lib/tasks/surveys/upgrade/decidim_surveys_upgrade_tasks.rake +16 -82
  93. metadata +36 -29
  94. data/app/queries/decidim/surveys/metrics/answers_metric_manage.rb +0 -65
  95. data/app/queries/decidim/surveys/metrics/survey_participants_metric_measure.rb +0 -30
  96. data/app/views/decidim/surveys/admin/answers/index.html.erb +0 -49
  97. data/app/views/decidim/surveys/admin/answers/show.html.erb +0 -43
  98. data/app/views/decidim/surveys/admin/publish_answers/_toggle_button.html.erb +0 -22
  99. data/app/views/decidim/surveys/admin/surveys/edit_questions.html.erb +0 -47
@@ -9,18 +9,26 @@ ca:
9
9
  decidim/surveys/survey:
10
10
  one: Enquesta
11
11
  other: Enquestes
12
- decidim/surveys/survey_answer:
12
+ decidim/surveys/survey_response:
13
13
  one: Resposta
14
14
  other: Respostes
15
15
  decidim:
16
16
  admin:
17
+ actions:
18
+ see_survey: Veure enquesta
17
19
  admin_log:
18
20
  changeset:
19
21
  surveys: enquestes
22
+ menu:
23
+ surveys_menu:
24
+ main: Principal
25
+ questions: Preguntes
26
+ responses: Respostes
27
+ settings: Configuració
20
28
  components:
21
29
  surveys:
22
30
  actions:
23
- answer: Respondre
31
+ respond: Respondre
24
32
  name: Enquestes
25
33
  settings:
26
34
  announcement: Avís
@@ -40,44 +48,50 @@ ca:
40
48
  email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai "%{participatory_space_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
41
49
  email_subject: Una nova enquesta a %{participatory_space_title}
42
50
  notification_title: L'enquesta <a href="%{resource_path}">%{resource_title}</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a> ja està oberta.
43
- metrics:
44
- survey_answers:
45
- description: Nombre d'enquestes contestades per les participants
46
- object: respostes a enquestes
47
- title: Respostes a enquestes
48
51
  statistics:
49
- answers_count: Respostes
52
+ responses: 'Respostes:'
53
+ responses_count: Respostes
54
+ surveys_count_tooltip: El nombre d'enquestes fetes i de respostes recollides.
50
55
  surveys:
51
56
  actions:
52
- answers_alert: L'opció d'esborrar les respostes en publicar l'enquesta està activada. Si segueixes, s'esborraran les %{answers_count} existents actualment.
53
57
  confirm_destroy: Segur que ho vols eliminar?
54
58
  destroy: Eliminar
55
59
  edit: Editar
56
- manage_questions: Gestionar les preguntes
60
+ manage_questions: Preguntes
57
61
  new_survey: Nova enquesta
58
62
  preview: Previsualitzar
63
+ responses_alert: L'opció d'esborrar les respostes en publicar l'enquesta està activada. Si segueixes, s'esborraran les %{responses_count} existents actualment.
59
64
  title: Accions
60
65
  admin:
61
- answers:
62
- index:
63
- title: "%{total} respostes en total"
64
- show:
65
- title: 'Resposta #%{number}'
66
66
  exports:
67
- survey_user_answers: Respostes de les participants de l'enquesta
68
- publish_answers:
67
+ survey_user_responses: Respostes de les participants de l'enquesta
68
+ publish_responses:
69
69
  index:
70
- answers:
71
- one: "%{count} resposta"
72
- other: "%{count} respostes"
73
70
  description: |-
74
- Publicant les respostes a les preguntes de l'enquesta, aquestes seran visibles per a les visitants.
75
- Pots seleccionar les preguntes de les que vols publicar les respostes marcant el "checkbox" de cadascuna d'elles.
71
+ Publicant les respostes a les repostes de l'enquesta, aquestes seran visibles per a les visitants.
72
+ Pots seleccionar les repostes que vols publicar marcant el "checkbox" de cadascuna d'elles.
76
73
  Només pots publicar les respostes de les preguntes que són del tipus de resposta: "Opció única", "Opció múltiple", "Matriu (opció única)", "Matriu (opció múltiple), i "Ordenació".
74
+ responses:
75
+ one: "%{count} resposta"
76
+ other: "%{count} respostes"
77
77
  status:
78
78
  not_published: No publicades
79
79
  published: Publicades
80
- title: Publicar respostes
80
+ title: Publicar les respostes
81
+ questions:
82
+ surveys:
83
+ edit:
84
+ title: Preguntes
85
+ responses:
86
+ index:
87
+ no_responses: Encara no hi ha cap resposta
88
+ title: "%{total} respostes en total"
89
+ show:
90
+ title: 'Resposta #%{number}'
91
+ settings:
92
+ surveys:
93
+ edit:
94
+ title: Configuració
81
95
  surveys:
82
96
  create:
83
97
  invalid: S'ha produït un error creant l'enquesta.
@@ -88,6 +102,8 @@ ca:
88
102
  title: Editar l'enquesta
89
103
  index:
90
104
  title: Enquestes
105
+ new:
106
+ title: Nova enquesta
91
107
  publish:
92
108
  invalid: S'ha produït un error en publicar aquesta enquesta.
93
109
  success: Enquesta publicada correctament.
@@ -113,8 +129,8 @@ ca:
113
129
  models:
114
130
  survey:
115
131
  fields:
116
- answers: Respostes
117
132
  questions: Preguntes
133
+ responses: Respostes
118
134
  status: Estat
119
135
  title: Títol
120
136
  status:
@@ -124,12 +140,8 @@ ca:
124
140
  confirmation:
125
141
  body: Has respost amb èxit a l'enquesta %{questionnaire_title} dins de %{participatory_space}
126
142
  subject: Confirmació de resposta al qüestionari %{questionnaire_title}
127
- export_name: Respostes a l'enquesta
143
+ export_name: Respuestas a l'encuesta
128
144
  surveys:
129
- answer:
130
- invalid: S'ha produït un error en respondre l'enquesta.
131
- spam_detected: Hi ha hagut un problema responent el formulari. Potser has anat massa ràpid, ho pots tornar a intentar?
132
- success: Enquesta resposta correctament.
133
145
  count:
134
146
  surveys_count:
135
147
  one: "%{count} enquesta"
@@ -140,6 +152,10 @@ ca:
140
152
  closed: Tancada
141
153
  open: Obertes
142
154
  no_surveys_warning: No hi ha enquestes que coincideixin amb el teu criteri de cerca o no hi ha cap enquesta.
155
+ response:
156
+ invalid: S'ha produït un error en respondre l'enquesta.
157
+ spam_detected: Hi ha hagut un problema responent el formulari. Potser has anat massa ràpid, ho pots tornar a intentar?
158
+ success: L'enquesta s'ha respost correctament.
143
159
  show:
144
160
  closed: Tancada
145
161
  open: Oberta
@@ -11,20 +11,21 @@ cs:
11
11
  few: Průzkumy
12
12
  many: Průzkumy
13
13
  other: Průzkumy
14
- decidim/surveys/survey_answer:
15
- one: Odpovědět
16
- few: Odpovědi
17
- many: Odpovědi
18
- other: Odpovědi
19
14
  decidim:
20
15
  admin:
16
+ actions:
17
+ see_survey: Zobrazit průzkum
21
18
  admin_log:
22
19
  changeset:
23
20
  surveys: průzkumy
21
+ menu:
22
+ surveys_menu:
23
+ main: Hlavní
24
+ questions: Otázky
25
+ responses: Odpovědi
26
+ settings: Nastavení
24
27
  components:
25
28
  surveys:
26
- actions:
27
- answer: Odpovědět
28
29
  name: Průzkumy
29
30
  settings:
30
31
  announcement: Oznámení
@@ -44,44 +45,39 @@ cs:
44
45
  email_outro: Toto oznámení jste obdrželi, protože jste sledovali %{participatory_space_title}. Po předchozím propojení můžete přestat přijímat oznámení.
45
46
  email_subject: Nový průzkum v %{participatory_space_title}
46
47
  notification_title: Průzkum <a href="%{resource_path}">%{resource_title}</a> v <a href="%{participatory_space_url}">%{participatory_space_title}</a> je nyní otevřený.
47
- metrics:
48
- survey_answers:
49
- description: Počet průzkumů, které uživatelé zodpověděli
50
- object: odpovědi na průzkumy
51
- title: Odpovědi na průzkumy
52
48
  statistics:
53
- answers_count: Odpovědi
49
+ responses: 'Odpovědi:'
50
+ responses_count: Odpovědi
51
+ surveys_count_tooltip: Počet dostupných průzkumů a shromážděných odpovědí.
54
52
  surveys:
55
53
  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
54
  confirm_destroy: Opravdu to chcete smazat?
58
55
  destroy: Zničit
59
56
  edit: Upravit
60
- manage_questions: Spravovat otázky
57
+ manage_questions: Otázky
61
58
  new_survey: Nový průzkum
62
59
  preview: Náhled
63
60
  title: Akce
64
61
  admin:
65
- answers:
66
- show:
67
- title: 'Odpověď č.%{number}'
68
- exports:
69
- survey_user_answers: Odpovědi účastníka na průzkum
70
- publish_answers:
62
+ publish_responses:
71
63
  index:
72
- answers:
73
- one: "%{count} odpověď"
74
- few: "%{count} odpovědi"
75
- many: "%{count} odpovědí"
76
- other: "%{count} odpovědí"
77
- description: |-
78
- Zveřejněním odpovědí na otázky je veřejnosti zviditelníte.
79
- Můžete vybrat odpovědi, které chcete publikovat, kliknutím na zaškrtávací políčko vedle každé otázky.
80
- 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í".
81
64
  status:
82
65
  not_published: Nezveřejněno
83
66
  published: Zveřejněno
84
- title: Zveřejnit odpovědi
67
+ title: Publikovat odpovědi
68
+ questions:
69
+ surveys:
70
+ edit:
71
+ title: Otázky
72
+ responses:
73
+ index:
74
+ no_responses: Zatím nejsou žádné odpovědi
75
+ show:
76
+ title: 'Odpověď č.%{number}'
77
+ settings:
78
+ surveys:
79
+ edit:
80
+ title: Nastavení
85
81
  surveys:
86
82
  create:
87
83
  invalid: Při vytváření ankety došlo k chybě.
@@ -92,6 +88,8 @@ cs:
92
88
  title: Upravit anketu
93
89
  index:
94
90
  title: Ankety
91
+ new:
92
+ title: Nový průzkum
95
93
  publish:
96
94
  invalid: Při publikování této ankety došlo k chybě.
97
95
  success: Anketa byla úspěšně publikována.
@@ -117,23 +115,16 @@ cs:
117
115
  models:
118
116
  survey:
119
117
  fields:
120
- answers: Odpovědi
121
118
  questions: Otázky
119
+ responses: Odpovědi
122
120
  status: Status
123
121
  title: Název
124
122
  status:
125
123
  closed: Uzavřeno
126
124
  open: Otevřeno
127
125
  survey_confirmation_mailer:
128
- confirmation:
129
- body: Úspěšně jste odpověděli na anketu %{questionnaire_title} v rámci %{participatory_space}
130
- subject: Potvrzení odpovědi na dotazník %{questionnaire_title}
131
126
  export_name: Odpovědi na dotazník
132
127
  surveys:
133
- answer:
134
- invalid: Při odpovědi na průzkum došlo k chybám.
135
- spam_detected: Vyskytl se problém s odpovědí na formulář. Možná jste byl příliš rychlý, můžete to zkusit znovu?
136
- success: Průzkum úspěšně odpověděl.
137
128
  count:
138
129
  surveys_count:
139
130
  one: "%{count} anketa"
@@ -146,6 +137,9 @@ cs:
146
137
  closed: Uzavřeno
147
138
  open: Otevřeno
148
139
  no_surveys_warning: Žádné ankety neodpovídají zadaným kritériím nebo není žádná anketa otevřena.
140
+ response:
141
+ invalid: Při odpovědi na dotazník došlo k chybě.
142
+ spam_detected: Vyskytl se problém s odpovědí na formulář. Možná jste byl příliš rychlý, můžete to zkusit znovu?
149
143
  show:
150
144
  closed: Uzavřeno
151
145
  open: Otevřeno
@@ -9,18 +9,26 @@ de:
9
9
  decidim/surveys/survey:
10
10
  one: Umfrage
11
11
  other: Umfragen
12
- decidim/surveys/survey_answer:
13
- one: Antworten
12
+ decidim/surveys/survey_response:
13
+ one: Antwort
14
14
  other: Antworten
15
15
  decidim:
16
16
  admin:
17
+ actions:
18
+ see_survey: Umfrage anzeigen
17
19
  admin_log:
18
20
  changeset:
19
21
  surveys: Umfragen
22
+ menu:
23
+ surveys_menu:
24
+ main: Umfrage
25
+ questions: Fragen
26
+ responses: Antworten
27
+ settings: Einstellungen
20
28
  components:
21
29
  surveys:
22
30
  actions:
23
- answer: Antworten
31
+ respond: Antworten
24
32
  name: Umfragen
25
33
  settings:
26
34
  announcement: Ankündigung
@@ -33,51 +41,57 @@ de:
33
41
  survey_closed:
34
42
  email_intro: Die Umfrage %{resource_title} in %{participatory_space_title} wurde geschlossen.
35
43
  email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie %{participatory_space_title} folgen. Falls Sie keine solchen Benachrichtigungen mehr erhalten möchten, besuchen Sie den obigen Link.
36
- email_subject: Eine Umfrage ist in %{participatory_space_title}
44
+ email_subject: Eine Umfrage wurde auf «%{participatory_space_title}» abgeschlossen
37
45
  notification_title: Die Umfrage <a href="%{resource_path}">%{resource_title}</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a> ist beendet.
38
46
  survey_opened:
39
47
  email_intro: 'Die Umfrage %{resource_title} in %{participatory_space_title} ist jetzt geöffnet. Sie können auf dieser Seite teilnehmen:'
40
48
  email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie %{participatory_space_title} folgen. Falls Sie keine solchen Benachrichtigungen mehr erhalten möchten, besuchen Sie den obigen Link.
41
49
  email_subject: Eine neue Umfrage in %{participatory_space_title}
42
50
  notification_title: Die Umfrage <a href="%{resource_path}">%{resource_title}</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a> ist jetzt geöffnet.
43
- metrics:
44
- survey_answers:
45
- description: Anzahl der Umfragen, die von den Benutzern beantwortet wurden
46
- object: Antworten auf Umfragen
47
- title: Antworten zu Umfragen
48
51
  statistics:
49
- answers_count: Antworten
52
+ responses: 'Antworten:'
53
+ responses_count: Antworten
54
+ surveys_count_tooltip: Die Anzahl der verfügbaren Umfragen und abgegebenen Antworten.
50
55
  surveys:
51
56
  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
57
  confirm_destroy: Möchten Sie fortfahren und die Antworten löschen?
54
58
  destroy: Löschen
55
59
  edit: Bearbeiten
56
- manage_questions: Fragen verwalten
60
+ manage_questions: Fragen
57
61
  new_survey: Neue Umfrage
58
62
  preview: Vorschau
63
+ responses_alert: Das Löschen der Antworten bei der Veröffentlichung dieser Umfrage aktiv. Derzeit gibt es %{responses_count} Antworten, die gelöscht werden, wenn Sie fortfahren.
59
64
  title: Aktionen
60
65
  admin:
61
- answers:
62
- index:
63
- title: "%{total} Antworten insgesamt"
64
- show:
65
- title: 'Antwort #%{number}'
66
66
  exports:
67
- survey_user_answers: Umfrage Benutzer Antworten
68
- publish_answers:
67
+ survey_user_responses: Antworten des Umfrageteilnehmenden
68
+ publish_responses:
69
69
  index:
70
- answers:
71
- one: "%{count} Antwort"
72
- other: "%{count} Antworten"
73
70
  description: |-
74
71
  Indem Sie die Antworten der Fragen veröffentlichen, machen Sie sie für die Öffentlichkeit sichtbar.
75
72
  Sie können die zu veröffentlichenden Antworten auswählen, indem Sie auf das Kontrollkästchen neben jeweiligen Frage klicken.
76
73
  Sie können nur folgende Fragentypen veröffentlichen: "Einzelne Option", "Mehrfachoption", "Matrix (Einzelne Option)", "Matrix (Mehrfachoption)" und "Sortierung".
74
+ responses:
75
+ one: "%{count} Antwort"
76
+ other: "%{count} Antworten"
77
77
  status:
78
78
  not_published: Nicht veröffentlicht
79
79
  published: Veröffentlicht
80
80
  title: Antworten veröffentlichen
81
+ questions:
82
+ surveys:
83
+ edit:
84
+ title: Fragen
85
+ responses:
86
+ index:
87
+ no_responses: Es sind noch keine Antworten vorhanden
88
+ title: "%{total} Antworten insgesamt"
89
+ show:
90
+ title: 'Antwort #%{number}'
91
+ settings:
92
+ surveys:
93
+ edit:
94
+ title: Einstellungen
81
95
  surveys:
82
96
  create:
83
97
  invalid: Beim Erstellen der Umfrage ist ein Problem aufgetreten.
@@ -88,6 +102,8 @@ de:
88
102
  title: Umfrage bearbeiten
89
103
  index:
90
104
  title: Umfragen
105
+ new:
106
+ title: Neue Umfrage
91
107
  publish:
92
108
  invalid: Beim Veröffentlichen dieser Umfrage ist ein Problem aufgetreten.
93
109
  success: Umfrage erfolgreich veröffentlicht.
@@ -113,8 +129,8 @@ de:
113
129
  models:
114
130
  survey:
115
131
  fields:
116
- answers: Antworten
117
132
  questions: Fragen
133
+ responses: Antworten
118
134
  status: Status
119
135
  title: Titel
120
136
  status:
@@ -126,10 +142,6 @@ de:
126
142
  subject: 'Umfrage "%{questionnaire_title}": Bestätigung Ihrer Antwort'
127
143
  export_name: Umfrageantworten
128
144
  surveys:
129
- answer:
130
- invalid: Bei der Beantwortung der Umfrage sind Fehler aufgetreten.
131
- spam_detected: Bei der Beantwortung der Umfrage ist ein Fehler aufgetreten. Möglicherweise waren Sie zu schnell, können Sie es erneut versuchen?
132
- success: Umfrage erfolgreich beantwortet.
133
145
  count:
134
146
  surveys_count:
135
147
  one: "%{count} Umfrage"
@@ -140,6 +152,10 @@ de:
140
152
  closed: Geschlossen
141
153
  open: Offen
142
154
  no_surveys_warning: Keine Umfragen entsprechen Ihren Suchkriterien oder es ist keine Umfrage geöffnet.
155
+ response:
156
+ invalid: Es gab ein Problem bei der Beantwortung der Umfrage.
157
+ spam_detected: Bei der Beantwortung der Umfrage ist ein Fehler aufgetreten. Möglicherweise waren Sie zu schnell. Können Sie es erneut versuchen?
158
+ success: Umfrage erfolgreich beantwortet.
143
159
  show:
144
160
  closed: Geschlossen
145
161
  open: Offen
@@ -9,14 +9,9 @@ el:
9
9
  decidim/surveys/survey:
10
10
  one: Έρευνα
11
11
  other: Έρευνες
12
- decidim/surveys/survey_answer:
13
- one: Απάντηση
14
- other: Απαντήσεις
15
12
  decidim:
16
13
  components:
17
14
  surveys:
18
- actions:
19
- answer: Απάντηση
20
15
  settings:
21
16
  global:
22
17
  announcement: Ανακοίνωση
@@ -34,29 +29,11 @@ el:
34
29
  email_outro: Λάβατε αυτήν την ειδοποίηση επειδή ακολουθείτε τον χώρο συμμετοχής %{participatory_space_title}. Μπορείτε να διακόψετε τη λήψη ειδοποιήσεων ακολουθώντας τον προηγούμενο σύνδεσμο.
35
30
  email_subject: Μια νέα έρευνα στον χώρο συμμετοχής %{participatory_space_title}
36
31
  notification_title: Η έρευνα <a href="%{resource_path}">%{resource_title}</a> στον χώρο συμμετοχής <a href="%{participatory_space_url}">%{participatory_space_title}</a> είναι τώρα ανοιχτή.
37
- metrics:
38
- survey_answers:
39
- description: Αριθμός ερευνών που απαντήθηκαν από συμμετέχοντες
40
- object: απαντήσεις σε έρευνες
41
- title: Απαντήσεις σε έρευνες
42
- statistics:
43
- answers_count: Απαντήσεις
44
32
  surveys:
45
33
  admin:
46
- exports:
47
- survey_user_answers: Απαντήσεις συμμετεχόντων στην έρευνα
48
34
  surveys:
49
35
  update:
50
36
  invalid: Υπήρξε ένα πρόβλημα κατά την αποθήκευση της έρευνας.
51
37
  success: Η έρευνα αποθηκεύτηκε με επιτυχία.
52
38
  last_activity:
53
39
  new_survey: 'Νέα έρευνα:'
54
- models:
55
- survey:
56
- fields:
57
- answers: Απαντήσεις
58
- surveys:
59
- answer:
60
- invalid: Υπήρξε ένα πρόβλημα κατά την απάντηση στην έρευνα.
61
- spam_detected: Υπήρχε ένα πρόβλημα στην απάντηση της φόρμας. Ίσως είστε πολύ γρήγοροι, μπορείτε να δοκιμάσετε ξανά;
62
- success: Η έρευνα απαντήθηκε με επιτυχία.
@@ -9,18 +9,26 @@ en:
9
9
  decidim/surveys/survey:
10
10
  one: Survey
11
11
  other: Surveys
12
- decidim/surveys/survey_answer:
13
- one: Answer
14
- other: Answers
12
+ decidim/surveys/survey_response:
13
+ one: Response
14
+ other: Responses
15
15
  decidim:
16
16
  admin:
17
+ actions:
18
+ see_survey: See survey
17
19
  admin_log:
18
20
  changeset:
19
21
  surveys: surveys
22
+ menu:
23
+ surveys_menu:
24
+ main: Main
25
+ questions: Questions
26
+ responses: Responses
27
+ settings: Settings
20
28
  components:
21
29
  surveys:
22
30
  actions:
23
- answer: Answer
31
+ respond: Respond
24
32
  name: Surveys
25
33
  settings:
26
34
  announcement: Announcement
@@ -40,44 +48,50 @@ en:
40
48
  email_outro: You have received this notification because you are following %{participatory_space_title}. You can stop receiving notifications following the previous link.
41
49
  email_subject: A new survey in %{participatory_space_title}
42
50
  notification_title: The survey <a href="%{resource_path}">%{resource_title}</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a> is now open.
43
- metrics:
44
- survey_answers:
45
- description: Number of surveys answered by participants
46
- object: answers to surveys
47
- title: Answers to surveys
48
51
  statistics:
49
- answers_count: Answers
52
+ responses: 'Responses:'
53
+ responses_count: Responses
54
+ surveys_count_tooltip: The number of available surveys and responses collected.
50
55
  surveys:
51
56
  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
57
  confirm_destroy: Are you sure you want to delete this?
54
58
  destroy: Destroy
55
59
  edit: Edit
56
- manage_questions: Manage questions
60
+ manage_questions: Questions
57
61
  new_survey: New survey
58
62
  preview: Preview
63
+ responses_alert: Delete responses at publish is active for this survey. There are currently %{responses_count} responses that will be destroyed if you continue.
59
64
  title: Actions
60
65
  admin:
61
- answers:
62
- index:
63
- title: "%{total} total responses"
64
- show:
65
- title: 'Answer #%{number}'
66
66
  exports:
67
- survey_user_answers: Survey participant answers
68
- publish_answers:
67
+ survey_user_responses: Survey participant responses
68
+ publish_responses:
69
69
  index:
70
- answers:
71
- one: "%{count} answer"
72
- other: "%{count} answers"
73
70
  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.
71
+ By publishing the questions' responses, you will make them visible to the public.
72
+ You can select the responses you want to publish by clicking on the checkbox next to each question.
76
73
  You can only publish the following question types: "Single option", "Multiple option", "Matrix (single option)", "Matrix (multiple option)", and "Sorting".
74
+ responses:
75
+ one: "%{count} response"
76
+ other: "%{count} responses"
77
77
  status:
78
78
  not_published: Not published
79
79
  published: Published
80
- title: Publish answers
80
+ title: Publish responses
81
+ questions:
82
+ surveys:
83
+ edit:
84
+ title: Questions
85
+ responses:
86
+ index:
87
+ no_responses: There are no responses yet
88
+ title: "%{total} total responses"
89
+ show:
90
+ title: 'Response #%{number}'
91
+ settings:
92
+ surveys:
93
+ edit:
94
+ title: Settings
81
95
  surveys:
82
96
  create:
83
97
  invalid: There was a problem creating the survey.
@@ -88,6 +102,8 @@ en:
88
102
  title: Edit survey
89
103
  index:
90
104
  title: Surveys
105
+ new:
106
+ title: New survey
91
107
  publish:
92
108
  invalid: There was a problem publishing this survey.
93
109
  success: Survey successfully published.
@@ -113,8 +129,8 @@ en:
113
129
  models:
114
130
  survey:
115
131
  fields:
116
- answers: Answers
117
132
  questions: Questions
133
+ responses: Responses
118
134
  status: Status
119
135
  title: Title
120
136
  status:
@@ -122,14 +138,10 @@ en:
122
138
  open: Open
123
139
  survey_confirmation_mailer:
124
140
  confirmation:
125
- body: You have successfully answered the %{questionnaire_title} survey within %{participatory_space}
126
- subject: Questionnaire %{questionnaire_title} answering confirmation
127
- export_name: Survey answers
141
+ body: You have successfully responded the %{questionnaire_title} survey within %{participatory_space}
142
+ subject: Questionnaire %{questionnaire_title} responding confirmation
143
+ export_name: Survey responses
128
144
  surveys:
129
- answer:
130
- invalid: There was a problem answering the survey.
131
- spam_detected: There was a problem answering the form. Maybe you have been too quick, can you try again?
132
- success: Survey successfully answered.
133
145
  count:
134
146
  surveys_count:
135
147
  one: "%{count} survey"
@@ -140,6 +152,10 @@ en:
140
152
  closed: Closed
141
153
  open: Open
142
154
  no_surveys_warning: No surveys match your search criteria or there is not any survey open.
155
+ response:
156
+ invalid: There was a problem responding the survey.
157
+ spam_detected: There was a problem responding the form. Maybe you have been too quick, can you try again?
158
+ success: Survey successfully responded.
143
159
  show:
144
160
  closed: Closed
145
161
  open: Open