decidim-budgets 0.30.0 → 0.30.1
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/forms/decidim/budgets/admin/order_reminder_form.rb +2 -1
- data/config/locales/ar.yml +1 -1
- data/config/locales/fi-plain.yml +1 -1
- data/config/locales/fi.yml +1 -1
- data/config/locales/id-ID.yml +2 -0
- data/config/locales/is-IS.yml +2 -0
- data/config/locales/ko.yml +2 -0
- data/config/locales/lv.yml +2 -0
- data/config/locales/pt.yml +1 -1
- data/config/locales/ru.yml +2 -0
- data/config/locales/sk.yml +2 -0
- data/config/locales/sv.yml +5 -5
- data/config/locales/tr-TR.yml +2 -0
- data/config/locales/uk.yml +2 -0
- data/config/locales/zh-CN.yml +2 -0
- data/lib/decidim/budgets/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 784b2635a8c39d4bf1256671fee88c266f0697c1ae2ea6cff80de5324b7bd7f1
|
4
|
+
data.tar.gz: 260f56c2618c76e8fe5c69533c7a333c4eae713a33bb8d354b1e05a2251a166d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c70b0d5aeaa6eab4d9b8127a54b9c23e6b779a92fb03c9fdd377629a35483d1b1505204eff88ef4bf1052a3cbc220e05ea5e09cc4577542a864d8eaea704823
|
7
|
+
data.tar.gz: 3458af9499259b48aa04bdd8f9055c6e4f9889f1c309f233abec45d63a9f69766c3759bda9f5924caaf1f499405d07686c6cce421db13fee9938ac194c183a55
|
@@ -26,11 +26,12 @@ module Decidim
|
|
26
26
|
def voting_ends_soon?
|
27
27
|
return false unless participatory_space.respond_to? :active_step
|
28
28
|
return false if participatory_space.active_step.blank?
|
29
|
+
return false unless participatory_space.active_step[:end_date]
|
29
30
|
|
30
31
|
time_zone = current_organization.time_zone
|
31
32
|
return false if time_zone.blank?
|
32
33
|
|
33
|
-
end_time =
|
34
|
+
end_time = participatory_space.active_step[:end_date].in_time_zone(time_zone).end_of_day
|
34
35
|
|
35
36
|
6.hours.from_now >= end_time
|
36
37
|
end
|
data/config/locales/ar.yml
CHANGED
data/config/locales/fi-plain.yml
CHANGED
data/config/locales/fi.yml
CHANGED
data/config/locales/id-ID.yml
CHANGED
data/config/locales/is-IS.yml
CHANGED
data/config/locales/ko.yml
CHANGED
data/config/locales/lv.yml
CHANGED
data/config/locales/pt.yml
CHANGED
data/config/locales/ru.yml
CHANGED
data/config/locales/sk.yml
CHANGED
data/config/locales/sv.yml
CHANGED
@@ -258,7 +258,7 @@ sv:
|
|
258
258
|
checked_out:
|
259
259
|
description: Du har redan röstat i budgeten. Om du har ändrat dig kan du ta bort din röst.
|
260
260
|
title: Budgetomröstning slutförd
|
261
|
-
vote: Rösta
|
261
|
+
vote: Rösta
|
262
262
|
count:
|
263
263
|
projects_count:
|
264
264
|
one: Ett projekt
|
@@ -296,7 +296,7 @@ sv:
|
|
296
296
|
highest_cost: Högst kostnad
|
297
297
|
label: Sortera projekt efter
|
298
298
|
lowest_cost: Lägst kostnad
|
299
|
-
most_voted:
|
299
|
+
most_voted: Flest röster
|
300
300
|
random: Slumpvis ordning
|
301
301
|
selected: Valda
|
302
302
|
project:
|
@@ -308,12 +308,12 @@ sv:
|
|
308
308
|
other: röster
|
309
309
|
you_voted: Du röstade på det här
|
310
310
|
project_budget_button:
|
311
|
-
add:
|
311
|
+
add: Välj
|
312
312
|
add_descriptive: Lägg till projektet %{resource_name} till din röst.
|
313
|
-
added:
|
313
|
+
added: Vald
|
314
314
|
added_descriptive: Projektet %{resource_name} har lagts till din röst.
|
315
315
|
project_filter:
|
316
|
-
added:
|
316
|
+
added: Valda
|
317
317
|
all: Alla
|
318
318
|
projects_for: Projekt inom %{name}
|
319
319
|
select_projects: Välj projekt
|
data/config/locales/tr-TR.yml
CHANGED
@@ -199,5 +199,7 @@ tr:
|
|
199
199
|
email_outro: Bu bildirimi, %{participatory_space_title} adlı kişiyi takip ettiğiniz için aldınız. Önceki bağlantıyı izleyerek bildirim almayı durdurabilirsiniz.
|
200
200
|
email_subject: '%{resource_title} bütçesi artık %{participatory_space_title} için aktif.'
|
201
201
|
notification_title: <a href="%{resource_path}">%{resource_title} </a> bütçesi artık %{participatory_space_title} için aktif.
|
202
|
+
statistics:
|
203
|
+
projects_count: Projeler
|
202
204
|
index:
|
203
205
|
confirmed_orders_count: Oy sayısı
|
data/config/locales/uk.yml
CHANGED
data/config/locales/zh-CN.yml
CHANGED
@@ -180,5 +180,7 @@ zh-CN:
|
|
180
180
|
email_outro: 您收到此通知是因为您正在关注 %{participatory_space_title}。您可以停止收到跟随上一个链接的通知。
|
181
181
|
email_subject: '%{resource_title} 的预算现在在 %{participatory_space_title} 处于活动状态。'
|
182
182
|
notification_title: <a href="%{resource_path}">%{resource_title}</a> 预算现在已经在 %{participatory_space_title} 中生效。
|
183
|
+
statistics:
|
184
|
+
projects_count: 项目
|
183
185
|
index:
|
184
186
|
confirmed_orders_count: 所得票数
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-budgets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.30.
|
4
|
+
version: 0.30.1
|
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-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-comments
|
@@ -18,70 +18,70 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.30.
|
21
|
+
version: 0.30.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.30.
|
28
|
+
version: 0.30.1
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: decidim-core
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.30.
|
35
|
+
version: 0.30.1
|
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.30.
|
42
|
+
version: 0.30.1
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: decidim-admin
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.30.
|
49
|
+
version: 0.30.1
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - '='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.30.
|
56
|
+
version: 0.30.1
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: decidim-dev
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - '='
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.30.
|
63
|
+
version: 0.30.1
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - '='
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.30.
|
70
|
+
version: 0.30.1
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: decidim-proposals
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
75
|
- - '='
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.30.
|
77
|
+
version: 0.30.1
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - '='
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: 0.30.
|
84
|
+
version: 0.30.1
|
85
85
|
description: A budgets component for decidim's participatory spaces.
|
86
86
|
email:
|
87
87
|
- josepjaume@gmail.com
|