decidim-dev 0.26.5 → 0.26.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/locales/ar.yml +18 -0
- data/config/locales/fa-IR.yml +1 -0
- data/config/locales/kaa.yml +1 -0
- data/config/locales/ro-RO.yml +5 -0
- data/config/locales/zh-TW.yml +63 -0
- data/lib/decidim/dev/test/rspec_support/component_context.rb +20 -0
- data/lib/decidim/dev/version.rb +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 119ef97add3f53531ee8847b70d8f86b6b1e4a490e4f1ccb5ee542fa3d1ae749
|
4
|
+
data.tar.gz: aac00b66271bbecb6e236b42a4c3abd1da0c2e2ca660bb9e88b0354be6daac90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c1af120c4e9e2268713424cab565f642eff90ff668926aebdb6f7a4b3ef86f898ede76e8908ab2cae11b474ac1d85f8927c24c780c8bbfbdb54900989b1a0a9
|
7
|
+
data.tar.gz: 1952122960497e058aef2b6d72a4265314bafea382358cdb27f6636f931196577756b653ac7d67082ad5db4bc3e8311c4c6685b217071dd312febf2fc3d1cffa
|
data/config/locales/ar.yml
CHANGED
@@ -3,6 +3,7 @@ ar:
|
|
3
3
|
attributes:
|
4
4
|
dummy_resource:
|
5
5
|
created_at: أنشئت في
|
6
|
+
decidim_scope_id: نطاق
|
6
7
|
field: مجالي
|
7
8
|
start_date: تاريخ البداية
|
8
9
|
title: العنوان
|
@@ -13,12 +14,29 @@ ar:
|
|
13
14
|
dummy:
|
14
15
|
settings:
|
15
16
|
global:
|
17
|
+
guided: المدخلات الموجهة
|
18
|
+
guided_help: نص المساعدة
|
19
|
+
guided_readonly: تعطيل الإدخال
|
20
|
+
guided_rich: مدخلات غنية موجهة
|
21
|
+
guided_rich_help_html: HTML<strong>مساعدة</strong>نص
|
22
|
+
guided_rich_readonly_html: HTML <strong>مساعدة</strong> للمدخلات المعطلة
|
23
|
+
readonly_attribute: سمة القراءة فقط
|
24
|
+
test: فحص
|
25
|
+
test_choices:
|
26
|
+
a: خيار أ
|
27
|
+
b: خيار ب
|
28
|
+
c: خيار ج
|
16
29
|
test_options:
|
17
30
|
bar: شريط
|
31
|
+
baz: الباز
|
18
32
|
foo: فو
|
19
33
|
step:
|
34
|
+
endorsements_blocked: تم حظر التأييدات
|
35
|
+
endorsements_enabled: تم تمكين التأييدات
|
36
|
+
readonly_step_attribute: سمة خطوة للقراءة فقط
|
20
37
|
test_options:
|
21
38
|
bar: شريط
|
39
|
+
baz: الباز
|
22
40
|
foo: فو
|
23
41
|
dummy:
|
24
42
|
admin:
|
@@ -0,0 +1 @@
|
|
1
|
+
fa:
|
@@ -0,0 +1 @@
|
|
1
|
+
kaa:
|
data/config/locales/ro-RO.yml
CHANGED
@@ -14,7 +14,12 @@ ro:
|
|
14
14
|
dummy:
|
15
15
|
settings:
|
16
16
|
global:
|
17
|
+
guided: Introducere ghidată
|
17
18
|
guided_help: Text de ajutor
|
19
|
+
guided_readonly: Intrare dezactivată
|
20
|
+
guided_rich: Introducere ghidată a conținutului bogat
|
21
|
+
guided_rich_help_html: <strong>Ajutor</strong> text pentru HTML
|
22
|
+
guided_rich_readonly_html: <strong>Ajutor</strong> HTML text pentru intrare dezactivată
|
18
23
|
readonly_attribute: Atribut Readonly
|
19
24
|
test: Un test
|
20
25
|
test_choices:
|
data/config/locales/zh-TW.yml
CHANGED
@@ -1 +1,64 @@
|
|
1
1
|
zh-TW:
|
2
|
+
activemodel:
|
3
|
+
attributes:
|
4
|
+
dummy_resource:
|
5
|
+
created_at: 建立於
|
6
|
+
decidim_scope_id: 範圍
|
7
|
+
field: 我的欄位
|
8
|
+
start_date: 開始日期
|
9
|
+
title: 標題
|
10
|
+
translatable_text: 可翻譯的文字
|
11
|
+
updated_at: 更新於
|
12
|
+
decidim:
|
13
|
+
components:
|
14
|
+
dummy:
|
15
|
+
settings:
|
16
|
+
global:
|
17
|
+
guided: 導引輸入
|
18
|
+
guided_help: 說明文字
|
19
|
+
guided_readonly: 禁用輸入
|
20
|
+
guided_rich: 導引豐富輸入
|
21
|
+
guided_rich_help_html: HTML <strong>說明</strong> 文字
|
22
|
+
guided_rich_readonly_html: 禁用輸入 HTML <strong>說明</strong> 文字
|
23
|
+
readonly_attribute: 唯讀屬性
|
24
|
+
test: A 測試
|
25
|
+
test_choices:
|
26
|
+
a: A選項
|
27
|
+
b: B選項
|
28
|
+
c: C選項
|
29
|
+
test_options:
|
30
|
+
bar: Bar
|
31
|
+
baz: Baz
|
32
|
+
foo: Foo
|
33
|
+
step:
|
34
|
+
endorsements_blocked: 封鎖支持
|
35
|
+
endorsements_enabled: 啟用支持
|
36
|
+
readonly_step_attribute: 唯讀步驟屬性
|
37
|
+
test_options:
|
38
|
+
bar: Bar
|
39
|
+
baz: Baz
|
40
|
+
foo: Foo
|
41
|
+
dummy:
|
42
|
+
admin:
|
43
|
+
exports:
|
44
|
+
dummies: 測試帳戶
|
45
|
+
gamification:
|
46
|
+
badges:
|
47
|
+
test:
|
48
|
+
conditions:
|
49
|
+
- 在Decidim中使用測試環境。
|
50
|
+
description: 參與者通過建立測試可獲得此徽章。
|
51
|
+
description_another: 此參與者已建立了 %{score} 個測試。
|
52
|
+
description_own: 您已建立了 %{score} 個測試。
|
53
|
+
name: 測試
|
54
|
+
next_level_in: 再建立 %{score} 個測試即可達到下一個等級!
|
55
|
+
unearned_another: 這個參與者尚未創建任何測試。
|
56
|
+
unearned_own: 您尚未建立任何測試。
|
57
|
+
resource_links:
|
58
|
+
test_link:
|
59
|
+
dummy_resource_dummy: 相關的測試帳戶
|
60
|
+
statistics:
|
61
|
+
bar: Bar
|
62
|
+
dummies_count_high: 高級測試帳戶
|
63
|
+
dummies_count_medium: 中級測試帳戶
|
64
|
+
foo: Foo
|
@@ -1,5 +1,25 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
shared_examples "has mandatory config setting" do |mandatory_field|
|
4
|
+
let(:edit_component_path) do
|
5
|
+
Decidim::EngineRouter.admin_proxy(component.participatory_space).edit_component_path(component.id)
|
6
|
+
end
|
7
|
+
|
8
|
+
before do
|
9
|
+
visit edit_component_path
|
10
|
+
component.update(settings: { mandatory_field => "" })
|
11
|
+
visit edit_component_path
|
12
|
+
end
|
13
|
+
|
14
|
+
it "does not allow updating the component" do
|
15
|
+
click_button "Update"
|
16
|
+
|
17
|
+
within ".#{mandatory_field}_container" do
|
18
|
+
expect(page).to have_content("There's an error in this field")
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
3
23
|
shared_context "with a component" do
|
4
24
|
let(:manifest) { Decidim.find_component_manifest(manifest_name) }
|
5
25
|
let(:user) { create :user, :confirmed, organization: organization }
|
data/lib/decidim/dev/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.26.
|
4
|
+
version: 0.26.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2023-
|
13
|
+
date: 2023-05-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: capybara
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.26.
|
35
|
+
version: 0.26.7
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.26.
|
42
|
+
version: 0.26.7
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: factory_bot_rails
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -439,6 +439,7 @@ files:
|
|
439
439
|
- config/locales/et-EE.yml
|
440
440
|
- config/locales/et.yml
|
441
441
|
- config/locales/eu.yml
|
442
|
+
- config/locales/fa-IR.yml
|
442
443
|
- config/locales/fi-pl.yml
|
443
444
|
- config/locales/fi-plain.yml
|
444
445
|
- config/locales/fi.yml
|
@@ -457,6 +458,7 @@ files:
|
|
457
458
|
- config/locales/it.yml
|
458
459
|
- config/locales/ja.yml
|
459
460
|
- config/locales/ka-GE.yml
|
461
|
+
- config/locales/kaa.yml
|
460
462
|
- config/locales/ko-KR.yml
|
461
463
|
- config/locales/ko.yml
|
462
464
|
- config/locales/lb-LU.yml
|