decidim-sortitions 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3d4790a60b957fc798cc367f6db904c95178b02519a01d25ce8e8ebf0e1d3a8
4
- data.tar.gz: a058b6d7aa96578a1a03e163d92662a50c1df27164cbce2305772a21e2db154b
3
+ metadata.gz: c1be2e68adbb615b0c54f9d7b67cda0127417cd6a5413a8f94807ed1194925ba
4
+ data.tar.gz: 2f94376635697d23e487b306fdfeb75e8ab302a0f3f0a8d9635bd2de508b7b36
5
5
  SHA512:
6
- metadata.gz: 9e696398b3340a53625c2493e6d40f01b23315032972221551e37469e8a6476fb52e769e00a9c390478a3f060b02955c28c4e8c8753400b94d412f01dad95a39
7
- data.tar.gz: 71d1584e8c512fbb0d9ba5fdee6bfcabdeec6ff2c9d3b6e974e79f81253629af4edbc399b1395a7097701239a49e913ed9fee6548689cb0fdc78eef25a592de5
6
+ metadata.gz: e7e2c07944e24ff13c53bdbeadd3391aa5810d4095b7ba45cb610502b462566431254dda849c0f67be9644fb575294523dca728f936cab0bfc76c5f8f71af87b
7
+ data.tar.gz: 01ad30827af177365e211a64d3c72179aa5dd7622abed53fa93122df2fd1921444f8d080c7f8c2a530c259e0ee2df83c2cad35b0cfd0da433d49650a20964fb9
@@ -46,7 +46,7 @@ module Decidim
46
46
  # find the opening `<p>` tag and include the badge right after it. This
47
47
  # makes the layout look good.
48
48
  def description
49
- text = decidim_sanitize_editor(translated_attribute(model.additional_info))
49
+ text = decidim_sanitize_editor(translated_attribute(model.additional_info), strip_tags: true)
50
50
  text.sub!(/<p>/, "<p>#{render :badge}")
51
51
  html_truncate(text, length: 100)
52
52
  end
@@ -26,11 +26,11 @@
26
26
  </div>
27
27
 
28
28
  <div class="columns xlarge-12">
29
- <%= form.translated :editor, :witnesses, toolbar: :full, lines: 10 %>
29
+ <%= form.translated :editor, :witnesses, lines: 10, toolbar: :content %>
30
30
  </div>
31
31
 
32
32
  <div class="columns xlarge-12">
33
- <%= form.translated :editor, :additional_info, toolbar: :full, lines: 10 %>
33
+ <%= form.translated :editor, :additional_info, lines: 10 %>
34
34
  </div>
35
35
 
36
36
  <div class="columns xlarge-2">
@@ -9,7 +9,7 @@
9
9
  <div class="card-section">
10
10
  <div class="row">
11
11
  <div class="columns xlarge-12">
12
- <%= form.translated :editor, :cancel_reason, toolbar: :full, lines: 10 %>
12
+ <%= form.translated :editor, :cancel_reason, lines: 10, toolbar: :content %>
13
13
  </div>
14
14
  </div>
15
15
  </div>
@@ -15,7 +15,7 @@
15
15
  </div>
16
16
 
17
17
  <div class="columns xlarge-12">
18
- <%= form.translated :editor, :additional_info, toolbar: :full, lines: 10 %>
18
+ <%= form.translated :editor, :additional_info, lines: 10 %>
19
19
  </div>
20
20
  </div>
21
21
  </div>
@@ -39,7 +39,7 @@
39
39
 
40
40
  <div class="columns mediumlarge-8 mediumlarge-pull-4">
41
41
  <div class="section">
42
- <%= decidim_sanitize_editor translated_attribute sortition.additional_info %>
42
+ <%= decidim_sanitize_editor_admin translated_attribute sortition.additional_info %>
43
43
  </div>
44
44
  </div>
45
45
  </div>
@@ -100,7 +100,7 @@ eu:
100
100
  cancelled: Bertan behera
101
101
  category: Kategoria
102
102
  category_prompt: Aukeratu kategoria bat
103
- search: Search
103
+ search: Bilatu
104
104
  state: Estatu
105
105
  filters_small_view:
106
106
  close_modal: Itxi modal
@@ -0,0 +1 @@
1
+ fa:
@@ -0,0 +1 @@
1
+ kaa:
@@ -1 +1,144 @@
1
1
  zh-TW:
