decidim-forms 0.27.10 → 0.28.0.rc4

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 (113) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/cells/decidim/forms/answer_readonly/show.erb +1 -1
  4. data/app/cells/decidim/forms/matrix_readonly/show.erb +1 -1
  5. data/app/cells/decidim/forms/question_readonly/show.erb +8 -8
  6. data/app/cells/decidim/forms/question_readonly/title_and_description.erb +8 -0
  7. data/app/cells/decidim/forms/question_readonly_cell.rb +7 -0
  8. data/app/cells/decidim/forms/step_navigation/show.erb +13 -26
  9. data/app/cells/decidim/forms/step_navigation_cell.rb +7 -0
  10. data/app/commands/decidim/forms/answer_questionnaire.rb +31 -11
  11. data/app/controllers/decidim/forms/admin/concerns/has_questionnaire.rb +4 -4
  12. data/app/controllers/decidim/forms/admin/concerns/has_questionnaire_answers.rb +1 -1
  13. data/app/controllers/decidim/forms/concerns/has_questionnaire.rb +3 -3
  14. data/app/forms/decidim/forms/answer_form.rb +7 -3
  15. data/app/forms/decidim/forms/questionnaire_form.rb +1 -1
  16. data/app/helpers/decidim/forms/admin/application_helper.rb +1 -1
  17. data/app/helpers/decidim/forms/admin/concerns/has_questionnaire_answers_url_helper.rb +2 -2
  18. data/app/models/decidim/forms/answer.rb +1 -1
  19. data/app/models/decidim/forms/display_condition.rb +2 -2
  20. data/app/models/decidim/forms/question.rb +0 -4
  21. data/app/models/decidim/forms/questionnaire.rb +1 -1
  22. data/app/packs/entrypoints/decidim_forms.js +4 -0
  23. data/app/packs/src/decidim/forms/admin/collapsible_questions.js +12 -6
  24. data/app/packs/src/decidim/forms/admin/forms.js +7 -7
  25. data/app/packs/src/decidim/forms/display_conditions.component.js +3 -3
  26. data/app/packs/src/decidim/forms/forms.js +15 -9
  27. data/app/packs/src/decidim/forms/option_attached_inputs.component.js +1 -1
  28. data/app/packs/stylesheets/decidim/forms/forms.scss +82 -52
  29. data/app/packs/stylesheets/decidim/forms/questionnaire-answers-pdf.scss +13 -13
  30. data/app/presenters/decidim/forms/admin/questionnaire_participant_presenter.rb +2 -2
  31. data/app/presenters/decidim/forms/admin_log/questionnaire_presenter.rb +2 -2
  32. data/app/presenters/decidim/forms/answer_option_presenter.rb +1 -1
  33. data/app/queries/decidim/forms/questionnaire_participants.rb +1 -1
  34. data/app/views/decidim/forms/admin/questionnaires/_answer_option.html.erb +1 -1
  35. data/app/views/decidim/forms/admin/questionnaires/_answer_option_template.html.erb +1 -1
  36. data/app/views/decidim/forms/admin/questionnaires/_display_condition.html.erb +2 -2
  37. data/app/views/decidim/forms/admin/questionnaires/_display_condition_template.html.erb +1 -1
  38. data/app/views/decidim/forms/admin/questionnaires/_form.html.erb +52 -74
  39. data/app/views/decidim/forms/admin/questionnaires/_matrix_row.html.erb +1 -1
  40. data/app/views/decidim/forms/admin/questionnaires/_matrix_row_template.html.erb +1 -1
  41. data/app/views/decidim/forms/admin/questionnaires/_question.html.erb +147 -135
  42. data/app/views/decidim/forms/admin/questionnaires/_separator.html.erb +15 -13
  43. data/app/views/decidim/forms/admin/questionnaires/_title_and_description.html.erb +69 -63
  44. data/app/views/decidim/forms/admin/questionnaires/answers/export/_answer.html.erb +4 -4
  45. data/app/views/decidim/forms/admin/questionnaires/answers/export/pdf.html.erb +1 -1
  46. data/app/views/decidim/forms/admin/questionnaires/answers/index.html.erb +41 -45
  47. data/app/views/decidim/forms/admin/questionnaires/answers/show.html.erb +13 -18
  48. data/app/views/decidim/forms/admin/questionnaires/edit.html.erb +33 -6
  49. data/app/views/decidim/forms/questionnaires/_answer.html.erb +31 -27
  50. data/app/views/decidim/forms/questionnaires/_questionnaire.html.erb +78 -0
  51. data/app/views/decidim/forms/questionnaires/_questionnaire_readonly.html.erb +11 -0
  52. data/app/views/decidim/forms/questionnaires/answers/_files.html.erb +1 -1
  53. data/app/views/decidim/forms/questionnaires/answers/_long_answer.html.erb +3 -1
  54. data/app/views/decidim/forms/questionnaires/answers/_matrix_multiple.html.erb +44 -41
  55. data/app/views/decidim/forms/questionnaires/answers/_matrix_single.html.erb +44 -41
  56. data/app/views/decidim/forms/questionnaires/answers/_multiple_option.html.erb +7 -6
  57. data/app/views/decidim/forms/questionnaires/answers/_separator.html.erb +1 -1
  58. data/app/views/decidim/forms/questionnaires/answers/_short_answer.html.erb +3 -1
  59. data/app/views/decidim/forms/questionnaires/answers/_single_option.html.erb +13 -12
  60. data/app/views/decidim/forms/questionnaires/answers/_sorting.html.erb +9 -12
  61. data/app/views/decidim/forms/questionnaires/answers/_title_and_description.html.erb +1 -1
  62. data/app/views/decidim/forms/questionnaires/show.html.erb +35 -144
  63. data/config/initializers/wicked_pdf.rb +1 -1
  64. data/config/locales/ar.yml +0 -6
  65. data/config/locales/bg.yml +0 -177
  66. data/config/locales/ca.yml +7 -2
  67. data/config/locales/cs.yml +8 -3
  68. data/config/locales/de.yml +9 -4
  69. data/config/locales/el.yml +7 -2
  70. data/config/locales/en.yml +8 -3
  71. data/config/locales/es-MX.yml +7 -2
  72. data/config/locales/es-PY.yml +7 -2
  73. data/config/locales/es.yml +7 -2
  74. data/config/locales/eu.yml +8 -3
  75. data/config/locales/fi-plain.yml +7 -2
  76. data/config/locales/fi.yml +8 -3
  77. data/config/locales/fr-CA.yml +8 -3
  78. data/config/locales/fr.yml +8 -3
  79. data/config/locales/gl.yml +0 -4
  80. data/config/locales/hu.yml +3 -9
  81. data/config/locales/id-ID.yml +0 -4
  82. data/config/locales/it.yml +0 -6
  83. data/config/locales/ja.yml +6 -1
  84. data/config/locales/lb.yml +0 -6
  85. data/config/locales/lt.yml +7 -2
  86. data/config/locales/lv.yml +0 -6
  87. data/config/locales/nl.yml +0 -6
  88. data/config/locales/no.yml +0 -6
  89. data/config/locales/pl.yml +6 -8
  90. data/config/locales/pt-BR.yml +0 -25
  91. data/config/locales/pt.yml +0 -6
  92. data/config/locales/ro-RO.yml +19 -14
  93. data/config/locales/ru.yml +0 -3
  94. data/config/locales/sk.yml +0 -6
  95. data/config/locales/sv.yml +32 -43
  96. data/config/locales/tr-TR.yml +0 -6
  97. data/config/locales/zh-CN.yml +0 -6
  98. data/config/locales/zh-TW.yml +7 -2
  99. data/lib/decidim/forms/engine.rb +8 -0
  100. data/lib/decidim/forms/test/factories.rb +37 -51
  101. data/lib/decidim/forms/test/shared_examples/has_questionnaire.rb +129 -239
  102. data/lib/decidim/forms/test/shared_examples/manage_questionnaire_answers.rb +18 -18
  103. data/lib/decidim/forms/test/shared_examples/manage_questionnaires/add_display_conditions.rb +14 -14
  104. data/lib/decidim/forms/test/shared_examples/manage_questionnaires/add_questions.rb +60 -78
  105. data/lib/decidim/forms/test/shared_examples/manage_questionnaires/update_display_conditions.rb +6 -6
  106. data/lib/decidim/forms/test/shared_examples/manage_questionnaires/update_questions.rb +25 -25
  107. data/lib/decidim/forms/test/shared_examples/manage_questionnaires.rb +9 -9
  108. data/lib/decidim/forms/user_answers_serializer.rb +1 -1
  109. data/lib/decidim/forms/version.rb +1 -1
  110. metadata +23 -18
  111. data/app/packs/src/decidim/forms/autosortable_checkboxes.component.js +0 -83
  112. data/config/locales/he-IL.yml +0 -1
  113. data/decidim-forms.gemspec +0 -34
