decidim-dev 0.27.2 → 0.27.3
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 +64 -0
- data/lib/decidim/dev/assets/icon.ico +0 -0
- data/lib/decidim/dev/test/rspec_support/component_context.rb +20 -0
- data/lib/decidim/dev/version.rb +1 -1
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4adab1ecdbf7a4a0c6f468454cf32adcf66fac1206adca9758f3a08d12c0dee2
|
4
|
+
data.tar.gz: 2a24af5908cb4003fe8d8fc974d2a79f9c3fd941e5bf6e692478a3d451d5f57c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efaaff6ec51fe371673691569f4a8560dc34635c8101576a717770a342e7da3ad56c675a6ee7494ee21336d70e78a7c66b87fbcb19de1000fe77246867d71d79
|
7
|
+
data.tar.gz: 0f2b37342a8b765a9c7c58161dea1ea64542ba8026873095873b777468c413cc625368c33937070ec68840e98286ffa4d7812b1f89cf1dc9338af685a18d68f2
|
data/config/locales/ar.yml
CHANGED
@@ -4,6 +4,7 @@ ar:
|
|
4
4
|
attributes:
|
5
5
|
dummy_resource:
|
6
6
|
created_at: أنشئت في
|
7
|
+
decidim_scope_id: نطاق
|
7
8
|
field: مجالي
|
8
9
|
start_date: تاريخ البداية
|
9
10
|
title: العنوان
|
@@ -14,12 +15,29 @@ ar:
|
|
14
15
|
dummy:
|
15
16
|
settings:
|
16
17
|
global:
|
18
|
+
guided: المدخلات الموجهة
|
19
|
+
guided_help: نص المساعدة
|
20
|
+
guided_readonly: تعطيل الإدخال
|
21
|
+
guided_rich: مدخلات غنية موجهة
|
22
|
+
guided_rich_help_html: HTML<strong>مساعدة</strong>نص
|
23
|
+
guided_rich_readonly_html: HTML <strong>مساعدة</strong> للمدخلات المعطلة
|
24
|
+
readonly_attribute: سمة القراءة فقط
|
25
|
+
test: فحص
|
26
|
+
test_choices:
|
27
|
+
a: خيار أ
|
28
|
+
b: خيار ب
|
29
|
+
c: خيار ج
|
17
30
|
test_options:
|
18
31
|
bar: شريط
|
32
|
+
baz: الباز
|
19
33
|
foo: فو
|
20
34
|
step:
|
35
|
+
endorsements_blocked: تم حظر التأييدات
|
36
|
+
endorsements_enabled: تم تمكين التأييدات
|
37
|
+
readonly_step_attribute: سمة خطوة للقراءة فقط
|
21
38
|
test_options:
|
22
39
|
bar: شريط
|
40
|
+
baz: الباز
|
23
41
|
foo: فو
|
24
42
|
dummy:
|
25
43
|
admin:
|
@@ -0,0 +1 @@
|
|
1
|
+
fa:
|
@@ -0,0 +1 @@
|
|
1
|
+
kaa:
|
data/config/locales/ro-RO.yml
CHANGED
@@ -15,7 +15,12 @@ ro:
|
|
15
15
|
dummy:
|
16
16
|
settings:
|
17
17
|
global:
|
18
|
+
guided: Introducere ghidată
|
18
19
|
guided_help: Text de ajutor
|
20
|
+
guided_readonly: Intrare dezactivată
|
21
|
+
guided_rich: Introducere ghidată a conținutului bogat
|
22
|
+
guided_rich_help_html: <strong>Ajutor</strong> text pentru HTML
|
23
|
+
guided_rich_readonly_html: <strong>Ajutor</strong> HTML text pentru intrare dezactivată
|
19
24
|
readonly_attribute: Atribut Readonly
|
20
25
|
test: Un test
|
21
26
|
test_choices:
|
data/config/locales/zh-TW.yml
CHANGED
@@ -1 +1,65 @@
|
|
1
|
+
---
|
1
2
|
zh-TW:
|
3
|
+
activemodel:
|
4
|
+
attributes:
|
5
|
+
dummy_resource:
|
6
|
+
created_at: 建立於
|
7
|
+
decidim_scope_id: 範圍
|
8
|
+
field: 我的欄位
|
9
|
+
start_date: 開始日期
|
10
|
+
title: 標題
|
11
|
+
translatable_text: 可翻譯的文字
|
12
|
+
updated_at: 更新於
|
13
|
+
decidim:
|
14
|
+
components:
|
15
|
+
dummy:
|
16
|
+
settings:
|
17
|
+
global:
|
18
|
+
guided: 導引輸入
|
19
|
+
guided_help: 說明文字
|
20
|
+
guided_readonly: 禁用輸入
|
21
|
+
guided_rich: 導引豐富輸入
|
22
|
+
guided_rich_help_html: HTML <strong>說明</strong> 文字
|
23
|
+
guided_rich_readonly_html: 禁用輸入 HTML <strong>說明</strong> 文字
|
24
|
+
readonly_attribute: 唯讀屬性
|
25
|
+
test: A 測試
|
26
|
+
test_choices:
|
27
|
+
a: A選項
|
28
|
+
b: B選項
|
29
|
+
c: C選項
|
30
|
+
test_options:
|
31
|
+
bar: Bar
|
32
|
+
baz: Baz
|
33
|
+
foo: Foo
|
34
|
+
step:
|
35
|
+
endorsements_blocked: 封鎖支持
|
36
|
+
endorsements_enabled: 啟用支持
|
37
|
+
readonly_step_attribute: 唯讀步驟屬性
|
38
|
+
test_options:
|
39
|
+
bar: Bar
|
40
|
+
baz: Baz
|
41
|
+
foo: Foo
|
42
|
+
dummy:
|
43
|
+
admin:
|
44
|
+
exports:
|
45
|
+
dummies: 測試帳戶
|
46
|
+
gamification:
|
47
|
+
badges:
|
48
|
+
test:
|
49
|
+
conditions:
|
50
|
+
- 在Decidim中使用測試環境。
|
51
|
+
description: 參與者通過建立測試可獲得此徽章。
|
52
|
+
description_another: 此參與者已建立了 %{score} 個測試。
|
53
|
+
description_own: 您已建立了 %{score} 個測試。
|
54
|
+
name: 測試
|
55
|
+
next_level_in: 再建立 %{score} 個測試即可達到下一個等級!
|
56
|
+
unearned_another: 這個參與者尚未創建任何測試。
|
57
|
+
unearned_own: 您尚未建立任何測試。
|
58
|
+
resource_links:
|
59
|
+
test_link:
|
60
|
+
dummy_resource_dummy: 相關的測試帳戶
|
61
|
+
statistics:
|
62
|
+
bar: Bar
|
63
|
+
dummies_count_high: 高級測試帳戶
|
64
|
+
dummies_count_medium: 中級測試帳戶
|
65
|
+
foo: Foo
|
Binary file
|
@@ -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.27.
|
4
|
+
version: 0.27.3
|
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.27.
|
35
|
+
version: 0.27.3
|
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.27.
|
42
|
+
version: 0.27.3
|
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
|
@@ -509,6 +511,7 @@ files:
|
|
509
511
|
- lib/decidim/dev/assets/dummy-dummies-example.xlsx
|
510
512
|
- lib/decidim/dev/assets/geocoder_result_here.json
|
511
513
|
- lib/decidim/dev/assets/geocoder_result_osm.json
|
514
|
+
- lib/decidim/dev/assets/icon.ico
|
512
515
|
- lib/decidim/dev/assets/icon.png
|
513
516
|
- lib/decidim/dev/assets/id.jpg
|
514
517
|
- lib/decidim/dev/assets/import_participatory_space_private_users.csv
|
@@ -618,7 +621,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
618
621
|
- !ruby/object:Gem::Version
|
619
622
|
version: '0'
|
620
623
|
requirements: []
|
621
|
-
rubygems_version: 3.
|
624
|
+
rubygems_version: 3.2.22
|
622
625
|
signing_key:
|
623
626
|
specification_version: 4
|
624
627
|
summary: Decidim dev tools
|