decidim-admin 0.29.2 → 0.29.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/commands/decidim/admin/unhide_resource.rb +1 -0
- data/app/controllers/decidim/admin/impersonations_controller.rb +1 -1
- data/app/controllers/decidim/admin/moderations_controller.rb +8 -3
- data/app/controllers/decidim/admin/organization_controller.rb +1 -1
- data/app/permissions/decidim/admin/permissions.rb +6 -0
- data/app/views/decidim/admin/moderations/index.html.erb +5 -1
- data/config/locales/ar.yml +14 -7
- data/config/locales/bg.yml +2 -11
- data/config/locales/bs-BA.yml +3 -2
- data/config/locales/ca-IT.yml +1161 -0
- data/config/locales/ca.yml +18 -8
- data/config/locales/cs.yml +12 -2
- data/config/locales/de.yml +16 -6
- data/config/locales/el.yml +4 -11
- data/config/locales/en.yml +10 -0
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +16 -6
- data/config/locales/es-PY.yml +16 -6
- data/config/locales/es.yml +12 -2
- data/config/locales/eu.yml +38 -28
- data/config/locales/fi-plain.yml +12 -13
- data/config/locales/fi.yml +12 -13
- data/config/locales/fr-CA.yml +15 -5
- data/config/locales/fr.yml +15 -5
- data/config/locales/ga-IE.yml +1 -6
- data/config/locales/gl.yml +5 -5
- data/config/locales/he-IL.yml +6 -0
- data/config/locales/hu.yml +6 -15
- data/config/locales/id-ID.yml +6 -7
- data/config/locales/is-IS.yml +2 -6
- data/config/locales/it.yml +174 -5
- data/config/locales/ja.yml +12 -11
- data/config/locales/kaa.yml +5 -3
- data/config/locales/ko.yml +10 -5
- data/config/locales/lb.yml +6 -5
- data/config/locales/lt.yml +2 -9
- data/config/locales/lv.yml +3 -4
- data/config/locales/nl.yml +7 -7
- data/config/locales/no.yml +5 -5
- data/config/locales/pl.yml +3 -12
- data/config/locales/pt-BR.yml +2 -11
- data/config/locales/pt.yml +7 -6
- data/config/locales/ro-RO.yml +8 -6
- data/config/locales/ru.yml +6 -7
- data/config/locales/sk.yml +5 -7
- data/config/locales/sl.yml +7 -4
- data/config/locales/sq-AL.yml +15 -12
- data/config/locales/sr-CS.yml +3 -2
- data/config/locales/sv.yml +20 -10
- data/config/locales/th-TH.yml +4 -0
- data/config/locales/tr-TR.yml +245 -6
- data/config/locales/uk.yml +3 -7
- data/config/locales/zh-CN.yml +3 -6
- data/config/locales/zh-TW.yml +2 -3
- data/lib/decidim/admin/test/manage_hide_content_examples.rb +4 -3
- data/lib/decidim/admin/test/manage_moderations_examples.rb +1 -1
- data/lib/decidim/admin/version.rb +1 -1
- metadata +9 -8
data/config/locales/zh-CN.yml
CHANGED
@@ -421,6 +421,7 @@ zh-CN:
|
|
421
421
|
created_at: 创建于
|
422
422
|
document_number: 文档编号
|
423
423
|
name: 名称
|
424
|
+
nickname: 昵称
|
424
425
|
phone: 电话
|
425
426
|
state: 状态
|
426
427
|
users_count: 参与者数量
|
@@ -529,8 +530,6 @@ zh-CN:
|
|
529
530
|
edit:
|
530
531
|
update: 更新
|
531
532
|
form:
|
532
|
-
colors:
|
533
|
-
colors_title: 组织颜色
|
534
533
|
cta_button_text_help: 您可以在主页中为您的组织中的每种可用语言覆盖“通话动作”按钮文本。 如果未设置,将使用默认值。 “通话动作”按钮显示在欢迎文本和描述之间的主页。
|
535
534
|
homepage_appearance_title: 编辑主页外观
|
536
535
|
homepage_highlighted_content_banner_title: 高亮的内容素材
|
@@ -552,6 +551,8 @@ zh-CN:
|
|
552
551
|
title: 新的参与性空间活动私人参与者。
|
553
552
|
participatory_space_private_users_csv_imports:
|
554
553
|
new:
|
554
|
+
csv_upload:
|
555
|
+
title: 上传您的 CSV 文件
|
555
556
|
upload: 上传
|
556
557
|
resource_permissions:
|
557
558
|
edit:
|
@@ -661,10 +662,6 @@ zh-CN:
|
|
661
662
|
invalid: 验证此组时出现问题。
|
662
663
|
user_groups:
|
663
664
|
index:
|
664
|
-
state:
|
665
|
-
pending: 待定
|
666
|
-
rejected: 已拒绝
|
667
|
-
verified: 已验证
|
668
665
|
verify_via_csv: 通过CSV验证
|
669
666
|
user_groups_csv_verifications:
|
670
667
|
new:
|
data/config/locales/zh-TW.yml
CHANGED
@@ -793,9 +793,6 @@ zh-TW:
|
|
793
793
|
edit:
|
794
794
|
update: 更新
|
795
795
|
form:
|
796
|
-
colors:
|
797
|
-
colors_title: 組織顏色
|
798
|
-
colors_warning_html: 警告!更改這些顏色可能會破壞可達性對比度。您可以使用<a href="%{link}">WebAIM對比度檢查器</a>或其他類似工具檢查您選擇的對比度。
|
799
796
|
cta_button_text_help: 您可以覆蓋主頁上每種語言對應的"呼籲行動"按鈕文本。如果未設置,將使用默認值。"呼籲行動"按鈕顯示在主頁的歡迎文本和描述之間。
|
800
797
|
homepage_appearance_title: 編輯主頁外觀
|
801
798
|
homepage_highlighted_content_banner_title: 重點顯示的內容橫幅
|
@@ -821,6 +818,8 @@ zh-TW:
|
|
821
818
|
invalid: 讀取 CSV 檔案時發生問題。請確保您已按照指示進行操作。
|
822
819
|
success: CSV檔案上傳成功,我們正在發送邀請電子郵件給參與者。這可能需要一些時間。
|
823
820
|
new:
|
821
|
+
csv_upload:
|
822
|
+
title: 請上傳您的 CSV 檔案。
|
824
823
|
destroy:
|
825
824
|
button: 刪除所有私人參與者
|
826
825
|
confirm: 您確定要刪除所有私人參與者嗎?此操作無法撤銷,您將無法恢復它們。
|
@@ -21,14 +21,14 @@ shared_examples "hideable resource during block" do
|
|
21
21
|
within ".profile__actions-secondary", match: :first do
|
22
22
|
click_on(I18n.t("decidim.shared.flag_modal.report"))
|
23
23
|
end
|
24
|
-
within ".flag-modal" do
|
24
|
+
within ".flag-user-modal" do
|
25
25
|
find(:css, "input[name='report[block]']").set(true)
|
26
26
|
end
|
27
27
|
content.reload
|
28
28
|
end
|
29
29
|
|
30
30
|
it "chooses to hide content" do
|
31
|
-
within ".flag-modal" do
|
31
|
+
within ".flag-user-modal" do
|
32
32
|
find(:css, "input[name='report[hide]']").set(true)
|
33
33
|
end
|
34
34
|
click_on I18n.t("decidim.shared.flag_user_modal.block")
|
@@ -43,7 +43,8 @@ shared_examples "hideable resource during block" do
|
|
43
43
|
end
|
44
44
|
|
45
45
|
it "chooses to hide content" do
|
46
|
-
within ".flag-modal" do
|
46
|
+
within ".flag-user-modal" do
|
47
|
+
expect(page).to have_content("Report inappropriate participant")
|
47
48
|
find(:css, "input[name='report[hide]']").set(true)
|
48
49
|
end
|
49
50
|
click_on I18n.t("decidim.shared.flag_user_modal.block")
|
@@ -194,7 +194,7 @@ shared_examples "manage moderations" do
|
|
194
194
|
it "user can review them" do
|
195
195
|
hidden_moderations.each do |moderation|
|
196
196
|
within "tr[data-id=\"#{moderation.id}\"]" do
|
197
|
-
expect(page).to have_css("a[href='#{moderation.reportable.reported_content_url}']")
|
197
|
+
expect(page).to have_css("a[href='#{moderation.reload.reportable.reported_content_url}']")
|
198
198
|
end
|
199
199
|
end
|
200
200
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.29.
|
4
|
+
version: 0.29.4
|
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: 2025-
|
13
|
+
date: 2025-06-04 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: active_link_to
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.29.
|
35
|
+
version: 0.29.4
|
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.29.
|
42
|
+
version: 0.29.4
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: devise
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,28 +94,28 @@ dependencies:
|
|
94
94
|
requirements:
|
95
95
|
- - '='
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.29.
|
97
|
+
version: 0.29.4
|
98
98
|
type: :development
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - '='
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: 0.29.
|
104
|
+
version: 0.29.4
|
105
105
|
- !ruby/object:Gem::Dependency
|
106
106
|
name: decidim-participatory_processes
|
107
107
|
requirement: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - '='
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: 0.29.
|
111
|
+
version: 0.29.4
|
112
112
|
type: :development
|
113
113
|
prerelease: false
|
114
114
|
version_requirements: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
116
|
- - '='
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: 0.29.
|
118
|
+
version: 0.29.4
|
119
119
|
description: Organization administration to manage a single organization.
|
120
120
|
email:
|
121
121
|
- josepjaume@gmail.com
|
@@ -564,6 +564,7 @@ files:
|
|
564
564
|
- config/locales/bg.yml
|
565
565
|
- config/locales/bn-BD.yml
|
566
566
|
- config/locales/bs-BA.yml
|
567
|
+
- config/locales/ca-IT.yml
|
567
568
|
- config/locales/ca.yml
|
568
569
|
- config/locales/cs-CZ.yml
|
569
570
|
- config/locales/cs.yml
|