@@ -1,156 +1,47 @@
1
1
  <% add_decidim_meta_tags({
2
- title: translated_attribute(questionnaire.title),
3
- description: translated_attribute(questionnaire.description),
4
- }) %>
2
+ title: translated_attribute(questionnaire.title),
3
+ description: translated_attribute(questionnaire.description)
4
+ }) %>
5
5
 
6
- <% columns = allow_answers? && visitor_can_answer? && @form.responses.map(&:question).any?(&:matrix?) ? 9 : 6 %>
6
+ <%= append_stylesheet_pack_tag "decidim_forms" %>
7
+ <%= append_javascript_pack_tag "decidim_forms" %>
7
8
 
8
- <%= render partial: "decidim/shared/component_announcement" if current_component.manifest_name == "surveys" %>
9
+ <%= render layout: "layouts/decidim/shared/layout_center" do %>
9
10
 
10
- <div class="row columns">
11
- <h2 class="section-heading"><%= translated_attribute questionnaire.title %></h2>
12
- <div class="row">
13
- <div class="columns large-<%= columns %> medium-centered lead">
14
- <%= decidim_sanitize_editor_admin translated_attribute questionnaire.description %>
15
- </div>
16
- </div>
17
- </div>
18
-
19
- <div class="row">
20
- <div class="columns large-<%= columns %> medium-centered">
21
- <div class="card">
22
- <div class="card__content">
23
- <% unless questionnaire_for.try(:component)&.try(:published?) %>
24
- <div class="section">
25
- <div class="callout warning">
26
- <p><%= t(".questionnaire_not_published.body") %></p>
27
- </div>
28
- </div>
29
- <% end %>
30
-
31
- <% if allow_answers? %>
32
- <% if visitor_can_answer? %>
33
- <% if visitor_already_answered? %>
34
- <div class="section">
35
- <div class="callout success">
36
- <h3 class="heading5"><%= t(".questionnaire_answered.title") %></h3>
37
- <p><%= t(".questionnaire_answered.body") %></p>
38
- </div>
39
- </div>
40
- <% else %>
41
- <div class="answer-questionnaire">
42
- <noscript>
43
- <div class="section">
44
- <div class="callout warning">
45
- <h3 class="heading5"><%= t(".questionnaire_js_disabled.title") %></h3>
46
- <p><%= t(".questionnaire_js_disabled.body") %></p>
47
- </div>
48
- </div>
49
- </noscript>
50
- <% unless current_participatory_space.can_participate?(current_user) %>
51
- <div class="section">
52
- <div class="callout alert">
53
- <h3 class="heading5"><%= t(".questionnaire_for_private_users.title") %></h3>
54
- <p><%= t(".questionnaire_for_private_users.body") %></p>
55
- </div>
56
- </div>
57
- <% end %>
58
-
59
- <%= decidim_form_for(@form, url: update_url, method: :post, html: { multipart: true, class: "form answer-questionnaire" }, data: { "safe-path" => form_path }) do |form| %>
60
- <%= form_required_explanation %>
61
- <%= invisible_captcha %>
62
- <% answer_idx = 0 %>
63
- <% cleaned_answer_idx = 0 %>
64
- <% @form.responses_by_step.each_with_index do |step_answers, step_index| %>
65
- <div id="step-<%= step_index %>" class="<%= step_index.zero? ? "questionnaire-step" : "questionnaire-step hide" %>" data-toggler=".hide">
66
- <% if @form.total_steps > 1 %>
67
- <h3 class="section-heading">
68
- <%= t(".current_step", step: step_index + 1) %>
69
- <span class="answer-questionnaire__steps"><%= t(".of_total_steps", total_steps: @form.total_steps) %></span>
70
- </h3>
71
- <% end %>
72
-
73
- <% step_answers.each do |answer| %>
74
- <div class="row column answer question" data-max-choices="<%= answer.question.max_choices %>" data-conditioned="<%= answer.question.display_conditions.any? %>" data-question-id="<%= answer.question.id %>">
75
- <% answer.question.display_conditions.each do |display_condition| %>
76
- <%= content_tag :div, nil, class: "display-condition", data: display_condition.to_html_data %>
77
- <% end %>
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 %>
78
17
 
