decidim-templates 0.25.0 → 0.26.0.rc2
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/eu.yml +66 -0
- data/config/locales/pt-BR.yml +1 -1
- data/config/locales/ro-RO.yml +26 -26
- 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 +17 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53f32743fcde044de5616ba3541f898ce50be741e4cf68b033de5661f28e9596
|
4
|
+
data.tar.gz: c534cc141f316b2e8ec0d530e0cd0e56bc4727f4752a7aae69e33b3856760cd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40fc6d7bcc4b2e757689e05b110874fe8df35ffc640f8bb1dd5c604c957f6a74aa54defb61db5956dc55d41455112786005df9ef32016416c47ec711499b2180
|
7
|
+
data.tar.gz: bf3264f1498e09747a8136c64dff8dfe54dc9976a75e88935d9dee2dc46630f77ebf05a1818fce0ef650c4a5148e00f9839841c4ac3ea83170213531eb38e387
|
@@ -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/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/pt-BR.yml
CHANGED
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
|
@@ -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.rc2
|
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-02-02 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.rc2
|
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.rc2
|
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.rc2
|
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.rc2
|
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.rc2
|
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.rc2
|
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.rc2
|
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.rc2
|
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:
|
@@ -161,6 +161,7 @@ files:
|
|
161
161
|
- config/locales/ti-ER.yml
|
162
162
|
- config/locales/tr-TR.yml
|
163
163
|
- config/locales/uk.yml
|
164
|
+
- config/locales/val-ES.yml
|
164
165
|
- config/locales/vi-VN.yml
|
165
166
|
- config/locales/vi.yml
|
166
167
|
- config/locales/zh-CN.yml
|
@@ -179,7 +180,7 @@ homepage: https://github.com/decidim/decidim-module-templates
|
|
179
180
|
licenses:
|
180
181
|
- AGPL-3.0
|
181
182
|
metadata: {}
|
182
|
-
post_install_message:
|
183
|
+
post_install_message:
|
183
184
|
rdoc_options: []
|
184
185
|
require_paths:
|
185
186
|
- lib
|
@@ -190,12 +191,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
190
191
|
version: '2.7'
|
191
192
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
193
|
requirements:
|
193
|
-
- - "
|
194
|
+
- - ">"
|
194
195
|
- !ruby/object:Gem::Version
|
195
|
-
version:
|
196
|
+
version: 1.3.1
|
196
197
|
requirements: []
|
197
|
-
rubygems_version: 3.1.
|
198
|
-
signing_key:
|
198
|
+
rubygems_version: 3.1.6
|
199
|
+
signing_key:
|
199
200
|
specification_version: 4
|
200
201
|
summary: A decidim templates module
|
201
202
|
test_files: []
|