decidim-templates 0.25.0.rc4 → 0.26.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim-templates might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/controllers/decidim/templates/admin/questionnaire_templates_controller.rb +2 -2
- data/config/locales/es-MX.yml +7 -0
- data/config/locales/es-PY.yml +7 -0
- data/config/locales/es.yml +7 -0
- data/config/locales/eu.yml +66 -0
- data/config/locales/ga-IE.yml +16 -0
- data/config/locales/lb.yml +1 -0
- data/config/locales/pt-BR.yml +1 -1
- data/config/locales/pt.yml +66 -0
- data/config/locales/ro-RO.yml +26 -26
- data/config/locales/sv.yml +7 -0
- data/config/locales/val-ES.yml +1 -0
- data/lib/decidim/templates/engine.rb +4 -0
- data/lib/decidim/templates/version.rb +1 -1
- metadata +16 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a54789aa4eebb379aadd3b430de1695925216b9fe840fbc0d420ee28fb0294a0
|
4
|
+
data.tar.gz: 0bd8d5d3413546ab4dbbe3bea77d1e0da0ef0a59a6f4057ac895bb99197bb52e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18a1bc9ddacad72b8674606e57c52100ae1abbeaea1da547ff340aa11861520ff568c9b4a9a0d107dc5ad13c0828bd38f81321db1180a391f9618b4bfb1796ad
|
7
|
+
data.tar.gz: ca0864d6225cc38e225804e4cb55f3bdd9280724230bd11e651a67e1cdede78a7aa74cc831c655ba747722a1ba57c45b9545511b450db117a202e1df672050b3
|
@@ -108,7 +108,7 @@ module Decidim
|
|
108
108
|
ApplyQuestionnaireTemplate.call(questionnaire, template) do
|
109
109
|
on(:ok) do
|
110
110
|
flash[:notice] = I18n.t("templates.apply.success", scope: "decidim.admin")
|
111
|
-
redirect_to params[:url]
|
111
|
+
redirect_to URI.parse(params[:url]).path
|
112
112
|
end
|
113
113
|
on(:invalid) do
|
114
114
|
flash[:error] = I18n.t("templates.apply.error", scope: "decidim.admin")
|
@@ -132,7 +132,7 @@ module Decidim
|
|
132
132
|
# rubocop:disable Rails/SkipsModelValidations
|
133
133
|
questionnaire.touch
|
134
134
|
# rubocop:enable Rails/SkipsModelValidations
|
135
|
-
redirect_to params[:url]
|
135
|
+
redirect_to URI.parse(params[:url]).path
|
136
136
|
end
|
137
137
|
|
138
138
|
private
|
data/config/locales/es-MX.yml
CHANGED
data/config/locales/es-PY.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/eu.yml
CHANGED
@@ -1 +1,67 @@
|
|
1
1
|
eu:
|
2
|
+
activemodel:
|
3
|
+
attributes:
|
4
|
+
questionnaire:
|
5
|
+
title: Izenburua
|
6
|
+
template:
|
7
|
+
description: Deskribapena
|
8
|
+
name: Izena
|
9
|
+
decidim:
|
10
|
+
admin:
|
11
|
+
menu:
|
12
|
+
templates: Txantiloiak
|
13
|
+
templates:
|
14
|
+
apply:
|
15
|
+
error: Arazo bat izan da txantiloi hau aplikatzean.
|
16
|
+
success: Txantiloia zuzen aplikatu da
|
17
|
+
copy:
|
18
|
+
error: Arazo bat izan da txantiloi hau kopiatzean.
|
19
|
+
success: Txantiloia zuzen kopiatu da
|
20
|
+
create:
|
21
|
+
error: Arazo bat izan da txantiloi hau sortzean.
|
22
|
+
success: Txantiloia zuzen sortu da
|
23
|
+
destroy:
|
24
|
+
success: Txantiloia zuzen ezabatu da
|
25
|
+
empty: Oraindik ez dago txantiloirik.
|
26
|
+
update:
|
27
|
+
error: Arazo bat izan da txantiloi hau eguneratzean.
|
28
|
+
success: Txantiloia zuzen eguneratu da
|
29
|
+
titles:
|
30
|
+
template_types:
|
31
|
+
questionnaires: Galdeketa-txantiloiak
|
32
|
+
templates: Txantiloiak
|
33
|
+
models:
|
34
|
+
questionnaire_template:
|
35
|
+
fields:
|
36
|
+
questions: Galdera kopurua
|
37
|
+
title: Galdeketaren Izenburua
|
38
|
+
template:
|
39
|
+
fields:
|
40
|
+
created_at: Noiz sortua
|
41
|
+
name: Txantiloia
|
42
|
+
templates:
|
43
|
+
admin:
|
44
|
+
questionnaire_templates:
|
45
|
+
choose:
|
46
|
+
create_from_template: Sortu txantiloitik
|
47
|
+
description: Galdeketa berri bat sortuko duzu. Aurretik zehaztutako txantiloi bat aukeratu ahal duzu eta gero moldatu.
|
48
|
+
label: Aukeratu txantiloi bat
|
49
|
+
placeholder: Aukeratu txantiloi bat
|
50
|
+
skip_template: Saltatu
|
51
|
+
edit:
|
52
|
+
edit: Editatu
|
53
|
+
empty: Oraindik ez dago galderarik
|
54
|
+
questionnaire: Galdetegia
|
55
|
+
form:
|
56
|
+
save: Gorde
|
57
|
+
template_title: Txantiloiaren informazioa
|
58
|
+
title: '%{questionnaire_for} galdetegiaren txantiloia'
|
59
|
+
index:
|
60
|
+
confirm_delete: Ziur zaude txantiloi hau ezabatu nahi duzula?
|
61
|
+
title: Galdetegi-txantiloiak
|
62
|
+
preview:
|
63
|
+
current_step: '%{step} urratsa'
|
64
|
+
of_total_steps: '%{total_steps} etik'
|
65
|
+
tos_agreement: Parte hartzean erabilera-irizpideak eta baldintzak onartzen dituzu
|
66
|
+
template_types:
|
67
|
+
questionnaires: Galdetegiak
|
data/config/locales/ga-IE.yml
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
lb:
|
data/config/locales/pt-BR.yml
CHANGED
data/config/locales/pt.yml
CHANGED
@@ -1 +1,67 @@
|
|
1
1
|
pt:
|
2
|
+
activemodel:
|
3
|
+
attributes:
|
4
|
+
questionnaire:
|
5
|
+
title: Título
|
6
|
+
template:
|
7
|
+
description: Descrição
|
8
|
+
name: Nome
|
9
|
+
decidim:
|
10
|
+
admin:
|
11
|
+
menu:
|
12
|
+
templates: Modelos
|
13
|
+
templates:
|
14
|
+
apply:
|
15
|
+
error: Houve um problema ao aplicar este modelo
|
16
|
+
success: Modelo aplicado com êxito
|
17
|
+
copy:
|
18
|
+
error: Houve um problema ao copiar este modelo
|
19
|
+
success: Modelo copiado com êxito
|
20
|
+
create:
|
21
|
+
error: Houve um problema ao criar este modelo.
|
22
|
+
success: Modelo criado com êxito
|
23
|
+
destroy:
|
24
|
+
success: Modelo eliminado com êxito
|
25
|
+
empty: Ainda não há modelos.
|
26
|
+
update:
|
27
|
+
error: Houve um problema ao actualizar este modelo.
|
28
|
+
success: Modelo actualizado com êxito
|
29
|
+
titles:
|
30
|
+
template_types:
|
31
|
+
questionnaires: Modelos de questionário
|
32
|
+
templates: Modelos
|
33
|
+
models:
|
34
|
+
questionnaire_template:
|
35
|
+
fields:
|
36
|
+
questions: Número de questões
|
37
|
+
title: Título do questionário
|
38
|
+
template:
|
39
|
+
fields:
|
40
|
+
created_at: Criado em
|
41
|
+
name: Modelo
|
42
|
+
templates:
|
43
|
+
admin:
|
44
|
+
questionnaire_templates:
|
45
|
+
choose:
|
46
|
+
create_from_template: Criar a partir do modelo
|
47
|
+
description: Está prestes a criar um novo questionário. Pode escolher um modelo predefinido e modificá-lo posteriormente.
|
48
|
+
label: Escolher modelo
|
49
|
+
placeholder: Escolher modelo
|
50
|
+
skip_template: Saltar
|
51
|
+
edit:
|
52
|
+
edit: Editar
|
53
|
+
empty: Ainda não há questões
|
54
|
+
questionnaire: Questionário
|
55
|
+
form:
|
56
|
+
save: Guardar
|
57
|
+
template_title: Informação do modelo
|
58
|
+
title: Modelo de questionário %{questionnaire_for}
|
59
|
+
index:
|
60
|
+
confirm_delete: Tem a certeza que quer apagar este modelo?
|
61
|
+
title: Modelos de questionário
|
62
|
+
preview:
|
63
|
+
current_step: Passo %{step}
|
64
|
+
of_total_steps: de %{total_steps}
|
65
|
+
tos_agreement: Ao participar aceita as Condições de Serviço
|
66
|
+
template_types:
|
67
|
+
questionnaires: Questionários
|
data/config/locales/ro-RO.yml
CHANGED
@@ -9,59 +9,59 @@ ro:
|
|
9
9
|
decidim:
|
10
10
|
admin:
|
11
11
|
menu:
|
12
|
-
templates:
|
12
|
+
templates: Modele
|
13
13
|
templates:
|
14
14
|
apply:
|
15
|
-
error: A apărut o eroare la aplicarea acestui
|
16
|
-
success:
|
15
|
+
error: A apărut o eroare la aplicarea acestui model.
|
16
|
+
success: Modelul a fost aplicat cu succes
|
17
17
|
copy:
|
18
|
-
error: A apărut o eroare la copierea acestui
|
19
|
-
success:
|
18
|
+
error: A apărut o eroare la copierea acestui model.
|
19
|
+
success: Modelul a fost copiat cu succes
|
20
20
|
create:
|
21
|
-
error: A apărut o eroare la crearea acestui
|
22
|
-
success:
|
21
|
+
error: A apărut o eroare la crearea acestui model.
|
22
|
+
success: Modelul a fost creat cu succes
|
23
23
|
destroy:
|
24
|
-
success:
|
25
|
-
empty: Nu există încă nici un
|
24
|
+
success: Modelul a fost şters cu succes
|
25
|
+
empty: Nu există încă nici un model.
|
26
26
|
update:
|
27
|
-
error: A apărut o eroare la actualizarea acestui
|
28
|
-
success:
|
27
|
+
error: A apărut o eroare la actualizarea acestui model.
|
28
|
+
success: Modelul a fost actualizat cu succes
|
29
29
|
titles:
|
30
30
|
template_types:
|
31
|
-
questionnaires:
|
32
|
-
templates:
|
31
|
+
questionnaires: Model de chestionar
|
32
|
+
templates: Modele
|
33
33
|
models:
|
34
34
|
questionnaire_template:
|
35
35
|
fields:
|
36
36
|
questions: Număr de întrebări
|
37
|
-
title:
|
37
|
+
title: Numele chestionarului
|
38
38
|
template:
|
39
39
|
fields:
|
40
40
|
created_at: Creat la
|
41
|
-
name:
|
41
|
+
name: Model
|
42
42
|
templates:
|
43
43
|
admin:
|
44
44
|
questionnaire_templates:
|
45
45
|
choose:
|
46
|
-
create_from_template:
|
47
|
-
description:
|
48
|
-
label:
|
49
|
-
placeholder:
|
46
|
+
create_from_template: Creează după model
|
47
|
+
description: Ești pe cale de a crea un nou chestionar. Poți alege un model predefinit și să-l modifici ulterior.
|
48
|
+
label: Alege un model
|
49
|
+
placeholder: Alege un model
|
50
50
|
skip_template: Treci peste
|
51
51
|
edit:
|
52
52
|
edit: Editează
|
53
|
-
empty:
|
53
|
+
empty: Nu există încă întrebări
|
54
54
|
questionnaire: Chestionar
|
55
55
|
form:
|
56
|
-
save:
|
57
|
-
template_title: Informatii
|
58
|
-
title:
|
56
|
+
save: Salvează
|
57
|
+
template_title: Informatii despre model
|
58
|
+
title: Model de chestionar %{questionnaire_for}
|
59
59
|
index:
|
60
|
-
confirm_delete:
|
61
|
-
title:
|
60
|
+
confirm_delete: Sigur dorești să ștergi acest model?
|
61
|
+
title: Model de chestionar
|
62
62
|
preview:
|
63
63
|
current_step: Pasul %{step}
|
64
64
|
of_total_steps: din %{total_steps}
|
65
|
-
tos_agreement: Prin participare
|
65
|
+
tos_agreement: Prin participare accepți Termenii și condițiile sale de utilizare
|
66
66
|
template_types:
|
67
67
|
questionnaires: Chestionare
|
data/config/locales/sv.yml
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
val:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-templates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.26.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vera Rojman
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: decidim-core
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.26.0.rc1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.26.0.rc1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: decidim-forms
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.26.0.rc1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.26.0.rc1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: decidim-admin
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.26.0.rc1
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.26.0.rc1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: decidim-dev
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.26.0.rc1
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.26.0.rc1
|
69
69
|
description: This module provides a solution to create templates for different Decidim
|
70
70
|
models, such as Proposals and Questionnaires..
|
71
71
|
email:
|
@@ -139,6 +139,7 @@ files:
|
|
139
139
|
- config/locales/ko-KR.yml
|
140
140
|
- config/locales/ko.yml
|
141
141
|
- config/locales/lb-LU.yml
|
142
|
+
- config/locales/lb.yml
|
142
143
|
- config/locales/lt.yml
|
143
144
|
- config/locales/lv.yml
|
144
145
|
- config/locales/mt.yml
|
@@ -160,6 +161,7 @@ files:
|
|
160
161
|
- config/locales/ti-ER.yml
|
161
162
|
- config/locales/tr-TR.yml
|
162
163
|
- config/locales/uk.yml
|
164
|
+
- config/locales/val-ES.yml
|
163
165
|
- config/locales/vi-VN.yml
|
164
166
|
- config/locales/vi.yml
|
165
167
|
- config/locales/zh-CN.yml
|
@@ -178,7 +180,7 @@ homepage: https://github.com/decidim/decidim-module-templates
|
|
178
180
|
licenses:
|
179
181
|
- AGPL-3.0
|
180
182
|
metadata: {}
|
181
|
-
post_install_message:
|
183
|
+
post_install_message:
|
182
184
|
rdoc_options: []
|
183
185
|
require_paths:
|
184
186
|
- lib
|
@@ -193,8 +195,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
195
|
- !ruby/object:Gem::Version
|
194
196
|
version: 1.3.1
|
195
197
|
requirements: []
|
196
|
-
rubygems_version: 3.1.
|
197
|
-
signing_key:
|
198
|
+
rubygems_version: 3.1.6
|
199
|
+
signing_key:
|
198
200
|
specification_version: 4
|
199
201
|
summary: A decidim templates module
|
200
202
|
test_files: []
|