79
- <%= fields_for "questionnaire[responses][#{answer_idx}]", answer do |answer_form| %>
80
- <%= render(
81
- "decidim/forms/questionnaires/answer",
82
- answer_form: answer_form,
83
- answer: answer,
84
- answer_idx: answer_idx,
85
- cleaned_answer_idx: cleaned_answer_idx,
86
- disabled: !current_participatory_space.can_participate?(current_user)
87
- ) %>
88
- <% end %>
89
- </div>
90
- <% if !(answer.question.separator? || answer.question.title_and_description?) %>
91
- <% cleaned_answer_idx += 1 %>
92
- <% end %>
93
- <% answer_idx += 1 %>
94
- <% end %>
95
-
96
- <% if step_index + 1 == @form.total_steps %>
97
- <% if show_represent_user_group? %>
98
- <div class="row column represent-user-group">
99
- <%= cell("decidim/represent_user_group", form) %>
100
- </div>
101
- <% end %>
102
-
103
- <% if show_public_participation? %>
104
- <div class="row column public-participation">
105
- <%= cell("decidim/public_participation", form) %>
106
- </div>
107
- <% end %>
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>
108
24
 
109
- <div class="row column tos-agreement">
110
- <%= form.check_box :tos_agreement, label: t(".tos_agreement"), id: "questionnaire_tos_agreement", disabled: !current_participatory_space.can_participate?(current_user) %>
111
- <div class="help-text">
112
- <%= decidim_sanitize_editor translated_attribute questionnaire.tos %>
113
- </div>
114
- </div>
115
- <% end %>
25
+ <%= render partial: "decidim/shared/component_announcement" if current_component.manifest_name == "surveys" %>
116
26
 
