decidim-templates 0.25.1 → 0.26.0
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/no.yml +62 -0
- data/config/locales/pt-BR.yml +1 -1
- data/config/locales/ro-RO.yml +1 -1
- data/config/locales/val-ES.yml +1 -0
- data/lib/decidim/templates/version.rb +1 -1
- metadata +15 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83936fa8ed1514d335f386fb65dad96efee273ac13110cae8d847d4b5b7aba24
|
4
|
+
data.tar.gz: a95c712766efbb3d998be2d158ef38cfa5dcd3d47eb15db95dd22c15eb1282c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17abab126d4a4fa6736556aa4cf41a524abaadf0a4f2d1c54a928d610d7801489a5a2ee2f359adf93449b55d53901edfe913fdd60a99040889d49b7f9be19d68
|
7
|
+
data.tar.gz: 8cc00657a3799e1596fcaa366fc4ea01209a7fcb2643311e48e670551838724546c2c797c167a80943c7e096083eb238902a8aed3224378f161c7edd07b4ac29
|
@@ -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/no.yml
CHANGED
@@ -1,5 +1,67 @@
|
|
1
1
|
"no":
|
2
|
+
activemodel:
|
3
|
+
attributes:
|
4
|
+
questionnaire:
|
5
|
+
title: Tittel
|
6
|
+
template:
|
7
|
+
description: Beskrivelse
|
8
|
+
name: Navn
|
2
9
|
decidim:
|
3
10
|
admin:
|
4
11
|
menu:
|
5
12
|
templates: Maler
|
13
|
+
templates:
|
14
|
+
apply:
|
15
|
+
error: Det oppstod et problem med å bruke denne malen.
|
16
|
+
success: Mal lagt til
|
17
|
+
copy:
|
18
|
+
error: Det oppstod et problem under kopiering av denne malen.
|
19
|
+
success: Malen ble kopiert
|
20
|
+
create:
|
21
|
+
error: Det oppstod et problem under oppretting av malen.
|
22
|
+
success: Malen er opprettet
|
23
|
+
destroy:
|
24
|
+
success: Malen ble slettet
|
25
|
+
empty: Det finnes ingen maler enda.
|
26
|
+
update:
|
27
|
+
error: Det oppstod et problem under oppdatering av denne malen.
|
28
|
+
success: Mal oppdatert
|
29
|
+
titles:
|
30
|
+
template_types:
|
31
|
+
questionnaires: Maler for spørreskjema
|
32
|
+
templates: Maler
|
33
|
+
models:
|
34
|
+
questionnaire_template:
|
35
|
+
fields:
|
36
|
+
questions: Antall spørsmål
|
37
|
+
title: Tittel på spørreskjema
|
38
|
+
template:
|
39
|
+
fields:
|
40
|
+
created_at: Opprettet
|
41
|
+
name: Mal
|
42
|
+
templates:
|
43
|
+
admin:
|
44
|
+
questionnaire_templates:
|
45
|
+
choose:
|
46
|
+
create_from_template: Opprett fra mal
|
47
|
+
description: Du holder på å opprette et nytt spørreskjema. Du kan velge en forhåndsdefinert mal og endre den etterpå.
|
48
|
+
label: Velg mal
|
49
|
+
placeholder: Velg mal
|
50
|
+
skip_template: Hopp over
|
51
|
+
edit:
|
52
|
+
edit: Rediger
|
53
|
+
empty: Det er ingen spørsmål enda
|
54
|
+
questionnaire: Spørreskjema
|
55
|
+
form:
|
56
|
+
save: Lagre
|
57
|
+
template_title: Informasjon om mal
|
58
|
+
title: Spørreskjema mal %{questionnaire_for}
|
59
|
+
index:
|
60
|
+
confirm_delete: Er du sikker på at du vil slette denne malen?
|
61
|
+
title: Spørreskjema maler
|
62
|
+
preview:
|
63
|
+
current_step: Trinn %{step}
|
64
|
+
of_total_steps: av %{total_steps}
|
65
|
+
tos_agreement: Ved å delta godtar du bruksvilkårene
|
66
|
+
template_types:
|
67
|
+
questionnaires: Spørreskjema
|
data/config/locales/pt-BR.yml
CHANGED
data/config/locales/ro-RO.yml
CHANGED
@@ -57,7 +57,7 @@ ro:
|
|
57
57
|
template_title: Informatii despre model
|
58
58
|
title: Model de chestionar %{questionnaire_for}
|
59
59
|
index:
|
60
|
-
confirm_delete:
|
60
|
+
confirm_delete: Sigur dorești să ștergi acest model?
|
61
61
|
title: Model de chestionar
|
62
62
|
preview:
|
63
63
|
current_step: Pasul %{step}
|
@@ -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
|
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-22 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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
@@ -194,8 +195,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
195
|
- !ruby/object:Gem::Version
|
195
196
|
version: '0'
|
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: []
|