decidim-initiatives 0.30.0.rc2 → 0.30.0
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/models/decidim/initiative.rb +0 -5
- data/app/permissions/decidim/initiatives/permissions.rb +2 -2
- data/config/locales/bg.yml +0 -1
- data/config/locales/ca-IT.yml +662 -0
- data/config/locales/ca.yml +3 -3
- data/config/locales/de.yml +1 -1
- data/config/locales/es-MX.yml +5 -5
- data/config/locales/es-PY.yml +5 -5
- data/config/locales/es.yml +5 -5
- data/config/locales/eu.yml +25 -25
- data/config/locales/fi-plain.yml +2 -2
- data/config/locales/fr-CA.yml +2 -3
- data/config/locales/fr.yml +2 -3
- data/config/locales/gl.yml +2 -2
- data/config/locales/hu.yml +1 -2
- data/config/locales/id-ID.yml +1 -1
- data/config/locales/is-IS.yml +7 -1
- data/config/locales/it.yml +4 -2
- data/config/locales/ja.yml +1 -1
- data/config/locales/lb.yml +1 -4
- data/config/locales/lt.yml +0 -1
- data/config/locales/nl.yml +1 -1
- data/config/locales/no.yml +0 -1
- data/config/locales/pl.yml +1 -2
- data/config/locales/pt-BR.yml +2 -3
- data/config/locales/pt.yml +0 -1
- data/config/locales/ro-RO.yml +1 -1
- data/config/locales/ru.yml +7 -1
- data/config/locales/sk.yml +1 -1
- data/config/locales/sl.yml +0 -4
- data/config/locales/sv.yml +4 -5
- data/config/locales/tr-TR.yml +1 -2
- data/config/locales/uk.yml +7 -1
- data/config/locales/zh-TW.yml +0 -1
- data/lib/decidim/initiatives/version.rb +1 -1
- metadata +15 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c579b30f72b288c20f9e638855a0d64c21e8e2e3e4fc4f8ce23ac4b491d0efbb
|
4
|
+
data.tar.gz: b5a0ce4d70a0cdabef7b9cee17a05f574c1a95eede5b22b58f0211421c64f3e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a21219a659867ea6fcc7bcc7575107bed9ffcb1fdae01e559189a862bc8af1fec24030f0972af0eccdf6f0a682b68e6681f7357acb98c4a0656bcad9397ea1a0
|
7
|
+
data.tar.gz: 7ea956deab29120b5297ba895f4e0e34d9dc6b2dec174a46a487115b14280c4808a6f1f17f89f65955423327c6cfd76a299f1f43d6a5a5adfc755868afb77a80
|
@@ -211,11 +211,6 @@ module Decidim
|
|
211
211
|
user_group&.name || author.name
|
212
212
|
end
|
213
213
|
|
214
|
-
# Public: Overrides the `reported_content_url` Reportable concern method.
|
215
|
-
def reported_content_url
|
216
|
-
ResourceLocatorPresenter.new(self).url
|
217
|
-
end
|
218
|
-
|
219
214
|
# Public: Overrides the `reported_attributes` Reportable concern method.
|
220
215
|
def reported_attributes
|
221
216
|
[:title, :description]
|
@@ -4,10 +4,10 @@ module Decidim
|
|
4
4
|
module Initiatives
|
5
5
|
class Permissions < Decidim::DefaultPermissions
|
6
6
|
def permissions
|
7
|
-
return permission_action if initiative && !initiative.is_a?(Decidim::Initiative)
|
8
|
-
|
9
7
|
# Delegate the admin permission checks to the admin permissions class
|
10
8
|
return Decidim::Initiatives::Admin::Permissions.new(user, permission_action, context).permissions if permission_action.scope == :admin
|
9
|
+
|
10
|
+
return permission_action if initiative && !initiative.is_a?(Decidim::Initiative)
|
11
11
|
return permission_action if permission_action.scope != :public
|
12
12
|
|
13
13
|
# Non-logged users permissions
|
data/config/locales/bg.yml
CHANGED
@@ -351,7 +351,6 @@ bg:
|
|
351
351
|
finish:
|
352
352
|
back: Назад
|
353
353
|
back_to_initiatives: Назад към инициативите
|
354
|
-
callout_text: Поздравления! Гражданската Ви инициатива беше създадена успешно.
|
355
354
|
confirm: Ще изпратите инициативата на администратор да я прегледа и публикува. След публикуване няма да можете да го редактирате. Сигурен ли си?
|
356
355
|
edit_my_initiative: Редактиране на моята инициатива
|
357
356
|
go_to_my_initiatives: Към моите инициативи
|