2
+ activemodel:
3
+ attributes:
4
+ sortition:
5
+ additional_info: 隨機抽籤資訊
6
+ decidim_category_id: 你想要在哪些提案類別中進行抽籤
7
+ decidim_proposals_component_id: 提案集合
8
+ dice: 擲骰子的結果。擲一顆六面骰子,或尋找其他隨機產生1到6之間的數字的方法,然後在一些證人面前輸入結果的數字。這有助於確保結果的品質和隨機性的保證。
9
+ target_items: 被選出提案的數量(表示您希望在您之前選擇的提案組中通過抽籤選出的提案數量)
10
+ title: 標題
11
+ witnesses: 見證人
12
+ models:
13
+ decidim/sortitions/create_sortition_event: 抽籤
14
+ activerecord:
15
+ models:
16
+ decidim/sortitions/sortition:
17
+ other: 抽籤
18
+ decidim:
19
+ components:
20
+ sortitions:
21
+ actions:
22
+ comment: 留言
23
+ name: 抽籤
24
+ settings:
25
+ global:
26
+ comments_enabled: 啟用評論功能
27
+ comments_max_length: 評論字數最大長度(若要使用預設值請輸入0)
28
+ events:
29
+ sortitions:
30
+ sortition_created:
31
+ email_intro: 您正在關注的 "%{participatory_space_title}" 中新增了抽籤 "%{resource_title}"
32
+ email_outro: 您收到了此通知,是因為您正在關注 "%{participatory_space_title}"。您可以通過前面的鏈接取消關注它。
33
+ email_subject: '%{participatory_space_title}" 中新增了一個新的抽籤。'
34
+ notification_title: '%{participatory_space_title}」中已新增了<a href="%{resource_path}">%{resource_title}</a>的抽籤。'
35
+ sortitions:
36
+ admin:
37
+ actions:
38
+ destroy: 取消選民隨機抽籤
39
+ edit: 編輯
40
+ new: 新的抽籤
41
+ show: 抽籤詳細資料
42
+ models:
43
+ sortition:
44
+ fields:
45
+ category: 類別
46
+ created_at: 創建日期
47
+ decidim_proposals_component: 提案組成
48
+ dice: 骰子
49
+ reference: 參考
50
+ request_timestamp: 抽籤時間
51
+ seed: 種子碼
52
+ target_items: 選擇項目
53
+ title: 標題
54
+ name:
55
+ other: 抽籤
56
+ sortitions:
57
+ confirm_destroy:
58
+ confirm_destroy: 您確定要取消此選項嗎?
59
+ destroy: 取消抽籤
60
+ title: 取消抽籤
61
+ create:
62
+ error: 建立新抽籤時出現問題。
63
+ success: 排序成功建立
64
+ destroy:
65
+ error: 無法取消抽籤。
66
+ success: 隨機抽籤已成功取消
67
+ edit:
68
+ title: 更新抽籤資訊
69
+ update: 更新
70
+ form:
71
+ all_categories: 所有類別
72
+ select_proposal_component: 選擇提案集
73
+ title: 提案新抽籤
74
+ index:
75
+ title: 抽籤
76
+ new:
77
+ confirm: 按下「下一步」按鈕後,Decidim 將記錄日期和時間(以秒為精度),並與擲骰子結果一起使用,這些信息將用於生成隨機選擇。此操作是不可逆的,一旦點擊按鈕,這次抽選結果將與此表單中輸入的數據一起發布,並且無法修改,請仔細檢查內容。
78
+ create: 建立
79
+ title: 新的抽籤
80
+ show:
81
+ selected_proposals: 已選擇的提案以進行抽籤
82
+ update:
83
+ error: 更新抽籤時發生問題。
84
+ success: 抽籤成功更新
85
+ admin_log:
86
+ sortition:
87
+ create: "%{user_name} 在 %{space_name} 中創建了 %{resource_name} 抽籤"
88
+ delete: "%{user_name} 在 %{space_name} 中取消了 %{resource_name} 抽籤"
89
+ update: "%{user_name} 在 %{space_name} 中更新了 %{resource_name} 抽籤"
90
+ sortitions:
91
+ count:
92
+ proposals_count:
93
+ other: "%{count} 個提案"
94
+ filters:
95
+ active: 啟用中
96
+ all: 全部
97
+ cancelled: 已取消
98
+ category: 類別
99
+ category_prompt: 選擇一個類別
100
+ search: 搜尋
101
+ state: 狀態
102
+ filters_small_view:
103
+ close_modal: 關閉視窗
104
+ filter: 篩選
105
+ filter_by: 篩選條件
106
+ unfold: 展開
107
+ linked_sortitions:
108
+ selected_proposals: 選擇的提案
109
+ orders:
110
+ label: '抽籤排序方式:'
111
+ random: 隨機
112
+ recent: 最近
113
+ results_count:
114
+ count:
115
+ other: 選擇的提案
116
+ show:
117
+ algorithm: 抽籤排序算法
118
+ any_category: 從所有類別中
119
+ back: 返回列表
120
+ cancelled: 取消的抽籤
121
+ candidate_proposal_ids: 隨機抽籤提案的順序和 ID
122
+ candidate_proposals_info: '該抽籤是在以下提案中進行的 (%{category_label}),以下是這些提案的 ID (選中的提案以粗體標出) '
123
+ category: 來自 %{category} 類別
124
+ dice_result: "(1) 骰子結果"
125
+ introduction: '本頁面包含了抽籤 %{reference} 的結果。透過這個抽籤,從下面顯示的提案集合中隨機且以等機率隨機選出了 %{target_items} 個結果。除了顯示的結果外,此頁面的資訊提供了最大化保證並重現結果所需的所有資訊。此抽籤質量的關鍵在於雙重隨機性,一方面是由證人驗證的擲骰子結果,另一方面是精確的抽籤時間提供的算法輸入以產生隨機選擇。抽籤的時間種子如此精確(秒級),以至於人類無法控制,從而提供雙重「不可控制」輸入,以保證公平結果。 '
126
+ mathematical_result: 結果 (1) x (2)
127
+ proposals_selected_by_sortition: 通過抽籤選中的提案
128
+ sortition_reproducibility_details: 抽籤可重複性詳情
129
+ time_seed: "(2) 時間種子"
130
+ witnesses: 見證人
131
+ sortition:
132
+ random_seed: 隨機種子
133
+ selected_proposals:
134
+ other: 選中的提案
135
+ view: 檢視
136
+ sortition_author:
137
+ deleted: 已刪除的參與者
138
+ sortition_cancel_author:
139
+ deleted: 已刪除的參與者
140
+ sortitions_count:
141
+ count:
142
+ other: "%{count} 個抽籤"
143
+ statistics:
144
+ sortitions_count: 抽籤
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  module Sortitions
5
5
  def self.version
