decidim-sortitions 0.27.1 → 0.27.3

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: af8bd877775faa71452b86ad9e0ee31116763b93c7f09c4cac34c3aaa07e486f
4
- data.tar.gz: 34cee61434a83f4407453a599128b67dbf0bce419997baa4e88a0a57bb3cf4ea
3
+ metadata.gz: e73a367466b11b6db8a2cfe3f89e23de8be3eee48ce469b6b857a82fdb250352
4
+ data.tar.gz: 6ab3fc259d5c441522fbf21724f166d041c14deec0950774a961fb6daeb72464
5
5
  SHA512:
6
- metadata.gz: 594059eb85ed5dec7903e11e7391aea3493498638958c219470874c372433cbbfe82d3571d601180c5d77e52e0477a495028f555502d7cda57cc1ea66be612cd
7
- data.tar.gz: 853377204e9cd978ce64b3beb27913e73753fe21b789d6915b971382bf6dcf84249ee7a4f9260deb296c00a9caa3e971ffa5c020ba36030f6f0a4dd184daf19f
6
+ metadata.gz: a56b661b9423b9c1469aeb4373c607b4b3cedecf29b364bb48534e9ec2dd93fc01c48ee7c71e36cb41c26ac6b7db5262aee701886088209861ef6df56e8721cb
7
+ data.tar.gz: 0a1a49dd7c72e72abb81c5f37d9715d1d2b5beeee5cd7ac8a5d3d97aaae3da616d5df669639d6616745cd41c0006a5b367ba6d645f808bb2c9c73d9b74ac6cef
@@ -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>
@@ -58,7 +58,7 @@ ca:
58
58
  other: Sortejos
59
59
  sortitions:
60
60
  confirm_destroy:
61
- confirm_destroy: Estàs segura que vols cancel·lar aquest sorteig?
61
+ confirm_destroy: Segur que vols cancel·lar aquest sorteig?
62
62
  destroy: Cancel·lar el sorteig
63
63
  title: Cancel·lació del sorteig
64
64
  create:
@@ -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
+ ka:
@@ -0,0 +1 @@
1
+ kaa:
@@ -79,6 +79,7 @@ ro:
79
79
  index:
80
80
  title: Trageri la sorți
81
81
  new:
82
+ confirm: Prin apăsarea butonului următor Decidim va înregistra data şi ora (cu precizie de secunde) şi împreună cu aruncarea zarului, această informaţie va fi folosită pentru a genera o selecţie aleatorie. Acțiunea va fi ireversibilă, odată ce butonul este apăsat, rezultatul acestei trageri la sorți va fi publicat împreună cu datele introduse în acest formular și nu pot fi modificate. Te rugăm să verifici cu atenție conținutul
82
83
  create: Creează
83
84
  title: Tragere la sorți nouă
84
85
  show:
@@ -1 +1,145 @@
1
+ ---
1
2
  zh-TW:
