decidim-forms 0.29.1 → 0.29.2
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/forms/decidim/forms/admin/questionnaire_form.rb +2 -2
- data/app/models/decidim/forms/answer_choice.rb +2 -0
- data/app/views/decidim/forms/questionnaires/_answer.html.erb +11 -1
- data/config/initializers/wicked_pdf.rb +0 -1
- data/config/locales/ar.yml +3 -2
- data/config/locales/bg.yml +0 -5
- data/config/locales/bn-BD.yml +1 -0
- data/config/locales/bs-BA.yml +1 -0
- data/config/locales/ca.yml +3 -3
- data/config/locales/de.yml +4 -4
- data/config/locales/el.yml +0 -5
- data/config/locales/es-MX.yml +3 -3
- data/config/locales/es-PY.yml +3 -3
- data/config/locales/es.yml +3 -3
- data/config/locales/eu.yml +7 -7
- data/config/locales/fi-plain.yml +3 -3
- data/config/locales/fi.yml +3 -3
- data/config/locales/fr-CA.yml +2 -2
- data/config/locales/fr.yml +2 -2
- data/config/locales/gl.yml +0 -3
- data/config/locales/hu.yml +0 -3
- data/config/locales/id-ID.yml +0 -2
- data/config/locales/it.yml +0 -4
- data/config/locales/ja.yml +0 -5
- data/config/locales/lb.yml +0 -4
- data/config/locales/lt.yml +0 -5
- data/config/locales/lv.yml +0 -3
- data/config/locales/nl.yml +0 -5
- data/config/locales/no.yml +0 -5
- data/config/locales/pl.yml +0 -5
- data/config/locales/pt-BR.yml +0 -5
- data/config/locales/pt.yml +0 -4
- data/config/locales/ro-RO.yml +1 -5
- data/config/locales/sk.yml +0 -2
- data/config/locales/sv.yml +0 -5
- data/config/locales/tr-TR.yml +0 -4
- data/config/locales/val-ES.yml +0 -2
- data/config/locales/zh-CN.yml +0 -4
- data/config/locales/zh-TW.yml +0 -5
- data/decidim-forms.gemspec +1 -5
- data/lib/decidim/forms/test/shared_examples/has_questionnaire.rb +26 -0
- data/lib/decidim/forms/user_answers_serializer.rb +1 -1
- data/lib/decidim/forms/version.rb +1 -1
- metadata +11 -23
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6139d10d03807b7f5cd8dde3b4142988b788f9938d7af7865484a83a02395a5f
|
|
4
|
+
data.tar.gz: b8a81a8442bf4bcdf0af280a4afa3cbc7f0dd31bef6c6d429f7096517fb33d6f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d92feb78364974122b61f1440d5f34056bad5fcfc45b68e474b3d0ad6c397bd0294ca04f10ee7a3fff98a94f5e1f0c428fc89f2cafc021ce25e7323845e674e0
|
|
7
|
+
data.tar.gz: 12b71b8d781e6262dad4b1f9a7f32e78766f27f204dd39fa7b645b9d388d2d9435dc6de552dc9aad86307f45b6399e1cfc1df12ca2dd647053bff5c702828604
|
|
@@ -8,8 +8,8 @@ module Decidim
|
|
|
8
8
|
include TranslatableAttributes
|
|
9
9
|
|
|
10
10
|
translatable_attribute :title, String
|
|
11
|
-
translatable_attribute :description,
|
|
12
|
-
translatable_attribute :tos,
|
|
11
|
+
translatable_attribute :description, Decidim::Attributes::RichText
|
|
12
|
+
translatable_attribute :tos, Decidim::Attributes::RichText
|
|
13
13
|
|
|
14
14
|
attribute :published_at, Decidim::Attributes::TimeWithZone
|
|
15
15
|
attribute :questions, Array[QuestionForm]
|
|
@@ -17,6 +17,8 @@ module Decidim
|
|
|
17
17
|
optional: true
|
|
18
18
|
|
|
19
19
|
validates :matrix_row, presence: true, if: -> { answer.question.matrix? }
|
|
20
|
+
|
|
21
|
+
default_scope { left_outer_joins(:matrix_row).order(arel_table[:position].asc, Decidim::Forms::QuestionMatrixRow.arel_table[:position].asc, arel_table[:id].asc) }
|
|
20
22
|
end
|
|
21
23
|
end
|
|
22
24
|
end
|
|
@@ -29,7 +29,17 @@
|
|
|
29
29
|
}
|
|
30
30
|
label_options[:for] = nil if %w(matrix_single matrix_multiple single_option multiple_option).include?(answer.question.question_type)
|
|
31
31
|
%>
|
|
32
|
-
|
|
32
|
+
|
|
33
|
+
<%= label_tag field_id, **label_options do %>
|
|
34
|
+
<%= translated_attribute(answer.question.body) %>
|
|
35
|
+
<% if answer.question.mandatory? %>
|
|
36
|
+
<%= answer_form.send(:required_indicator) %>
|
|
37
|
+
<% end %>
|
|
38
|
+
<% if answer.question.max_choices %>
|
|
39
|
+
<%= " (#{answer.send(:max_choices_label)})" %>
|
|
40
|
+
<% end %>
|
|
41
|
+
<% end %>
|
|
42
|
+
|
|
33
43
|
<% if translated_attribute(answer.question.description).present? %>
|
|
34
44
|
<div class="answer-questionnaire__question-description">
|
|
35
45
|
<%= decidim_sanitize_editor_admin translated_attribute(answer.question.description) %>
|
|
@@ -19,7 +19,6 @@ WickedPdf.configure do |config|
|
|
|
19
19
|
# one of the wkhtmltopdf-binary family of gems.
|
|
20
20
|
# or
|
|
21
21
|
# config.exe_path = '/usr/local/bin/wkhtmltopdf',
|
|
22
|
-
config.exe_path = Gem.bin_path("wkhtmltopdf-binary", "wkhtmltopdf")
|
|
23
22
|
|
|
24
23
|
# Layout file to be used for all PDFs
|
|
25
24
|
# (but can be overridden in `render :pdf` calls)
|
data/config/locales/ar.yml
CHANGED
|
@@ -29,6 +29,9 @@ ar:
|
|
|
29
29
|
free_text: نص حر
|
|
30
30
|
remove: إزالة
|
|
31
31
|
statement: بيان
|
|
32
|
+
answers:
|
|
33
|
+
actions:
|
|
34
|
+
export: تصدير
|
|
32
35
|
display_condition:
|
|
33
36
|
condition_question: سؤال
|
|
34
37
|
remove: حذف
|
|
@@ -36,7 +39,6 @@ ar:
|
|
|
36
39
|
save: حفظ
|
|
37
40
|
form:
|
|
38
41
|
add_question: أضف سؤال
|
|
39
|
-
already_answered_warning: تمت الإجابة على النموذج من قبل بعض المستخدمين حتى لا تتمكن من تعديل أسئلته.
|
|
40
42
|
matrix_row:
|
|
41
43
|
remove: إزالة
|
|
42
44
|
statement: بيان
|
|
@@ -82,7 +84,6 @@ ar:
|
|
|
82
84
|
tos_agreement: من خلال المشاركة ، فإنك تقبل شروط الخدمة
|
|
83
85
|
step_navigation:
|
|
84
86
|
show:
|
|
85
|
-
are_you_sure: لا يمكن التراجع عن هذا الإجراء ولن تتمكن من تعديل إجاباتك. هل أنت واثق؟
|
|
86
87
|
submit: خضع
|
|
87
88
|
user_answers_serializer:
|
|
88
89
|
created_at: أجاب على
|
data/config/locales/bg.yml
CHANGED
|
@@ -81,14 +81,10 @@ bg:
|
|
|
81
81
|
title: Редактиране на въпросника
|
|
82
82
|
form:
|
|
83
83
|
add_question: Добавяне на въпрос
|
|
84
|
-
add_separator: Добавяне на разделител
|
|
85
|
-
add_title_and_description: Добавете заглавие и описание
|
|
86
|
-
already_answered_warning: Няколко потребители вече са попълнили въпросника, поради което не можете да промените въпросите в него.
|
|
87
84
|
collapse: Свиване на всички въпроси
|
|
88
85
|
expand: Разгъване на всички въпроси
|
|
89
86
|
preview: Преглед
|
|
90
87
|
title: Редактирайте формуляра за %{questionnaire_for}
|
|
91
|
-
unpublished_warning: Формулярът не е публикуван. Можете да промените въпросите в него, но така ще се изтрият текущите въпроси.
|
|
92
88
|
matrix_row:
|
|
93
89
|
matrix_row: Ред
|
|
94
90
|
remove: Премахни
|
|
@@ -180,7 +176,6 @@ bg:
|
|
|
180
176
|
tos_agreement: С участието си приемате Условията на ползване
|
|
181
177
|
step_navigation:
|
|
182
178
|
show:
|
|
183
|
-
are_you_sure: Това действие не може да се отмени и Вие не можете да редактирате отговорите си. Сигурни ли сте?
|
|
184
179
|
back: Назад
|
|
185
180
|
continue: Продължи
|
|
186
181
|
submit: Изпрати
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
bn:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
bs:
|
data/config/locales/ca.yml
CHANGED
|
@@ -83,12 +83,12 @@ ca:
|
|
|
83
83
|
add_question: Afegeix una pregunta
|
|
84
84
|
add_separator: Afegir separador
|
|
85
85
|
add_title_and_description: Afegir títol i descripció
|
|
86
|
-
already_answered_warning: No pots modificar les preguntes d'aquest formulari perquè
|
|
86
|
+
already_answered_warning: No pots modificar les preguntes d'aquest formulari perquè algunes participants ja han respost el formulari.
|
|
87
87
|
collapse: Redueix totes les preguntes
|
|
88
88
|
expand: Expandeix totes les preguntes
|
|
89
89
|
preview: Previsualitzar
|
|
90
90
|
title: Editar formulari per %{questionnaire_for}
|
|
91
|
-
unpublished_warning: El formulari no està publicat. Pots modificar les preguntes, però
|
|
91
|
+
unpublished_warning: El formulari no està publicat. Pots modificar les preguntes, però en fer-ho s'esborraran les respostes actuals.
|
|
92
92
|
matrix_row:
|
|
93
93
|
matrix_row: Fila
|
|
94
94
|
remove: Elimina
|
|
@@ -181,7 +181,7 @@ ca:
|
|
|
181
181
|
tos_agreement: En participar acceptes els Termes i condicions d'ús
|
|
182
182
|
step_navigation:
|
|
183
183
|
show:
|
|
184
|
-
are_you_sure: Aquesta acció no es pot desfer i no podràs editar les
|
|
184
|
+
are_you_sure: Aquesta acció no es pot desfer i no podràs editar les respostes. Segur que vols continuar?
|
|
185
185
|
back: Enrere
|
|
186
186
|
continue: Continuar
|
|
187
187
|
submit: Enviar respostes
|
data/config/locales/de.yml
CHANGED
|
@@ -82,13 +82,13 @@ de:
|
|
|
82
82
|
form:
|
|
83
83
|
add_question: Frage hinzufügen
|
|
84
84
|
add_separator: Trennzeichen hinzufügen
|
|
85
|
-
add_title_and_description:
|
|
85
|
+
add_title_and_description: Titel und Beschreibung hinzufügen
|
|
86
86
|
already_answered_warning: Der Fragebogen wird bereits von einigen Benutzern beantwortet, sodass Sie die Fragen nicht ändern können.
|
|
87
87
|
collapse: Alle Fragen einklappen
|
|
88
88
|
expand: Alle Fragen ausklappen
|
|
89
89
|
preview: Vorschau
|
|
90
90
|
title: Formular für %{questionnaire_for} bearbeiten
|
|
91
|
-
unpublished_warning: Das Formular ist nicht
|
|
91
|
+
unpublished_warning: Das Formular ist nicht veröffentlicht. Sie können die Fragen ändern, aber dadurch werden die aktuellen Antworten gelöscht.
|
|
92
92
|
matrix_row:
|
|
93
93
|
matrix_row: Zeile
|
|
94
94
|
remove: Löschen
|
|
@@ -178,10 +178,10 @@ de:
|
|
|
178
178
|
title: JavaScript ist deaktiviert
|
|
179
179
|
questionnaire_not_published:
|
|
180
180
|
body: Dieses Formular ist noch nicht veröffentlicht.
|
|
181
|
-
tos_agreement: Mit
|
|
181
|
+
tos_agreement: 'Mit Ihrer Teilnahme stimmen Sie folgenden Nutzungsbedingungen zu:'
|
|
182
182
|
step_navigation:
|
|
183
183
|
show:
|
|
184
|
-
are_you_sure: Diese Aktion kann nicht rückgängig gemacht werden und Sie können Ihre Antworten nicht bearbeiten. Sind Sie
|
|
184
|
+
are_you_sure: Diese Aktion kann nicht rückgängig gemacht werden und Sie können Ihre Antworten nicht mehr bearbeiten. Sind Sie sicher?
|
|
185
185
|
back: Zurück
|
|
186
186
|
continue: Weiter
|
|
187
187
|
submit: einreichen
|
data/config/locales/el.yml
CHANGED
|
@@ -80,14 +80,10 @@ el:
|
|
|
80
80
|
title: Επεξεργασία ερωτηματολογίου
|
|
81
81
|
form:
|
|
82
82
|
add_question: Προσθήκη ερώτησης
|
|
83
|
-
add_separator: Προσθήκη διαχωριστικού
|
|
84
|
-
add_title_and_description: Προσθήκη τίτλου και περιγραφής
|
|
85
|
-
already_answered_warning: Η φόρμα έχει ήδη απαντηθεί από ορισμένους χρήστες, επομένως δεν μπορείτε να τροποποιήσετε τις ερωτήσεις της.
|
|
86
83
|
collapse: Σύμπτυξη όλων των ερωτήσεων
|
|
87
84
|
expand: Ανάπτυξη όλων των ερωτήσεων
|
|
88
85
|
preview: Προεπισκόπηση
|
|
89
86
|
title: Επεξεργασία φόρμας για %{questionnaire_for}
|
|
90
|
-
unpublished_warning: Η φόρμα δεν έχει δημοσιευτεί. Μπορείτε να τροποποιήσετε τις ερωτήσεις της, αλλά με αυτόν τον τρόπο θα διαγράψετε τις τρέχουσες απαντήσεις.
|
|
91
87
|
matrix_row:
|
|
92
88
|
matrix_row: Γραμμή
|
|
93
89
|
remove: Κατάργηση
|
|
@@ -178,7 +174,6 @@ el:
|
|
|
178
174
|
tos_agreement: Με τη συμμετοχή σας, αποδέχεστε τους Όρους παροχής υπηρεσίας
|
|
179
175
|
step_navigation:
|
|
180
176
|
show:
|
|
181
|
-
are_you_sure: Αυτή η ενέργεια δεν μπορεί να αναιρεθεί και δεν θα μπορείτε να επεξεργαστείτε τις απαντήσεις σας. Είστε βέβαιοι;
|
|
182
177
|
back: Πίσω
|
|
183
178
|
continue: Συνέχεια
|
|
184
179
|
submit: Υποβολή
|
data/config/locales/es-MX.yml
CHANGED
|
@@ -83,12 +83,12 @@ es-MX:
|
|
|
83
83
|
add_question: Añadir pregunta
|
|
84
84
|
add_separator: Añadir separador
|
|
85
85
|
add_title_and_description: Añadir título y descripción
|
|
86
|
-
already_answered_warning:
|
|
86
|
+
already_answered_warning: No puedes modificar las preguntas porque algunas participantes ya han respondido el formulario.
|
|
87
87
|
collapse: Contraer todas las preguntas
|
|
88
88
|
expand: Expandir todos las preguntas
|
|
89
89
|
preview: Previsualizar
|
|
90
90
|
title: Editar formulario para %{questionnaire_for}
|
|
91
|
-
unpublished_warning: El formulario no está publicado. Puedes modificar sus preguntas, pero al hacerlo
|
|
91
|
+
unpublished_warning: El formulario no está publicado. Puedes modificar sus preguntas, pero al hacerlo se borrarán las respuestas actuales.
|
|
92
92
|
matrix_row:
|
|
93
93
|
matrix_row: Fila
|
|
94
94
|
remove: Retirar
|
|
@@ -181,7 +181,7 @@ es-MX:
|
|
|
181
181
|
tos_agreement: Al responder aceptas los Términos y condiciones de uso
|
|
182
182
|
step_navigation:
|
|
183
183
|
show:
|
|
184
|
-
are_you_sure: Esta acción no se puede deshacer y no podrás editar tus respuestas. ¿
|
|
184
|
+
are_you_sure: Esta acción no se puede deshacer y no podrás editar tus respuestas. ¿Seguro que quieres continuar?
|
|
185
185
|
back: Atrás
|
|
186
186
|
continue: Continuar
|
|
187
187
|
submit: Enviar
|
data/config/locales/es-PY.yml
CHANGED
|
@@ -83,12 +83,12 @@ es-PY:
|
|
|
83
83
|
add_question: Añadir pregunta
|
|
84
84
|
add_separator: Añadir separador
|
|
85
85
|
add_title_and_description: Añadir título y descripción
|
|
86
|
-
already_answered_warning:
|
|
86
|
+
already_answered_warning: No puedes modificar las preguntas porque algunas participantes ya han respondido el formulario.
|
|
87
87
|
collapse: Contraer todas las preguntas
|
|
88
88
|
expand: Expandir todos las preguntas
|
|
89
89
|
preview: Previsualizar
|
|
90
90
|
title: Editar formulario para %{questionnaire_for}
|
|
91
|
-
unpublished_warning: El formulario no está publicado. Puedes modificar sus preguntas, pero al hacerlo
|
|
91
|
+
unpublished_warning: El formulario no está publicado. Puedes modificar sus preguntas, pero al hacerlo se borrarán las respuestas actuales.
|
|
92
92
|
matrix_row:
|
|
93
93
|
matrix_row: Fila
|
|
94
94
|
remove: Retirar
|
|
@@ -181,7 +181,7 @@ es-PY:
|
|
|
181
181
|
tos_agreement: Al responder aceptas los Términos y condiciones de uso
|
|
182
182
|
step_navigation:
|
|
183
183
|
show:
|
|
184
|
-
are_you_sure: Esta acción no se puede deshacer y no podrás editar tus respuestas. ¿
|
|
184
|
+
are_you_sure: Esta acción no se puede deshacer y no podrás editar tus respuestas. ¿Seguro que quieres continuar?
|
|
185
185
|
back: Atrás
|
|
186
186
|
continue: Continuar
|
|
187
187
|
submit: Enviar
|
data/config/locales/es.yml
CHANGED
|
@@ -83,12 +83,12 @@ es:
|
|
|
83
83
|
add_question: Añadir pregunta
|
|
84
84
|
add_separator: Añadir separador
|
|
85
85
|
add_title_and_description: Añadir título y descripción
|
|
86
|
-
already_answered_warning:
|
|
86
|
+
already_answered_warning: No puedes modificar las preguntas porque algunas participantes ya han respondido el formulario.
|
|
87
87
|
collapse: Contraer todas las preguntas
|
|
88
88
|
expand: Expandir todos las preguntas
|
|
89
89
|
preview: Previsualizar
|
|
90
90
|
title: Editar formulario para %{questionnaire_for}
|
|
91
|
-
unpublished_warning: El formulario no está publicado. Puedes modificar sus preguntas, pero al hacerlo
|
|
91
|
+
unpublished_warning: El formulario no está publicado. Puedes modificar sus preguntas, pero al hacerlo se borrarán las respuestas actuales.
|
|
92
92
|
matrix_row:
|
|
93
93
|
matrix_row: Fila
|
|
94
94
|
remove: Eliminar
|
|
@@ -181,7 +181,7 @@ es:
|
|
|
181
181
|
tos_agreement: Al participar aceptas los Términos y condiciones de uso
|
|
182
182
|
step_navigation:
|
|
183
183
|
show:
|
|
184
|
-
are_you_sure: Esta acción no se puede deshacer y no podrás editar tus respuestas. ¿
|
|
184
|
+
are_you_sure: Esta acción no se puede deshacer y no podrás editar tus respuestas. ¿Seguro que quieres continuar?
|
|
185
185
|
back: Atrás
|
|
186
186
|
continue: Continuar
|
|
187
187
|
submit: Enviar respuestas
|
data/config/locales/eu.yml
CHANGED
|
@@ -83,12 +83,12 @@ eu:
|
|
|
83
83
|
add_question: Gehitu galdera
|
|
84
84
|
add_separator: Gehitu banatzailea
|
|
85
85
|
add_title_and_description: Gehitu izenburua eta deskribapena
|
|
86
|
-
already_answered_warning: Formularioa
|
|
86
|
+
already_answered_warning: Formularioa parte-hartzaile batzuek erantzuten dute dagoeneko; beraz, ezin dituzu galderak aldatu.
|
|
87
87
|
collapse: Bildu galdera guztiak
|
|
88
88
|
expand: Zabaldu galdera guztiak
|
|
89
89
|
preview: Aurreikusi
|
|
90
90
|
title: Editatu galdetegia honetarako %{questionnaire_for}
|
|
91
|
-
unpublished_warning: Galdetegia ez dago argitaratuta.
|
|
91
|
+
unpublished_warning: Galdetegia ez dago argitaratuta. Galderak alda ditzakezu, baina eginez gero, oraingo erantzunak ezabatuko dituzu.
|
|
92
92
|
matrix_row:
|
|
93
93
|
matrix_row: Errenkada
|
|
94
94
|
remove: Kendu
|
|
@@ -126,7 +126,7 @@ eu:
|
|
|
126
126
|
success: Galdetegia zuzen gorde da.
|
|
127
127
|
admin_log:
|
|
128
128
|
questionnaire:
|
|
129
|
-
update: "%{user_name}
|
|
129
|
+
update: "%{user_name} parte-hartzaileak %{resource_name} galdetegia eguneratu du"
|
|
130
130
|
errors:
|
|
131
131
|
answer:
|
|
132
132
|
body: "Gorputza ezin da hutsik egon\n"
|
|
@@ -157,7 +157,7 @@ eu:
|
|
|
157
157
|
show:
|
|
158
158
|
answer_questionnaire:
|
|
159
159
|
already_have_an_account?: Baduzu kontu bat?
|
|
160
|
-
are_you_new?:
|
|
160
|
+
are_you_new?: Parte-hartzaile berria?
|
|
161
161
|
sign_in_description: Hasi saioa inkesta egiteko
|
|
162
162
|
sign_up_description: Sortu parte-hartzaileen kontua inkesta egiteko
|
|
163
163
|
title: Erantzun formularioa
|
|
@@ -171,7 +171,7 @@ eu:
|
|
|
171
171
|
body: Galdetegia itxita dago eta ezin da erantzun.
|
|
172
172
|
title: Galdeketa itxia
|
|
173
173
|
questionnaire_for_private_users:
|
|
174
|
-
body: Galdetegia
|
|
174
|
+
body: Galdetegia parte-hartzaile pribatuentzat soilik dago erabilgarri
|
|
175
175
|
title: Galdeketa itxia
|
|
176
176
|
questionnaire_js_disabled:
|
|
177
177
|
body: Galdetegi honen ezaugarri batzuk desaktibatu egingo dira. Zure esperientzia hobetzeko, gaitu JavaScript zure nabigatzailean.
|
|
@@ -193,6 +193,6 @@ eu:
|
|
|
193
193
|
ip_hash: IP Helbidearen Hash
|
|
194
194
|
question: Galdera
|
|
195
195
|
registered: Erregistratuta
|
|
196
|
-
session_token:
|
|
196
|
+
session_token: Parte-hartzailearen identifikatzailea
|
|
197
197
|
unregistered: Erregistratu gabe
|
|
198
|
-
user_status:
|
|
198
|
+
user_status: Parte-hartzailearen egoera
|
data/config/locales/fi-plain.yml
CHANGED
|
@@ -83,12 +83,12 @@ fi-pl:
|
|
|
83
83
|
add_question: Lisää kysymys
|
|
84
84
|
add_separator: Lisää erotinviiva
|
|
85
85
|
add_title_and_description: Lisää otsikko ja kuvaus
|
|
86
|
-
already_answered_warning: Jotkut käyttäjät ovat jo vastanneet
|
|
86
|
+
already_answered_warning: Jotkut käyttäjät ovat jo vastanneet lomakkeeseen, joten et voi muokata sen kysymyksiä.
|
|
87
87
|
collapse: Sulje kaikki kysymykset
|
|
88
88
|
expand: Avaa kaikki kysymykset
|
|
89
89
|
preview: Esikatsele
|
|
90
90
|
title: Muokkaa lomaketta kyselylle %{questionnaire_for}
|
|
91
|
-
unpublished_warning: Lomaketta ei ole julkaistu. Voit muokata sen kysymyksiä, mutta
|
|
91
|
+
unpublished_warning: Lomaketta ei ole julkaistu. Voit muokata sen kysymyksiä, mutta tällöin aikaisemmat vastaukset poistetaan.
|
|
92
92
|
matrix_row:
|
|
93
93
|
matrix_row: Rivi
|
|
94
94
|
remove: Poista
|
|
@@ -181,7 +181,7 @@ fi-pl:
|
|
|
181
181
|
tos_agreement: Osallistumalla hyväksyt käyttöehdot
|
|
182
182
|
step_navigation:
|
|
183
183
|
show:
|
|
184
|
-
are_you_sure: Tätä toimintoa ei voi
|
|
184
|
+
are_you_sure: Tätä toimintoa ei voi perua, etkä voi muokata vastauksiasi. Oletko varma?
|
|
185
185
|
back: Takaisin
|
|
186
186
|
continue: Jatka
|
|
187
187
|
submit: Lähetä
|
data/config/locales/fi.yml
CHANGED
|
@@ -83,12 +83,12 @@ fi:
|
|
|
83
83
|
add_question: Lisää kysymys
|
|
84
84
|
add_separator: Lisää erotinviiva
|
|
85
85
|
add_title_and_description: Lisää otsikko ja kuvaus
|
|
86
|
-
already_answered_warning: Jotkut käyttäjät ovat jo vastanneet
|
|
86
|
+
already_answered_warning: Jotkut käyttäjät ovat jo vastanneet lomakkeeseen, joten et voi muokata sen kysymyksiä.
|
|
87
87
|
collapse: Sulje kaikki kysymykset
|
|
88
88
|
expand: Avaa kaikki kysymykset
|
|
89
89
|
preview: Esikatsele
|
|
90
90
|
title: Muokkaa lomaketta kyselylle %{questionnaire_for}
|
|
91
|
-
unpublished_warning: Lomaketta ei ole julkaistu. Voit muokata sen kysymyksiä, mutta
|
|
91
|
+
unpublished_warning: Lomaketta ei ole julkaistu. Voit muokata sen kysymyksiä, mutta tällöin aikaisemmat vastaukset poistetaan.
|
|
92
92
|
matrix_row:
|
|
93
93
|
matrix_row: Rivi
|
|
94
94
|
remove: Poista
|
|
@@ -181,7 +181,7 @@ fi:
|
|
|
181
181
|
tos_agreement: Osallistumalla hyväksyt käyttöehdot
|
|
182
182
|
step_navigation:
|
|
183
183
|
show:
|
|
184
|
-
are_you_sure: Tätä toimintoa ei voi
|
|
184
|
+
are_you_sure: Tätä toimintoa ei voi perua, etkä voi muokata vastauksiasi. Oletko varma?
|
|
185
185
|
back: Takaisin
|
|
186
186
|
continue: Jatka
|
|
187
187
|
submit: Lähetä
|
data/config/locales/fr-CA.yml
CHANGED
|
@@ -83,7 +83,7 @@ fr-CA:
|
|
|
83
83
|
add_question: Ajouter une question
|
|
84
84
|
add_separator: Ajouter un séparateur
|
|
85
85
|
add_title_and_description: Ajouter un titre et une description
|
|
86
|
-
already_answered_warning: Certains utilisateurs ont déjà répondu au
|
|
86
|
+
already_answered_warning: Certains utilisateurs ont déjà répondu au formulaire, vous ne pouvez donc pas modifier ses questions.
|
|
87
87
|
collapse: Réduire toutes les questions
|
|
88
88
|
expand: Développer toutes les questions
|
|
89
89
|
preview: Aperçu
|
|
@@ -181,7 +181,7 @@ fr-CA:
|
|
|
181
181
|
tos_agreement: En participant, vous acceptez ses conditions d'utilisation
|
|
182
182
|
step_navigation:
|
|
183
183
|
show:
|
|
184
|
-
are_you_sure: Cette action ne peut pas être annulée et vous ne pourrez pas modifier vos réponses. Êtes-vous sûr?
|
|
184
|
+
are_you_sure: Cette action ne peut pas être annulée et vous ne pourrez pas modifier vos réponses. Êtes-vous sûr(e) ?
|
|
185
185
|
back: Revenir en arrière
|
|
186
186
|
continue: Continuer
|
|
187
187
|
submit: Soumettre
|
data/config/locales/fr.yml
CHANGED
|
@@ -83,7 +83,7 @@ fr:
|
|
|
83
83
|
add_question: Ajouter une question
|
|
84
84
|
add_separator: Ajouter un séparateur
|
|
85
85
|
add_title_and_description: Ajouter un titre et une description
|
|
86
|
-
already_answered_warning: Certains utilisateurs ont déjà répondu au
|
|
86
|
+
already_answered_warning: Certains utilisateurs ont déjà répondu au formulaire, vous ne pouvez donc pas modifier ses questions.
|
|
87
87
|
collapse: Réduire toutes les questions
|
|
88
88
|
expand: Développer toutes les questions
|
|
89
89
|
preview: Aperçu
|
|
@@ -181,7 +181,7 @@ fr:
|
|
|
181
181
|
tos_agreement: En participant, vous acceptez ces conditions d'utilisation
|
|
182
182
|
step_navigation:
|
|
183
183
|
show:
|
|
184
|
-
are_you_sure: Cette action ne peut pas être annulée et vous ne pourrez pas modifier vos réponses. Êtes-vous sûr?
|
|
184
|
+
are_you_sure: Cette action ne peut pas être annulée et vous ne pourrez pas modifier vos réponses. Êtes-vous sûr(e) ?
|
|
185
185
|
back: Revenir en arrière
|
|
186
186
|
continue: Continuer
|
|
187
187
|
submit: Soumettre
|
data/config/locales/gl.yml
CHANGED
|
@@ -32,8 +32,6 @@ gl:
|
|
|
32
32
|
save: Gardar
|
|
33
33
|
form:
|
|
34
34
|
add_question: Engadir pregunta
|
|
35
|
-
add_title_and_description: Engadir títutlo e descrición
|
|
36
|
-
already_answered_warning: Algúns usuarios xa responderon o cuestionario para que non poida modificar as súas preguntas.
|
|
37
35
|
matrix_row:
|
|
38
36
|
remove: Quitar
|
|
39
37
|
statement: Declaración
|
|
@@ -89,7 +87,6 @@ gl:
|
|
|
89
87
|
tos_agreement: Ao participar aceptas as Condicións de servizo
|
|
90
88
|
step_navigation:
|
|
91
89
|
show:
|
|
92
|
-
are_you_sure: Non se pode desfacer esta acción e non poderá editar as túas respostas. Estás seguro?
|
|
93
90
|
submit: Enviar
|
|
94
91
|
user_answers_serializer:
|
|
95
92
|
created_at: Respondeu
|
data/config/locales/hu.yml
CHANGED
|
@@ -32,8 +32,6 @@ hu:
|
|
|
32
32
|
save: Mentés
|
|
33
33
|
form:
|
|
34
34
|
add_question: Kérdés hozzáadása
|
|
35
|
-
add_title_and_description: Adj hozzá címet és leírást
|
|
36
|
-
already_answered_warning: Néhány felhasználó már válaszolt a kérdőívre, így nem változtathatja meg kérdéseit.
|
|
37
35
|
collapse: Minden kérdés összecsukása
|
|
38
36
|
expand: Minden kérdés kibontása
|
|
39
37
|
matrix_row:
|
|
@@ -92,7 +90,6 @@ hu:
|
|
|
92
90
|
tos_agreement: A részvétellel elfogadja az Általános Szerződési Feltételeket
|
|
93
91
|
step_navigation:
|
|
94
92
|
show:
|
|
95
|
-
are_you_sure: Ez a művelet nem vonható vissza, és nem tudod majd szerkeszteni a válaszokat. Biztos vagy ebben?
|
|
96
93
|
continue: Folytatás
|
|
97
94
|
submit: Beküldés
|
|
98
95
|
user_answers_serializer:
|
data/config/locales/id-ID.yml
CHANGED
|
@@ -32,7 +32,6 @@ id:
|
|
|
32
32
|
save: Menyimpan
|
|
33
33
|
form:
|
|
34
34
|
add_question: Tambahkan pertanyaan
|
|
35
|
-
already_answered_warning: Formulir sudah dijawab oleh beberapa pengguna sehingga Anda tidak dapat mengubah pertanyaannya.
|
|
36
35
|
matrix_row:
|
|
37
36
|
remove: Menghapus
|
|
38
37
|
statement: Pernyataan
|
|
@@ -74,7 +73,6 @@ id:
|
|
|
74
73
|
tos_agreement: Dengan berpartisipasi Anda menerima Ketentuan Layanannya
|
|
75
74
|
step_navigation:
|
|
76
75
|
show:
|
|
77
|
-
are_you_sure: Tindakan ini tidak dapat diurungkan dan Anda tidak akan dapat mengedit jawaban Anda. Apakah kamu yakin
|
|
78
76
|
submit: Menyerahkan
|
|
79
77
|
user_answers_serializer:
|
|
80
78
|
created_at: Dijawab pada
|
data/config/locales/it.yml
CHANGED
|
@@ -76,13 +76,10 @@ it:
|
|
|
76
76
|
title: Modifica questionario
|
|
77
77
|
form:
|
|
78
78
|
add_question: Aggiungi domanda
|
|
79
|
-
add_separator: Aggiungi separatore
|
|
80
|
-
already_answered_warning: Alcuni utenti hanno già risposto al questionario, quindi non è possibile modificare le sue domande.
|
|
81
79
|
collapse: Comprimi tutte le domande
|
|
82
80
|
expand: Espandi tutte le domande
|
|
83
81
|
preview: Anteprima
|
|
84
82
|
title: Modifica formulario per %{questionnaire_for}
|
|
85
|
-
unpublished_warning: Il modulo non è pubblicato. Puoi modificare le sue domande, ma in questo modo cancellerai le risposte correnti.
|
|
86
83
|
matrix_row:
|
|
87
84
|
matrix_row: Riga
|
|
88
85
|
remove: Rimuovere
|
|
@@ -149,7 +146,6 @@ it:
|
|
|
149
146
|
tos_agreement: Partecipando accetti i suoi Termini di servizio
|
|
150
147
|
step_navigation:
|
|
151
148
|
show:
|
|
152
|
-
are_you_sure: Questa azione non può essere annullata e non potrai modificare le tue risposte. Sei sicuro?
|
|
153
149
|
back: Indietro
|
|
154
150
|
continue: Continua
|
|
155
151
|
submit: Invia
|
data/config/locales/ja.yml
CHANGED
|
@@ -81,14 +81,10 @@ ja:
|
|
|
81
81
|
title: アンケートを編集
|
|
82
82
|
form:
|
|
83
83
|
add_question: 質問を追加
|
|
84
|
-
add_separator: 区切り文字を追加
|
|
85
|
-
add_title_and_description: タイトルと説明を追加
|
|
86
|
-
already_answered_warning: このフォームはすでに一部のユーザーによって回答されているため、質問を修正することはできません。
|
|
87
84
|
collapse: すべての質問を閉じる
|
|
88
85
|
expand: すべての質問を展開
|
|
89
86
|
preview: プレビュー
|
|
90
87
|
title: '%{questionnaire_for} のフォームを編集'
|
|
91
|
-
unpublished_warning: フォームは公開されていません。質問を修正することはできますが、そうすると現在の回答が削除されます。
|
|
92
88
|
matrix_row:
|
|
93
89
|
matrix_row: 行
|
|
94
90
|
remove: 削除
|
|
@@ -181,7 +177,6 @@ ja:
|
|
|
181
177
|
tos_agreement: 参加することにより、利用規約に同意します。
|
|
182
178
|
step_navigation:
|
|
183
179
|
show:
|
|
184
|
-
are_you_sure: この操作は元に戻すことができず、回答を編集することはできません。よろしいですか?
|
|
185
180
|
back: 戻る
|
|
186
181
|
continue: 続ける
|
|
187
182
|
submit: 送信
|
data/config/locales/lb.yml
CHANGED
|
@@ -76,13 +76,10 @@ lb:
|
|
|
76
76
|
title: Fragebogen bearbeiten
|
|
77
77
|
form:
|
|
78
78
|
add_question: Frage hinzufügen
|
|
79
|
-
add_separator: Trennzeichen hinzufügen
|
|
80
|
-
already_answered_warning: Der Fragebogen wird bereits von einigen Benutzern beantwortet, sodass Sie die Fragen nicht ändern können.
|
|
81
79
|
collapse: Alle Fragen einklappen
|
|
82
80
|
expand: Alle Fragen ausklappen
|
|
83
81
|
preview: Vorschau
|
|
84
82
|
title: Formular für %{questionnaire_for} bearbeiten
|
|
85
|
-
unpublished_warning: Das Formular ist nicht öffentlich. Sie können die Fragen ändern, dabei werden allerdings die aktuellen Antworten gelöscht.
|
|
86
83
|
matrix_row:
|
|
87
84
|
matrix_row: Zeile
|
|
88
85
|
remove: Löschen
|
|
@@ -149,7 +146,6 @@ lb:
|
|
|
149
146
|
tos_agreement: Mit der Teilnahme stimmen Sie den Nutzungsbedingungen zu
|
|
150
147
|
step_navigation:
|
|
151
148
|
show:
|
|
152
|
-
are_you_sure: Diese Aktion kann nicht rückgängig gemacht werden und Sie können Ihre Antworten nicht bearbeiten. Bist du sicher?
|
|
153
149
|
back: Zurück
|
|
154
150
|
continue: Weiter
|
|
155
151
|
submit: einreichen
|
data/config/locales/lt.yml
CHANGED
|
@@ -80,14 +80,10 @@ lt:
|
|
|
80
80
|
title: Redaguoti klausimyną
|
|
81
81
|
form:
|
|
82
82
|
add_question: Pridėti klausimą
|
|
83
|
-
add_separator: Pridėti skyriklį
|
|
84
|
-
add_title_and_description: Pridėti pavadinimą ir aprašymą
|
|
85
|
-
already_answered_warning: Kai kurie naudotojai jau atsakė į formos klausimus, todėl jos klausimų keisti nebegalite.
|
|
86
83
|
collapse: Suskleisti visus klausimus
|
|
87
84
|
expand: Išskleisti visus klausimus
|
|
88
85
|
preview: Peržiūra
|
|
89
86
|
title: Taisyti %{questionnaire_for} formą
|
|
90
|
-
unpublished_warning: Forma nepaskelbta. Galite keisti klausimus, tačiau tai darydami pašalinsite esamus atsakymus.
|
|
91
87
|
matrix_row:
|
|
92
88
|
matrix_row: Eilutė
|
|
93
89
|
remove: Pašalinti
|
|
@@ -178,7 +174,6 @@ lt:
|
|
|
178
174
|
tos_agreement: Dalyvaudami sutinkate su paslaugos teikimo sąlygomis
|
|
179
175
|
step_navigation:
|
|
180
176
|
show:
|
|
181
|
-
are_you_sure: Šio veiksmo atšaukti negalima ir savo atsakymų keisti negalėsite. Ar esate įsitikinę?
|
|
182
177
|
back: Atgal
|
|
183
178
|
continue: Tęsti
|
|
184
179
|
submit: Pateikti
|
data/config/locales/lv.yml
CHANGED
|
@@ -33,8 +33,6 @@ lv:
|
|
|
33
33
|
title: Rediģēt aptauju
|
|
34
34
|
form:
|
|
35
35
|
add_question: Pievienot jautājumu
|
|
36
|
-
add_separator: Pievienot atdalītāju
|
|
37
|
-
already_answered_warning: Daži lietotāji jau ir atbildējuši uz jautājumiem veidlapā, tāpēc jūs nevarat mainīt tajā iekļautos jautājumus.
|
|
38
36
|
collapse: Sakļaut visus jautājumus
|
|
39
37
|
expand: Izvērst visus jautājumus
|
|
40
38
|
matrix_row:
|
|
@@ -94,7 +92,6 @@ lv:
|
|
|
94
92
|
tos_agreement: Piedaloties jūs piekrītat pakalpojumu sniegšanas noteikumiem.
|
|
95
93
|
step_navigation:
|
|
96
94
|
show:
|
|
97
|
-
are_you_sure: Šo darbību nevar atsaukt, un jūs nevarēsiet rediģēt savas atbildes. Vai esat pārliecināts?
|
|
98
95
|
back: Atpakaļ
|
|
99
96
|
continue: Turpināt
|
|
100
97
|
submit: Iesniegt
|
data/config/locales/nl.yml
CHANGED
|
@@ -71,13 +71,9 @@ nl:
|
|
|
71
71
|
title: Bewerk vragenlijst
|
|
72
72
|
form:
|
|
73
73
|
add_question: Vraag toevoegen
|
|
74
|
-
add_separator: Scheidingsteken toevoegen
|
|
75
|
-
add_title_and_description: Titel en beschrijving toevoegen
|
|
76
|
-
already_answered_warning: De vragenlijst is al door enkele gebruikers beantwoord, dus u kunt de vragen niet wijzigen.
|
|
77
74
|
collapse: Alle vragen samenvouwen
|
|
78
75
|
expand: Vouw alle vragen uit
|
|
79
76
|
preview: Voorvertoning
|
|
80
|
-
unpublished_warning: Het formulier is niet gepubliceerd. Je kunt de vragen wijzigen, maar als je dit doet worden de huidige antwoorden verwijderd.
|
|
81
77
|
matrix_row:
|
|
82
78
|
matrix_row: Rij
|
|
83
79
|
remove: Verwijderen
|
|
@@ -153,7 +149,6 @@ nl:
|
|
|
153
149
|
tos_agreement: Door deel te nemen, gaat u akkoord met de Servicevoorwaarden
|
|
154
150
|
step_navigation:
|
|
155
151
|
show:
|
|
156
|
-
are_you_sure: Deze actie kan niet ongedaan gemaakt worden en u kunt uw antwoorden niet wijzigen. Weet u het zeker?
|
|
157
152
|
back: Achterzijde
|
|
158
153
|
continue: Doorgaan
|
|
159
154
|
submit: Verzenden
|
data/config/locales/no.yml
CHANGED
|
@@ -76,14 +76,10 @@
|
|
|
76
76
|
title: Rediger spørreskjema
|
|
77
77
|
form:
|
|
78
78
|
add_question: Legg til spørsmål
|
|
79
|
-
add_separator: Legg til skilletegn
|
|
80
|
-
add_title_and_description: Legg til tittel og beskrivelse
|
|
81
|
-
already_answered_warning: Skjemaet er allerede besvart av noen brukere derfor kan du ikke endre spørsmålene.
|
|
82
79
|
collapse: Skjul alle spørsmål
|
|
83
80
|
expand: Utvid alle spørsmål
|
|
84
81
|
preview: Forhåndsvis
|
|
85
82
|
title: Rediger skjema for %{questionnaire_for}
|
|
86
|
-
unpublished_warning: Skjemaet er ikke publisert. Du kan endre spørsmålet, men da slettes nåværende svar.
|
|
87
83
|
matrix_row:
|
|
88
84
|
matrix_row: Rad
|
|
89
85
|
remove: Fjern
|
|
@@ -160,7 +156,6 @@
|
|
|
160
156
|
tos_agreement: Ved å delta godtar du vilkårene for bruk
|
|
161
157
|
step_navigation:
|
|
162
158
|
show:
|
|
163
|
-
are_you_sure: Denne handlingen kan ikke angres, og du kan ikke redigere svarene dine. Er du sikker?
|
|
164
159
|
back: Tilbake
|
|
165
160
|
continue: Fortsett
|
|
166
161
|
submit: Send inn
|
data/config/locales/pl.yml
CHANGED
|
@@ -81,14 +81,10 @@ pl:
|
|
|
81
81
|
title: Edytuj formularz
|
|
82
82
|
form:
|
|
83
83
|
add_question: Dodaj pytanie
|
|
84
|
-
add_separator: Dodaj separator
|
|
85
|
-
add_title_and_description: Dodaj tytuł i opis
|
|
86
|
-
already_answered_warning: Niektórzy użytkownicy już odpowiedzieli na pytania tego formularza, więc nie można modyfikować jego pytań.
|
|
87
84
|
collapse: Zwiń wszystkie pytania
|
|
88
85
|
expand: Rozwiń wszystkie pytania
|
|
89
86
|
preview: Podgląd
|
|
90
87
|
title: Edytuj formularz dla %{questionnaire_for}
|
|
91
|
-
unpublished_warning: Formularz nie został jeszcze opublikowany. Możesz zmienić jego pytania, ale to spowoduje usunięcie bieżących odpowiedzi.
|
|
92
88
|
matrix_row:
|
|
93
89
|
matrix_row: Wiersz
|
|
94
90
|
remove: Usuń
|
|
@@ -181,7 +177,6 @@ pl:
|
|
|
181
177
|
tos_agreement: Biorąc udział akceptujesz Warunki korzystania z Platformy
|
|
182
178
|
step_navigation:
|
|
183
179
|
show:
|
|
184
|
-
are_you_sure: Tego działania nie można cofnąć i nie będzie można edytować odpowiedzi. Jesteś pewny?
|
|
185
180
|
back: Wróć
|
|
186
181
|
continue: Dalej
|
|
187
182
|
submit: Zatwierdź
|
data/config/locales/pt-BR.yml
CHANGED
|
@@ -76,14 +76,10 @@ pt-BR:
|
|
|
76
76
|
title: Editar questionário
|
|
77
77
|
form:
|
|
78
78
|
add_question: Adicionar pergunta
|
|
79
|
-
add_separator: Adicionar separador
|
|
80
|
-
add_title_and_description: Adicionar título e descrição
|
|
81
|
-
already_answered_warning: O questionário já foi respondido por alguns usuários então você não pode modificar suas perguntas.
|
|
82
79
|
collapse: Recolher todas as questões
|
|
83
80
|
expand: Expandir todas as questões
|
|
84
81
|
preview: Pré-visualização
|
|
85
82
|
title: Editar formulário para %{questionnaire_for}
|
|
86
|
-
unpublished_warning: O formulário não foi publicado. Você pode modificar suas perguntas, mas apagará as respostas atuais.
|
|
87
83
|
matrix_row:
|
|
88
84
|
matrix_row: Linha
|
|
89
85
|
remove: Remover
|
|
@@ -168,7 +164,6 @@ pt-BR:
|
|
|
168
164
|
tos_agreement: Ao participar você aceita seus Termos de Serviço
|
|
169
165
|
step_navigation:
|
|
170
166
|
show:
|
|
171
|
-
are_you_sure: Esta ação não pode ser desfeita e você não poderá editar suas respostas. Você tem certeza?
|
|
172
167
|
back: Voltar
|
|
173
168
|
continue: Continuar
|
|
174
169
|
submit: Enviar
|
data/config/locales/pt.yml
CHANGED
|
@@ -76,13 +76,10 @@ pt:
|
|
|
76
76
|
title: Editar questionário
|
|
77
77
|
form:
|
|
78
78
|
add_question: Adicionar questão
|
|
79
|
-
add_separator: Adicionar separador
|
|
80
|
-
already_answered_warning: O questionário já foi respondido por alguns utilizadores por isso não pode modificar as suas questões.
|
|
81
79
|
collapse: Colapsar todas as questões
|
|
82
80
|
expand: Expandir todas as questões
|
|
83
81
|
preview: Pré-visualizar
|
|
84
82
|
title: Editar formulário para %{questionnaire_for}
|
|
85
|
-
unpublished_warning: O formulário não está publicado. Pode modificar as suas questões, mas essa ação eliminará as respostas atuais.
|
|
86
83
|
matrix_row:
|
|
87
84
|
matrix_row: Linha
|
|
88
85
|
remove: Remover
|
|
@@ -149,7 +146,6 @@ pt:
|
|
|
149
146
|
tos_agreement: Ao participar aceita os seus Termos de Serviço
|
|
150
147
|
step_navigation:
|
|
151
148
|
show:
|
|
152
|
-
are_you_sure: Esta ação não pode ser desfeita e não deixará de poder editar as suas respostas. Tem a certeza?
|
|
153
149
|
back: Retroceder
|
|
154
150
|
continue: Continuar
|
|
155
151
|
submit: Submeter
|
data/config/locales/ro-RO.yml
CHANGED
|
@@ -80,14 +80,10 @@ ro:
|
|
|
80
80
|
title: Editare chestionar
|
|
81
81
|
form:
|
|
82
82
|
add_question: Adaugă întrebare
|
|
83
|
-
add_separator: Adaugă separator
|
|
84
|
-
add_title_and_description: Adaugați titlu și descriere
|
|
85
|
-
already_answered_warning: Au fost înregistrare deja câteva răspunsuri de la utilizatori pentru acest chestionar. De aceea, nu mai puteți modifica întrebările.
|
|
86
83
|
collapse: Restrânge toate întrebările
|
|
87
84
|
expand: Extinde toate întrebările
|
|
88
85
|
preview: Previzualizează
|
|
89
86
|
title: Actualizați chestionarul pentru %{questionnaire_for}
|
|
90
|
-
unpublished_warning: Chestionarul nu este publicat. Poți modifica întrebările, dar această acțiune va duce la stergerea automată a răspunsurilor curente.
|
|
91
87
|
matrix_row:
|
|
92
88
|
matrix_row: Rând
|
|
93
89
|
remove: Elimină
|
|
@@ -179,7 +175,7 @@ ro:
|
|
|
179
175
|
tos_agreement: Prin participare accepți Termenii și condițiile sale de utilizare
|
|
180
176
|
step_navigation:
|
|
181
177
|
show:
|
|
182
|
-
are_you_sure: Această acțiune nu poate fi anulată și nu
|
|
178
|
+
are_you_sure: Această acțiune nu poate fi anulată și nu veți putea să vă modificați răspunsurile. Sunteți sigur?
|
|
183
179
|
back: Înapoi
|
|
184
180
|
continue: Continuă
|
|
185
181
|
submit: Trimite
|
data/config/locales/sk.yml
CHANGED
|
@@ -32,7 +32,6 @@ sk:
|
|
|
32
32
|
save: Uložiť
|
|
33
33
|
form:
|
|
34
34
|
add_question: Pridať otázku
|
|
35
|
-
already_answered_warning: Na formulár už niekto odpovedal, takže nemôžete meniť jeho otázky.
|
|
36
35
|
matrix_row:
|
|
37
36
|
remove: Odstrániť
|
|
38
37
|
statement: Prehlásenie
|
|
@@ -74,7 +73,6 @@ sk:
|
|
|
74
73
|
tos_agreement: Účasťou súhlasíte s našimi Podmienkami použitia
|
|
75
74
|
step_navigation:
|
|
76
75
|
show:
|
|
77
|
-
are_you_sure: Táto akcia sa nedá vrátiť späť, a nebudete môcť upraviť svoje odpovede. Ste si istí?
|
|
78
76
|
submit: Poslať
|
|
79
77
|
user_answers_serializer:
|
|
80
78
|
created_at: Odpovedané na
|
data/config/locales/sv.yml
CHANGED
|
@@ -81,14 +81,10 @@ sv:
|
|
|
81
81
|
title: Redigera enkät
|
|
82
82
|
form:
|
|
83
83
|
add_question: Lägg till fråga
|
|
84
|
-
add_separator: Lägg till avgränsare
|
|
85
|
-
add_title_and_description: Lägg till titel och beskrivning
|
|
86
|
-
already_answered_warning: Frågeformuläret har redan besvarats av användare och du kan inte längre ändra frågorna.
|
|
87
84
|
collapse: Dölj alla frågor
|
|
88
85
|
expand: Visa alla frågor
|
|
89
86
|
preview: Förhandsgranska
|
|
90
87
|
title: Redigera formulär för %{questionnaire_for}
|
|
91
|
-
unpublished_warning: Formuläret har inte publicerats. Du kan ändra frågorna, men det kommer att göra att befintliga svar raderas.
|
|
92
88
|
matrix_row:
|
|
93
89
|
matrix_row: Rad
|
|
94
90
|
remove: Ta bort
|
|
@@ -181,7 +177,6 @@ sv:
|
|
|
181
177
|
tos_agreement: Genom att delta godkänner du användarvillkoren
|
|
182
178
|
step_navigation:
|
|
183
179
|
show:
|
|
184
|
-
are_you_sure: Den här åtgärden kan inte ångras och du kommer inte att kunna redigera dina svar. Är du säker?
|
|
185
180
|
back: Tillbaka
|
|
186
181
|
continue: Fortsätt
|
|
187
182
|
submit: Skicka in
|
data/config/locales/tr-TR.yml
CHANGED
|
@@ -71,13 +71,10 @@ tr:
|
|
|
71
71
|
title: Anketi düzenleyin
|
|
72
72
|
form:
|
|
73
73
|
add_question: Soru ekle
|
|
74
|
-
add_separator: Ayırıcı ekle
|
|
75
|
-
already_answered_warning: Form, bazı kullanıcılar tarafından zaten yanıtlandı, bu nedenle sorularını değiştiremezsiniz.
|
|
76
74
|
collapse: Tüm soruları daraltın
|
|
77
75
|
expand: Tüm soruları genişletin
|
|
78
76
|
preview: Önizleme
|
|
79
77
|
title: '%{questionnaire_for} için formu düzenleyin'
|
|
80
|
-
unpublished_warning: Form yayınlanmadı. Sorularını değiştirebilirsiniz, ancak bunu yapmak mevcut cevapları silecektir.
|
|
81
78
|
matrix_row:
|
|
82
79
|
matrix_row: Satır
|
|
83
80
|
remove: Kaldır
|
|
@@ -144,7 +141,6 @@ tr:
|
|
|
144
141
|
tos_agreement: Katılarak Hizmet Şartlarını kabul etmiş olursunuz.
|
|
145
142
|
step_navigation:
|
|
146
143
|
show:
|
|
147
|
-
are_you_sure: Bu işlem geri alınamaz ve cevaplarınızı düzenleyemezsiniz. Emin misiniz?
|
|
148
144
|
back: Geri
|
|
149
145
|
continue: Devam et
|
|
150
146
|
submit: Gönder
|
data/config/locales/val-ES.yml
CHANGED
data/config/locales/zh-CN.yml
CHANGED
|
@@ -71,12 +71,9 @@ zh-CN:
|
|
|
71
71
|
title: 编辑问题单
|
|
72
72
|
form:
|
|
73
73
|
add_question: 添加问题
|
|
74
|
-
add_separator: 添加分隔符
|
|
75
|
-
already_answered_warning: 某些用户已经回答了表单,因此您不能修改其问题。
|
|
76
74
|
collapse: 收起所有问题
|
|
77
75
|
expand: 展开所有问题
|
|
78
76
|
preview: 预览
|
|
79
|
-
unpublished_warning: 表单未发布。您可以修改它的问题,但这样做将删除当前答案。
|
|
80
77
|
matrix_row:
|
|
81
78
|
matrix_row: 行
|
|
82
79
|
remove: 删除
|
|
@@ -142,7 +139,6 @@ zh-CN:
|
|
|
142
139
|
tos_agreement: 通过参与您接受其服务条款
|
|
143
140
|
step_navigation:
|
|
144
141
|
show:
|
|
145
|
-
are_you_sure: 此操作不能撤消,您将无法编辑您的答案。您确定吗?
|
|
146
142
|
back: 后退
|
|
147
143
|
continue: 继续
|
|
148
144
|
submit: 提交
|
data/config/locales/zh-TW.yml
CHANGED
|
@@ -80,14 +80,10 @@ zh-TW:
|
|
|
80
80
|
title: 編輯問卷內容
|
|
81
81
|
form:
|
|
82
82
|
add_question: 新增問題
|
|
83
|
-
add_separator: 新增分隔線
|
|
84
|
-
add_title_and_description: 新增標題與描述
|
|
85
|
-
already_answered_warning: 已有使用者回答此表單,因此您無法修改問題。
|
|
86
83
|
collapse: 收起所有問題
|
|
87
84
|
expand: 展開所有問題
|
|
88
85
|
preview: 預覽
|
|
89
86
|
title: 編輯問卷表單%{questionnaire_for}
|
|
90
|
-
unpublished_warning: 此表單尚未發佈。您可以修改其問題,但這樣做將刪除目前的回答。
|
|
91
87
|
matrix_row:
|
|
92
88
|
matrix_row: 列
|
|
93
89
|
remove: 移除
|
|
@@ -178,7 +174,6 @@ zh-TW:
|
|
|
178
174
|
tos_agreement: 透過參與,您同意其服務條款
|
|
179
175
|
step_navigation:
|
|
180
176
|
show:
|
|
181
|
-
are_you_sure: 此操作無法撤消,您將無法編輯您的答案。您確定嗎?
|
|
182
177
|
back: 返回
|
|
183
178
|
continue: 繼續
|
|
184
179
|
submit: 提交
|
data/decidim-forms.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
|
10
10
|
s.version = Decidim::Forms.version
|
|
11
11
|
s.authors = ["Josep Jaume Rey Peroy", "Marc Riera Casals", "Oriol Gual Oliva", "Rubén González Valero"]
|
|
12
12
|
s.email = ["josepjaume@gmail.com", "mrc2407@gmail.com", "oriolgual@gmail.com", "rbngzlv@gmail.com"]
|
|
13
|
-
s.license = "AGPL-3.0"
|
|
13
|
+
s.license = "AGPL-3.0-or-later"
|
|
14
14
|
s.homepage = "https://decidim.org"
|
|
15
15
|
s.metadata = {
|
|
16
16
|
"bug_tracker_uri" => "https://github.com/decidim/decidim/issues",
|
|
@@ -34,10 +34,6 @@ Gem::Specification.new do |s|
|
|
|
34
34
|
|
|
35
35
|
s.add_dependency "decidim-core", Decidim::Forms.version
|
|
36
36
|
s.add_dependency "wicked_pdf", "~> 2.1"
|
|
37
|
-
# Latest version of wkhtmltopdf-binary downloads more versions of the binary
|
|
38
|
-
# This brings problems with deployment in certain environments, as Heroku
|
|
39
|
-
# Hopefully they will fix this situation soon
|
|
40
|
-
s.add_dependency "wkhtmltopdf-binary", "= 0.12.6.6"
|
|
41
37
|
|
|
42
38
|
s.add_development_dependency "decidim-admin", Decidim::Forms.version
|
|
43
39
|
s.add_development_dependency "decidim-dev", Decidim::Forms.version
|
|
@@ -57,6 +57,32 @@ shared_examples_for "has questionnaire" do
|
|
|
57
57
|
expect(page).to have_no_i18n_content(question.body)
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
+
context "and there is a mandatory question" do
|
|
61
|
+
let!(:question) do
|
|
62
|
+
create(
|
|
63
|
+
:questionnaire_question,
|
|
64
|
+
questionnaire:,
|
|
65
|
+
question_type: "short_answer",
|
|
66
|
+
position: 0,
|
|
67
|
+
mandatory: true
|
|
68
|
+
)
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
before do
|
|
72
|
+
visit questionnaire_public_path
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
it "it renders the asterisk as a separated element" do
|
|
76
|
+
within "label.answer-questionnaire__question-label" do
|
|
77
|
+
expect(page).to have_content(translated_attribute(question.body).to_s)
|
|
78
|
+
within "span.label-required.has-tip" do
|
|
79
|
+
expect(page).to have_content("*")
|
|
80
|
+
expect(page).to have_content("Required field")
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|
|
60
86
|
context "with multiple steps" do
|
|
61
87
|
let!(:separator) { create(:questionnaire_question, questionnaire:, position: 1, question_type: :separator) }
|
|
62
88
|
let!(:question2) { create(:questionnaire_question, questionnaire:, position: 2) }
|
|
@@ -42,7 +42,7 @@ module Decidim
|
|
|
42
42
|
questionnaire_id = @answers.first&.decidim_questionnaire_id
|
|
43
43
|
return {} unless questionnaire_id
|
|
44
44
|
|
|
45
|
-
questions = Decidim::Forms::Question.where(decidim_questionnaire_id: questionnaire_id)
|
|
45
|
+
questions = Decidim::Forms::Question.where(decidim_questionnaire_id: questionnaire_id).order(:position)
|
|
46
46
|
return {} if questions.none?
|
|
47
47
|
|
|
48
48
|
questions.each.inject({}) do |serialized, question|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: decidim-forms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.29.
|
|
4
|
+
version: 0.29.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Josep Jaume Rey Peroy
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date:
|
|
14
|
+
date: 2025-02-12 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: decidim-core
|
|
@@ -19,14 +19,14 @@ dependencies:
|
|
|
19
19
|
requirements:
|
|
20
20
|
- - '='
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 0.29.
|
|
22
|
+
version: 0.29.2
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
26
|
requirements:
|
|
27
27
|
- - '='
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 0.29.
|
|
29
|
+
version: 0.29.2
|
|
30
30
|
- !ruby/object:Gem::Dependency
|
|
31
31
|
name: wicked_pdf
|
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -41,48 +41,34 @@ dependencies:
|
|
|
41
41
|
- - "~>"
|
|
42
42
|
- !ruby/object:Gem::Version
|
|
43
43
|
version: '2.1'
|
|
44
|
-
- !ruby/object:Gem::Dependency
|
|
45
|
-
name: wkhtmltopdf-binary
|
|
46
|
-
requirement: !ruby/object:Gem::Requirement
|
|
47
|
-
requirements:
|
|
48
|
-
- - '='
|
|
49
|
-
- !ruby/object:Gem::Version
|
|
50
|
-
version: 0.12.6.6
|
|
51
|
-
type: :runtime
|
|
52
|
-
prerelease: false
|
|
53
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
54
|
-
requirements:
|
|
55
|
-
- - '='
|
|
56
|
-
- !ruby/object:Gem::Version
|
|
57
|
-
version: 0.12.6.6
|
|
58
44
|
- !ruby/object:Gem::Dependency
|
|
59
45
|
name: decidim-admin
|
|
60
46
|
requirement: !ruby/object:Gem::Requirement
|
|
61
47
|
requirements:
|
|
62
48
|
- - '='
|
|
63
49
|
- !ruby/object:Gem::Version
|
|
64
|
-
version: 0.29.
|
|
50
|
+
version: 0.29.2
|
|
65
51
|
type: :development
|
|
66
52
|
prerelease: false
|
|
67
53
|
version_requirements: !ruby/object:Gem::Requirement
|
|
68
54
|
requirements:
|
|
69
55
|
- - '='
|
|
70
56
|
- !ruby/object:Gem::Version
|
|
71
|
-
version: 0.29.
|
|
57
|
+
version: 0.29.2
|
|
72
58
|
- !ruby/object:Gem::Dependency
|
|
73
59
|
name: decidim-dev
|
|
74
60
|
requirement: !ruby/object:Gem::Requirement
|
|
75
61
|
requirements:
|
|
76
62
|
- - '='
|
|
77
63
|
- !ruby/object:Gem::Version
|
|
78
|
-
version: 0.29.
|
|
64
|
+
version: 0.29.2
|
|
79
65
|
type: :development
|
|
80
66
|
prerelease: false
|
|
81
67
|
version_requirements: !ruby/object:Gem::Requirement
|
|
82
68
|
requirements:
|
|
83
69
|
- - '='
|
|
84
70
|
- !ruby/object:Gem::Version
|
|
85
|
-
version: 0.29.
|
|
71
|
+
version: 0.29.2
|
|
86
72
|
description: A forms gem for decidim.
|
|
87
73
|
email:
|
|
88
74
|
- josepjaume@gmail.com
|
|
@@ -194,6 +180,8 @@ files:
|
|
|
194
180
|
- config/locales/ar.yml
|
|
195
181
|
- config/locales/bg-BG.yml
|
|
196
182
|
- config/locales/bg.yml
|
|
183
|
+
- config/locales/bn-BD.yml
|
|
184
|
+
- config/locales/bs-BA.yml
|
|
197
185
|
- config/locales/ca.yml
|
|
198
186
|
- config/locales/cs-CZ.yml
|
|
199
187
|
- config/locales/cs.yml
|
|
@@ -312,7 +300,7 @@ files:
|
|
|
312
300
|
- lib/decidim/forms/version.rb
|
|
313
301
|
homepage: https://decidim.org
|
|
314
302
|
licenses:
|
|
315
|
-
- AGPL-3.0
|
|
303
|
+
- AGPL-3.0-or-later
|
|
316
304
|
metadata:
|
|
317
305
|
bug_tracker_uri: https://github.com/decidim/decidim/issues
|
|
318
306
|
documentation_uri: https://docs.decidim.org/
|