decidim-admin 0.27.1 → 0.27.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim-admin might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/commands/decidim/admin/publish_component.rb +1 -1
- data/app/commands/decidim/admin/unblock_user.rb +1 -1
- data/app/controllers/decidim/admin/block_user_controller.rb +3 -3
- data/app/controllers/decidim/admin/newsletter_templates_controller.rb +1 -1
- data/app/controllers/decidim/admin/newsletters_controller.rb +1 -1
- data/app/forms/decidim/admin/block_user_form.rb +2 -2
- data/app/helpers/decidim/admin/bulk_actions_helper.rb +1 -6
- data/app/models/decidim/admin/fake_newsletter.rb +20 -0
- data/app/packs/src/decidim/admin/draggable-list.js +1 -1
- data/app/permissions/decidim/admin/permissions.rb +32 -2
- data/app/views/decidim/admin/attachments/_form.html.erb +1 -1
- data/app/views/decidim/admin/imports/new.html.erb +1 -1
- data/app/views/decidim/admin/moderated_users/index.html.erb +1 -1
- data/app/views/decidim/admin/officializations/index.html.erb +14 -10
- data/app/views/decidim/admin/participatory_space_private_users_csv_imports/new.html.erb +1 -1
- data/app/views/decidim/admin/static_pages/_form.html.erb +1 -1
- data/app/views/decidim/admin/user_groups_csv_verifications/new.html.erb +1 -1
- data/config/locales/ar.yml +26 -16
- data/config/locales/ca.yml +22 -11
- data/config/locales/cs.yml +16 -4
- data/config/locales/de.yml +25 -8
- data/config/locales/el.yml +0 -5
- data/config/locales/en.yml +13 -2
- data/config/locales/es-MX.yml +17 -6
- data/config/locales/es-PY.yml +17 -6
- data/config/locales/es.yml +21 -10
- data/config/locales/eu.yml +34 -17
- data/config/locales/fa-IR.yml +1 -0
- data/config/locales/fi-plain.yml +15 -4
- data/config/locales/fi.yml +19 -8
- data/config/locales/fr-CA.yml +15 -4
- data/config/locales/fr.yml +15 -4
- data/config/locales/gl.yml +0 -5
- data/config/locales/hu.yml +44 -22
- data/config/locales/id-ID.yml +1 -3
- data/config/locales/is-IS.yml +4 -3
- data/config/locales/it.yml +1 -6
- data/config/locales/ja.yml +21 -9
- data/config/locales/ka-GE.yml +1 -0
- data/config/locales/kaa.yml +1 -0
- data/config/locales/lb.yml +0 -5
- data/config/locales/lt.yml +0 -5
- data/config/locales/lv.yml +1 -5
- data/config/locales/nl.yml +1 -6
- data/config/locales/no.yml +0 -5
- data/config/locales/pl.yml +0 -5
- data/config/locales/pt-BR.yml +1 -6
- data/config/locales/pt.yml +0 -5
- data/config/locales/ro-RO.yml +31 -15
- data/config/locales/ru.yml +4 -3
- data/config/locales/sk.yml +1 -5
- data/config/locales/sr-CS.yml +8 -4
- data/config/locales/sv.yml +23 -8
- data/config/locales/tr-TR.yml +2 -5
- data/config/locales/uk.yml +4 -3
- data/config/locales/zh-CN.yml +1 -5
- data/config/locales/zh-TW.yml +1100 -0
- data/lib/decidim/admin/test/manage_moderations_examples.rb +7 -1
- data/lib/decidim/admin/version.rb +1 -1
- metadata +11 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ec5548d840e8953decfd9aeeae051f255caa5c4b01f502ec20df4217ec09ec6
|
4
|
+
data.tar.gz: 02ddf027287cbf9e1a4ad10f656770a06727109cee2fca202b27f6ec069019ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c53d356a383df26513964eb9f2fa47a86165114ed97e81b157ac48cff7d7b1b64626ac030fcc400ee1fd0a40445e0f8edb1b0e91626c7efec2d9f062d2162d22
|
7
|
+
data.tar.gz: 0b67f548fed377a1ba35f096988f6ee6f09f94dec3aac33a870cc87ed660cc871297074b5303b59ff5ea1d652745c898d58a35cd4126c3e07028f458b66f70bd
|
@@ -39,7 +39,7 @@ module Decidim
|
|
39
39
|
@blocked_user.blocked = false
|
40
40
|
@blocked_user.blocked_at = nil
|
41
41
|
@blocked_user.block_id = nil
|
42
|
-
@blocked_user.name = @blocked_user.user_name
|
42
|
+
@blocked_user.name = @blocked_user.extended_data["user_name"]
|
43
43
|
@blocked_user.save!
|
44
44
|
end
|
45
45
|
end
|
@@ -21,7 +21,7 @@ module Decidim
|
|
21
21
|
BlockUser.call(@form) do
|
22
22
|
on(:ok) do
|
23
23
|
flash[:notice] = I18n.t("officializations.block.success", scope: "decidim.admin")
|
24
|
-
redirect_to
|
24
|
+
redirect_to moderated_users_path(blocked: true)
|
25
25
|
end
|
26
26
|
|
27
27
|
on(:invalid) do
|
@@ -44,13 +44,13 @@ module Decidim
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
redirect_to
|
47
|
+
redirect_to moderated_users_path(blocked: false)
|
48
48
|
end
|
49
49
|
|
50
50
|
private
|
51
51
|
|
52
52
|
def user
|
53
|
-
@user ||= Decidim::
|
53
|
+
@user ||= Decidim::UserBaseEntity.find_by(
|
54
54
|
id: params[:user_id],
|
55
55
|
organization: current_organization
|
56
56
|
)
|
@@ -15,7 +15,7 @@ module Decidim
|
|
15
15
|
def show; end
|
16
16
|
|
17
17
|
def preview
|
18
|
-
email = NewsletterMailer.newsletter(current_user, fake_newsletter)
|
18
|
+
email = NewsletterMailer.newsletter(current_user, fake_newsletter, preview: true)
|
19
19
|
Premailer::Rails::Hook.perform(email)
|
20
20
|
render html: email.html_part.body.decoded.html_safe
|
21
21
|
end
|
@@ -28,7 +28,7 @@ module Decidim
|
|
28
28
|
def preview
|
29
29
|
enforce_permission_to :read, :newsletter, newsletter: newsletter
|
30
30
|
|
31
|
-
email = NewsletterMailer.newsletter(current_user, newsletter)
|
31
|
+
email = NewsletterMailer.newsletter(current_user, newsletter, preview: true)
|
32
32
|
Premailer::Rails::Hook.perform(email)
|
33
33
|
render html: email.html_part.body.decoded.html_safe
|
34
34
|
end
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
module Decidim
|
4
4
|
module Admin
|
5
|
-
# A form object used to
|
5
|
+
# A form object used to block users or user groups on the admin dashboard.
|
6
6
|
class BlockUserForm < Form
|
7
7
|
attribute :user_id, Integer
|
8
8
|
attribute :justification, String
|
@@ -15,7 +15,7 @@ module Decidim
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def user
|
18
|
-
@user ||= Decidim::
|
18
|
+
@user ||= Decidim::UserBaseEntity.find_by(
|
19
19
|
id: user_id,
|
20
20
|
organization: current_organization
|
21
21
|
)
|
@@ -10,9 +10,8 @@ module Decidim
|
|
10
10
|
# Returns a String.
|
11
11
|
def bulk_categories_select(collection)
|
12
12
|
categories = bulk_categories_for_select collection
|
13
|
-
disabled = bulk_disabled_categories_for collection
|
14
13
|
prompt = t("decidim.proposals.admin.proposals.index.change_category")
|
15
|
-
select(:category, :id, options_for_select(categories, selected: []
|
14
|
+
select(:category, :id, options_for_select(categories, selected: []), prompt: prompt)
|
16
15
|
end
|
17
16
|
|
18
17
|
def bulk_categories_for_select(scope)
|
@@ -35,10 +34,6 @@ module Decidim
|
|
35
34
|
end
|
36
35
|
end
|
37
36
|
|
38
|
-
def bulk_disabled_categories_for(scope)
|
39
|
-
scope.first_class.joins(:subcategories).pluck(:id)
|
40
|
-
end
|
41
|
-
|
42
37
|
# Public: Generates a select field with the components.
|
43
38
|
#
|
44
39
|
# siblings - A collection of components.
|
@@ -41,6 +41,26 @@ module Decidim
|
|
41
41
|
nil
|
42
42
|
end
|
43
43
|
|
44
|
+
def draft?
|
45
|
+
true
|
46
|
+
end
|
47
|
+
|
48
|
+
def url(**_)
|
49
|
+
"#"
|
50
|
+
end
|
51
|
+
|
52
|
+
def notifications_settings_url(**_)
|
53
|
+
"#"
|
54
|
+
end
|
55
|
+
|
56
|
+
def unsubscribe_newsletters_url(**_)
|
57
|
+
"#"
|
58
|
+
end
|
59
|
+
|
60
|
+
def organization_official_url
|
61
|
+
"#"
|
62
|
+
end
|
63
|
+
|
44
64
|
private
|
45
65
|
|
46
66
|
attr_reader :organization, :manifest
|
@@ -29,7 +29,7 @@ module Decidim
|
|
29
29
|
read_admin_dashboard_action?
|
30
30
|
apply_newsletter_permissions_for_admin!
|
31
31
|
|
32
|
-
|
32
|
+
apply_global_moderations_permission_for_admin!
|
33
33
|
|
34
34
|
if user.admin? && admin_terms_accepted?
|
35
35
|
allow! if read_admin_log_action?
|
@@ -39,10 +39,10 @@ module Decidim
|
|
39
39
|
allow! if templates_action?
|
40
40
|
allow! if organization_action?
|
41
41
|
allow! if user_action?
|
42
|
+
allow! if admin_user_action?
|
42
43
|
|
43
44
|
allow! if permission_action.subject == :category
|
44
45
|
allow! if permission_action.subject == :component
|
45
|
-
allow! if permission_action.subject == :admin_user
|
46
46
|
allow! if permission_action.subject == :attachment
|
47
47
|
allow! if permission_action.subject == :editor_image
|
48
48
|
allow! if permission_action.subject == :attachment_collection
|
@@ -79,6 +79,23 @@ module Decidim
|
|
79
79
|
toggle_allow(user.admin? || space_allows_admin_access_to_current_action?)
|
80
80
|
end
|
81
81
|
|
82
|
+
def apply_global_moderations_permission_for_admin!
|
83
|
+
return unless admin_terms_accepted?
|
84
|
+
return unless permission_action.subject == :global_moderation
|
85
|
+
return allow! if user.admin?
|
86
|
+
|
87
|
+
return allow! if Decidim.participatory_space_manifests.flat_map.any? do |manifest|
|
88
|
+
Decidim
|
89
|
+
.find_participatory_space_manifest(manifest.name)
|
90
|
+
.participatory_spaces
|
91
|
+
.call(user.organization)&.any? do |space|
|
92
|
+
space.respond_to?(:user_roles) && space.user_roles(:admin).where(user: user).or(space.user_roles(:moderator).where(user: user)).any?
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
disallow!
|
97
|
+
end
|
98
|
+
|
82
99
|
def apply_newsletter_permissions_for_admin!
|
83
100
|
return unless admin_terms_accepted?
|
84
101
|
return unless permission_action.subject == :newsletter
|
@@ -184,6 +201,19 @@ module Decidim
|
|
184
201
|
end
|
185
202
|
end
|
186
203
|
|
204
|
+
def admin_user_action?
|
205
|
+
return unless permission_action.subject == :admin_user
|
206
|
+
|
207
|
+
target_user = context.fetch(:user, nil)
|
208
|
+
|
209
|
+
case permission_action.action
|
210
|
+
when :destroy, :block
|
211
|
+
target_user != user
|
212
|
+
else
|
213
|
+
true
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
187
217
|
def organization
|
188
218
|
@organization ||= context.fetch(:organization, nil) || context.fetch(:current_organization, nil)
|
189
219
|
end
|
@@ -38,7 +38,7 @@
|
|
38
38
|
</div>
|
39
39
|
</legend>
|
40
40
|
<div class="row column">
|
41
|
-
<%= form.upload :file,
|
41
|
+
<%= form.upload :file, required: true, help_i18n_scope: "decidim.admin.forms.file_help.import" %>
|
42
42
|
</div>
|
43
43
|
</fieldset>
|
44
44
|
</div>
|
@@ -60,7 +60,7 @@
|
|
60
60
|
</td>
|
61
61
|
|
62
62
|
<td class="actions">
|
63
|
-
<% if allowed_to?(:unreport, :moderate_users) %>
|
63
|
+
<% if !moderation.user.blocked? && allowed_to?(:unreport, :moderate_users) %>
|
64
64
|
<%= icon_link_to "action-undo", ignore_moderated_user_path(id: moderation), t(".actions.unreport"), class: "action-icon--unreport", method: :put %>
|
65
65
|
<% end %>
|
66
66
|
<% if allowed_to?(:block, :moderate_users) %>
|
@@ -33,7 +33,7 @@
|
|
33
33
|
<td><%= user.report_count %></td>
|
34
34
|
|
35
35
|
<td class="table-list__actions">
|
36
|
-
<% if allowed_to?(:block, :admin_user) %>
|
36
|
+
<% if allowed_to?(:block, :admin_user, user: user) %>
|
37
37
|
<% if user.blocked? %>
|
38
38
|
<%= icon_link_to "ban", user_block_path(user_id: user.id), t(".unblock"), class: "action-icon action-icon--disabled", method: :delete %>
|
39
39
|
<% else %>
|
@@ -43,15 +43,19 @@
|
|
43
43
|
<% if allowed_to? :show_email, :user, user: user %>
|
44
44
|
<%= icon_link_to "envelope-open", show_email_officialization_path(user_id: user.id), t(".show_email"), class: "action-icon action-icon--show-email", data: { full_name: user.name, toggle: "show-email-modal" } %>
|
45
45
|
<% end %>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
46
|
+
<% unless user.blocked? %>
|
47
|
+
<% unless current_user == user %>
|
48
|
+
<%= icon_link_to "envelope-closed", current_or_new_conversation_path_with(user), t("decidim.contact"), class:"action-icon--new" %>
|
49
|
+
<% end %>
|
50
|
+
<% if user.officialized? %>
|
51
|
+
<%= icon "circle-check", class: "action-icon action-icon--disabled", role: "img", aria_label: t(".officialize") %>
|
52
|
+
<%= icon_link_to "pencil", new_officialization_path(user_id: user.id), t(".reofficialize"), class: "action-icon--new" %>
|
53
|
+
<%= icon_link_to "circle-x", officialization_path(user.id), t(".unofficialize"), method: :delete, class: "action-icon--reject" %>
|
54
|
+
<% else %>
|
55
|
+
<%= icon_link_to "circle-check", new_officialization_path(user_id: user.id), t(".officialize"), class: "action-icon--verify" %>
|
56
|
+
<%= icon "pencil", class: "action-icon action-icon--disabled", role: "img", aria_label: t(".reofficialize") %>
|
57
|
+
<%= icon "circle-x", class: "action-icon action-icon--disabled", role: "img", aria_label: t(".unofficialize") %>
|
58
|
+
<% end %>
|
55
59
|
<% end %>
|
56
60
|
</td>
|
57
61
|
</tr>
|
@@ -27,7 +27,7 @@
|
|
27
27
|
<%= decidim_form_for(@form, url: participatory_space_private_users_csv_imports_path, html: { class: "form" }) do |form| %>
|
28
28
|
<p><%= t(".explanation") %></p>
|
29
29
|
<div class="row column">
|
30
|
-
<%= form.upload :file,
|
30
|
+
<%= form.upload :file, required: true %>
|
31
31
|
</div>
|
32
32
|
|
33
33
|
<div class="button--double form-general-submit">
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<%= decidim_form_for(@form, url: user_groups_csv_verification_path, html: { class: "form" }) do |form| %>
|
9
9
|
<p><%= t(".explanation") %></p>
|
10
10
|
<div class="row column">
|
11
|
-
<%= form.upload :file,
|
11
|
+
<%= form.upload :file, required: true %>
|
12
12
|
</div>
|
13
13
|
|
14
14
|
<div class="button--double form-general-submit">
|
data/config/locales/ar.yml
CHANGED
@@ -11,34 +11,41 @@ ar:
|
|
11
11
|
organization: المنظمة
|
12
12
|
plural: صيغة الجمع
|
13
13
|
attachment:
|
14
|
-
attachment_collection_id:
|
14
|
+
attachment_collection_id: الحافظة
|
15
15
|
description: الوصف
|
16
16
|
file: ملف
|
17
17
|
title: المُرفق أو اسم الصورة
|
18
|
+
weight: موضع الطلب
|
18
19
|
attachment_collection:
|
19
20
|
description: الوصف
|
20
21
|
name: اسم
|
22
|
+
weight: موضع الطلب
|
21
23
|
category:
|
22
24
|
description: الوصف
|
23
25
|
name: اسم
|
24
|
-
parent_id:
|
26
|
+
parent_id: الأصل
|
27
|
+
weight: موضع الطلب
|
25
28
|
component:
|
26
29
|
name: اسم
|
27
|
-
published_at:
|
30
|
+
published_at: نشر في
|
28
31
|
weight: موضع الطلب
|
29
|
-
|
32
|
+
external_domain:
|
33
|
+
value: القيمة
|
34
|
+
help_section:
|
35
|
+
content: المحتوى
|
36
|
+
id: المعرف ID
|
30
37
|
import:
|
31
|
-
user_group_id: إنشاء
|
38
|
+
user_group_id: إنشاء الاستيرادات ك
|
32
39
|
newsletter:
|
33
|
-
body:
|
40
|
+
body: النص
|
34
41
|
subject: الموضوع
|
35
42
|
organization:
|
36
43
|
admin_terms_of_use_body: نص شروط الاستخدام للمدير
|
37
44
|
alert_color: تنبيه
|
38
45
|
available_authorizations: التراخيص المتاحة
|
39
46
|
badges_enabled: تمكين الشارات
|
40
|
-
comments_max_length: الحد الأقصى لطول التعليقات (اترك 0 لاستعمال
|
41
|
-
cta_button_path: دعوة إلى العمل
|
47
|
+
comments_max_length: الحد الأقصى لطول التعليقات (اترك 0 لاستعمال القيمة الافتراضية)
|
48
|
+
cta_button_path: مسار زر دعوة إلى العمل call to action
|
42
49
|
cta_button_text: نص زر Call To Action
|
43
50
|
customize_welcome_notification: تخصيص إشعار الترحيب
|
44
51
|
default_locale: اللغة الافتراضية
|
@@ -88,6 +95,9 @@ ar:
|
|
88
95
|
welcome_notification_body: محتوى إشعار الترحيب
|
89
96
|
welcome_notification_subject: موضوع إشعار الترحيب
|
90
97
|
youtube_handler: مُعرّف حساب يوتيوب
|
98
|
+
participatory_space_private_user:
|
99
|
+
email: البريد الإلكتروني
|
100
|
+
name: الإسم
|
91
101
|
scope:
|
92
102
|
code: الشفرة
|
93
103
|
name: الاسم
|
@@ -160,10 +170,8 @@ ar:
|
|
160
170
|
accept:
|
161
171
|
success: رائع! لقد قمت بالموافقة على شروط الإستخدام للمدير.
|
162
172
|
actions:
|
163
|
-
|
173
|
+
accept: أوافق على هذه الشروط
|
164
174
|
title: وافق على شروط وأحكام الإستخدام
|
165
|
-
required_review:
|
166
|
-
cta: راجِعها الآن.
|
167
175
|
title: شروط الاستخدام الخاصة بالمدير
|
168
176
|
area_types:
|
169
177
|
create:
|
@@ -579,8 +587,6 @@ ar:
|
|
579
587
|
tabs:
|
580
588
|
blocked: محظور
|
581
589
|
moderations:
|
582
|
-
index:
|
583
|
-
title: الإشراف
|
584
590
|
report:
|
585
591
|
reasons:
|
586
592
|
does_not_belong: لا ينتمي
|
@@ -596,6 +602,7 @@ ar:
|
|
596
602
|
newsletter_templates:
|
597
603
|
index:
|
598
604
|
preview_template: معاينة
|
605
|
+
title: نماذج النشرة الإخبارية
|
599
606
|
newsletters:
|
600
607
|
create:
|
601
608
|
error: كانت هناك مشكلة في إنشاء هذه الرسالة الإخبارية.
|
@@ -796,8 +803,13 @@ ar:
|
|
796
803
|
update:
|
797
804
|
error: حدثت مشكلة أثناء تحديث هذا النطاق.
|
798
805
|
success: تم تحديث المجال بنجاح
|
806
|
+
share_tokens:
|
807
|
+
actions:
|
808
|
+
destroy: حذف
|
809
|
+
share: مشاركة
|
799
810
|
shared:
|
800
811
|
gallery:
|
812
|
+
add_images: إضافة صور
|
801
813
|
delete_image: احذف الصورة
|
802
814
|
edit_images: تعديل الصورة
|
803
815
|
static_page_topics:
|
@@ -939,7 +951,7 @@ ar:
|
|
939
951
|
report_count: عد
|
940
952
|
reportable_type: النوع
|
941
953
|
reported_content_url: تم الإبلاغ عن عنوان URL للمحتوى
|
942
|
-
reports:
|
954
|
+
reports: التقارير
|
943
955
|
visit_url: زيارة العنوان الشبكي
|
944
956
|
report:
|
945
957
|
fields:
|
@@ -952,8 +964,6 @@ ar:
|
|
952
964
|
layouts:
|
953
965
|
decidim:
|
954
966
|
admin:
|
955
|
-
global_moderations:
|
956
|
-
title: مُشرف عام
|
957
967
|
newsletters:
|
958
968
|
title: النشرات الإخبارية
|
959
969
|
settings:
|
data/config/locales/ca.yml
CHANGED
@@ -15,17 +15,24 @@ ca:
|
|
15
15
|
description: Descripció
|
16
16
|
file: Arxiu
|
17
17
|
title: Nom de l'adjunt o imatge
|
18
|
+
weight: Ordre de posició
|
18
19
|
attachment_collection:
|
19
20
|
description: Descripció
|
20
21
|
name: Nom
|
22
|
+
weight: Ordre de posició
|
21
23
|
category:
|
22
24
|
description: Descripció
|
23
25
|
name: Nom
|
24
26
|
parent_id: Pare
|
27
|
+
weight: Ordre de posició
|
25
28
|
component:
|
26
29
|
name: Nom
|
27
30
|
published_at: Publicat el
|
28
31
|
weight: Ordre de posició
|
32
|
+
external_domain:
|
33
|
+
value: Valor
|
34
|
+
help_section:
|
35
|
+
content: Contingut
|
29
36
|
id: ID
|
30
37
|
import:
|
31
38
|
user_group_id: Importar com
|
@@ -93,6 +100,9 @@ ca:
|
|
93
100
|
welcome_notification_body: Cos de la notificació de benvinguda
|
94
101
|
welcome_notification_subject: Assumpte de la notificació de benvinguda
|
95
102
|
youtube_handler: Nom d'usuària de YouTube
|
103
|
+
participatory_space_private_user:
|
104
|
+
email: Correu electrònic
|
105
|
+
name: Nom
|
96
106
|
scope:
|
97
107
|
code: Codi
|
98
108
|
name: Nom
|
@@ -114,6 +124,7 @@ ca:
|
|
114
124
|
show_in_footer: Mostra al peu de pàgina
|
115
125
|
slug: Nom curt d'URL
|
116
126
|
title: Títol
|
127
|
+
topic_id: Assumpte
|
117
128
|
weight: Ordre de posició
|
118
129
|
static_page_topic:
|
119
130
|
description: Descripció
|
@@ -193,14 +204,14 @@ ca:
|
|
193
204
|
error: S'ha produït un error en acceptar els Termes i Condicions dell panell d'administració.
|
194
205
|
success: Genial! Has acceptat els Termes i Condicions del panell d'administració.
|
195
206
|
actions:
|
196
|
-
accept: Estic d'acord amb
|
207
|
+
accept: Estic d'acord amb les condicions
|
197
208
|
are_you_sure: Segur que vols rebutjar els termes i condicions del panell d'administració?
|
198
|
-
refuse: Rebutjar
|
209
|
+
refuse: Rebutjar les condicions del servei d'administració
|
199
210
|
title: Accepto els Termes i Condicions d'Administració
|
200
211
|
required_review:
|
201
212
|
alert: 'Requerit: Revisa els nostres Termes i Condicions del panell d''administració'
|
202
213
|
callout: Si us plau dedica un moment a revisar l'actualització dels nostres termes i condicions del panell d'administració. En cas contrari, no podràs utilitzar la plataforma.
|
203
|
-
cta:
|
214
|
+
cta: Revisar-les ara.
|
204
215
|
title: Termes i Condicions del panell d'administració
|
205
216
|
area_types:
|
206
217
|
create:
|
@@ -643,7 +654,7 @@ ca:
|
|
643
654
|
nickname: Àlies
|
644
655
|
reason: Raó
|
645
656
|
reports: Número de denúncies
|
646
|
-
title:
|
657
|
+
title: Participants reportades
|
647
658
|
report:
|
648
659
|
reasons:
|
649
660
|
does_not_belong: No pertany
|
@@ -654,7 +665,7 @@ ca:
|
|
654
665
|
unblocked: No bloquejat
|
655
666
|
moderations:
|
656
667
|
index:
|
657
|
-
title:
|
668
|
+
title: Contingut reportat
|
658
669
|
report:
|
659
670
|
reasons:
|
660
671
|
does_not_belong: No pertany
|
@@ -715,7 +726,7 @@ ca:
|
|
715
726
|
select_recipients_to_deliver:
|
716
727
|
all_spaces: Totes
|
717
728
|
all_users_help: Envia el butlletí a tots els usuaris confimats.
|
718
|
-
confirm_deliver:
|
729
|
+
confirm_deliver: Segur que vols enviar aquest butlletí? Aquesta acció no es pot desfer.
|
719
730
|
deliver: Enviar butlletí
|
720
731
|
followers_help: Envia el butlletí a tots els usuaris confirmats que segueixin qualsevol dels espais participatius seleccionats a la llista.
|
721
732
|
none: Cap
|
@@ -827,7 +838,7 @@ ca:
|
|
827
838
|
inactive_content_blocks: Blocs de contingut inactiu
|
828
839
|
organization_homepage_content_blocks:
|
829
840
|
edit:
|
830
|
-
update:
|
841
|
+
update: Actualitzar
|
831
842
|
participatory_space_private_users:
|
832
843
|
create:
|
833
844
|
error: S'ha produït un error en afegir una participant privada a aquest espai de participació.
|
@@ -840,7 +851,7 @@ ca:
|
|
840
851
|
title: Participant de l'espai participatiu privat
|
841
852
|
new:
|
842
853
|
create: Crear
|
843
|
-
title: Nova participant de l'espai
|
854
|
+
title: Nova participant de l'espai privat.
|
844
855
|
participatory_space_private_users_csv_imports:
|
845
856
|
create:
|
846
857
|
invalid: S'ha produït un error en llegir el fitxer CSV.
|
@@ -848,7 +859,7 @@ ca:
|
|
848
859
|
new:
|
849
860
|
destroy:
|
850
861
|
button: Esborrar totes les participants privades
|
851
|
-
confirm:
|
862
|
+
confirm: Segur que vols esborrar totes les participants privades? Aquesta acció no es pot desfer, no podràs recuperar-les.
|
852
863
|
empty: No hi ha participants privades.
|
853
864
|
explanation: Hi ha %{count} participant/s privada/ades.
|
854
865
|
title: Esborrar les participants privades
|
@@ -1065,14 +1076,14 @@ ca:
|
|
1065
1076
|
moderation:
|
1066
1077
|
fields:
|
1067
1078
|
created_at: Data de creació
|
1068
|
-
deleted_resource:
|
1079
|
+
deleted_resource: Recurs eliminat
|
1069
1080
|
hidden_at: Data d'ocultació
|
1070
1081
|
participatory_space: Espai de participació
|
1071
1082
|
report_count: Recompte
|
1072
1083
|
reportable_id: ID
|
1073
1084
|
reportable_type: Tipus
|
1074
1085
|
reported_content_url: URL contingut del contingut reportat
|
1075
|
-
reports:
|
1086
|
+
reports: Informes
|
1076
1087
|
visit_url: Visiteu l'URL
|
1077
1088
|
report:
|
1078
1089
|
fields:
|
data/config/locales/cs.yml
CHANGED
@@ -15,17 +15,24 @@ cs:
|
|
15
15
|
description: Popis
|
16
16
|
file: Soubor
|
17
17
|
title: Název přílohy nebo obrázku
|
18
|
+
weight: Pozice v řazení
|
18
19
|
attachment_collection:
|
19
20
|
description: Popis
|
20
21
|
name: Název
|
22
|
+
weight: Pozice v řazení
|
21
23
|
category:
|
22
24
|
description: Popis
|
23
25
|
name: Název
|
24
26
|
parent_id: Nadřazená
|
27
|
+
weight: Pozice v řazení
|
25
28
|
component:
|
26
29
|
name: Název
|
27
30
|
published_at: Publikováno v
|
28
31
|
weight: Pozice v řazení
|
32
|
+
external_domain:
|
33
|
+
value: Hodnota
|
34
|
+
help_section:
|
35
|
+
content: Obsah
|
29
36
|
id: ID
|
30
37
|
import:
|
31
38
|
user_group_id: Vytvořit importy jako
|
@@ -93,6 +100,9 @@ cs:
|
|
93
100
|
welcome_notification_body: Tělo uvítacího oznámení
|
94
101
|
welcome_notification_subject: Předmět uvítacího oznámení
|
95
102
|
youtube_handler: YouTube handler
|
103
|
+
participatory_space_private_user:
|
104
|
+
email: E-mail
|
105
|
+
name: Název
|
96
106
|
scope:
|
97
107
|
code: Kód
|
98
108
|
name: Název
|
@@ -114,6 +124,7 @@ cs:
|
|
114
124
|
show_in_footer: Zobrazit v zápatí
|
115
125
|
slug: URL slug
|
116
126
|
title: Titul
|
127
|
+
topic_id: Téma
|
117
128
|
weight: Pozice v řazení
|
118
129
|
static_page_topic:
|
119
130
|
description: Popis
|
@@ -193,6 +204,7 @@ cs:
|
|
193
204
|
error: Při přijímání správcovských podmínek použití došlo k chybě.
|
194
205
|
success: Skvělé! Přijali jste administrátorské podmínky použití.
|
195
206
|
actions:
|
207
|
+
accept: Souhlasím s podmínkami
|
196
208
|
are_you_sure: Opravdu chcete odmítnout Podmínky použití pro správce?
|
197
209
|
refuse: Odmítnout administrátorské podmínky
|
198
210
|
title: Souhlasit s podmínkami používání
|
@@ -650,7 +662,7 @@ cs:
|
|
650
662
|
nickname: Přezdívka
|
651
663
|
reason: Důvod
|
652
664
|
reports: Počet zpráv
|
653
|
-
title:
|
665
|
+
title: Nahlášení účastníci
|
654
666
|
report:
|
655
667
|
reasons:
|
656
668
|
does_not_belong: Nepatří
|
@@ -661,7 +673,7 @@ cs:
|
|
661
673
|
unblocked: Neblokováno
|
662
674
|
moderations:
|
663
675
|
index:
|
664
|
-
title:
|
676
|
+
title: Nahlášený obsah
|
665
677
|
report:
|
666
678
|
reasons:
|
667
679
|
does_not_belong: Nepatří
|
@@ -1073,7 +1085,7 @@ cs:
|
|
1073
1085
|
models:
|
1074
1086
|
moderation:
|
1075
1087
|
fields:
|
1076
|
-
created_at: Datum
|
1088
|
+
created_at: Datum vzniku
|
1077
1089
|
deleted_resource: Smazaný dokument
|
1078
1090
|
hidden_at: Skryté u
|
1079
1091
|
participatory_space: Participativní prostor
|
@@ -1081,7 +1093,7 @@ cs:
|
|
1081
1093
|
reportable_id: ID
|
1082
1094
|
reportable_type: Typ
|
1083
1095
|
reported_content_url: Oznámená adresa URL obsahu
|
1084
|
-
reports:
|
1096
|
+
reports: Hlášení
|
1085
1097
|
visit_url: Navštívit URL
|
1086
1098
|
report:
|
1087
1099
|
fields:
|