6
- "0.26.5"
6
+ "0.26.7"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-sortitions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.5
4
+ version: 0.26.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Salvador Perez Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-13 00:00:00.000000000 Z
11
+ date: 2023-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -16,70 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.26.5
19
+ version: 0.26.7
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.5
26
+ version: 0.26.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-comments
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.26.5
33
+ version: 0.26.7
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.5
40
+ version: 0.26.7
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.26.5
47
+ version: 0.26.7
48
48
  type: :runtime
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.5
54
+ version: 0.26.7
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-proposals
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.26.5
61
+ version: 0.26.7
62
62
  type: :runtime
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.5
68
+ version: 0.26.7
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: decidim-dev
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 0.26.5
75
+ version: 0.26.7
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 0.26.5
82
+ version: 0.26.7
83
83
  description: This module makes possible to select amont a set of proposal by sortition
84
84
  email:
85
85
  - jsperezg@gmail.com
@@ -167,6 +167,7 @@ files:
167
167
  - config/locales/et-EE.yml
168
168
  - config/locales/et.yml
169
169
  - config/locales/eu.yml
170
+ - config/locales/fa-IR.yml
170
171
  - config/locales/fi-pl.yml
171
172
  - config/locales/fi-plain.yml
172
173
  - config/locales/fi.yml
@@ -185,6 +186,7 @@ files:
185
186
  - config/locales/it.yml
186
187
  - config/locales/ja.yml
187
188
  - config/locales/ka-GE.yml
189
+ - config/locales/kaa.yml
188
190
  - config/locales/ko-KR.yml
189
191
  - config/locales/ko.yml
190
192
  - config/locales/lb-LU.yml