decidim-forms 0.26.8 → 0.26.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/decidim/forms/admin/concerns/has_questionnaire.rb +1 -1
- data/config/environment.rb +3 -0
- data/config/locales/de.yml +1 -1
- data/config/locales/eu.yml +12 -12
- data/config/locales/hu.yml +1 -0
- data/config/locales/lt.yml +2 -0
- data/config/locales/pl.yml +12 -0
- data/config/locales/pt-BR.yml +13 -0
- data/config/locales/sq-AL.yml +1 -0
- data/config/locales/th-TH.yml +1 -0
- data/lib/decidim/forms/user_answers_serializer.rb +1 -1
- data/lib/decidim/forms/version.rb +1 -1
- metadata +10 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c435405600fe1cf3b00311da4834ac4ff2a83436beaf8c215cbd71bacadf0b02
|
4
|
+
data.tar.gz: 40bb6932e182d144fec4d4eda89ec544a29069ab62860f3ac9a26c6a080ec071
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 115beaf2e97ae428f6efa5d235d24b713483b7ac1e4afc4095603d3865ec0b2703e8c2f5e9817f4ac8c529c04dd2a04cace2a93ba8cbf19122122e1732ca9ae0
|
7
|
+
data.tar.gz: f12edcefe28f0440e5e2fdf90a582cb83f368856ca65b336d8fb8c02e126cad891e3fdda4ae411fcec6289f4a2526288223ea12422e39488394362bd4f7ca99b
|
@@ -20,7 +20,7 @@ module Decidim
|
|
20
20
|
helper_method :questionnaire_for, :questionnaire, :blank_question, :blank_answer_option, :blank_matrix_row,
|
21
21
|
:blank_display_condition, :question_types, :display_condition_types, :update_url, :public_url, :answer_options_url, :edit_questionnaire_title
|
22
22
|
|
23
|
-
if defined?
|
23
|
+
if defined?(Decidim::Templates::Admin::Concerns::Templatable)
|
24
24
|
include Decidim::Templates::Admin::Concerns::Templatable
|
25
25
|
helper Decidim::Templates::Admin::TemplatesHelper
|
26
26
|
|
data/config/environment.rb
CHANGED
data/config/locales/de.yml
CHANGED
@@ -174,7 +174,7 @@ de:
|
|
174
174
|
tos_agreement: Mit der Teilnahme stimmen Sie den Nutzungsbedingungen zu
|
175
175
|
step_navigation:
|
176
176
|
show:
|
177
|
-
are_you_sure: Diese Aktion kann nicht rückgängig gemacht werden und Sie können Ihre Antworten nicht bearbeiten.
|
177
|
+
are_you_sure: Diese Aktion kann nicht rückgängig gemacht werden und Sie können Ihre Antworten nicht bearbeiten. Sind Sie sich sicher?
|
178
178
|
back: Zurück
|
179
179
|
continue: Weiter
|
180
180
|
submit: einreichen
|
data/config/locales/eu.yml
CHANGED
@@ -6,7 +6,7 @@ eu:
|
|
6
6
|
choices: Aukerak
|
7
7
|
selected_choices: Hautatutako aukerak
|
8
8
|
question:
|
9
|
-
max_choices:
|
9
|
+
max_choices: Gehieneko aukera kopurua
|
10
10
|
question_type: Mota
|
11
11
|
questionnaire_question:
|
12
12
|
mandatory: Derrigorrezkoa
|
@@ -48,13 +48,13 @@ eu:
|
|
48
48
|
empty: Oraindik ez dago erantzunik
|
49
49
|
export:
|
50
50
|
answer:
|
51
|
-
title: '#%{number}
|
51
|
+
title: '#%{number} erantzun'
|
52
52
|
export_response:
|
53
53
|
title: survey_user_answers_%{token}
|
54
54
|
index:
|
55
55
|
title: "Guztira %{total} erantzun"
|
56
56
|
show:
|
57
|
-
title: '#%{number}
|
57
|
+
title: '#%{number} erantzun'
|
58
58
|
display_condition:
|
59
59
|
answer_option: Erantzuteko aukera
|
60
60
|
condition_question: Galdera
|
@@ -79,8 +79,8 @@ eu:
|
|
79
79
|
form:
|
80
80
|
add_question: Gehitu galdera
|
81
81
|
add_separator: Gehitu banatzailea
|
82
|
-
add_title_and_description:
|
83
|
-
already_answered_warning: Formularioa erabiltzaile batzuek erantzuten dute
|
82
|
+
add_title_and_description: Gehitu izenburua eta deskribapena
|
83
|
+
already_answered_warning: Formularioa erabiltzaile batzuek erantzuten dute; beraz, ezin dira galderak aldatu.
|
84
84
|
collapse: Bildu galdera guztiak
|
85
85
|
expand: Zabaldu galdera guztiak
|
86
86
|
preview: Aurreikusi
|
@@ -110,7 +110,7 @@ eu:
|
|
110
110
|
separator: Bereizlea
|
111
111
|
up: Gora
|
112
112
|
title_and_description:
|
113
|
-
collapse:
|
113
|
+
collapse: Kolapsoa
|
114
114
|
description: Deskribapena
|
115
115
|
down: Behera
|
116
116
|
expand: Zabaldu
|
@@ -119,7 +119,7 @@ eu:
|
|
119
119
|
title_and_description: Izenburua eta deskribapena
|
120
120
|
up: Gora
|
121
121
|
update:
|
122
|
-
invalid:
|
122
|
+
invalid: Arazo bat egon da inprimakia gordetzean.
|
123
123
|
success: Galdetegia zuzen gorde da.
|
124
124
|
errors:
|
125
125
|
answer:
|
@@ -146,19 +146,19 @@ eu:
|
|
146
146
|
download_attachment: Deskargatu eranskina
|
147
147
|
questionnaires:
|
148
148
|
answer:
|
149
|
-
invalid:
|
149
|
+
invalid: Akats bat gertatu da galdeketa erantzutean.
|
150
150
|
max_choices_alert: Aukera gehiegi daude hautatuta
|
151
|
-
success:
|
151
|
+
success: Formularioa zuzen erantzunda.
|
152
152
|
question:
|
153
|
-
max_choices: '
|
153
|
+
max_choices: 'Gehieneko aukerak: %{n}'
|
154
154
|
show:
|
155
155
|
answer_questionnaire:
|
156
156
|
anonymous_user_message: <a href="%{sign_in_link}">Hasi saioa zure kontuarekin</a> edo <a href="%{sign_up_link}">saioa hasi</a> galdetegiari erantzuteko.
|
157
|
-
title: Erantzun
|
157
|
+
title: Erantzun formularioa
|
158
158
|
current_step: '%{step} urratsa'
|
159
159
|
of_total_steps: '%{total_steps} etik'
|
160
160
|
questionnaire_answered:
|
161
|
-
body:
|
161
|
+
body: Dagoeneko inkesta hau erantzun duzu.
|
162
162
|
title: Dagoeneko erantzunda
|
163
163
|
questionnaire_closed:
|
164
164
|
body: Galdetegia itxita dago eta ezin da erantzun.
|
data/config/locales/hu.yml
CHANGED
data/config/locales/lt.yml
CHANGED
@@ -142,6 +142,8 @@ lt:
|
|
142
142
|
single_option: Vienas variantas
|
143
143
|
sorting: Rūšiavimas
|
144
144
|
title_and_description: Pavadinimas ir aprašymas
|
145
|
+
questionnaire_answer_presenter:
|
146
|
+
download_attachment: Parsisiųsti priedą
|
145
147
|
questionnaires:
|
146
148
|
answer:
|
147
149
|
invalid: Atsakant į šią formą iškilo problema.
|
data/config/locales/pl.yml
CHANGED
@@ -79,6 +79,7 @@ pl:
|
|
79
79
|
form:
|
80
80
|
add_question: Dodaj pytanie
|
81
81
|
add_separator: Dodaj separator
|
82
|
+
add_title_and_description: Dodaj tytuł i opis
|
82
83
|
already_answered_warning: Niektórzy użytkownicy już odpowiedzieli na pytania tego formularza, więc nie można modyfikować jego pytań.
|
83
84
|
collapse: Zwiń wszystkie pytania
|
84
85
|
expand: Rozwiń wszystkie pytania
|
@@ -108,6 +109,15 @@ pl:
|
|
108
109
|
remove: Usuń
|
109
110
|
separator: Separator
|
110
111
|
up: W górę
|
112
|
+
title_and_description:
|
113
|
+
collapse: Zwiń
|
114
|
+
description: Opis
|
115
|
+
down: W dół
|
116
|
+
expand: Rozwiń
|
117
|
+
remove: Usuń
|
118
|
+
title: Tytuł
|
119
|
+
title_and_description: Tytuł i opis
|
120
|
+
up: W górę
|
111
121
|
update:
|
112
122
|
invalid: Podczas zapisywania formularza wystąpił błąd.
|
113
123
|
success: Formularz został zapisany.
|
@@ -132,6 +142,8 @@ pl:
|
|
132
142
|
single_option: Jedna opcja
|
133
143
|
sorting: Sortowanie
|
134
144
|
title_and_description: Tytuł i opis
|
145
|
+
questionnaire_answer_presenter:
|
146
|
+
download_attachment: Pobierz załącznik
|
135
147
|
questionnaires:
|
136
148
|
answer:
|
137
149
|
invalid: Podczas wypełniania formularza wystąpiły błędy.
|
data/config/locales/pt-BR.yml
CHANGED
@@ -79,6 +79,7 @@ pt-BR:
|
|
79
79
|
form:
|
80
80
|
add_question: Adicionar pergunta
|
81
81
|
add_separator: Adicionar separador
|
82
|
+
add_title_and_description: Adicionar título e descrição
|
82
83
|
already_answered_warning: O questionário já foi respondido por alguns usuários então você não pode modificar suas perguntas.
|
83
84
|
collapse: Recolher todas as questões
|
84
85
|
expand: Expandir todas as questões
|
@@ -108,6 +109,15 @@ pt-BR:
|
|
108
109
|
remove: Remover
|
109
110
|
separator: Separador
|
110
111
|
up: Para Cima
|
112
|
+
title_and_description:
|
113
|
+
collapse: Recolher
|
114
|
+
description: Descrição
|
115
|
+
down: Abaixo
|
116
|
+
expand: Expandir
|
117
|
+
remove: Excluir
|
118
|
+
title: Título
|
119
|
+
title_and_description: Título e descrição
|
120
|
+
up: Acima
|
111
121
|
update:
|
112
122
|
invalid: Houve erros ao salvar o questionário.
|
113
123
|
success: Formulário salvo com sucesso.
|
@@ -131,6 +141,9 @@ pt-BR:
|
|
131
141
|
short_answer: Resposta curta
|
132
142
|
single_option: Opção única
|
133
143
|
sorting: Classificação
|
144
|
+
title_and_description: Título e descrição
|
145
|
+
questionnaire_answer_presenter:
|
146
|
+
download_attachment: Baixar anexo
|
134
147
|
questionnaires:
|
135
148
|
answer:
|
136
149
|
invalid: Houve erros ao responder a pesquisa.
|
@@ -0,0 +1 @@
|
|
1
|
+
sq:
|
@@ -0,0 +1 @@
|
|
1
|
+
th:
|
@@ -32,7 +32,7 @@ module Decidim
|
|
32
32
|
def hash_for(answer)
|
33
33
|
{
|
34
34
|
answer_translated_attribute_name(:id) => answer&.session_token,
|
35
|
-
answer_translated_attribute_name(:created_at) => answer&.created_at
|
35
|
+
answer_translated_attribute_name(:created_at) => answer&.created_at,
|
36
36
|
answer_translated_attribute_name(:ip_hash) => answer&.ip_hash,
|
37
37
|
answer_translated_attribute_name(:user_status) => answer_translated_attribute_name(answer&.decidim_user_id.present? ? "registered" : "unregistered")
|
38
38
|
}
|
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.26.
|
4
|
+
version: 0.26.10
|
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: 2024-04-30 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.26.
|
22
|
+
version: 0.26.10
|
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.26.
|
29
|
+
version: 0.26.10
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: wicked_pdf
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -61,28 +61,28 @@ dependencies:
|
|
61
61
|
requirements:
|
62
62
|
- - '='
|
63
63
|
- !ruby/object:Gem::Version
|
64
|
-
version: 0.26.
|
64
|
+
version: 0.26.10
|
65
65
|
type: :development
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
69
|
- - '='
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: 0.26.
|
71
|
+
version: 0.26.10
|
72
72
|
- !ruby/object:Gem::Dependency
|
73
73
|
name: decidim-dev
|
74
74
|
requirement: !ruby/object:Gem::Requirement
|
75
75
|
requirements:
|
76
76
|
- - '='
|
77
77
|
- !ruby/object:Gem::Version
|
78
|
-
version: 0.26.
|
78
|
+
version: 0.26.10
|
79
79
|
type: :development
|
80
80
|
prerelease: false
|
81
81
|
version_requirements: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
83
|
- - '='
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0.26.
|
85
|
+
version: 0.26.10
|
86
86
|
description: A forms gem for decidim.
|
87
87
|
email:
|
88
88
|
- josepjaume@gmail.com
|
@@ -253,9 +253,11 @@ files:
|
|
253
253
|
- config/locales/sk.yml
|
254
254
|
- config/locales/sl.yml
|
255
255
|
- config/locales/so-SO.yml
|
256
|
+
- config/locales/sq-AL.yml
|
256
257
|
- config/locales/sr-CS.yml
|
257
258
|
- config/locales/sv.yml
|
258
259
|
- config/locales/sw-KE.yml
|
260
|
+
- config/locales/th-TH.yml
|
259
261
|
- config/locales/ti-ER.yml
|
260
262
|
- config/locales/tr-TR.yml
|
261
263
|
- config/locales/uk.yml
|