117
- <%= cell(
118
- "decidim/forms/step_navigation",
119
- step_index,
120
- total_steps: @form.total_steps,
121
- button_disabled: !current_participatory_space.can_participate?(current_user),
122
- form: form
123
- ) %>
124
- </div>
125
- <% end %>
126
- <% end %>
127
- </div>
128
- <% end %>
129
- <% else %>
130
- <div class="answer-questionnaire">
131
- <h3 class="section-heading"><%= t(".answer_questionnaire.title") %></h3>
132
- <p>
133
- <%= t(".answer_questionnaire.anonymous_user_message", sign_in_link: decidim.new_user_session_path, sign_up_link: decidim.new_user_registration_path).html_safe %>
134
- </p>
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 %>
135
30
 
136
- <ol>
137
- <%= cell("decidim/forms/question_readonly", collection: @questionnaire.questions.not_conditioned) %>
138
- </ol>
139
- </div>
140
- <% end %>
31
+ <section>
32
+ <% if allow_answers? %>
33
+ <% if visitor_can_answer? %>
34
+ <% if visitor_already_answered? %>
35
+ <%= cell("decidim/announcement", { title: t("decidim.forms.questionnaires.show.questionnaire_answered.title"), body: t("decidim.forms.questionnaires.show.questionnaire_answered.body") }) %>
141
36
  <% else %>
142
- <div class="section">
143
- <div class="callout warning">
144
- <h3 class="heading4"><%= t(".questionnaire_closed.title") %></h3>
145
- <p><%= t(".questionnaire_closed.body") %></p>
146
- </div>
147
- </div>
37
+ <%= render partial: "decidim/forms/questionnaires/questionnaire" %>
148
38
  <% end %>
149
- </div>
150
- </div>
151
- </div>
152
- </div>
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>
153
46
 
154
- <% content_for :js_content do %>
155
- <%= javascript_pack_tag "decidim_forms" %>
156
47
  <% end %>
@@ -15,7 +15,7 @@ require "wicked_pdf"
15
15
  # https://github.com/mileszs/wicked_pdf/blob/master/README.md
16
16
 
