decidim-templates 0.27.2 → 0.27.4
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/questionnaires_controller.rb +1 -1
- data/app/controllers/decidim/templates/admin/questionnaire_templates_controller.rb +1 -1
- data/app/permissions/decidim/templates/admin/permissions.rb +1 -1
- data/app/views/decidim/templates/admin/questionnaire_templates/edit.html.erb +1 -0
- data/app/views/decidim/templates/admin/questionnaire_templates/index.html.erb +1 -0
- data/app/views/decidim/templates/admin/questionnaire_templates/new.html.erb +1 -0
- data/config/environment.rb +0 -0
- data/config/locales/ar.yml +26 -0
- data/config/locales/de.yml +7 -0
- data/config/locales/eu.yml +6 -0
- data/config/locales/fa-IR.yml +1 -0
- data/config/locales/kaa.yml +8 -0
- data/config/locales/ro-RO.yml +4 -4
- data/config/locales/zh-TW.yml +73 -0
- data/lib/decidim/templates/version.rb +1 -1
- metadata +17 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7dcc86f076ee318f5bf6ce9d36dfc90a6277e43c56dd3466b5e52bf7e976112b
|
4
|
+
data.tar.gz: dd6ce4e0e86a28010a36280196892ef4082fcc1bb68f89c09565350793bbdcbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f34fdd4718603acab15a83fec549546e3c6ea4cb1d7119b9c35c456cb827108a5dbd115ed04b43b27604ae51c200b4105f5368a84b00924160e94cbb48350ac3
|
7
|
+
data.tar.gz: 39cf01916d9382b386547eaecb5105ea3af6da5111ba884a1bd235ed71c0cb7f9a303e95134e38ec4cca03f71cd071188b45d526b7c16ca28433569c1255bf3e
|
@@ -6,7 +6,7 @@ module Decidim
|
|
6
6
|
class Permissions < Decidim::DefaultPermissions
|
7
7
|
def permissions
|
8
8
|
return permission_action unless user
|
9
|
-
|
9
|
+
return permission_action unless user.admin?
|
10
10
|
return permission_action if permission_action.scope != :admin
|
11
11
|
|
12
12
|
case permission_action.subject
|
File without changes
|
data/config/locales/ar.yml
CHANGED
@@ -4,3 +4,29 @@ ar:
|
|
4
4
|
attributes:
|
5
5
|
template:
|
6
6
|
description: الوصف
|
7
|
+
name: الاسم
|
8
|
+
decidim:
|
9
|
+
admin:
|
10
|
+
menu:
|
11
|
+
templates: النماذج
|
12
|
+
titles:
|
13
|
+
templates: النماذج
|
14
|
+
models:
|
15
|
+
questionnaire_template:
|
16
|
+
fields:
|
17
|
+
questions: عدد الأسئلة
|
18
|
+
template:
|
19
|
+
name: النموذج
|
20
|
+
templates:
|
21
|
+
admin:
|
22
|
+
questionnaire_templates:
|
23
|
+
choose:
|
24
|
+
label: اختيار نموذج
|
25
|
+
placeholder: اختيار نموذج
|
26
|
+
skip_template: تخطي
|
27
|
+
edit:
|
28
|
+
edit: تعديل
|
29
|
+
form:
|
30
|
+
save: حفظ
|
31
|
+
preview:
|
32
|
+
current_step: الخطوة %{step}
|
data/config/locales/de.yml
CHANGED
@@ -25,6 +25,7 @@ de:
|
|
25
25
|
success: Vorlage erfolgreich gelöscht
|
26
26
|
empty: Es gibt noch keine Vorlagen.
|
27
27
|
update:
|
28
|
+
error: Bei der Aktualisierung dieser Vorlage ist ein Problem aufgetreten.
|
28
29
|
success: Vorlage erfolgreich aktualisiert
|
29
30
|
titles:
|
30
31
|
template_types:
|
@@ -63,5 +64,11 @@ de:
|
|
63
64
|
current_step: Schritt %{step}
|
64
65
|
of_total_steps: von %{total_steps}
|
65
66
|
tos_agreement: Mit der Teilnahme stimmen Sie den Nutzungsbedingungen zu
|
67
|
+
admin_log:
|
68
|
+
template:
|
69
|
+
create: "%{user_name} hat die Umfragevorlage %{resource_name} erstellt"
|
70
|
+
delete: "%{user_name} hat die Umfragevorlage %{resource_name} gelöscht"
|
71
|
+
duplicate: "%{user_name} hat die Umfragevorlage %{resource_name} dupliziert"
|
72
|
+
update: "%{user_name} hat die Umfragevorlage %{resource_name} aktualisiert"
|
66
73
|
template_types:
|
67
74
|
questionnaires: Fragebögen
|
data/config/locales/eu.yml
CHANGED
@@ -64,5 +64,11 @@ eu:
|
|
64
64
|
current_step: '%{step} urratsa'
|
65
65
|
of_total_steps: '%{total_steps} etik'
|
66
66
|
tos_agreement: Parte hartzean erabilera-irizpideak eta baldintzak onartzen dituzu
|
67
|
+
admin_log:
|
68
|
+
template:
|
69
|
+
create: "%{user_name} -k%{resource_name} galdetegia eguneratu du"
|
70
|
+
delete: "%{user_name} -k%{resource_name} galdetegia eguneratu du"
|
71
|
+
duplicate: "%{user_name} -k%{resource_name} galdetegia bikoiztu du"
|
72
|
+
update: "%{user_name} -k%{resource_name} galdetegia eguneratu du"
|
67
73
|
template_types:
|
68
74
|
questionnaires: Galdetegiak
|
@@ -0,0 +1 @@
|
|
1
|
+
fa:
|
data/config/locales/ro-RO.yml
CHANGED
@@ -10,10 +10,10 @@ ro:
|
|
10
10
|
decidim:
|
11
11
|
admin:
|
12
12
|
menu:
|
13
|
-
templates:
|
13
|
+
templates: Șabloane
|
14
14
|
templates:
|
15
15
|
apply:
|
16
|
-
error: A apărut o eroare la aplicarea acestui
|
16
|
+
error: A apărut o eroare la aplicarea acestui șablon.
|
17
17
|
success: Modelul a fost aplicat cu succes
|
18
18
|
copy:
|
19
19
|
error: A apărut o eroare la copierea acestui model.
|
@@ -29,8 +29,8 @@ ro:
|
|
29
29
|
success: Modelul a fost actualizat cu succes
|
30
30
|
titles:
|
31
31
|
template_types:
|
32
|
-
questionnaires:
|
33
|
-
templates:
|
32
|
+
questionnaires: Şabloane chestionar
|
33
|
+
templates: Şabloane
|
34
34
|
models:
|
35
35
|
questionnaire_template:
|
36
36
|
fields:
|
data/config/locales/zh-TW.yml
CHANGED
@@ -1 +1,74 @@
|
|
1
|
+
---
|
1
2
|
zh-TW:
|
3
|
+
activemodel:
|
4
|
+
attributes:
|
5
|
+
questionnaire:
|
6
|
+
title: 標題
|
7
|
+
template:
|
8
|
+
description: 說明
|
9
|
+
name: 姓名
|
10
|
+
decidim:
|
11
|
+
admin:
|
12
|
+
menu:
|
13
|
+
templates: 範本
|
14
|
+
templates:
|
15
|
+
apply:
|
16
|
+
error: 套用此範本時發生問題。
|
17
|
+
success: 模板成功應用
|
18
|
+
copy:
|
19
|
+
error: 複製此範本時發生問題。
|
20
|
+
success: 模板成功複製
|
21
|
+
create:
|
22
|
+
error: 建立此範本時發生問題。
|
23
|
+
success: 模板建立成功
|
24
|
+
destroy:
|
25
|
+
success: 模板删除成功
|
26
|
+
empty: 尚未有範本。
|
27
|
+
update:
|
28
|
+
error: 更新此範本時發生問題。
|
29
|
+
success: 模板更新成功
|
30
|
+
titles:
|
31
|
+
template_types:
|
32
|
+
questionnaires: 問卷範本
|
33
|
+
templates: 範本
|
34
|
+
models:
|
35
|
+
questionnaire_template:
|
36
|
+
fields:
|
37
|
+
questions: 問題的數目
|
38
|
+
title: 問卷標題
|
39
|
+
template:
|
40
|
+
fields:
|
41
|
+
created_at: 建立於
|
42
|
+
name: 範本
|
43
|
+
templates:
|
44
|
+
admin:
|
45
|
+
questionnaire_templates:
|
46
|
+
choose:
|
47
|
+
create_from_template: 從範本建立
|
48
|
+
description: 您即將建立一份新問卷。您可以選擇預定義的範本,並在之後進行修改。
|
49
|
+
label: 選擇範本
|
50
|
+
placeholder: 選擇範本
|
51
|
+
skip_template: 略過
|
52
|
+
edit:
|
53
|
+
edit: 編輯
|
54
|
+
empty: 目前為止還沒有什麼問題
|
55
|
+
questionnaire: 問題調查
|
56
|
+
form:
|
57
|
+
save: 儲存
|
58
|
+
template_title: 範本資訊
|
59
|
+
title: 問卷範本 %{questionnaire_for}
|
60
|
+
index:
|
61
|
+
confirm_delete: 您是否確定要刪除本範本?
|
62
|
+
title: 問卷範本
|
63
|
+
preview:
|
64
|
+
current_step: 步驟%{step}
|
65
|
+
of_total_steps: 的%{total_steps}
|
66
|
+
tos_agreement: 透過參與,您同意其服務條款
|
67
|
+
admin_log:
|
68
|
+
template:
|
69
|
+
create: "%{user_name} 創建了 %{resource_name} 問卷模板"
|
70
|
+
delete: "%{user_name} 刪除了 %{resource_name} 問卷模板"
|
71
|
+
duplicate: "%{user_name} 複製了 %{resource_name} 問卷模板"
|
72
|
+
update: "%{user_name} 更新了 %{resource_name} 問卷模板"
|
73
|
+
template_types:
|
74
|
+
questionnaires: 問題調查
|
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.27.
|
4
|
+
version: 0.27.4
|
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: 2023-
|
11
|
+
date: 2023-07-27 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.27.
|
19
|
+
version: 0.27.4
|
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.27.
|
26
|
+
version: 0.27.4
|
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.27.
|
33
|
+
version: 0.27.4
|
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.27.
|
40
|
+
version: 0.27.4
|
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.27.
|
47
|
+
version: 0.27.4
|
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.27.
|
54
|
+
version: 0.27.4
|
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.27.
|
61
|
+
version: 0.27.4
|
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.27.
|
68
|
+
version: 0.27.4
|
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:
|
@@ -109,6 +109,7 @@ files:
|
|
109
109
|
- app/views/decidim/templates/admin/questionnaire_templates/preview.js.erb
|
110
110
|
- app/views/layouts/decidim/admin/templates.html.erb
|
111
111
|
- config/assets.rb
|
112
|
+
- config/environment.rb
|
112
113
|
- config/locales/am-ET.yml
|
113
114
|
- config/locales/ar.yml
|
114
115
|
- config/locales/bg.yml
|
@@ -124,6 +125,7 @@ files:
|
|
124
125
|
- config/locales/es.yml
|
125
126
|
- config/locales/et.yml
|
126
127
|
- config/locales/eu.yml
|
128
|
+
- config/locales/fa-IR.yml
|
127
129
|
- config/locales/fi-plain.yml
|
128
130
|
- config/locales/fi.yml
|
129
131
|
- config/locales/fr-CA.yml
|
@@ -139,6 +141,7 @@ files:
|
|
139
141
|
- config/locales/it.yml
|
140
142
|
- config/locales/ja.yml
|
141
143
|
- config/locales/ka-GE.yml
|
144
|
+
- config/locales/kaa.yml
|
142
145
|
- config/locales/ko-KR.yml
|
143
146
|
- config/locales/ko.yml
|
144
147
|
- config/locales/lb-LU.yml
|
@@ -185,7 +188,7 @@ homepage: https://github.com/decidim/decidim-module-templates
|
|
185
188
|
licenses:
|
186
189
|
- AGPL-3.0
|
187
190
|
metadata: {}
|
188
|
-
post_install_message:
|
191
|
+
post_install_message:
|
189
192
|
rdoc_options: []
|
190
193
|
require_paths:
|
191
194
|
- lib
|
@@ -200,8 +203,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
200
203
|
- !ruby/object:Gem::Version
|
201
204
|
version: '0'
|
202
205
|
requirements: []
|
203
|
-
rubygems_version: 3.
|
204
|
-
signing_key:
|
206
|
+
rubygems_version: 3.2.22
|
207
|
+
signing_key:
|
205
208
|
specification_version: 4
|
206
209
|
summary: A decidim templates module
|
207
210
|
test_files: []
|