3
+ activemodel:
4
+ attributes:
5
+ sortition:
6
+ additional_info: 隨機抽籤資訊
7
+ decidim_category_id: 你想要在哪些提案類別中進行抽籤
8
+ decidim_proposals_component_id: 提案集合
9
+ dice: 擲骰子的結果。擲一顆六面骰子,或尋找其他隨機產生1到6之間的數字的方法,然後在一些證人面前輸入結果的數字。這有助於確保結果的品質和隨機性的保證。
10
+ target_items: 被選出提案的數量(表示您希望在您之前選擇的提案組中通過抽籤選出的提案數量)
11
+ title: 標題
12
+ witnesses: 見證人
13
+ models:
14
+ decidim/sortitions/create_sortition_event: 抽籤
15
+ activerecord:
16
+ models:
17
+ decidim/sortitions/sortition:
18
+ other: 抽籤
19
+ decidim:
20
+ components:
21
+ sortitions:
22
+ actions:
23
+ comment: 留言
24
+ name: 抽籤
25
+ settings:
26
+ global:
27
+ comments_enabled: 啟用評論功能
28
+ comments_max_length: 評論字數最大長度(若要使用預設值請輸入0)
29
+ events:
30
+ sortitions:
31
+ sortition_created:
32
+ email_intro: 您正在關注的 "%{participatory_space_title}" 中新增了抽籤 "%{resource_title}"
33
+ email_outro: 您收到了此通知,是因為您正在關注 "%{participatory_space_title}"。您可以通過前面的鏈接取消關注它。
34
+ email_subject: '%{participatory_space_title}" 中新增了一個新的抽籤。'
35
+ notification_title: '%{participatory_space_title}」中已新增了<a href="%{resource_path}">%{resource_title}</a>的抽籤。'
36
+ sortitions:
37
+ admin:
38
+ actions:
39
+ destroy: 取消選民隨機抽籤
40
+ edit: 編輯
41
+ new: 新的抽籤
42
+ show: 抽籤詳細資料
43
+ models:
44
+ sortition:
45
+ fields:
46
+ category: 類別
47
+ created_at: 創建日期
48
+ decidim_proposals_component: 提案組成
49
+ dice: 骰子
50
+ reference: 參考
51
+ request_timestamp: 抽籤時間
52
+ seed: 種子碼
53
+ target_items: 選擇項目
54
+ title: 標題
55
+ name:
56
+ other: 抽籤
57
+ sortitions:
58
+ confirm_destroy:
59
+ confirm_destroy: 您確定要取消此選項嗎?
60
+ destroy: 取消抽籤
61
+ title: 取消抽籤
62
+ create:
63
+ error: 建立新抽籤時出現問題。
64
+ success: 排序成功建立
65
+ destroy:
66
+ error: 無法取消抽籤。
67
+ success: 隨機抽籤已成功取消
68
+ edit:
69
+ title: 更新抽籤資訊
70
+ update: 更新
71
+ form:
72
+ all_categories: 所有類別
73
+ select_proposal_component: 選擇提案集
74
+ title: 提案新抽籤
75
+ index:
76
+ title: 抽籤
77
+ new:
78
+ confirm: 當您按下「下一步」按鈕時,平台將會記錄日期和時間(秒級精度),並與擲骰子結果一起使用以生成隨機選擇。此操作是不可逆轉的,一旦按下按鈕,抽籤結果將會與此表單中輸入的資料一起發佈,並且無法更改,請仔細檢查內容。
79
+ create: 建立
80
+ title: 新的抽籤
81
+ show:
82
+ selected_proposals: 已選擇的提案以進行抽籤
83
+ update:
84
+ error: 更新抽籤時發生問題。
85
+ success: 抽籤成功更新
86
+ admin_log:
87
+ sortition:
88
+ create: "%{user_name} 在 %{space_name} 中創建了 %{resource_name} 抽籤"
89
+ delete: "%{user_name} 在 %{space_name} 中取消了 %{resource_name} 抽籤"
90
+ update: "%{user_name} 在 %{space_name} 中更新了 %{resource_name} 抽籤"
91
+ sortitions:
92
+ count:
93
+ proposals_count:
94
+ other: "%{count} 個提案"
95
+ filters:
96
+ active: 啟用中
97
+ all: 全部
98
+ cancelled: 已取消
99
+ category: 類別
100
+ category_prompt: 選擇一個類別
101
+ search: 搜尋
102
+ state: 狀態
103
+ filters_small_view:
104
+ close_modal: 關閉視窗
105
+ filter: 篩選
106
+ filter_by: 篩選條件
107
+ unfold: 展開
108
+ linked_sortitions:
109
+ selected_proposals: 選擇的提案
110
+ orders:
111
+ label: '抽籤排序方式:'
112
+ random: 隨機
113
+ recent: 最近
114
+ results_count:
115
+ count:
116
+ other: 選擇的提案
117
+ show:
118
+ algorithm: 抽籤排序算法
119
+ any_category: 從所有類別中
120
+ back: 返回列表
121
+ cancelled: 取消的抽籤
122
+ candidate_proposal_ids: 隨機抽籤提案的順序和 ID
123
+ candidate_proposals_info: '該抽籤是在以下提案中進行的 (%{category_label}),以下是這些提案的 ID (選中的提案以粗體標出) '
124
+ category: 來自 %{category} 類別
125
+ dice_result: "(1) 骰子結果"
126
+ introduction: '本頁面包含了抽籤 %{reference} 的結果。透過這個抽籤,從下面顯示的提案集合中隨機且以等機率隨機選出了 %{target_items} 個結果。除了顯示的結果外,此頁面的資訊提供了最大化保證並重現結果所需的所有資訊。此抽籤質量的關鍵在於雙重隨機性,一方面是由證人驗證的擲骰子結果,另一方面是精確的抽籤時間提供的算法輸入以產生隨機選擇。抽籤的時間種子如此精確(秒級),以至於人類無法控制,從而提供雙重「不可控制」輸入,以保證公平結果。 '
127
+ mathematical_result: 結果 (1) x (2)
128
+ proposals_selected_by_sortition: 通過抽籤選中的提案
129
+ sortition_reproducibility_details: 抽籤可重複性詳情
130
+ time_seed: "(2) 時間種子"
131
+ witnesses: 見證人
132
+ sortition:
133
+ random_seed: 隨機種子
134
+ selected_proposals:
135
+ other: 選中的提案
136
+ view: 檢視
137
+ sortition_author:
138
+ deleted: 已刪除的參與者
139
+ sortition_cancel_author:
140
+ deleted: 已刪除的參與者
141
+ sortitions_count:
142
+ count:
143
+ other: "%{count} 個抽籤"
144
+ statistics:
145
+ sortitions_count: 抽籤
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  module Sortitions
5
5
  def self.version
6
- "0.27.1"
6
+ "0.27.3"
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.27.1
4
+ version: 0.27.3
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: 2022-11-15 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.27.1
19
+ version: 0.27.3
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.27.1
26
+ version: 0.27.3
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.27.1
33
+ version: 0.27.3
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.27.1
40
+ version: 0.27.3
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.27.1
47
+ version: 0.27.3
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.27.1
54
+ version: 0.27.3
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.27.1
61
+ version: 0.27.3
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.27.1
68
+ version: 0.27.3
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.27.1
75
+ version: 0.27.3
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.27.1
82
+ version: 0.27.3
83
83
  description: This module makes possible to select amont a set of proposal by sortition
84
84
  email:
85
85
  - jsperezg@gmail.com
@@ -166,6 +166,7 @@ files:
166
166
  - config/locales/et-EE.yml
167
167
  - config/locales/et.yml
168
168
  - config/locales/eu.yml
169
+ - config/locales/fa-IR.yml
169
170
  - config/locales/fi-pl.yml
170
171
  - config/locales/fi-plain.yml
171
172
  - config/locales/fi.yml
@@ -183,6 +184,8 @@ files:
183
184
  - config/locales/is.yml
184
185
  - config/locales/it.yml
185
186
  - config/locales/ja.yml
187
+ - config/locales/ka-GE.yml
188
+ - config/locales/kaa.yml
186
189
  - config/locales/ko-KR.yml
187
190
  - config/locales/ko.yml
188
191
  - config/locales/lb-LU.yml