decidim-templates 0.26.5 → 0.26.8
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 +1 -0
- data/config/locales/fa-IR.yml +1 -0
- data/config/locales/kaa.yml +7 -0
- data/config/locales/ro-RO.yml +4 -4
- data/config/locales/zh-TW.yml +66 -0
- data/lib/decidim/templates/version.rb +1 -1
- metadata +13 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94fa21778f856c635cff09c32eb4a060625138bc374bc4fda36a47cb339f6314
|
4
|
+
data.tar.gz: 5560dbdec1389b74a13c640beb6e790824c1a8ac4fd4a046c613c64ba28008cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed01c90a28ac0abc474780a37d41c4102a212808c356547ae1393ebd7d7070eb01785ccc09e4b253ead0874edbd1ce2c10139e07e7a153f23bc73704b62f953e
|
7
|
+
data.tar.gz: d7b03e40df263e1f342d52c8864502dcc1633d86f113956367db05a2317f958743e07cb0c7e0ea9d4d5e232ad7fc6271dc374c6f39968fbe7628d9aa93e45a14
|
@@ -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
@@ -3,3 +3,29 @@ ar:
|
|
3
3
|
attributes:
|
4
4
|
template:
|
5
5
|
description: الوصف
|
6
|
+
name: الاسم
|
7
|
+
decidim:
|
8
|
+
admin:
|
9
|
+
menu:
|
10
|
+
templates: النماذج
|
11
|
+
titles:
|
12
|
+
templates: النماذج
|
13
|
+
models:
|
14
|
+
questionnaire_template:
|
15
|
+
fields:
|
16
|
+
questions: عدد الأسئلة
|
17
|
+
template:
|
18
|
+
name: النموذج
|
19
|
+
templates:
|
20
|
+
admin:
|
21
|
+
questionnaire_templates:
|
22
|
+
choose:
|
23
|
+
label: اختيار نموذج
|
24
|
+
placeholder: اختيار نموذج
|
25
|
+
skip_template: تخطي
|
26
|
+
edit:
|
27
|
+
edit: تعديل
|
28
|
+
form:
|
29
|
+
save: حفظ
|
30
|
+
preview:
|
31
|
+
current_step: الخطوة %{step}
|
data/config/locales/de.yml
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
fa:
|
data/config/locales/ro-RO.yml
CHANGED
@@ -9,10 +9,10 @@ ro:
|
|
9
9
|
decidim:
|
10
10
|
admin:
|
11
11
|
menu:
|
12
|
-
templates:
|
12
|
+
templates: Șabloane
|
13
13
|
templates:
|
14
14
|
apply:
|
15
|
-
error: A apărut o eroare la aplicarea acestui
|
15
|
+
error: A apărut o eroare la aplicarea acestui șablon.
|
16
16
|
success: Modelul a fost aplicat cu succes
|
17
17
|
copy:
|
18
18
|
error: A apărut o eroare la copierea acestui model.
|
@@ -28,8 +28,8 @@ ro:
|
|
28
28
|
success: Modelul a fost actualizat cu succes
|
29
29
|
titles:
|
30
30
|
template_types:
|
31
|
-
questionnaires:
|
32
|
-
templates:
|
31
|
+
questionnaires: Şabloane chestionar
|
32
|
+
templates: Şabloane
|
33
33
|
models:
|
34
34
|
questionnaire_template:
|
35
35
|
fields:
|
data/config/locales/zh-TW.yml
CHANGED
@@ -1 +1,67 @@
|
|
1
1
|
zh-TW:
|
2
|
+
activemodel:
|
3
|
+
attributes:
|
4
|
+
questionnaire:
|
5
|
+
title: 標題
|
6
|
+
template:
|
7
|
+
description: 說明
|
8
|
+
name: 姓名
|
9
|
+
decidim:
|
10
|
+
admin:
|
11
|
+
menu:
|
12
|
+
templates: 範本
|
13
|
+
templates:
|
14
|
+
apply:
|
15
|
+
error: 套用此範本時發生問題。
|
16
|
+
success: 模板成功應用
|
17
|
+
copy:
|
18
|
+
error: 複製此範本時發生問題。
|
19
|
+
success: 模板成功複製
|
20
|
+
create:
|
21
|
+
error: 建立此範本時發生問題。
|
22
|
+
success: 模板建立成功
|
23
|
+
destroy:
|
24
|
+
success: 模板删除成功
|
25
|
+
empty: 尚未有範本。
|
26
|
+
update:
|
27
|
+
error: 更新此範本時發生問題。
|
28
|
+
success: 模板更新成功
|
29
|
+
titles:
|
30
|
+
template_types:
|
31
|
+
questionnaires: 問卷範本
|
32
|
+
templates: 範本
|
33
|
+
models:
|
34
|
+
questionnaire_template:
|
35
|
+
fields:
|
36
|
+
questions: 問題的數目
|
37
|
+
title: 問卷標題
|
38
|
+
template:
|
39
|
+
fields:
|
40
|
+
created_at: 建立於
|
41
|
+
name: 範本
|
42
|
+
templates:
|
43
|
+
admin:
|
44
|
+
questionnaire_templates:
|
45
|
+
choose:
|
46
|
+
create_from_template: 從範本建立
|
47
|
+
description: 您即將建立一份新問卷。您可以選擇預定義的範本,並在之後進行修改。
|
48
|
+
label: 選擇範本
|
49
|
+
placeholder: 選擇範本
|
50
|
+
skip_template: 略過
|
51
|
+
edit:
|
52
|
+
edit: 編輯
|
53
|
+
empty: 目前為止還沒有什麼問題
|
54
|
+
questionnaire: 問題調查
|
55
|
+
form:
|
56
|
+
save: 儲存
|
57
|
+
template_title: 範本資訊
|
58
|
+
title: 問卷範本 %{questionnaire_for}
|
59
|
+
index:
|
60
|
+
confirm_delete: 您是否確定要刪除本範本?
|
61
|
+
title: 問卷範本
|
62
|
+
preview:
|
63
|
+
current_step: 步驟%{step}
|
64
|
+
of_total_steps: 的%{total_steps}
|
65
|
+
tos_agreement: 透過參與,您同意其服務條款
|
66
|
+
template_types:
|
67
|
+
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.26.
|
4
|
+
version: 0.26.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vera Rojman
|
8
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.26.
|
19
|
+
version: 0.26.8
|
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.
|
26
|
+
version: 0.26.8
|
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.26.
|
33
|
+
version: 0.26.8
|
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.26.
|
40
|
+
version: 0.26.8
|
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.26.
|
47
|
+
version: 0.26.8
|
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.26.
|
54
|
+
version: 0.26.8
|
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.26.
|
61
|
+
version: 0.26.8
|
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.26.
|
68
|
+
version: 0.26.8
|
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:
|
@@ -108,6 +108,7 @@ files:
|
|
108
108
|
- app/views/decidim/templates/admin/questionnaire_templates/preview.js.erb
|
109
109
|
- app/views/layouts/decidim/admin/templates.html.erb
|
110
110
|
- config/assets.rb
|
111
|
+
- config/environment.rb
|
111
112
|
- config/locales/am-ET.yml
|
112
113
|
- config/locales/ar.yml
|
113
114
|
- config/locales/bg.yml
|
@@ -123,6 +124,7 @@ files:
|
|
123
124
|
- config/locales/es.yml
|
124
125
|
- config/locales/et.yml
|
125
126
|
- config/locales/eu.yml
|
127
|
+
- config/locales/fa-IR.yml
|
126
128
|
- config/locales/fi-plain.yml
|
127
129
|
- config/locales/fi.yml
|
128
130
|
- config/locales/fr-CA.yml
|
@@ -138,6 +140,7 @@ files:
|
|
138
140
|
- config/locales/it.yml
|
139
141
|
- config/locales/ja.yml
|
140
142
|
- config/locales/ka-GE.yml
|
143
|
+
- config/locales/kaa.yml
|
141
144
|
- config/locales/ko-KR.yml
|
142
145
|
- config/locales/ko.yml
|
143
146
|
- config/locales/lb-LU.yml
|