17
17
  WickedPdf.config = {
18
- # Path to the wkhtmltopdf executable: This usually isn't needed if using
18
+ # Path to the wkhtmltopdf executable: This usually is not needed if using
19
19
  # one of the wkhtmltopdf-binary family of gems.
20
20
  # exe_path: '/usr/local/bin/wkhtmltopdf',
21
21
  # or
@@ -17,8 +17,6 @@ ar:
17
17
  choices:
18
18
  missing: ليست كاملة
19
19
  too_many: كثير جدا
20
- questionnaire:
21
- request_invalid: حدث خطأ أثناء معالجة الطلب. الرجاء إعادة المحاولة ثانية
22
20
  decidim:
23
21
  forms:
24
22
  admin:
@@ -56,9 +54,6 @@ ar:
56
54
  description: الوصف
57
55
  update:
58
56
  invalid: كانت هناك مشكلة في حفظ النموذج.
59
- errors:
60
- answer:
61
- body: لا يمكن أن يكون الجسم فارغًا
62
57
  question_types:
63
58
  long_answer: اجابة طويلة
64
59
  multiple_option: خيار متعدد
@@ -73,7 +68,6 @@ ar:
73
68
  max_choices: 'خيارات ماكس: %{n}'
74
69
  show:
75
70
  answer_questionnaire:
76
- anonymous_user_message: <a href="%{sign_in_link}">قم بتسجيل الدخول بحسابك</a> أو <a href="%{sign_up_link}">اشترك</a> للإجابة على النموذج
77
71
  title: أجب عن النموذج
78
72
  questionnaire_answered:
79
73
  body: لقد أجبت بالفعل على هذا النموذج.
@@ -4,189 +4,12 @@ bg:
4
4
  attributes:
5
5
  answer:
6
6
  body: Отговор
7
- choices: Възможности
8
- selected_choices: Избрани възможности
9
7
  question:
10
8
  max_choices: Максимален брой възможности
11
9
  question_type: Тип
12
- questionnaire_question:
13
- mandatory: Задължително
14
- max_characters: Ограничение на знаците (оставете 0, за неограничено)
15
- errors:
16
- models:
17
- answer:
18
- attributes:
19
- add_documents:
20
- needs_to_be_reattached: Необходимо е да се прикачи отново
21
- body:
22
- too_long: твърде дълъг
23
- choices:
24
- missing: не са завършени
25
- too_many: са твърде много
26
- questionnaire:
27
- request_invalid: Възникна грешка при обработката на заявката. Моля, опитайте отново
28
10
  decidim:
29
11
  forms:
30
- admin:
31
- models:
32
- components:
33
- description: Описание
34
- tos: Условия за ползване
35
- questionnaires:
36
- actions:
37
- back: Назад към въпросите
38
- show: Показване на отговорите
39
- answer_option:
40
- answer_option: Възможност за отговор
41
- free_text: Свободен текст
42
- remove: Премахни
43
- statement: Изявление
44
- answers:
45
- actions:
46
- back: Назад към отговорите
47
- export: Експортиране
48
- show: Показване на отговорите
49
- empty: Все още няма отговори
50
- export:
51
- answer:
52
- title: 'Отговор № %{number}'
53
- export_response:
54
- title: survey_user_answers_%{token}
55
- index:
56
- title: "Общ брой отговори: %{total}"
57
- show:
58
- title: 'Отговор № %{number}'
59
- display_condition:
60
- answer_option: Възможност за отговор
61
- condition_question: Въпрос
62
- condition_type: Условие
63
- condition_types:
64
- answered: Отговорено
65
- equal: Равно
66
- match: Включва текст
67
- not_answered: Неотговорено
68
- not_equal: Не е равно
69
- condition_value: Включен текст
70
- display_condition: Условие за показване
71
- mandatory: Това условие винаги трябва да бъде удовлетворено, независимо от състоянието на другите условия
72
- remove: Премахни
73
- save_warning: Не забравяйте да запазите формуляра, преди да конфигурирате условията за показване
74
- select_answer_option: Изберете вариант за отговор
75
- select_condition_question: Изберете въпрос
76
- select_condition_type: Изберете тип условие
77
- edit:
78
- save: Запази
79
- title: Редактиране на въпросника
80
- form:
81
- add_question: Добавяне на въпрос
82
- add_separator: Добавяне на разделител
83
- add_title_and_description: Добавете заглавие и описание
84
- already_answered_warning: Няколко потребители вече са попълнили въпросника, поради което не можете да промените въпросите в него.
85
- collapse: Свиване на всички въпроси
86
- expand: Разгъване на всички въпроси
87
- preview: Преглед
88
- title: Редактирайте формуляра за %{questionnaire_for}
89
- unpublished_warning: Формулярът не е публикуван. Можете да промените въпросите в него, но така ще се изтрият текущите въпроси.
90
- matrix_row:
91
- matrix_row: Ред
92
- remove: Премахни
93
- statement: Изявление
94
- question:
95
- add_answer_option: Добавяне на възможност за отговор
96
- add_display_condition: Добавяне на условие за показване
97
- add_display_condition_info: Запазете формуляра, за да конфигурирате условията за показване
98
- add_matrix_row: Добавяне на ред
99
- any: Някой
100
- collapse: Свий
101
- description: Описание
102
- down: Надолу
103
- expand: Разтваряне
104
- question: Въпрос
105
- remove: Премахни
106
- statement: Изявление
107
- up: Горе
108
- separator:
109
- down: Долу
110
- remove: Премахни
111
- separator: Разделител
112
- up: Горе
113
- title_and_description:
114
- collapse: Свий
115
- description: Описание
116
- down: Долу
117
- expand: Разтваряне
118
- remove: Премахни
119
- title: Заглавие
120
- title_and_description: Заглавие и описание
121
- up: Горе
122
- update:
123
- invalid: Възникна проблем при запазването на формуляра.
124
- success: Формулярите бяха запазени успешно.
125
- admin_log:
126
- questionnaire:
127
- update: "%{user_name} актуализира въпросника %{resource_name}"
128
- errors:
129
- answer:
130
- body: Основният текст не може да бъде празен
131
- images:
132
- dimensions: "%{width} x %{height} пиксела"
133
- processors:
134
- resize_and_pad: Това изображение ще бъде преоразмерено и уплътнено до %{dimensions}.
135
- resize_to_fit: Това изображение ще бъде преоразмерено и уплътнено до %{dimensions}.
136
- question_types:
137
- files: Файлове
138
- long_answer: Дълъг отговор
139
- matrix_multiple: Матрица (множество опции)
140
- matrix_single: Матрица (единична опция)
141
- multiple_option: Множество опции
142
- short_answer: Кратък отговор
143
- single_option: Единична опция
144
- sorting: Сортиране
145
- title_and_description: Заглавие и описание
146
- questionnaire_answer_presenter:
147
- download_attachment: Изтегляне на прикачени файлове
148
- questionnaires:
149
- answer:
150
- invalid: Възникна проблем при попълването на отговорите във формуляра.
151
- max_choices_alert: Избрани са прекалено много варианти
152
- success: Отговорите са попълнени успешно във формуляра.
153
- question:
154
- max_choices: 'Максимален брой избрани варианти: %{n}'
155
- show:
156
- answer_questionnaire:
157
- anonymous_user_message: <a href="%{sign_in_link}">Влезте в профила си</a> или <a href="%{sign_up_link}">се регистрирайте</a>, за да попълните отговорите си във формуляра.
158
- title: Попълване на отговори във формуляра
159
- current_step: Стъпка %{step}
160
- of_total_steps: от %{total_steps}
161
- questionnaire_answered:
162
- body: Вече сте попълнили отговорите в този формуляр.
163
- title: Вече сте отговорили
164
- questionnaire_closed:
165
- body: Формулярът е затворен и не можете да попълните отговорите си.
166
- title: Формулярът е затворен
167
- questionnaire_for_private_users:
168
- body: Формулярът е налице само за частни потребители
169
- title: Формулярът е затворен
170
- questionnaire_js_disabled:
171
- body: Някои от функциите на формуляра ще бъдат деактивирани. За да подобрите практическата си работа, моля, активирайте JavaScript в браузъра си.
172
- title: JavaScript е деактивиран
173
- questionnaire_not_published:
174
- body: Този формуляр все още не е публикуван.
175
- tos_agreement: С участието си приемате Условията на ползване
176
12
  step_navigation:
177
13
  show:
178
14
  are_you_sure: Това действие не може да се отмени и Вие не можете да редактирате отговорите си. Сигурни ли сте?
179
- back: Назад
180
- continue: Продължи
181
15
  submit: Изпрати
182
- user_answers_serializer:
183
- body: Отговор
184
- completion: Завършване
185
- created_at: Отговорено на
186
- id: ID на отговора
187
- ip_hash: IP хеширане
188
- question: Въпрос
189
- registered: Регистриран
190
- session_token: Идентификатор на потребителя
191
- unregistered: Нерегистриран
192
- user_status: Статус на потребителя
@@ -24,7 +24,7 @@ ca:
24
24
  missing: no estan complets
25
25
  too_many: en són masses
26
26
  questionnaire:
27
- request_invalid: Hi ha hagut un problema gestionant la petició. Si us plau torna-ho a provar
27
+ request_invalid: Hi ha hagut un problema gestionant la petició. Si us plau, torna-ho a provar.
28
28
  decidim:
29
29
  forms:
30
30
  admin:
@@ -45,6 +45,8 @@ ca:
45
45
  actions:
46
46
  back: Tornar a les respostes
47
47
  export: Exportar
48
+ next: Següent &rsaquo;
49
+ previous: "&lsaquo; Anterior"
48
50
  show: Mostrar les respostes
49
51
  empty: Encara no hi ha respostes
50
52
  export:
@@ -154,7 +156,10 @@ ca:
154
156
  max_choices: 'Opcions màximes: %{n}'
155
157
  show:
156
158
  answer_questionnaire:
157
- anonymous_user_message: <a href="%{sign_in_link}">Inicia sessió amb el teu compte</a> o <a href="%{sign_up_link}">registra't</a> per respondre el formulari.
159
+ already_have_an_account?: Ja tens un compte?
160
+ are_you_new?: Ets una nova usuària?
161
+ sign_in_description: Inicia la teva sessió per respondre l'enquesta
162
+ sign_up_description: Crea un compte de participant per a respondre l'enquesta
158
163
  title: Respon el formulari
159
164
  current_step: Pas %{step}
160
165
  of_total_steps: de %{total_steps}
@@ -24,7 +24,7 @@ cs:
24
24
  missing: nejsou úplné
25
25
  too_many: jsou příliš mnoho
26
26
  questionnaire:
27
- request_invalid: Při zpracování požadavku došlo k chybě. Prosím zkuste to znovu
27
+ request_invalid: Při zpracování požadavku došlo k chybě. Zkuste to prosím znovu.
28
28
  decidim:
29
29
  forms:
30
30
  admin:
@@ -45,6 +45,8 @@ cs:
45
45
  actions:
46
46
  back: Zpět na odpovědi
47
47
  export: Export
48
+ next: Další &rsaquo;
49
+ previous: "&lsaquo; Předchozí"
48
50
  show: Zobrazit odpovědi
49
51
  empty: Zatím žádné odpovědi
50
52
  export:
@@ -127,7 +129,7 @@ cs:
127
129
  update: "%{user_name} aktualizoval dotazník %{resource_name}"
128
130
  errors:
129
131
  answer:
130
- body: Tělo nemůže být prázdné
132
+ body: Tělo textu nemůže být prázdné
131
133
  images:
132
134
  dimensions: "%{width} x %{height} px"
133
135
  processors:
@@ -154,7 +156,10 @@ cs:
154
156
  max_choices: 'Max možnosti: %{n}'
155
157
  show:
156
158
  answer_questionnaire:
157
- anonymous_user_message: <a href="%{sign_in_link}">Přihlaste se svým účtem</a> nebo <a href="%{sign_up_link}">zaregistrujte</a> abyste odpověděli na dotazník.
159
+ already_have_an_account?: Již máte účet?
160
+ are_you_new?: Nový uživatel?
161
+ sign_in_description: Přihlaste se k provedení průzkumu
162
+ sign_up_description: Vytvořit uživatelský účet k provedení průzkumu
158
163
  title: Odpovězte na dotazník
159
164
  current_step: Krok %{step}
160
165
  of_total_steps: z %{total_steps}
@@ -24,7 +24,7 @@ de:
24
24
  missing: sind nicht vollständig
25
25
  too_many: sind zu viele
26
26
  questionnaire:
27
- request_invalid: Bei der Bearbeitung der Anfrage ist ein Fehler aufgetreten. Bitte versuchen Sie es nochmal
27
+ request_invalid: Beim Bearbeiten der Anfrage ist ein Fehler aufgetreten. Bitte versuchen Sie es nochmal.
28
28
  decidim:
29
29
  forms:
30
30
  admin:
@@ -45,6 +45,8 @@ de:
45
45
  actions:
46
46
  back: Zurück zu Antworten
47
47
  export: Exportieren
48
+ next: Nächste &rsaquo;
49
+ previous: "&lsaquo; Vorherige"
48
50
  show: Antworten anzeigen
49
51
  empty: Noch keine Antworten
50
52
  export:
@@ -127,7 +129,7 @@ de:
127
129
  update: "%{user_name} hat die Umfrage %{resource_name} aktualisiert"
128
130
  errors:
129
131
  answer:
130
- body: Körper kann nicht leer sein
132
+ body: Textkörper kann nicht leer sein
131
133
  images:
132
134
  dimensions: "%{width} x %{height} px"
133
135
  processors:
@@ -154,7 +156,10 @@ de:
154
156
  max_choices: 'Max Auswahlmöglichkeiten: %{n}'
155
157
  show:
156
158
  answer_questionnaire:
157
- anonymous_user_message: <a href="%{sign_in_link}">Melden Sie sich mit Ihrem Konto an</a> oder <a href="%{sign_up_link}">Melden Sie sich an</a> , um den Fragebogen zu beantworten.
159
+ already_have_an_account?: Haben Sie bereits ein Konto?
160
+ are_you_new?: Neue Teilnehmer*in?
161
+ sign_in_description: Melden Sie sich an, um an der Umfrage teilzunehmen
162
+ sign_up_description: Erstellen Sie ein Nutzendenkonto, um an der Umfrage teilzunehmen
158
163
  title: Beantworten Sie den Fragebogen
159
164
  current_step: Schritt %{step}
160
165
  of_total_steps: von %{total_steps}
@@ -175,7 +180,7 @@ de:
175
180
  tos_agreement: Mit der Teilnahme stimmen Sie den Nutzungsbedingungen zu
176
181
  step_navigation:
177
182
  show:
178
- are_you_sure: Diese Aktion kann nicht rückgängig gemacht werden und Sie können Ihre Antworten nicht bearbeiten. Sind Sie sich sicher?
183
+ are_you_sure: Diese Aktion kann nicht rückgängig gemacht werden und Sie können Ihre Antworten nicht bearbeiten. Sind Sie sicher?
179
184
  back: Zurück
180
185
  continue: Weiter
181
186
  submit: einreichen
@@ -24,7 +24,7 @@ el:
24
24
  missing: δεν έχουν ολοκληρωθεί
25
25
  too_many: είναι πάρα πολλά
26
26
  questionnaire:
27
- request_invalid: Παρουσιάστηκε σφάλμα κατά τον χειρισμό του αιτήματος. Δοκιμάστε ξανά
27
+ request_invalid: Παρουσιάστηκε σφάλμα κατά τον χειρισμό του αιτήματος. Παρακαλώ δοκιμάστε ξανά.
28
28
  decidim:
29
29
  forms:
30
30
  admin:
@@ -45,6 +45,8 @@ el:
45
45
  actions:
46
46
  back: Επιστροφή στις απαντήσεις
47
47
  export: Εξαγωγή
48
+ next: Επόμενη &rsaquo;
49
+ previous: "&lsaquo; Προηγούμενη"
48
50
  show: Εμφάνιση απαντήσεων
49
51
  empty: Δεν υπάρχουν απαντήσεις ακόμη
50
52
  export:
@@ -154,7 +156,10 @@ el:
154
156
  max_choices: 'Μέγιστες επιλογές: %{n}'
155
157
  show:
156
158
  answer_questionnaire:
157
- anonymous_user_message: <a href="%{sign_in_link}">Είσοδος με τον λογαριασμό σας</a> ή <a href="%{sign_up_link}">εγγραφή</a> για να απαντήσετε στη φόρμα.
159
+ already_have_an_account?: Έχετε ήδη λογαριασμό;
160
+ are_you_new?: Νέος χρήστης;
161
+ sign_in_description: Συνδεθείτε για να πραγματοποιήσετε την έρευνα
162
+ sign_up_description: Δημιουργήστε ένα λογαριασμό συμμετέχοντα για να κάνετε την έρευνα
158
163
  title: Απαντήστε στη φόρμα
159
164
  current_step: Βήμα %{step}
160
165
  of_total_steps: από %{total_steps}
@@ -24,7 +24,7 @@ en:
24
24
  missing: are not complete
25
25
  too_many: are too many
26
26
  questionnaire:
27
- request_invalid: There's been an error handling the request. Please try again
27
+ request_invalid: There was an error handling the request. Please try again.
28
28
  decidim:
29
29
  forms:
30
30
  admin:
@@ -45,6 +45,8 @@ en:
45
45
  actions:
46
46
  back: Back to responses
47
47
  export: Export
48
+ next: Next &rsaquo;
49
+ previous: "&lsaquo; Prev"
48
50
  show: Show answers
49
51
  empty: No answers yet
50
52
  export:
@@ -127,7 +129,7 @@ en:
127
129
  update: "%{user_name} updated the %{resource_name} questionnaire"
128
130
  errors:
129
131
  answer:
130
- body: Body can't be blank
132
+ body: Body cannot be blank
131
133
  images:
132
134
  dimensions: "%{width} x %{height} px"
133
135
  processors:
@@ -154,7 +156,10 @@ en:
154
156
  max_choices: 'Max choices: %{n}'
155
157
  show:
156
158
  answer_questionnaire:
157
- anonymous_user_message: <a href="%{sign_in_link}">Sign in with your account</a> or <a href="%{sign_up_link}">sign up</a> to answer the form.
159
+ already_have_an_account?: Already have an account?
160
+ are_you_new?: New user?
161
+ sign_in_description: Login to take the survey
162
+ sign_up_description: Create a participant account to take the survey
158
163
  title: Answer the form
159
164
  current_step: Step %{step}
160
165
  of_total_steps: of %{total_steps}
@@ -24,7 +24,7 @@ es-MX:
24
24
  missing: no están completos
25
25
  too_many: son demasiados
26
26
  questionnaire:
27
- request_invalid: Ha ocurrido un error al enviar tu solicitud. Inténtalo de nuevo
27
+ request_invalid: Ha ocurrido un error al enviar tu solicitud. Por favor, Inténtalo de nuevo.
28
28
  decidim:
29
29
  forms:
30
30
  admin:
@@ -45,6 +45,8 @@ es-MX:
45
45
  actions:
46
46
  back: Volver a las respuestas
47
47
  export: Exportar
48
+ next: Siguiente &rsaquo;
49
+ previous: "&lsaquo; Anterior"
48
50
  show: Mostrar las respuestas
49
51
  empty: Aún no hay respuestas
50
52
  export:
@@ -154,7 +156,10 @@ es-MX:
154
156
  max_choices: 'Opciones máximas: %{n}'
155
157
  show:
156
158
  answer_questionnaire:
157
- anonymous_user_message: <a href="%{sign_in_link}">Inicia sesión con tu cuenta</a> o <a href="%{sign_up_link}">regístrese</a> para responder al cuestionario.
159
+ already_have_an_account?: '¿Ya tienes una cuenta?'
160
+ are_you_new?: '¿Eres una nueva usuaria?'
161
+ sign_in_description: Inicia tu sesión para responder la encuesta
162
+ sign_up_description: Crea una cuenta de participante para realizar la encuesta
158
163
  title: Responde al cuestionario
159
164
  current_step: Paso %{step}
160
165
  of_total_steps: de %{total_steps}