decidim-forms 0.29.6 → 0.30.0.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/cells/decidim/forms/step_navigation_cell.rb +18 -5
- data/app/commands/decidim/forms/admin/update_questionnaire.rb +1 -82
- data/app/commands/decidim/forms/admin/update_questions.rb +109 -0
- data/app/commands/decidim/forms/answer_questionnaire.rb +10 -3
- data/app/controllers/decidim/forms/admin/concerns/has_questionnaire.rb +39 -3
- data/app/controllers/decidim/forms/admin/concerns/has_questionnaire_answers.rb +2 -2
- data/app/controllers/decidim/forms/concerns/has_questionnaire.rb +12 -4
- data/app/forms/decidim/forms/admin/display_condition_form.rb +1 -1
- data/app/forms/decidim/forms/admin/questionnaire_form.rb +0 -9
- data/app/forms/decidim/forms/admin/questions_form.rb +18 -0
- data/app/forms/decidim/forms/answer_choice_form.rb +5 -0
- data/app/forms/decidim/forms/answer_form.rb +1 -0
- data/app/forms/decidim/forms/questionnaire_form.rb +7 -0
- data/app/helpers/decidim/forms/admin/concerns/has_questionnaire_answers_pagination_helper.rb +1 -1
- data/app/helpers/decidim/forms/admin/concerns/has_questionnaire_answers_url_helper.rb +5 -5
- data/app/jobs/decidim/forms/export_questionnaire_answers_job.rb +5 -1
- data/app/models/decidim/forms/answer_choice.rb +0 -2
- data/app/models/decidim/forms/answer_option.rb +1 -1
- data/app/models/decidim/forms/question.rb +10 -0
- data/app/packs/entrypoints/decidim_forms.js +0 -1
- data/app/packs/entrypoints/decidim_forms_admin.js +6 -0
- data/app/packs/src/decidim/forms/admin/publish_answers_buttons.js +72 -0
- data/app/packs/src/decidim/forms/forms.js +4 -25
- data/app/presenters/decidim/forms/admin/questionnaire_participant_presenter.rb +1 -1
- data/app/presenters/decidim/forms/admin_log/question_presenter.rb +31 -0
- data/app/queries/decidim/forms/questionnaire_user_answers.rb +1 -1
- data/app/views/decidim/forms/admin/questionnaires/_answer_option_template.html.erb +1 -1
- data/app/views/decidim/forms/admin/questionnaires/_display_condition_template.html.erb +1 -1
- data/app/views/decidim/forms/admin/questionnaires/_form.html.erb +0 -89
- data/app/views/decidim/forms/admin/questionnaires/_matrix_row_template.html.erb +1 -1
- data/app/views/decidim/forms/admin/questionnaires/_question.html.erb +14 -4
- data/app/views/decidim/forms/admin/questionnaires/_questions_form.html.erb +80 -0
- data/app/views/decidim/forms/admin/questionnaires/_separator.html.erb +10 -3
- data/app/views/decidim/forms/admin/questionnaires/_title_and_description.html.erb +11 -1
- data/app/views/decidim/forms/admin/questionnaires/edit.html.erb +0 -20
- data/app/views/decidim/forms/admin/questionnaires/edit_questions.html.erb +47 -0
- data/app/views/decidim/forms/questionnaires/_answer.html.erb +1 -1
- data/app/views/decidim/forms/questionnaires/_questionnaire.html.erb +8 -1
- data/app/views/decidim/forms/questionnaires/answers/_files.html.erb +1 -1
- data/app/views/decidim/forms/questionnaires/answers/_long_answer.html.erb +1 -1
- data/app/views/decidim/forms/questionnaires/answers/_short_answer.html.erb +1 -1
- data/app/views/decidim/forms/questionnaires/answers/_sorting.html.erb +12 -6
- data/app/views/decidim/forms/questionnaires/edit.html.erb +47 -0
- data/app/views/decidim/forms/questionnaires/show.html.erb +13 -2
- data/config/assets.rb +1 -2
- data/config/locales/ar.yml +18 -1
- data/config/locales/bg.yml +42 -2
- data/config/locales/ca.yml +59 -13
- data/config/locales/cs.yml +54 -8
- data/config/locales/de.yml +56 -10
- data/config/locales/el.yml +41 -2
- data/config/locales/en.yml +51 -5
- data/config/locales/es-MX.yml +61 -15
- data/config/locales/es-PY.yml +61 -15
- data/config/locales/es.yml +60 -14
- data/config/locales/eu.yml +58 -12
- data/config/locales/fi-plain.yml +56 -10
- data/config/locales/fi.yml +56 -10
- data/config/locales/fr-CA.yml +51 -13
- data/config/locales/fr.yml +51 -13
- data/config/locales/ga-IE.yml +9 -0
- data/config/locales/gl.yml +11 -1
- data/config/locales/hu.yml +14 -1
- data/config/locales/id-ID.yml +9 -1
- data/config/locales/it.yml +31 -3
- data/config/locales/ja.yml +13 -12
- data/config/locales/lb.yml +32 -1
- data/config/locales/lt.yml +41 -2
- data/config/locales/lv.yml +15 -1
- data/config/locales/nl.yml +29 -0
- data/config/locales/no.yml +33 -0
- data/config/locales/pl.yml +43 -2
- data/config/locales/pt-BR.yml +35 -0
- data/config/locales/pt.yml +31 -0
- data/config/locales/ro-RO.yml +50 -17
- data/config/locales/ru.yml +3 -2
- data/config/locales/sk.yml +12 -1
- data/config/locales/sl.yml +7 -0
- data/config/locales/sv.yml +17 -15
- data/config/locales/tr-TR.yml +27 -0
- data/config/locales/val-ES.yml +2 -0
- data/config/locales/zh-CN.yml +27 -0
- data/config/locales/zh-TW.yml +41 -2
- data/db/migrate/20190315203056_add_session_token_to_decidim_forms_answers.rb +1 -1
- data/db/migrate/20241122142230_add_survey_answers_published_at_to_questions.rb +7 -0
- data/decidim-forms.gemspec +1 -2
- data/lib/decidim/api/answer_option_type.rb +1 -1
- data/lib/decidim/api/question_type.rb +4 -4
- data/lib/decidim/api/questionnaire_type.rb +4 -4
- data/lib/decidim/exporters/form_pdf.rb +114 -11
- data/lib/decidim/forms/download_your_data_user_answers_serializer.rb +0 -4
- data/lib/decidim/forms/test/factories.rb +2 -2
- data/lib/decidim/forms/test/shared_examples/has_questionnaire.rb +46 -7
- data/lib/decidim/forms/test/shared_examples/manage_questionnaire_answers.rb +17 -17
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/add_display_conditions.rb +19 -21
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/add_questions.rb +70 -94
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/update_display_conditions.rb +15 -18
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/update_questions.rb +115 -247
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires.rb +3 -29
- data/lib/decidim/forms/version.rb +1 -1
- data/lib/decidim/forms.rb +0 -1
- metadata +18 -33
- data/app/packs/entrypoints/decidim_questionnaire_answers_pdf.js +0 -1
- data/app/packs/entrypoints/decidim_questionnaire_answers_pdf.scss +0 -1
- data/app/packs/stylesheets/decidim/forms/questionnaire-answers-pdf.scss +0 -69
- data/app/views/decidim/forms/admin/questionnaires/answers/export/_answer.html.erb +0 -31
- data/app/views/decidim/forms/admin/questionnaires/answers/export/pdf.html.erb +0 -13
- data/app/views/layouts/decidim/forms/admin/questionnaires/questionnaire_answers.html.erb +0 -12
- data/config/initializers/wicked_pdf.rb +0 -26
- data/config/locales/ca-IT.yml +0 -192
- data/lib/decidim/exporters/form_pdf_controller_helper.rb +0 -13
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<% add_decidim_meta_tags({
|
|
2
|
+
title: translated_attribute(questionnaire.title),
|
|
3
|
+
description: translated_attribute(questionnaire.description)
|
|
4
|
+
}) %>
|
|
5
|
+
|
|
6
|
+
<%= append_stylesheet_pack_tag "decidim_forms" %>
|
|
7
|
+
<%= append_javascript_pack_tag "decidim_forms" %>
|
|
8
|
+
|
|
9
|
+
<%= render layout: "layouts/decidim/shared/layout_center" do %>
|
|
10
|
+
|
|
11
|
+
<div class="text-center py-10">
|
|
12
|
+
<% if questionnaire.title.present? %>
|
|
13
|
+
<h1 class="title-decorator inline-block text-left mb-12">
|
|
14
|
+
<%= translated_attribute questionnaire.title %>
|
|
15
|
+
</h1>
|
|
16
|
+
<% end %>
|
|
17
|
+
|
|
18
|
+
<% if questionnaire.description.present? %>
|
|
19
|
+
<div class="text-left editor-content">
|
|
20
|
+
<%= decidim_sanitize_editor_admin translated_attribute questionnaire.description %>
|
|
21
|
+
</div>
|
|
22
|
+
<% end %>
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<%= render partial: "decidim/shared/component_announcement" if current_component.manifest_name == "surveys" %>
|
|
26
|
+
|
|
27
|
+
<% unless questionnaire_for.try(:component)&.try(:published?) %>
|
|
28
|
+
<%= cell("decidim/announcement", t("decidim.forms.questionnaires.show.questionnaire_not_published.body"), callout_class: "warning") %>
|
|
29
|
+
<% end %>
|
|
30
|
+
|
|
31
|
+
<section>
|
|
32
|
+
<% if allow_answers? %>
|
|
33
|
+
<% if visitor_can_answer? %>
|
|
34
|
+
<% if @form.responses_by_step.flatten.empty? %>
|
|
35
|
+
<%= cell("decidim/announcement", t("decidim.forms.questionnaires.show.empty")) %>
|
|
36
|
+
<% else %>
|
|
37
|
+
<%= render partial: "decidim/forms/questionnaires/questionnaire" %>
|
|
38
|
+
<% end %>
|
|
39
|
+
<% else %>
|
|
40
|
+
<%= render partial: "decidim/forms/questionnaires/questionnaire_readonly" %>
|
|
41
|
+
<% end %>
|
|
42
|
+
<% else %>
|
|
43
|
+
<%= cell("decidim/announcement", { title: t("decidim.forms.questionnaires.show.questionnaire_closed.title"), body: t("decidim.forms.questionnaires.show.questionnaire_closed.body") }, callout_class: "warning") %>
|
|
44
|
+
<% end %>
|
|
45
|
+
</section>
|
|
46
|
+
|
|
47
|
+
<% end %>
|
|
@@ -32,7 +32,14 @@
|
|
|
32
32
|
<% if allow_answers? %>
|
|
33
33
|
<% if visitor_can_answer? %>
|
|
34
34
|
<% if visitor_already_answered? %>
|
|
35
|
-
|
|
35
|
+
<% if visitor_can_edit_answers? && current_component.manifest_name == "surveys" %>
|
|
36
|
+
<% body = t("decidim.forms.questionnaires.show.questionnaire_answered_edit.body",
|
|
37
|
+
link: link_to(t("decidim.forms.questionnaires.show.questionnaire_answered_edit.edit"), edit_survey_path(questionnaire_for))
|
|
38
|
+
) %>
|
|
39
|
+
<% else %>
|
|
40
|
+
<% body = t("decidim.forms.questionnaires.show.questionnaire_answered.body") %>
|
|
41
|
+
<% end %>
|
|
42
|
+
<%= cell("decidim/announcement", { title: t("decidim.forms.questionnaires.show.questionnaire_answered.title"), body: body }) %>
|
|
36
43
|
<% else %>
|
|
37
44
|
<% if @form.responses_by_step.flatten.empty? %>
|
|
38
45
|
<%= cell("decidim/announcement", t("decidim.forms.questionnaires.show.empty")) %>
|
|
@@ -44,7 +51,11 @@
|
|
|
44
51
|
<%= render partial: "decidim/forms/questionnaires/questionnaire_readonly" %>
|
|
45
52
|
<% end %>
|
|
46
53
|
<% else %>
|
|
47
|
-
|
|
54
|
+
<% if questionnaire_for.class.name == "Decidim::Surveys::Survey" && show_published_questions_answers? %>
|
|
55
|
+
<%= render partial: "decidim/surveys/surveys/published_questions_answers" %>
|
|
56
|
+
<% else %>
|
|
57
|
+
<%= cell("decidim/announcement", { title: t("decidim.forms.questionnaires.show.questionnaire_closed.title"), body: t("decidim.forms.questionnaires.show.questionnaire_closed.body") }, callout_class: "warning") %>
|
|
58
|
+
<% end %>
|
|
48
59
|
<% end %>
|
|
49
60
|
</section>
|
|
50
61
|
|
data/config/assets.rb
CHANGED
|
@@ -5,6 +5,5 @@ base_path = File.expand_path("..", __dir__)
|
|
|
5
5
|
Decidim::Webpacker.register_path("#{base_path}/app/packs")
|
|
6
6
|
Decidim::Webpacker.register_entrypoints(
|
|
7
7
|
decidim_forms: "#{base_path}/app/packs/entrypoints/decidim_forms.js",
|
|
8
|
-
decidim_forms_admin: "#{base_path}/app/packs/entrypoints/decidim_forms_admin.js"
|
|
9
|
-
decidim_questionnaire_answers_pdf: "#{base_path}/app/packs/entrypoints/decidim_questionnaire_answers_pdf.js"
|
|
8
|
+
decidim_forms_admin: "#{base_path}/app/packs/entrypoints/decidim_forms_admin.js"
|
|
10
9
|
)
|
data/config/locales/ar.yml
CHANGED
|
@@ -4,11 +4,18 @@ ar:
|
|
|
4
4
|
attributes:
|
|
5
5
|
answer:
|
|
6
6
|
body: إجابة
|
|
7
|
+
choices: الخيارات
|
|
7
8
|
question:
|
|
8
9
|
max_choices: أقصى عدد من الخيارات
|
|
9
10
|
question_type: نوع
|
|
10
11
|
questionnaire_question:
|
|
11
12
|
mandatory: إلزامي
|
|
13
|
+
errors:
|
|
14
|
+
models:
|
|
15
|
+
answer:
|
|
16
|
+
attributes:
|
|
17
|
+
choices:
|
|
18
|
+
missing: ليست كاملة
|
|
12
19
|
decidim:
|
|
13
20
|
forms:
|
|
14
21
|
admin:
|
|
@@ -19,8 +26,12 @@ ar:
|
|
|
19
26
|
questionnaires:
|
|
20
27
|
answer_option:
|
|
21
28
|
answer_option: خيار الإجابة
|
|
29
|
+
free_text: نص حر
|
|
22
30
|
remove: إزالة
|
|
23
31
|
statement: بيان
|
|
32
|
+
answers:
|
|
33
|
+
actions:
|
|
34
|
+
export: تصدير
|
|
24
35
|
display_condition:
|
|
25
36
|
condition_question: سؤال
|
|
26
37
|
remove: حذف
|
|
@@ -35,9 +46,11 @@ ar:
|
|
|
35
46
|
add_answer_option: إضافة خيار الإجابة
|
|
36
47
|
any: أي
|
|
37
48
|
description: وصف
|
|
49
|
+
down: أسفل
|
|
38
50
|
question: سؤال
|
|
39
51
|
remove: إزالة
|
|
40
52
|
statement: بيان
|
|
53
|
+
up: فوق
|
|
41
54
|
title_and_description:
|
|
42
55
|
description: الوصف
|
|
43
56
|
update:
|
|
@@ -56,6 +69,8 @@ ar:
|
|
|
56
69
|
max_choices: 'خيارات ماكس: %{n}'
|
|
57
70
|
show:
|
|
58
71
|
answer_questionnaire:
|
|
72
|
+
already_have_an_account?: لديك حساب بالفعل؟
|
|
73
|
+
are_you_new?: مستخدم جديد؟
|
|
59
74
|
title: أجب عن النموذج
|
|
60
75
|
questionnaire_answered:
|
|
61
76
|
body: لقد أجبت بالفعل على هذا النموذج.
|
|
@@ -73,4 +88,6 @@ ar:
|
|
|
73
88
|
user_answers_serializer:
|
|
74
89
|
created_at: أجاب على
|
|
75
90
|
id: معرف الإجابة
|
|
76
|
-
|
|
91
|
+
registered: مُسجَّل
|
|
92
|
+
unregistered: غير مُسجَّل
|
|
93
|
+
user_status: حالة المستخدم
|
data/config/locales/bg.yml
CHANGED
|
@@ -4,6 +4,8 @@ bg:
|
|
|
4
4
|
attributes:
|
|
5
5
|
answer:
|
|
6
6
|
body: Отговор
|
|
7
|
+
choices: Възможности
|
|
8
|
+
selected_choices: Избрани възможности
|
|
7
9
|
question:
|
|
8
10
|
max_choices: Максимален брой възможности
|
|
9
11
|
question_type: Тип
|
|
@@ -12,8 +14,15 @@ bg:
|
|
|
12
14
|
max_characters: Ограничение на знаците (оставете 0, за неограничено)
|
|
13
15
|
errors:
|
|
14
16
|
models:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
answer:
|
|
18
|
+
attributes:
|
|
19
|
+
add_documents:
|
|
20
|
+
needs_to_be_reattached: Необходимо е да се прикачи отново
|
|
21
|
+
body:
|
|
22
|
+
too_long: твърде дълъг
|
|
23
|
+
choices:
|
|
24
|
+
missing: не са завършени
|
|
25
|
+
too_many: Можете да изберете максимум %{count}.
|
|
17
26
|
decidim:
|
|
18
27
|
forms:
|
|
19
28
|
admin:
|
|
@@ -27,14 +36,24 @@ bg:
|
|
|
27
36
|
show: Показване на отговорите
|
|
28
37
|
answer_option:
|
|
29
38
|
answer_option: Възможност за отговор
|
|
39
|
+
free_text: Свободен текст
|
|
30
40
|
remove: Премахни
|
|
31
41
|
statement: Изявление
|
|
32
42
|
answers:
|
|
33
43
|
actions:
|
|
44
|
+
back: Назад към отговорите
|
|
45
|
+
export: Експортиране
|
|
46
|
+
next: Следваща ›
|
|
47
|
+
previous: "‹ Предна"
|
|
34
48
|
show: Показване на отговорите
|
|
35
49
|
empty: Все още няма отговори
|
|
50
|
+
export:
|
|
51
|
+
answer:
|
|
52
|
+
title: 'Отговор № %{number}'
|
|
36
53
|
export_response:
|
|
37
54
|
title: survey_user_answers_%{token}
|
|
55
|
+
index:
|
|
56
|
+
title: "Общ брой отговори: %{total}"
|
|
38
57
|
show:
|
|
39
58
|
title: 'Отговор № %{number}'
|
|
40
59
|
display_condition:
|
|
@@ -76,26 +95,35 @@ bg:
|
|
|
76
95
|
any: Някой
|
|
77
96
|
collapse: Свий
|
|
78
97
|
description: Описание
|
|
98
|
+
down: Надолу
|
|
79
99
|
expand: Разтваряне
|
|
80
100
|
question: Въпрос
|
|
81
101
|
remove: Премахни
|
|
82
102
|
statement: Изявление
|
|
103
|
+
up: Горе
|
|
83
104
|
separator:
|
|
105
|
+
down: Долу
|
|
84
106
|
remove: Премахни
|
|
85
107
|
separator: Разделител
|
|
108
|
+
up: Горе
|
|
86
109
|
title_and_description:
|
|
87
110
|
collapse: Свий
|
|
88
111
|
description: Описание
|
|
112
|
+
down: Долу
|
|
89
113
|
expand: Разтваряне
|
|
90
114
|
remove: Премахни
|
|
91
115
|
title: Заглавие
|
|
92
116
|
title_and_description: Заглавие и описание
|
|
117
|
+
up: Горе
|
|
93
118
|
update:
|
|
94
119
|
invalid: Възникна проблем при запазването на формуляра.
|
|
95
120
|
success: Формулярите бяха запазени успешно.
|
|
96
121
|
admin_log:
|
|
97
122
|
questionnaire:
|
|
98
123
|
update: "%{user_name} актуализира въпросника %{resource_name}"
|
|
124
|
+
errors:
|
|
125
|
+
answer:
|
|
126
|
+
body: Основният текст не може да бъде празен
|
|
99
127
|
images:
|
|
100
128
|
dimensions: "%{width} x %{height} пиксела"
|
|
101
129
|
processors:
|
|
@@ -111,14 +139,20 @@ bg:
|
|
|
111
139
|
single_option: Единична опция
|
|
112
140
|
sorting: Сортиране
|
|
113
141
|
title_and_description: Заглавие и описание
|
|
142
|
+
questionnaire_answer_presenter:
|
|
143
|
+
download_attachment: Изтегляне на прикачени файлове
|
|
114
144
|
questionnaires:
|
|
115
145
|
answer:
|
|
116
146
|
invalid: Възникна проблем при попълването на отговорите във формуляра.
|
|
147
|
+
max_choices_alert: Избрани са прекалено много варианти
|
|
117
148
|
success: Отговорите са попълнени успешно във формуляра.
|
|
118
149
|
question:
|
|
119
150
|
max_choices: 'Максимален брой избрани варианти: %{n}'
|
|
120
151
|
show:
|
|
121
152
|
answer_questionnaire:
|
|
153
|
+
already_have_an_account?: Вече имате профил?
|
|
154
|
+
are_you_new?: Нов потребител?
|
|
155
|
+
sign_up_description: Създайте акаунт на участник, за да участвате в анкетата
|
|
122
156
|
title: Попълване на отговори във формуляра
|
|
123
157
|
current_step: Стъпка %{step}
|
|
124
158
|
empty: Все още няма конфигурирани въпроси за този формуляр.
|
|
@@ -145,6 +179,12 @@ bg:
|
|
|
145
179
|
submit: Изпрати
|
|
146
180
|
user_answers_serializer:
|
|
147
181
|
body: Отговор
|
|
182
|
+
completion: Завършване
|
|
148
183
|
created_at: Отговорено на
|
|
149
184
|
id: ID на отговора
|
|
185
|
+
ip_hash: IP хеширане
|
|
150
186
|
question: Въпрос
|
|
187
|
+
registered: Регистриран
|
|
188
|
+
session_token: Идентификатор на потребителя
|
|
189
|
+
unregistered: Нерегистриран
|
|
190
|
+
user_status: Статус на потребителя
|
data/config/locales/ca.yml
CHANGED
|
@@ -17,29 +17,51 @@ ca:
|
|
|
17
17
|
answer:
|
|
18
18
|
attributes:
|
|
19
19
|
add_documents:
|
|
20
|
-
needs_to_be_reattached:
|
|
20
|
+
needs_to_be_reattached: Ha de ser adjuntat de nou
|
|
21
21
|
body:
|
|
22
22
|
too_long: és massa llarg
|
|
23
23
|
choices:
|
|
24
|
-
missing: no estan
|
|
24
|
+
missing: no estan complets
|
|
25
25
|
too_many: Pots triar un màxim de %{count} opcions.
|
|
26
26
|
questionnaire:
|
|
27
|
-
request_invalid: Hi ha hagut un problema
|
|
27
|
+
request_invalid: Hi ha hagut un problema en gestionar la sol·licitud. Si us plau, torna-ho a provar.
|
|
28
28
|
decidim:
|
|
29
|
+
download_your_data:
|
|
30
|
+
help:
|
|
31
|
+
answers:
|
|
32
|
+
answer: La resposta a la pregunta
|
|
33
|
+
id: L'identificador únic de la resposta
|
|
34
|
+
question: La pregunta que es va respondre
|
|
35
|
+
questionnaire: L'enquesta que es va respondre
|
|
36
|
+
user: La usuària que va respondre l'enquesta
|
|
37
|
+
show:
|
|
38
|
+
answers: Exportar les respostes
|
|
39
|
+
survey_user_answers: Respostes de les usuàries a l'enquesta
|
|
29
40
|
forms:
|
|
30
41
|
admin:
|
|
31
42
|
models:
|
|
32
43
|
components:
|
|
44
|
+
allow_answers: Permetre respostes
|
|
45
|
+
allow_editing_answers: Permetre a les usuàries registrades editar les seves respostes a l'enquesta
|
|
46
|
+
allow_unregistered: Permet a usuàries no registrades contestar l'enquesta
|
|
47
|
+
allow_unregistered_help: Si està activat, no serà necessari iniciar sessió per a respondre l'enquesta. Això pot implicar una recollida de dades pobra o poc fiable i serà més vulnerable a atacs automatitzats. Fes-ho servir amb precaució! És important que una participant pugui respondre a la mateixa enquesta diverses vegades, fent servir diferents navegador o la funció de "navegació privada" del seu navegadro web.
|
|
48
|
+
announcement: Avís
|
|
49
|
+
clean_after_publish: Esborrar les respostes en publicar l'enquesta
|
|
33
50
|
description: Descripció
|
|
51
|
+
ends_at: Respostes acceptades fins a
|
|
52
|
+
ends_at_help: Deixar en blanc si no hi ha cap data específica
|
|
53
|
+
starts_at: Respostes acceptades des de
|
|
54
|
+
starts_at_help: Deixar en blanc si no hi ha cap data específica
|
|
34
55
|
tos: Termes del servei
|
|
35
56
|
questionnaires:
|
|
36
57
|
actions:
|
|
37
58
|
back: Tornar a les preguntes
|
|
59
|
+
publish_answers: Publica respostes
|
|
38
60
|
show: Mostrar les respostes
|
|
39
61
|
answer_option:
|
|
40
62
|
answer_option: Opció de resposta
|
|
41
63
|
free_text: Text lliure
|
|
42
|
-
remove:
|
|
64
|
+
remove: Elimina
|
|
43
65
|
statement: Declaració
|
|
44
66
|
answers:
|
|
45
67
|
actions:
|
|
@@ -55,7 +77,7 @@ ca:
|
|
|
55
77
|
export_response:
|
|
56
78
|
title: survey_user_answers_%{token}
|
|
57
79
|
index:
|
|
58
|
-
title: "%{total} respostes
|
|
80
|
+
title: "%{total} respostes totals"
|
|
59
81
|
show:
|
|
60
82
|
title: 'Resposta #%{number}'
|
|
61
83
|
display_condition:
|
|
@@ -79,16 +101,18 @@ ca:
|
|
|
79
101
|
edit:
|
|
80
102
|
save: Desa
|
|
81
103
|
title: Editar el qüestionari
|
|
82
|
-
|
|
83
|
-
add_question:
|
|
104
|
+
edit_questions:
|
|
105
|
+
add_question: Afegir pregunta
|
|
84
106
|
add_separator: Afegir separador
|
|
85
107
|
add_title_and_description: Afegir títol i descripció
|
|
86
|
-
|
|
108
|
+
save: Desar
|
|
109
|
+
title: Preguntes
|
|
110
|
+
form:
|
|
111
|
+
add_question: Afegeix una pregunta
|
|
87
112
|
collapse: Redueix totes les preguntes
|
|
88
113
|
expand: Expandeix totes les preguntes
|
|
89
114
|
preview: Previsualitzar
|
|
90
115
|
title: Editar formulari per %{questionnaire_for}
|
|
91
|
-
unpublished_warning: El formulari no està publicat. Pots modificar les preguntes, però en fer-ho s'esborraran les respostes actuals.
|
|
92
116
|
matrix_row:
|
|
93
117
|
matrix_row: Fila
|
|
94
118
|
remove: Elimina
|
|
@@ -101,24 +125,40 @@ ca:
|
|
|
101
125
|
any: Cap
|
|
102
126
|
collapse: Redueix
|
|
103
127
|
description: Descripció
|
|
128
|
+
down: Avall
|
|
104
129
|
expand: Expandeix
|
|
105
130
|
question: Pregunta
|
|
106
131
|
remove: Eliminar
|
|
107
132
|
statement: Declaració
|
|
133
|
+
up: Amunt
|
|
134
|
+
questions_form:
|
|
135
|
+
already_answered_warning: No pots modificar les preguntes d'aquest formulari perquè algunes participants ja han respost el formulari.
|
|
136
|
+
collapse: Replega totes les preguntes
|
|
137
|
+
expand: Desplega totes les preguntes
|
|
138
|
+
unpublished_warning: El formulari no està publicat. Pots modificar les preguntes, però en fer-ho s'esborraran les respostes actuals.
|
|
139
|
+
update:
|
|
140
|
+
success: Pregunta/es afegida/es correctament a l'enquesta.
|
|
108
141
|
separator:
|
|
142
|
+
down: Baixar
|
|
109
143
|
remove: Eliminar
|
|
110
144
|
separator: Separador
|
|
145
|
+
up: Pujar
|
|
111
146
|
title_and_description:
|
|
112
147
|
collapse: Replegar
|
|
113
148
|
description: Descripció
|
|
149
|
+
down: Baixar
|
|
114
150
|
expand: Expandir
|
|
115
151
|
remove: Esborrar
|
|
116
152
|
title: Títol
|
|
117
153
|
title_and_description: Títol i descripció
|
|
154
|
+
up: Pujar
|
|
118
155
|
update:
|
|
119
156
|
invalid: S'ha produït un error en desar el formulari.
|
|
120
157
|
success: Formulari desat correctament.
|
|
121
158
|
admin_log:
|
|
159
|
+
question:
|
|
160
|
+
publish_answers: "%{user_name} va publicar respostes a les preguntes de l'enquesta %{resource_name} a l'espai de participació %{space_name}"
|
|
161
|
+
unpublish_answers: "%{user_name} va despublicar respostes a les preguntes de l'enquesta %{resource_name} a l'espai de participació %{space_name}"
|
|
122
162
|
questionnaire:
|
|
123
163
|
update: "%{user_name} ha actualitzat el qüestionari %{resource_name}"
|
|
124
164
|
errors:
|
|
@@ -144,7 +184,7 @@ ca:
|
|
|
144
184
|
questionnaires:
|
|
145
185
|
answer:
|
|
146
186
|
invalid: S'han produït un error en respondre el formulari.
|
|
147
|
-
max_choices_alert:
|
|
187
|
+
max_choices_alert: Hi ha massa opcions seleccionades
|
|
148
188
|
success: Has contestat el formulari correctament.
|
|
149
189
|
question:
|
|
150
190
|
max_choices: 'Opcions màximes: %{n}'
|
|
@@ -161,6 +201,9 @@ ca:
|
|
|
161
201
|
questionnaire_answered:
|
|
162
202
|
body: Ja has respost a aquest formulari.
|
|
163
203
|
title: Ja has respost
|
|
204
|
+
questionnaire_answered_edit:
|
|
205
|
+
body: 'Ja has respost a aquest formulari: %{link}'
|
|
206
|
+
edit: Edita les respostes
|
|
164
207
|
questionnaire_closed:
|
|
165
208
|
body: El formulari està tancat i no es pot respondre.
|
|
166
209
|
title: S'ha tancat el formulari
|
|
@@ -175,18 +218,21 @@ ca:
|
|
|
175
218
|
tos_agreement: En participar acceptes els Termes i condicions d'ús
|
|
176
219
|
step_navigation:
|
|
177
220
|
show:
|
|
178
|
-
|
|
221
|
+
are_you_sure_edit: Podràs editar les teves respostes. Segur que vols continuar?
|
|
222
|
+
are_you_sure_edit_guest: Si vols poder editar les teves respostes més tard, cal que iniciïs la teva sessió o que creïs un compte.
|
|
223
|
+
are_you_sure_no_edit: Aquesta acció no es pot desfer i no podràs editar les respostes. Segur que vols continuar?
|
|
179
224
|
back: Enrere
|
|
180
225
|
continue: Continuar
|
|
226
|
+
disallowed: No pots editar les teves respostes.
|
|
181
227
|
submit: Enviar respostes
|
|
182
228
|
user_answers_serializer:
|
|
183
229
|
body: Resposta
|
|
184
230
|
completion: Finalització
|
|
185
231
|
created_at: Respost el
|
|
186
232
|
id: Identificador de resposta
|
|
187
|
-
ip_hash: Hash
|
|
233
|
+
ip_hash: Hash d'adreça IP
|
|
188
234
|
question: Pregunta
|
|
189
235
|
registered: Registrada
|
|
190
236
|
session_token: Identificador d'usuària
|
|
191
237
|
unregistered: No registrada
|
|
192
|
-
user_status: Estat de
|
|
238
|
+
user_status: Estat de l'usuària
|
data/config/locales/cs.yml
CHANGED
|
@@ -17,24 +17,46 @@ cs:
|
|
|
17
17
|
answer:
|
|
18
18
|
attributes:
|
|
19
19
|
add_documents:
|
|
20
|
-
needs_to_be_reattached:
|
|
20
|
+
needs_to_be_reattached: Potřebuje být znovu připojen
|
|
21
21
|
body:
|
|
22
22
|
too_long: je příliš dlouhý
|
|
23
23
|
choices:
|
|
24
|
-
missing: nejsou
|
|
24
|
+
missing: nejsou úplné
|
|
25
25
|
too_many: Můžete si vybrat maximálně %{count}.
|
|
26
26
|
questionnaire:
|
|
27
|
-
request_invalid: Při zpracování požadavku
|
|
27
|
+
request_invalid: Při zpracování požadavku se vyskytl problém. Zkuste to znovu.
|
|
28
28
|
decidim:
|
|
29
|
+
download_your_data:
|
|
30
|
+
help:
|
|
31
|
+
answers:
|
|
32
|
+
answer: Odpověď na otázku
|
|
33
|
+
id: Jedinečný identifikátor odpovědi
|
|
34
|
+
question: Otázka, která byla zodpovězena
|
|
35
|
+
questionnaire: Dotazník, který byl zodpovězen
|
|
36
|
+
user: Uživatel, který odpověděl na dotazník
|
|
37
|
+
show:
|
|
38
|
+
answers: Export odpovědí
|
|
39
|
+
survey_user_answers: Odpovědi uživatele na dotazník
|
|
29
40
|
forms:
|
|
30
41
|
admin:
|
|
31
42
|
models:
|
|
32
43
|
components:
|
|
44
|
+
allow_answers: Povolit odpovědi
|
|
45
|
+
allow_editing_answers: Umožnit registrovaným uživatelům upravovat vlastní odpovědi v průzkumu
|
|
46
|
+
allow_unregistered: Umožnit neregistrovaným uživatelům odpovídat na anketu
|
|
47
|
+
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.
|
|
48
|
+
announcement: Oznámení
|
|
49
|
+
clean_after_publish: Odstranit odpovědi při publikování ankety
|
|
33
50
|
description: Popis
|
|
51
|
+
ends_at: Odpověď přijata do
|
|
52
|
+
ends_at_help: Ponechte prázdné pro žádné konkrétní datum
|
|
53
|
+
starts_at: Odpovědi přijaté od
|
|
54
|
+
starts_at_help: Ponechte prázdné pro žádné konkrétní datum
|
|
34
55
|
tos: Podmínky služby
|
|
35
56
|
questionnaires:
|
|
36
57
|
actions:
|
|
37
58
|
back: Zpět na otázky
|
|
59
|
+
publish_answers: Zveřejnit odpovědi
|
|
38
60
|
show: Zobrazit odpovědi
|
|
39
61
|
answer_option:
|
|
40
62
|
answer_option: Možnost odpovědi
|
|
@@ -79,16 +101,18 @@ cs:
|
|
|
79
101
|
edit:
|
|
80
102
|
save: Uložit
|
|
81
103
|
title: Upravit dotazník
|
|
82
|
-
|
|
104
|
+
edit_questions:
|
|
83
105
|
add_question: Přidat otázku
|
|
84
106
|
add_separator: Přidat oddělovač
|
|
85
107
|
add_title_and_description: Přidat název a popis
|
|
86
|
-
|
|
108
|
+
save: Uložit
|
|
109
|
+
title: Otázky
|
|
110
|
+
form:
|
|
111
|
+
add_question: Přidat otázku
|
|
87
112
|
collapse: Sbalit všechny otázky
|
|
88
113
|
expand: Rozbalit všechny otázky
|
|
89
114
|
preview: Náhled
|
|
90
115
|
title: Upravit formulář pro %{questionnaire_for}
|
|
91
|
-
unpublished_warning: Formulář není zveřejněn. Můžete změnit jeho otázky, ale tím odstraníte aktuální odpovědi.
|
|
92
116
|
matrix_row:
|
|
93
117
|
matrix_row: Řádek
|
|
94
118
|
remove: Odstranit
|
|
@@ -101,24 +125,40 @@ cs:
|
|
|
101
125
|
any: Žádný
|
|
102
126
|
collapse: Sbalit
|
|
103
127
|
description: Popis
|
|
128
|
+
down: Dolů
|
|
104
129
|
expand: Rozbalit
|
|
105
130
|
question: Otázka
|
|
106
131
|
remove: Odstranit
|
|
107
132
|
statement: Prohlášení
|
|
133
|
+
up: Nahoru
|
|
134
|
+
questions_form:
|
|
135
|
+
already_answered_warning: Formulář je již zodpovězen některými uživateli, takže jeho otázky nemůžete upravovat.
|
|
136
|
+
collapse: Sbalit všechny otázky
|
|
137
|
+
expand: Rozbalit všechny otázky
|
|
138
|
+
unpublished_warning: Formulář není zveřejněn. Můžete změnit jeho otázky, ale tím odstraníte aktuální odpovědi.
|
|
139
|
+
update:
|
|
140
|
+
success: Otázky ankety byly úspěšně uloženy.
|
|
108
141
|
separator:
|
|
142
|
+
down: Dolů
|
|
109
143
|
remove: Odebrat
|
|
110
144
|
separator: Oddělovač
|
|
145
|
+
up: Nahoru
|
|
111
146
|
title_and_description:
|
|
112
147
|
collapse: Sbalit
|
|
113
148
|
description: Popis
|
|
149
|
+
down: Dolů
|
|
114
150
|
expand: Rozbalit
|
|
115
151
|
remove: Odebrat
|
|
116
152
|
title: Název
|
|
117
153
|
title_and_description: Název a popis
|
|
154
|
+
up: Nahoru
|
|
118
155
|
update:
|
|
119
156
|
invalid: Při ukládání dotazníku došlo k chybám.
|
|
120
157
|
success: Formulář byl úspěšně uložen.
|
|
121
158
|
admin_log:
|
|
159
|
+
question:
|
|
160
|
+
publish_answers: "%{user_name} zveřejnilo odpovědi na otázku %{resource_name} v prostoru %{space_name}"
|
|
161
|
+
unpublish_answers: "%{user_name} zrušil zveřejnění odpovědí na otázku %{resource_name} na prostoru %{space_name}"
|
|
122
162
|
questionnaire:
|
|
123
163
|
update: "%{user_name} aktualizoval dotazník %{resource_name}"
|
|
124
164
|
errors:
|
|
@@ -161,6 +201,9 @@ cs:
|
|
|
161
201
|
questionnaire_answered:
|
|
162
202
|
body: Již jste odpověděli na tento dotazník.
|
|
163
203
|
title: Již jste odpověděli
|
|
204
|
+
questionnaire_answered_edit:
|
|
205
|
+
body: Na tento formulář jste již odpověděli. %{link}
|
|
206
|
+
edit: Upravte své odpovědi
|
|
164
207
|
questionnaire_closed:
|
|
165
208
|
body: Dotazník je uzavřen a nelze jej zodpovědět.
|
|
166
209
|
title: Dotazník byl uzavřen
|
|
@@ -175,13 +218,16 @@ cs:
|
|
|
175
218
|
tos_agreement: Účastí přijímáte jeho smluvní podmínky
|
|
176
219
|
step_navigation:
|
|
177
220
|
show:
|
|
178
|
-
|
|
221
|
+
are_you_sure_edit: Budete moci upravit své odpovědi. Jste si jisti?
|
|
222
|
+
are_you_sure_edit_guest: Pokud chcete být schopni následně upravit své odpovědi, pak se musíte přihlásit nebo vytvořit účet.
|
|
223
|
+
are_you_sure_no_edit: Tuto akci nelze vrátit zpět a nebudete moci upravit své odpovědi. Jste si jisti?
|
|
179
224
|
back: Zpět
|
|
180
225
|
continue: Pokračovat
|
|
226
|
+
disallowed: Nemáte oprávnění upravovat své odpovědi.
|
|
181
227
|
submit: Odeslat
|
|
182
228
|
user_answers_serializer:
|
|
183
229
|
body: Odpověď
|
|
184
|
-
completion:
|
|
230
|
+
completion: Ukončení
|
|
185
231
|
created_at: Zodpovězeno
|
|
186
232
|
id: ID odpovědi
|
|
187
233
|
ip_hash: IP Hash
|