decidim-forms 0.30.9 → 0.31.0.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +10 -10
- data/app/cells/decidim/forms/matrix_readonly/show.erb +1 -1
- data/app/cells/decidim/forms/matrix_readonly_cell.rb +3 -3
- data/app/cells/decidim/forms/question_readonly/show.erb +5 -5
- data/app/cells/decidim/forms/question_readonly/title_and_description.erb +3 -3
- data/app/cells/decidim/forms/response_readonly_cell.rb +9 -0
- data/app/cells/decidim/forms/step_navigation/show.erb +3 -3
- data/app/cells/decidim/forms/step_navigation_cell.rb +3 -3
- data/app/commands/decidim/forms/admin/update_questions.rb +6 -6
- data/app/commands/decidim/forms/{answer_questionnaire.rb → response_questionnaire.rb} +35 -35
- data/app/controllers/decidim/forms/admin/concerns/has_questionnaire.rb +12 -12
- data/app/controllers/decidim/forms/admin/concerns/{has_questionnaire_answers.rb → has_questionnaire_responses.rb} +23 -19
- data/app/controllers/decidim/forms/concerns/has_questionnaire.rb +38 -33
- data/app/forms/decidim/forms/admin/display_condition_form.rb +15 -15
- data/app/forms/decidim/forms/admin/question_form.rb +3 -3
- data/app/forms/decidim/forms/admin/{answer_option_form.rb → response_option_form.rb} +3 -3
- data/app/forms/decidim/forms/questionnaire_form.rb +18 -16
- data/app/forms/decidim/forms/{answer_choice_form.rb → response_choice_form.rb} +5 -5
- data/app/forms/decidim/forms/{answer_form.rb → response_form.rb} +9 -9
- data/app/helpers/decidim/forms/admin/application_helper.rb +2 -2
- data/app/helpers/decidim/forms/admin/concerns/{has_questionnaire_answers_pagination_helper.rb → has_questionnaire_responses_pagination_helper.rb} +4 -4
- data/app/helpers/decidim/forms/admin/concerns/{has_questionnaire_answers_url_helper.rb → has_questionnaire_responses_url_helper.rb} +5 -5
- data/app/helpers/decidim/forms/admin/questionnaire_responses_helper.rb +32 -0
- data/app/helpers/decidim/forms/application_helper.rb +1 -2
- data/app/jobs/decidim/forms/{export_questionnaire_answers_job.rb → export_questionnaire_responses_job.rb} +5 -5
- data/app/models/decidim/forms/display_condition.rb +20 -20
- data/app/models/decidim/forms/question.rb +14 -13
- data/app/models/decidim/forms/question_matrix_row.rb +1 -1
- data/app/models/decidim/forms/questionnaire.rb +11 -11
- data/app/models/decidim/forms/{answer.rb → response.rb} +9 -9
- data/app/models/decidim/forms/response_choice.rb +22 -0
- data/app/models/decidim/forms/{answer_option.rb → response_option.rb} +5 -5
- data/app/packs/entrypoints/decidim_forms_admin.js +3 -3
- data/app/packs/src/decidim/forms/admin/collapsible_questions.js +12 -10
- data/app/packs/src/decidim/forms/admin/forms.js +47 -66
- data/app/packs/src/decidim/forms/admin/{publish_answers_buttons.js → publish_responses_buttons.js} +12 -12
- data/app/packs/src/decidim/forms/display_conditions.component.js +12 -12
- data/app/packs/src/decidim/forms/forms.js +8 -29
- data/app/packs/stylesheets/decidim/forms/forms.scss +2 -2
- data/app/presenters/decidim/forms/admin/questionnaire_participant_presenter.rb +13 -13
- data/app/presenters/decidim/forms/admin/questionnaire_response_presenter.rb +89 -0
- data/app/presenters/decidim/forms/admin_log/question_presenter.rb +3 -3
- data/app/presenters/decidim/forms/{answer_option_presenter.rb → response_option_presenter.rb} +2 -2
- data/app/queries/decidim/forms/questionnaire_participant.rb +5 -5
- data/app/queries/decidim/forms/questionnaire_participants.rb +6 -6
- data/app/queries/decidim/forms/questionnaire_user_responses.rb +32 -0
- data/app/views/decidim/forms/admin/questionnaires/_display_condition.html.erb +9 -9
- data/app/views/decidim/forms/admin/questionnaires/_form.html.erb +2 -2
- data/app/views/decidim/forms/admin/questionnaires/_matrix_row.html.erb +3 -3
- data/app/views/decidim/forms/admin/questionnaires/_question.html.erb +25 -15
- data/app/views/decidim/forms/admin/questionnaires/_questions_form.html.erb +14 -21
- data/app/views/decidim/forms/admin/questionnaires/_response_option.html.erb +45 -0
- data/app/views/decidim/forms/admin/questionnaires/_response_option_template.html.erb +7 -0
- data/app/views/decidim/forms/admin/questionnaires/_separator.html.erb +15 -5
- data/app/views/decidim/forms/admin/questionnaires/_title_and_description.html.erb +15 -5
- data/app/views/decidim/forms/admin/questionnaires/edit.html.erb +1 -1
- data/app/views/decidim/forms/admin/questionnaires/edit_questions.html.erb +8 -8
- data/app/views/decidim/forms/admin/questionnaires/responses/index.html.erb +80 -0
- data/app/views/decidim/forms/admin/questionnaires/responses/show.html.erb +43 -0
- data/app/views/decidim/forms/questionnaires/_questionnaire.html.erb +24 -22
- data/app/views/decidim/forms/questionnaires/_questionnaire_readonly.html.erb +8 -3
- data/app/views/decidim/forms/questionnaires/_response.html.erb +61 -0
- data/app/views/decidim/forms/questionnaires/edit.html.erb +2 -2
- data/app/views/decidim/forms/questionnaires/responses/_files.html.erb +1 -0
- data/app/views/decidim/forms/questionnaires/responses/_long_response.html.erb +3 -0
- data/app/views/decidim/forms/questionnaires/{answers → responses}/_matrix_multiple.html.erb +16 -15
- data/app/views/decidim/forms/questionnaires/{answers → responses}/_matrix_single.html.erb +17 -16
- data/app/views/decidim/forms/questionnaires/responses/_multiple_option.html.erb +26 -0
- data/app/views/decidim/forms/questionnaires/responses/_separator.html.erb +1 -0
- data/app/views/decidim/forms/questionnaires/responses/_short_response.html.erb +3 -0
- data/app/views/decidim/forms/questionnaires/responses/_single_option.html.erb +33 -0
- data/app/views/decidim/forms/questionnaires/responses/_sorting.html.erb +26 -0
- data/app/views/decidim/forms/questionnaires/responses/_title_and_description.html.erb +1 -0
- data/app/views/decidim/forms/questionnaires/show.html.erb +10 -10
- data/config/assets.rb +2 -2
- data/config/locales/ar.yml +2 -22
- data/config/locales/bg.yml +10 -36
- data/config/locales/ca-IT.yml +82 -76
- data/config/locales/ca.yml +82 -76
- data/config/locales/cs.yml +79 -76
- data/config/locales/de.yml +80 -74
- data/config/locales/el.yml +10 -36
- data/config/locales/en.yml +90 -84
- data/config/locales/es-MX.yml +82 -76
- data/config/locales/es-PY.yml +82 -76
- data/config/locales/es.yml +80 -74
- data/config/locales/eu.yml +83 -77
- data/config/locales/fi-plain.yml +78 -72
- data/config/locales/fi.yml +76 -70
- data/config/locales/fr-CA.yml +72 -70
- data/config/locales/fr.yml +72 -70
- data/config/locales/ga-IE.yml +4 -7
- data/config/locales/gl.yml +4 -22
- data/config/locales/hu.yml +4 -22
- data/config/locales/id-ID.yml +2 -22
- data/config/locales/it.yml +8 -40
- data/config/locales/ja.yml +87 -81
- data/config/locales/lb.yml +8 -36
- data/config/locales/lt.yml +10 -36
- data/config/locales/lv.yml +4 -22
- data/config/locales/nl.yml +10 -36
- data/config/locales/no.yml +10 -36
- data/config/locales/pl.yml +10 -36
- data/config/locales/pt-BR.yml +10 -120
- data/config/locales/pt.yml +8 -36
- data/config/locales/ro-RO.yml +30 -52
- data/config/locales/ru.yml +2 -9
- data/config/locales/sk.yml +3 -183
- data/config/locales/sl.yml +0 -5
- data/config/locales/sv.yml +77 -70
- data/config/locales/tr-TR.yml +8 -36
- data/config/locales/val-ES.yml +2 -0
- data/config/locales/zh-CN.yml +8 -36
- data/config/locales/zh-TW.yml +10 -36
- data/db/migrate/20190315203056_add_session_token_to_decidim_forms_answers.rb +1 -1
- data/db/migrate/20250314150250_rename_answer_to_response_in_decidim_forms.rb +30 -0
- data/db/migrate/20250319130003_change_question_types_in_questions.rb +14 -0
- data/lib/decidim/api/question_matrix_row_type.rb +13 -0
- data/lib/decidim/api/question_type.rb +4 -3
- data/lib/decidim/api/questionnaire_type.rb +1 -0
- data/lib/decidim/api/response_option_type.rb +13 -0
- data/lib/decidim/exporters/form_pdf.rb +35 -43
- data/lib/decidim/forms/api.rb +2 -1
- data/lib/decidim/forms/{download_your_data_user_answers_serializer.rb → download_your_data_user_responses_serializer.rb} +3 -3
- data/lib/decidim/forms/engine.rb +2 -2
- data/lib/decidim/forms/test/factories.rb +24 -24
- data/lib/decidim/forms/test/shared_examples/has_questionnaire.rb +178 -176
- data/lib/decidim/forms/test/shared_examples/manage_questionnaire_responses.rb +159 -0
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/add_display_conditions.rb +19 -19
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/add_questions.rb +44 -90
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/update_display_conditions.rb +10 -10
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/update_questions.rb +43 -140
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires.rb +4 -6
- data/lib/decidim/forms/test.rb +1 -1
- data/lib/decidim/forms/user_responses_serializer.rb +110 -0
- data/lib/decidim/forms/version.rb +1 -1
- data/lib/decidim/forms.rb +2 -2
- metadata +48 -46
- data/app/cells/decidim/forms/answer_readonly_cell.rb +0 -9
- data/app/helpers/decidim/forms/admin/questionnaire_answers_helper.rb +0 -30
- data/app/models/decidim/forms/answer_choice.rb +0 -22
- data/app/presenters/decidim/forms/admin/questionnaire_answer_presenter.rb +0 -112
- data/app/queries/decidim/forms/questionnaire_user_answers.rb +0 -32
- data/app/views/decidim/forms/admin/questionnaires/_answer_option.html.erb +0 -45
- data/app/views/decidim/forms/admin/questionnaires/_answer_option_template.html.erb +0 -7
- data/app/views/decidim/forms/admin/questionnaires/answers/index.html.erb +0 -49
- data/app/views/decidim/forms/admin/questionnaires/answers/show.html.erb +0 -43
- data/app/views/decidim/forms/questionnaires/_answer.html.erb +0 -60
- data/app/views/decidim/forms/questionnaires/answers/_files.html.erb +0 -1
- data/app/views/decidim/forms/questionnaires/answers/_long_answer.html.erb +0 -3
- data/app/views/decidim/forms/questionnaires/answers/_multiple_option.html.erb +0 -25
- data/app/views/decidim/forms/questionnaires/answers/_separator.html.erb +0 -1
- data/app/views/decidim/forms/questionnaires/answers/_short_answer.html.erb +0 -3
- data/app/views/decidim/forms/questionnaires/answers/_single_option.html.erb +0 -32
- data/app/views/decidim/forms/questionnaires/answers/_sorting.html.erb +0 -26
- data/app/views/decidim/forms/questionnaires/answers/_title_and_description.html.erb +0 -1
- data/lib/decidim/api/answer_option_type.rb +0 -13
- data/lib/decidim/forms/test/shared_examples/manage_questionnaire_answers.rb +0 -149
- data/lib/decidim/forms/test/shared_examples/manage_questionnaires/draggable_behavior.rb +0 -47
- data/lib/decidim/forms/user_answers_serializer.rb +0 -105
- /data/app/cells/decidim/forms/{answer_readonly → response_readonly}/show.erb +0 -0
data/config/locales/el.yml
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
el:
|
|
3
3
|
activemodel:
|
|
4
4
|
attributes:
|
|
5
|
-
answer:
|
|
6
|
-
body: Απάντηση
|
|
7
5
|
question:
|
|
8
6
|
max_choices: Μέγιστος αριθμός επιλογών
|
|
9
7
|
question_type: Τύπος
|
|
@@ -19,35 +17,19 @@ el:
|
|
|
19
17
|
tos: Όροι χρήσης υπηρεσίας
|
|
20
18
|
questionnaires:
|
|
21
19
|
actions:
|
|
22
|
-
|
|
23
|
-
answer_option:
|
|
24
|
-
answer_option: Επιλογή απάντησης
|
|
25
|
-
remove: Κατάργηση
|
|
26
|
-
statement: Δήλωση
|
|
27
|
-
answers:
|
|
28
|
-
actions:
|
|
29
|
-
show: Εμφάνιση απαντήσεων
|
|
30
|
-
empty: Δεν υπάρχουν απαντήσεις ακόμη
|
|
31
|
-
export_response:
|
|
32
|
-
title: survey_user_answers_%{token}
|
|
33
|
-
show:
|
|
34
|
-
title: 'Απάντηση #%{number}'
|
|
20
|
+
back: Επιστροφή στις ερωτήσεις
|
|
35
21
|
display_condition:
|
|
36
|
-
answer_option: Επιλογή απάντησης
|
|
37
22
|
condition_question: Ερώτηση
|
|
38
23
|
condition_type: Συνθήκη
|
|
39
24
|
condition_types:
|
|
40
|
-
answered: Απαντήθηκε
|
|
41
25
|
equal: Ίσο
|
|
42
26
|
match: Περιλαμβάνει κείμενο
|
|
43
|
-
not_answered: Δεν απαντήθηκε
|
|
44
27
|
not_equal: Όχι ίσο
|
|
45
28
|
condition_value: Περιλαμβανόμενο κείμενο
|
|
46
29
|
display_condition: Συνθήκη εμφάνισης
|
|
47
30
|
mandatory: Αυτή η συνθήκη πρέπει να ικανοποιείται πάντα ανεξάρτητα από την κατάσταση άλλων συνθηκών
|
|
48
31
|
remove: Αφαίρεση
|
|
49
32
|
save_warning: Θυμηθείτε να αποθηκεύσετε τη φόρμα πριν διαμορφώσετε τις συνθήκες εμφάνισης
|
|
50
|
-
select_answer_option: Επιλέξτε επιλογή απάντησης
|
|
51
33
|
select_condition_question: Επιλέξτε μια ερώτηση
|
|
52
34
|
select_condition_type: Επιλέξτε έναν τύπο συνθήκης
|
|
53
35
|
edit:
|
|
@@ -64,27 +46,35 @@ el:
|
|
|
64
46
|
remove: Κατάργηση
|
|
65
47
|
statement: Δήλωση
|
|
66
48
|
question:
|
|
67
|
-
add_answer_option: Προσθήκη επιλογής απάντησης
|
|
68
49
|
add_display_condition: Προσθήκη συνθήκης εμφάνισης
|
|
69
50
|
add_display_condition_info: Αποθηκεύστε τη φόρμα για να ρυθμίσετε τις συνθήκες εμφάνισης
|
|
70
51
|
add_matrix_row: Προσθήκη γραμμής
|
|
71
52
|
any: Οποιαδήποτε
|
|
72
53
|
collapse: Σύμπτυξη
|
|
73
54
|
description: Περιγραφή
|
|
55
|
+
down: Κάτω
|
|
74
56
|
expand: Ανάπτυξη
|
|
75
57
|
question: Ερώτηση
|
|
76
58
|
remove: Κατάργηση
|
|
77
59
|
statement: Δήλωση
|
|
60
|
+
up: Επάνω
|
|
61
|
+
responses:
|
|
62
|
+
actions:
|
|
63
|
+
show: Εμφάνιση απαντήσεων
|
|
78
64
|
separator:
|
|
65
|
+
down: Κάτω
|
|
79
66
|
remove: Κατάργηση
|
|
80
67
|
separator: Διαχωριστικό
|
|
68
|
+
up: Επάνω
|
|
81
69
|
title_and_description:
|
|
82
70
|
collapse: Σύμπτυξη
|
|
83
71
|
description: Περιγραφή
|
|
72
|
+
down: Κάτω
|
|
84
73
|
expand: Ανάπτυξη
|
|
85
74
|
remove: Αφαίρεση
|
|
86
75
|
title: Τίτλος
|
|
87
76
|
title_and_description: Τίτλος και περιγραφή
|
|
77
|
+
up: Πάνω
|
|
88
78
|
update:
|
|
89
79
|
invalid: Υπήρξε ένα πρόβλημα κατά την αποθήκευση της φόρμας.
|
|
90
80
|
success: Η φόρμα αποθηκεύτηκε επιτυχώς.
|
|
@@ -98,30 +88,19 @@ el:
|
|
|
98
88
|
resize_to_fit: Αυτή η εικόνα θα αλλάξει μέγεθος για να χωρέσει σε %{dimensions}.
|
|
99
89
|
question_types:
|
|
100
90
|
files: Αρχεία
|
|
101
|
-
long_answer: Μεγάλη απάντηση
|
|
102
91
|
matrix_multiple: Πίνακας (πολλαπλή επιλογή)
|
|
103
92
|
matrix_single: Πίνακας (μία επιλογή)
|
|
104
93
|
multiple_option: Πολλαπλή επιλογή
|
|
105
|
-
short_answer: Σύντομη απάντηση
|
|
106
94
|
single_option: Μία επιλογή
|
|
107
95
|
sorting: Ταξινόμηση
|
|
108
96
|
title_and_description: Τίτλος και περιγραφή
|
|
109
97
|
questionnaires:
|
|
110
|
-
answer:
|
|
111
|
-
invalid: Υπήρξε ένα πρόβλημα κατά την απάντηση της φόρμας.
|
|
112
|
-
success: Η φόρμα απαντήθηκε με επιτυχία.
|
|
113
98
|
question:
|
|
114
99
|
max_choices: 'Μέγιστες επιλογές: %{n}'
|
|
115
100
|
show:
|
|
116
|
-
answer_questionnaire:
|
|
117
|
-
title: Απαντήστε στη φόρμα
|
|
118
101
|
current_step: Βήμα %{step}
|
|
119
102
|
of_total_steps: από %{total_steps}
|
|
120
|
-
questionnaire_answered:
|
|
121
|
-
body: Έχετε ήδη απαντήσει σε αυτήν τη φόρμα.
|
|
122
|
-
title: Έχει ήδη απαντηθεί
|
|
123
103
|
questionnaire_closed:
|
|
124
|
-
body: Η φόρμα είναι κλειστή και δεν μπορεί να απαντηθεί.
|
|
125
104
|
title: Η φόρμα έκλεισε
|
|
126
105
|
questionnaire_for_private_users:
|
|
127
106
|
body: Η φόρμα είναι διαθέσιμη μόνο για ιδιωτικούς χρήστες
|
|
@@ -137,8 +116,3 @@ el:
|
|
|
137
116
|
back: Πίσω
|
|
138
117
|
continue: Συνέχεια
|
|
139
118
|
submit: Υποβολή
|
|
140
|
-
user_answers_serializer:
|
|
141
|
-
body: Απάντηση
|
|
142
|
-
created_at: Απαντήθηκε στις
|
|
143
|
-
id: Αναγνωριστικό απάντησης
|
|
144
|
-
question: Ερώτηση
|
data/config/locales/en.yml
CHANGED
|
@@ -2,19 +2,21 @@
|
|
|
2
2
|
en:
|
|
3
3
|
activemodel:
|
|
4
4
|
attributes:
|
|
5
|
-
answer:
|
|
6
|
-
body: Answer
|
|
7
|
-
choices: Choices
|
|
8
|
-
selected_choices: Selected choices
|
|
9
5
|
question:
|
|
10
6
|
max_choices: Maximum number of choices
|
|
11
7
|
question_type: Type
|
|
12
8
|
questionnaire_question:
|
|
13
9
|
mandatory: Mandatory
|
|
14
10
|
max_characters: Character limit (leave to 0 if no limit)
|
|
11
|
+
response:
|
|
12
|
+
body: Response
|
|
13
|
+
choices: Choices
|
|
14
|
+
selected_choices: Selected choices
|
|
15
15
|
errors:
|
|
16
16
|
models:
|
|
17
|
-
|
|
17
|
+
questionnaire:
|
|
18
|
+
request_invalid: There was a problem handling the request. Please try again.
|
|
19
|
+
response:
|
|
18
20
|
attributes:
|
|
19
21
|
add_documents:
|
|
20
22
|
needs_to_be_reattached: Needs to be reattached
|
|
@@ -23,81 +25,57 @@ en:
|
|
|
23
25
|
choices:
|
|
24
26
|
missing: are not complete
|
|
25
27
|
too_many: You can choose a maximum of %{count}.
|
|
26
|
-
questionnaire:
|
|
27
|
-
request_invalid: There was a problem handling the request. Please try again.
|
|
28
28
|
decidim:
|
|
29
29
|
download_your_data:
|
|
30
30
|
help:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
user: The user who
|
|
31
|
+
responses:
|
|
32
|
+
id: The unique identifier of the response
|
|
33
|
+
question: The question that was responded
|
|
34
|
+
questionnaire: The questionnaire that was responded
|
|
35
|
+
response: The response to the question
|
|
36
|
+
user: The user who responded the questionnaire
|
|
37
37
|
show:
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
responses: Responses export
|
|
39
|
+
survey_user_responses: Survey user responses
|
|
40
40
|
forms:
|
|
41
41
|
admin:
|
|
42
42
|
models:
|
|
43
43
|
components:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
allow_unregistered: Allow unregistered users to
|
|
47
|
-
allow_unregistered_help: If active, no login will be required in order to
|
|
44
|
+
allow_editing_responses: Allow registered users to edit own survey responses
|
|
45
|
+
allow_responses: Allow responses
|
|
46
|
+
allow_unregistered: Allow unregistered users to response the survey
|
|
47
|
+
allow_unregistered_help: If active, no login will be required in order to response the survey. This may lead to poor or unreliable data and it will be more vulnerable to automated attacks. Use with caution! Mind that a participant could response the same survey multiple times, by using different browsers or the "private browsing" feature of her web browser.
|
|
48
48
|
announcement: Announcement
|
|
49
|
-
clean_after_publish: Delete
|
|
49
|
+
clean_after_publish: Delete responses when publishing the survey
|
|
50
50
|
description: Description
|
|
51
|
-
ends_at:
|
|
51
|
+
ends_at: Responses accepted until
|
|
52
52
|
ends_at_help: Leave blank for no specific date
|
|
53
|
-
starts_at:
|
|
53
|
+
starts_at: Responses accepted from
|
|
54
54
|
starts_at_help: Leave blank for no specific date
|
|
55
55
|
tos: Terms of service
|
|
56
56
|
questionnaires:
|
|
57
57
|
actions:
|
|
58
|
-
back: Back to
|
|
59
|
-
|
|
60
|
-
show:
|
|
61
|
-
answer_option:
|
|
62
|
-
answer_option: Answer option
|
|
63
|
-
free_text: Free text
|
|
64
|
-
remove: Remove
|
|
65
|
-
statement: Statement
|
|
66
|
-
answers:
|
|
67
|
-
actions:
|
|
68
|
-
back: Back to responses
|
|
69
|
-
export: Export
|
|
70
|
-
next: Next ›
|
|
71
|
-
previous: "‹ Prev"
|
|
72
|
-
show: Show answers
|
|
73
|
-
empty: No answers yet
|
|
74
|
-
export:
|
|
75
|
-
answer:
|
|
76
|
-
title: 'Response #%{number}'
|
|
77
|
-
export_response:
|
|
78
|
-
title: survey_user_answers_%{token}
|
|
79
|
-
index:
|
|
80
|
-
title: "%{total} total responses"
|
|
81
|
-
show:
|
|
82
|
-
title: 'Answer #%{number}'
|
|
58
|
+
back: Back to questions
|
|
59
|
+
publish_responses: Publish responses
|
|
60
|
+
show: Responses
|
|
83
61
|
display_condition:
|
|
84
|
-
answer_option: Answer option
|
|
85
62
|
condition_question: Question
|
|
86
63
|
condition_type: Condition
|
|
87
64
|
condition_types:
|
|
88
|
-
answered: Answered
|
|
89
65
|
equal: Equal
|
|
90
66
|
match: Includes text
|
|
91
|
-
not_answered: Not answered
|
|
92
67
|
not_equal: Not equal
|
|
68
|
+
not_responded: Not responded
|
|
69
|
+
responded: Responded
|
|
93
70
|
condition_value: Included text
|
|
94
71
|
display_condition: Display condition
|
|
95
72
|
mandatory: This condition needs to be satisfied always regardless the status of other conditions
|
|
96
73
|
remove: Remove
|
|
74
|
+
response_option: Response option
|
|
97
75
|
save_warning: Remember to save the form before configuring display conditions
|
|
98
|
-
select_answer_option: Select answer option
|
|
99
76
|
select_condition_question: Select a question
|
|
100
77
|
select_condition_type: Select a condition type
|
|
78
|
+
select_response_option: Select response option
|
|
101
79
|
edit:
|
|
102
80
|
save: Save
|
|
103
81
|
title: Edit questionnaire
|
|
@@ -118,45 +96,73 @@ en:
|
|
|
118
96
|
remove: Remove
|
|
119
97
|
statement: Statement
|
|
120
98
|
question:
|
|
121
|
-
add_answer_option: Add answer option
|
|
122
99
|
add_display_condition: Add display condition
|
|
123
100
|
add_display_condition_info: Save the form to configure display conditions
|
|
124
101
|
add_matrix_row: Add row
|
|
102
|
+
add_response_option: Add response option
|
|
125
103
|
any: Any
|
|
126
104
|
collapse: Collapse
|
|
127
105
|
description: Description
|
|
106
|
+
down: Down
|
|
128
107
|
expand: Expand
|
|
129
108
|
question: Question
|
|
130
109
|
remove: Remove
|
|
131
110
|
statement: Statement
|
|
111
|
+
up: Up
|
|
132
112
|
questions_form:
|
|
133
|
-
|
|
113
|
+
already_responded_warning: The form is already responded by some users so you cannot modify its questions.
|
|
134
114
|
collapse: Collapse all questions
|
|
135
115
|
expand: Expand all questions
|
|
136
|
-
unpublished_warning: The form is not published. You may modify its questions, but doing so will delete current
|
|
116
|
+
unpublished_warning: The form is not published. You may modify its questions, but doing so will delete current responses.
|
|
137
117
|
update:
|
|
138
118
|
success: Survey questions successfully saved.
|
|
119
|
+
response_option:
|
|
120
|
+
free_text: Free text
|
|
121
|
+
remove: Remove
|
|
122
|
+
response_option: Response option
|
|
123
|
+
statement: Statement
|
|
124
|
+
responses:
|
|
125
|
+
actions:
|
|
126
|
+
back: Back to responses
|
|
127
|
+
export: Export
|
|
128
|
+
next: Next ›
|
|
129
|
+
previous: "‹ Prev"
|
|
130
|
+
show: Show responses
|
|
131
|
+
empty: No responses yet
|
|
132
|
+
export:
|
|
133
|
+
response:
|
|
134
|
+
title: 'Response #%{number}'
|
|
135
|
+
export_response:
|
|
136
|
+
title: survey_user_responses_%{token}
|
|
137
|
+
index:
|
|
138
|
+
title: "%{total} total responses"
|
|
139
|
+
show:
|
|
140
|
+
title: 'Response #%{number}'
|
|
139
141
|
separator:
|
|
142
|
+
down: Down
|
|
140
143
|
remove: Remove
|
|
141
144
|
separator: Separator
|
|
145
|
+
up: Up
|
|
142
146
|
title_and_description:
|
|
143
147
|
collapse: Collapse
|
|
144
148
|
description: Description
|
|
149
|
+
down: Down
|
|
145
150
|
expand: Expand
|
|
146
151
|
remove: Remove
|
|
147
152
|
title: Title
|
|
148
153
|
title_and_description: Title and description
|
|
154
|
+
up: Up
|
|
149
155
|
update:
|
|
150
156
|
invalid: There was a problem saving the form.
|
|
151
157
|
success: Form successfully saved.
|
|
152
158
|
admin_log:
|
|
153
159
|
question:
|
|
154
|
-
|
|
155
|
-
|
|
160
|
+
publish_responses: "%{user_name} published the %{resource_name} question's responses on the %{space_name} space"
|
|
161
|
+
unpublish_responses: "%{user_name} unpublished the %{resource_name} question's responses on the %{space_name} space"
|
|
156
162
|
questionnaire:
|
|
157
163
|
update: "%{user_name} updated the %{resource_name} questionnaire"
|
|
158
164
|
errors:
|
|
159
|
-
|
|
165
|
+
response:
|
|
160
166
|
body: Body cannot be blank
|
|
161
167
|
images:
|
|
162
168
|
dimensions: "%{width} x %{height} px"
|
|
@@ -165,41 +171,29 @@ en:
|
|
|
165
171
|
resize_to_fit: This image will be resized to fit %{dimensions}.
|
|
166
172
|
question_types:
|
|
167
173
|
files: Files
|
|
168
|
-
|
|
174
|
+
long_response: Long response
|
|
169
175
|
matrix_multiple: Matrix (Multiple option)
|
|
170
176
|
matrix_single: Matrix (Single option)
|
|
171
177
|
multiple_option: Multiple option
|
|
172
|
-
|
|
178
|
+
short_response: Short response
|
|
173
179
|
single_option: Single option
|
|
174
180
|
sorting: Sorting
|
|
175
181
|
title_and_description: Title and description
|
|
176
|
-
|
|
182
|
+
questionnaire_response_presenter:
|
|
177
183
|
download_attachment: Download attachment
|
|
178
184
|
questionnaires:
|
|
179
|
-
answer:
|
|
180
|
-
invalid: There was a problem answering the form.
|
|
181
|
-
max_choices_alert: There are too many choices selected
|
|
182
|
-
success: Form successfully answered.
|
|
183
185
|
question:
|
|
184
186
|
max_choices: 'Max choices: %{n}'
|
|
187
|
+
response:
|
|
188
|
+
invalid: There was a problem responding the form.
|
|
189
|
+
max_choices_alert: There are too many choices selected
|
|
190
|
+
success: Form successfully responded.
|
|
185
191
|
show:
|
|
186
|
-
answer_questionnaire:
|
|
187
|
-
already_have_an_account?: Already have an account?
|
|
188
|
-
are_you_new?: New user?
|
|
189
|
-
sign_in_description: Log in to take the survey
|
|
190
|
-
sign_up_description: Create a participant account to take the survey
|
|
191
|
-
title: Answer the form
|
|
192
192
|
current_step: Step %{step}
|
|
193
193
|
empty: No questions configured for this form yet.
|
|
194
194
|
of_total_steps: of %{total_steps}
|
|
195
|
-
questionnaire_answered:
|
|
196
|
-
body: You have already answered this form.
|
|
197
|
-
title: Already answered
|
|
198
|
-
questionnaire_answered_edit:
|
|
199
|
-
body: You have already answered this form. %{link}
|
|
200
|
-
edit: Edit your answers
|
|
201
195
|
questionnaire_closed:
|
|
202
|
-
body: The form is closed and cannot be
|
|
196
|
+
body: The form is closed and cannot be responded.
|
|
203
197
|
title: Form closed
|
|
204
198
|
questionnaire_for_private_users:
|
|
205
199
|
body: The form is available only for private users
|
|
@@ -209,20 +203,32 @@ en:
|
|
|
209
203
|
title: JavaScript is disabled
|
|
210
204
|
questionnaire_not_published:
|
|
211
205
|
body: This form is not published yet.
|
|
206
|
+
questionnaire_responded:
|
|
207
|
+
body: You have already responded this form.
|
|
208
|
+
title: Already responded
|
|
209
|
+
questionnaire_responded_edit:
|
|
210
|
+
body: You have already responded this form. %{link}
|
|
211
|
+
edit: Edit your responses
|
|
212
|
+
response_questionnaire:
|
|
213
|
+
already_have_an_account?: Already have an account?
|
|
214
|
+
are_you_new?: New user?
|
|
215
|
+
sign_in_description: Log in to take the survey
|
|
216
|
+
sign_up_description: Create a participant account to take the survey
|
|
217
|
+
title: Response the form
|
|
212
218
|
tos_agreement: By participating you accept its Terms of Service
|
|
213
219
|
step_navigation:
|
|
214
220
|
show:
|
|
215
|
-
are_you_sure_edit_guest: If you want to be able to edit your
|
|
216
|
-
are_you_sure_no_edit: This action cannot be undone and you will not be able to edit your
|
|
221
|
+
are_you_sure_edit_guest: If you want to be able to edit your responses afterwards, then you need to log in or create an account.
|
|
222
|
+
are_you_sure_no_edit: This action cannot be undone and you will not be able to edit your responses. Are you sure?
|
|
217
223
|
back: Back
|
|
218
224
|
continue: Continue
|
|
219
|
-
disallowed: You are not allowed to edit your
|
|
225
|
+
disallowed: You are not allowed to edit your responses.
|
|
220
226
|
submit: Submit
|
|
221
|
-
|
|
222
|
-
body:
|
|
227
|
+
user_responses_serializer:
|
|
228
|
+
body: Response
|
|
223
229
|
completion: Completion
|
|
224
|
-
created_at:
|
|
225
|
-
id:
|
|
230
|
+
created_at: Responded on
|
|
231
|
+
id: Response ID
|
|
226
232
|
ip_hash: IP Hash
|
|
227
233
|
question: Question
|
|
228
234
|
registered: Registered
|