decidim-admin 0.32.0.rc3 → 0.32.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/commands/decidim/admin/create_taxonomy_filter.rb +16 -2
- data/app/commands/decidim/admin/participatory_space/create_member.rb +16 -6
- data/app/commands/decidim/admin/update_taxonomy_filter.rb +24 -6
- data/app/controllers/decidim/admin/officializations_controller.rb +2 -0
- data/app/events/decidim/participatory_space/member_added_event.rb +37 -0
- data/app/forms/decidim/admin/taxonomy_filter_form.rb +11 -9
- data/app/packs/stylesheets/decidim/admin/application.scss +1 -1
- data/app/views/decidim/admin/shared/_attachments.html.erb +15 -0
- data/config/locales/ar.yml +0 -5
- data/config/locales/bg.yml +0 -5
- data/config/locales/bs-BA.yml +0 -4
- data/config/locales/ca-IT.yml +12 -5
- data/config/locales/ca.yml +12 -5
- data/config/locales/cs.yml +9 -5
- data/config/locales/de.yml +0 -5
- data/config/locales/el.yml +0 -6
- data/config/locales/en.yml +12 -5
- data/config/locales/es-MX.yml +12 -5
- data/config/locales/es-PY.yml +12 -5
- data/config/locales/es.yml +12 -5
- data/config/locales/eu.yml +16 -9
- data/config/locales/fi-plain.yml +11 -4
- data/config/locales/fi.yml +11 -4
- data/config/locales/fr-CA.yml +76 -5
- data/config/locales/fr.yml +76 -5
- data/config/locales/gl.yml +0 -6
- data/config/locales/he-IL.yml +0 -1
- data/config/locales/hu.yml +0 -6
- data/config/locales/it.yml +0 -4
- data/config/locales/ja.yml +8 -7
- data/config/locales/kaa.yml +0 -4
- data/config/locales/ko.yml +0 -6
- data/config/locales/lb.yml +0 -5
- data/config/locales/lt.yml +0 -6
- data/config/locales/lv.yml +0 -4
- data/config/locales/nl.yml +0 -6
- data/config/locales/no.yml +0 -6
- data/config/locales/pl.yml +0 -5
- data/config/locales/pt-BR.yml +3 -8
- data/config/locales/pt.yml +0 -5
- data/config/locales/ro-RO.yml +0 -6
- data/config/locales/sk.yml +3 -6
- data/config/locales/sl.yml +0 -1
- data/config/locales/sq-AL.yml +0 -1
- data/config/locales/sr-CS.yml +0 -4
- data/config/locales/sv.yml +1 -5
- data/config/locales/tr-TR.yml +7 -12
- data/config/locales/zh-CN.yml +0 -5
- data/config/locales/zh-TW.yml +0 -6
- data/decidim-admin.gemspec +1 -1
- data/lib/decidim/admin/version.rb +1 -1
- metadata +9 -8
- data/app/views/decidim/admin/shared/_gallery.html.erb +0 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0edf4a1f5bea11f3269f83afda9636efc949d0bf92ea1dd301ada1443f78ae28
|
|
4
|
+
data.tar.gz: acbcaad5419abf1e0a2e0d74a96242beae1d03e6d088ea4d6a70f7a33bd161cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab698739e7fa9e181afe331baeea9de94ebd2c199ef0b1b98d2e57bcdcfa495809e7fd844137ef78be8ed8e2b7a9b7a7d4d417002c97bcd30a3ee40dced84d61
|
|
7
|
+
data.tar.gz: 832fd99eba8a6819214f0c88fd73d49ac2f98d3015abfa9c6665c3464cfc1f368d4bf0c2c0ce2211aeec4d11aa775451450b8a0573975a9eeb2fc7ee992874a3
|
|
@@ -5,20 +5,34 @@ module Decidim
|
|
|
5
5
|
# A command with all the business logic to create a new taxonomy filter in the
|
|
6
6
|
# system.
|
|
7
7
|
class CreateTaxonomyFilter < Decidim::Commands::CreateResource
|
|
8
|
-
fetch_form_attributes :root_taxonomy_id, :
|
|
8
|
+
fetch_form_attributes :root_taxonomy_id, :internal_name, :name, :participatory_space_manifests
|
|
9
9
|
|
|
10
10
|
protected
|
|
11
11
|
|
|
12
12
|
def resource_class = Decidim::TaxonomyFilter
|
|
13
13
|
|
|
14
|
+
def run_after_hooks
|
|
15
|
+
create_filter_items!
|
|
16
|
+
end
|
|
17
|
+
|
|
14
18
|
def extra_params
|
|
15
19
|
{
|
|
16
20
|
extra: {
|
|
17
21
|
taxonomy_name: form.root_taxonomy.name,
|
|
18
|
-
filter_items_count:
|
|
22
|
+
filter_items_count: selected_taxonomy_item_ids.size
|
|
19
23
|
}
|
|
20
24
|
}
|
|
21
25
|
end
|
|
26
|
+
|
|
27
|
+
private
|
|
28
|
+
|
|
29
|
+
def create_filter_items!
|
|
30
|
+
selected_taxonomy_item_ids.each { |taxonomy_item_id| resource.filter_items.create!(taxonomy_item_id:) }
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
def selected_taxonomy_item_ids
|
|
34
|
+
form.taxonomy_items.map(&:to_i).uniq
|
|
35
|
+
end
|
|
22
36
|
end
|
|
23
37
|
end
|
|
24
38
|
end
|
|
@@ -29,6 +29,7 @@ module Decidim
|
|
|
29
29
|
|
|
30
30
|
ActiveRecord::Base.transaction do
|
|
31
31
|
@user ||= existing_user || new_user
|
|
32
|
+
send_notification_for_existing_user if @existing_user
|
|
32
33
|
create_member
|
|
33
34
|
end
|
|
34
35
|
|
|
@@ -61,16 +62,25 @@ module Decidim
|
|
|
61
62
|
end
|
|
62
63
|
|
|
63
64
|
def existing_user
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
@existing_user = User.find_by(
|
|
65
|
+
@existing_user ||= User.find_by(
|
|
67
66
|
email: form.email.downcase,
|
|
68
67
|
organization: member_to.organization
|
|
69
68
|
)
|
|
69
|
+
end
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
def send_notification_for_existing_user
|
|
72
|
+
if @existing_user.invitation_pending?
|
|
73
|
+
InviteUserAgain.call(@existing_user, invitation_instructions)
|
|
74
|
+
else
|
|
75
|
+
Decidim::EventsManager.publish(
|
|
76
|
+
event: "decidim.events.participatory_space.member_added",
|
|
77
|
+
event_class: "#{member_to.class.name}MemberAddedEvent".constantize,
|
|
78
|
+
resource: member_to,
|
|
79
|
+
affected_users: [@existing_user],
|
|
80
|
+
force_send: true,
|
|
81
|
+
extra: { force_email: true }
|
|
82
|
+
)
|
|
83
|
+
end
|
|
74
84
|
end
|
|
75
85
|
|
|
76
86
|
def new_user
|
|
@@ -2,27 +2,45 @@
|
|
|
2
2
|
|
|
3
3
|
module Decidim
|
|
4
4
|
module Admin
|
|
5
|
-
# A command with all the business logic to
|
|
6
|
-
# system.
|
|
5
|
+
# A command with all the business logic to update an existing taxonomy filter
|
|
6
|
+
# in the system.
|
|
7
7
|
class UpdateTaxonomyFilter < Decidim::Commands::UpdateResource
|
|
8
|
-
fetch_form_attributes :
|
|
8
|
+
fetch_form_attributes :internal_name, :name, :participatory_space_manifests
|
|
9
9
|
|
|
10
10
|
protected
|
|
11
11
|
|
|
12
12
|
def resource_class = Decidim::TaxonomyFilter
|
|
13
13
|
|
|
14
|
-
def
|
|
15
|
-
|
|
14
|
+
def run_after_hooks
|
|
15
|
+
sync_filter_items!
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
def extra_params
|
|
19
19
|
{
|
|
20
20
|
extra: {
|
|
21
21
|
taxonomy_name: resource.root_taxonomy.name,
|
|
22
|
-
filter_items_count:
|
|
22
|
+
filter_items_count: selected_taxonomy_item_ids.size
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
end
|
|
26
|
+
|
|
27
|
+
private
|
|
28
|
+
|
|
29
|
+
def sync_filter_items!
|
|
30
|
+
removed_ids = current_taxonomy_item_ids - selected_taxonomy_item_ids
|
|
31
|
+
added_ids = selected_taxonomy_item_ids - current_taxonomy_item_ids
|
|
32
|
+
|
|
33
|
+
resource.filter_items.where(taxonomy_item_id: removed_ids).destroy_all if removed_ids.any?
|
|
34
|
+
added_ids.each { |taxonomy_item_id| resource.filter_items.create!(taxonomy_item_id:) }
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
def current_taxonomy_item_ids
|
|
38
|
+
resource.filter_items.pluck(:taxonomy_item_id)
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def selected_taxonomy_item_ids
|
|
42
|
+
form.taxonomy_items.map(&:to_i).uniq
|
|
43
|
+
end
|
|
26
44
|
end
|
|
27
45
|
end
|
|
28
46
|
end
|
|
@@ -22,6 +22,8 @@ module Decidim
|
|
|
22
22
|
def new
|
|
23
23
|
enforce_permission_to :create, :officialization
|
|
24
24
|
|
|
25
|
+
return redirect_to(officializations_path, alert: I18n.t("officializations.create.no_user_found", scope: "decidim.admin")) unless user
|
|
26
|
+
|
|
25
27
|
@form = form(OfficializationForm).from_model(user)
|
|
26
28
|
end
|
|
27
29
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Decidim
|
|
4
|
+
module ParticipatorySpace
|
|
5
|
+
# i18n-tasks-use t('decidim.events.participatory_space.member_added.published.email_intro')
|
|
6
|
+
# i18n-tasks-use t('decidim.events.participatory_space.member_added.published.email_outro')
|
|
7
|
+
# i18n-tasks-use t('decidim.events.participatory_space.member_added.published.email_subject')
|
|
8
|
+
# i18n-tasks-use t('decidim.events.participatory_space.member_added.published.notification_title')
|
|
9
|
+
# i18n-tasks-use t('decidim.events.participatory_space.member_added.unpublished.email_intro')
|
|
10
|
+
# i18n-tasks-use t('decidim.events.participatory_space.member_added.unpublished.email_outro')
|
|
11
|
+
# i18n-tasks-use t('decidim.events.participatory_space.member_added.unpublished.email_subject')
|
|
12
|
+
# i18n-tasks-use t('decidim.events.participatory_space.member_added.unpublished.notification_title')
|
|
13
|
+
class MemberAddedEvent < Decidim::Events::SimpleEvent
|
|
14
|
+
include Rails.application.routes.mounted_helpers
|
|
15
|
+
|
|
16
|
+
def i18n_scope
|
|
17
|
+
return "#{super}.published" if membership&.published?
|
|
18
|
+
|
|
19
|
+
"#{super}.unpublished"
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def default_i18n_options
|
|
23
|
+
super.merge(members_page:)
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
private
|
|
27
|
+
|
|
28
|
+
def membership
|
|
29
|
+
@membership ||= Decidim::ParticipatorySpace::Member.where(participatory_space:, user:).first
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
def members_page
|
|
33
|
+
raise "#{__method__} needs to be implemented in the event class"
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -44,7 +44,7 @@ module Decidim
|
|
|
44
44
|
def items_collection
|
|
45
45
|
return [] unless root_taxonomy
|
|
46
46
|
|
|
47
|
-
@items_collection ||=
|
|
47
|
+
@items_collection ||= build_items_collection
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
def root_taxonomy
|
|
@@ -62,22 +62,24 @@ module Decidim
|
|
|
62
62
|
|
|
63
63
|
private
|
|
64
64
|
|
|
65
|
-
def
|
|
66
|
-
|
|
65
|
+
def build_items_collection
|
|
66
|
+
children_by_parent_id = root_taxonomy.all_children.group_by(&:parent_id)
|
|
67
|
+
build_subtree(root_taxonomy.id, children_by_parent_id)
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
def build_subtree(parent_id, children_by_parent_id)
|
|
71
|
+
Array(children_by_parent_id[parent_id]).map do |item|
|
|
67
72
|
Item.new(
|
|
68
73
|
name: translated_attribute(item.name),
|
|
69
74
|
value: item.id,
|
|
70
|
-
children:
|
|
75
|
+
children: build_subtree(item.id, children_by_parent_id)
|
|
71
76
|
)
|
|
72
77
|
end
|
|
73
78
|
end
|
|
74
79
|
|
|
75
80
|
def valid_taxonomy_items
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
root_taxonomy.all_children.map(&:id).include?(item.to_i)
|
|
80
|
-
end
|
|
81
|
+
valid_ids = root_taxonomy ? root_taxonomy.all_children.pluck(:id).to_set : Set.new
|
|
82
|
+
return if taxonomy_items.all? { |item| valid_ids.include?(item.to_i) }
|
|
81
83
|
|
|
82
84
|
errors.add(:taxonomy_items, :invalid)
|
|
83
85
|
end
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
@use "stylesheets/decidim/admin/datepicker";
|
|
25
25
|
@use "stylesheets/decidim/admin/minimap";
|
|
26
26
|
@use "stylesheets/decidim/admin/proposal_status";
|
|
27
|
-
@use "stylesheets/decidim/
|
|
27
|
+
@use "stylesheets/decidim/editor_suggestions";
|
|
28
28
|
|
|
29
29
|
:root {
|
|
30
30
|
--primary: #e02d2d;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<div class="row column mt-4">
|
|
2
|
+
<fieldset>
|
|
3
|
+
<legend><%= t(".attachment_legend") %></legend>
|
|
4
|
+
|
|
5
|
+
<div>
|
|
6
|
+
<%= form.attachment :attachments,
|
|
7
|
+
multiple: true,
|
|
8
|
+
label: t(".add_attachments"),
|
|
9
|
+
button_label: t(".add_attachments"),
|
|
10
|
+
button_edit_label: t(".edit_attachments"),
|
|
11
|
+
button_class: "button button__sm button__transparent-secondary",
|
|
12
|
+
help_i18n_scope: "decidim.forms.file_help.attachment" %>
|
|
13
|
+
</div>
|
|
14
|
+
</fieldset>
|
|
15
|
+
</div>
|
data/config/locales/ar.yml
CHANGED
|
@@ -44,7 +44,6 @@ ar:
|
|
|
44
44
|
alert_color: تنبيه
|
|
45
45
|
available_authorizations: التراخيص المتاحة
|
|
46
46
|
badges_enabled: تمكين الشارات
|
|
47
|
-
comments_max_length: الحد الأقصى لطول التعليقات (اترك 0 لاستعمال القيمة الافتراضية)
|
|
48
47
|
customize_welcome_notification: تخصيص إشعار الترحيب
|
|
49
48
|
default_locale: اللغة الافتراضية
|
|
50
49
|
description: الوصف
|
|
@@ -678,10 +677,6 @@ ar:
|
|
|
678
677
|
'true': 'نعم'
|
|
679
678
|
new:
|
|
680
679
|
create: إنشاء
|
|
681
|
-
shared:
|
|
682
|
-
gallery:
|
|
683
|
-
add_images: إضافة صور
|
|
684
|
-
edit_images: تعديل الصورة
|
|
685
680
|
static_page_topics:
|
|
686
681
|
create:
|
|
687
682
|
error: كانت هناك مشكلة في إنشاء موضوع جديد.
|
data/config/locales/bg.yml
CHANGED
|
@@ -44,7 +44,6 @@ bg:
|
|
|
44
44
|
alert_color: Аларма
|
|
45
45
|
available_authorizations: Активни оторизации
|
|
46
46
|
badges_enabled: Включи значките
|
|
47
|
-
comments_max_length: Максимална дължина на коментарите (Оставете 0 за стойност по подразбиране)
|
|
48
47
|
customize_welcome_notification: Персонализирайте приветствието
|
|
49
48
|
default_locale: Език по подразбиране
|
|
50
49
|
description: Описание
|
|
@@ -808,10 +807,6 @@ bg:
|
|
|
808
807
|
next_title: Следващ елемент
|
|
809
808
|
previous: Предишен
|
|
810
809
|
previous_title: Предишен елемент
|
|
811
|
-
gallery:
|
|
812
|
-
add_images: Добави изображения
|
|
813
|
-
edit_images: Редактиране на изображения
|
|
814
|
-
gallery_legend: Добавяне на галерия с изображения (незадължително)
|
|
815
810
|
static_page_topics:
|
|
816
811
|
create:
|
|
817
812
|
error: Възникна проблем при създаването на нова тема.
|
data/config/locales/bs-BA.yml
CHANGED
|
@@ -434,10 +434,6 @@ bs:
|
|
|
434
434
|
update:
|
|
435
435
|
error: Pojavio se problem pri ažuriranju ove organizacije.
|
|
436
436
|
success: Organizacija je uspešno ažurirana.
|
|
437
|
-
shared:
|
|
438
|
-
gallery:
|
|
439
|
-
add_images: Dodaj slike
|
|
440
|
-
gallery_legend: Dodaj galeriju slika (opciono)
|
|
441
437
|
users_statistics:
|
|
442
438
|
users_count:
|
|
443
439
|
last_day: Poslednji dan
|
data/config/locales/ca-IT.yml
CHANGED
|
@@ -12,6 +12,7 @@ ca-IT:
|
|
|
12
12
|
plural: Plural
|
|
13
13
|
attachment:
|
|
14
14
|
attachment_collection_id: Carpeta
|
|
15
|
+
attachments: Fitxers adjunts
|
|
15
16
|
description: Descripció
|
|
16
17
|
file: Arxiu
|
|
17
18
|
title: Nom de l'adjunt o imatge
|
|
@@ -50,7 +51,7 @@ ca-IT:
|
|
|
50
51
|
alert_color: Alerta
|
|
51
52
|
available_authorizations: Autoritzacions disponibles
|
|
52
53
|
badges_enabled: Habilitar les ensenyes
|
|
53
|
-
comments_max_length:
|
|
54
|
+
comments_max_length: Caràcters màxims per comentari (deixar a 0 el valor predeterminat)
|
|
54
55
|
customize_welcome_notification: Personalitza la notificació de benvinguda
|
|
55
56
|
default_locale: Idioma per defecte
|
|
56
57
|
description: Descripció
|
|
@@ -910,6 +911,7 @@ ca-IT:
|
|
|
910
911
|
invalid: Hi ha hagut un problema en desbloquejar a les participants.
|
|
911
912
|
success: Participants desbloquejades correctament.
|
|
912
913
|
create:
|
|
914
|
+
no_user_found: No s'ha trobat aquesta participant.
|
|
913
915
|
success: Participant oficialitzada correctament.
|
|
914
916
|
destroy:
|
|
915
917
|
success: S'ha retirat correctament l'oficialització de la participant.
|
|
@@ -1096,10 +1098,10 @@ ca-IT:
|
|
|
1096
1098
|
next_title: Següent element
|
|
1097
1099
|
previous: Anterior
|
|
1098
1100
|
previous_title: Element anterior
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1101
|
+
attachments:
|
|
1102
|
+
add_attachments: Afegir fitxer(s) adjunt(s)
|
|
1103
|
+
attachment_legend: Afegir una galeria de fitxers adjunts (opcional)
|
|
1104
|
+
edit_attachments: Edita els fitxers adjunts
|
|
1103
1105
|
static_page_topics:
|
|
1104
1106
|
create:
|
|
1105
1107
|
error: S'ha produït un error en crear un tema nou.
|
|
@@ -1315,6 +1317,11 @@ ca-IT:
|
|
|
1315
1317
|
errors:
|
|
1316
1318
|
impersonate_user:
|
|
1317
1319
|
reason: Has d'indicar un motiu per a la gestió d'una participant no gestionada.
|
|
1320
|
+
file_help:
|
|
1321
|
+
attachment:
|
|
1322
|
+
explanation: 'Instruccions per al fitxer:'
|
|
1323
|
+
message_1: S'admeten fitxers CSV, JSON y Excel (.xlsx)
|
|
1324
|
+
message_2: Pels arxius CSV, el separador entre columnes ha de ser un punt i coma (";")
|
|
1318
1325
|
moderations:
|
|
1319
1326
|
actions:
|
|
1320
1327
|
expand: Expandir
|
data/config/locales/ca.yml
CHANGED
|
@@ -12,6 +12,7 @@ ca:
|
|
|
12
12
|
plural: Plural
|
|
13
13
|
attachment:
|
|
14
14
|
attachment_collection_id: Carpeta
|
|
15
|
+
attachments: Fitxers adjunts
|
|
15
16
|
description: Descripció
|
|
16
17
|
file: Arxiu
|
|
17
18
|
title: Nom de l'adjunt o imatge
|
|
@@ -50,7 +51,7 @@ ca:
|
|
|
50
51
|
alert_color: Alerta
|
|
51
52
|
available_authorizations: Autoritzacions disponibles
|
|
52
53
|
badges_enabled: Habilitar les ensenyes
|
|
53
|
-
comments_max_length:
|
|
54
|
+
comments_max_length: Caràcters màxims per comentari (deixar a 0 el valor predeterminat)
|
|
54
55
|
customize_welcome_notification: Personalitza la notificació de benvinguda
|
|
55
56
|
default_locale: Idioma per defecte
|
|
56
57
|
description: Descripció
|
|
@@ -910,6 +911,7 @@ ca:
|
|
|
910
911
|
invalid: Hi ha hagut un problema en desbloquejar a les participants.
|
|
911
912
|
success: Participants desbloquejades correctament.
|
|
912
913
|
create:
|
|
914
|
+
no_user_found: No s'ha trobat aquesta participant.
|
|
913
915
|
success: Participant oficialitzada correctament.
|
|
914
916
|
destroy:
|
|
915
917
|
success: S'ha retirat correctament l'oficialització de la participant.
|
|
@@ -1096,10 +1098,10 @@ ca:
|
|
|
1096
1098
|
next_title: Següent element
|
|
1097
1099
|
previous: Anterior
|
|
1098
1100
|
previous_title: Element anterior
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1101
|
+
attachments:
|
|
1102
|
+
add_attachments: Afegir fitxer(s) adjunt(s)
|
|
1103
|
+
attachment_legend: Afegir una galeria de fitxers adjunts (opcional)
|
|
1104
|
+
edit_attachments: Edita els fitxers adjunts
|
|
1103
1105
|
static_page_topics:
|
|
1104
1106
|
create:
|
|
1105
1107
|
error: S'ha produït un error en crear un tema nou.
|
|
@@ -1315,6 +1317,11 @@ ca:
|
|
|
1315
1317
|
errors:
|
|
1316
1318
|
impersonate_user:
|
|
1317
1319
|
reason: Has d'indicar un motiu per a la gestió d'una participant no gestionada.
|
|
1320
|
+
file_help:
|
|
1321
|
+
attachment:
|
|
1322
|
+
explanation: 'Instruccions per al fitxer:'
|
|
1323
|
+
message_1: S'admeten fitxers CSV, JSON y Excel (.xlsx)
|
|
1324
|
+
message_2: Pels arxius CSV, el separador entre columnes ha de ser un punt i coma (";")
|
|
1318
1325
|
moderations:
|
|
1319
1326
|
actions:
|
|
1320
1327
|
expand: Expandir
|
data/config/locales/cs.yml
CHANGED
|
@@ -12,6 +12,7 @@ cs:
|
|
|
12
12
|
plural: Množné číslo
|
|
13
13
|
attachment:
|
|
14
14
|
attachment_collection_id: Složka
|
|
15
|
+
attachments: Přílohy
|
|
15
16
|
description: Popis
|
|
16
17
|
file: Soubor
|
|
17
18
|
title: Název přílohy nebo obrázku
|
|
@@ -50,7 +51,7 @@ cs:
|
|
|
50
51
|
alert_color: Upozornění
|
|
51
52
|
available_authorizations: Dostupná oprávnění
|
|
52
53
|
badges_enabled: Povolit odznaky
|
|
53
|
-
comments_max_length: Maximální
|
|
54
|
+
comments_max_length: Maximální počet znaků na komentář (ponechte 0 pro výchozí hodnotu)
|
|
54
55
|
customize_welcome_notification: Přizpůsobit uvítací oznámení
|
|
55
56
|
default_locale: Výchozí jazyk
|
|
56
57
|
description: Popis
|
|
@@ -1104,10 +1105,9 @@ cs:
|
|
|
1104
1105
|
next_title: Další položka
|
|
1105
1106
|
previous: Předchozí
|
|
1106
1107
|
previous_title: Předchozí položka
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
gallery_legend: Přidat galerii obrázků (volitelné)
|
|
1108
|
+
attachments:
|
|
1109
|
+
add_attachments: Přidat přílohy
|
|
1110
|
+
edit_attachments: Upravit přílohy
|
|
1111
1111
|
static_page_topics:
|
|
1112
1112
|
create:
|
|
1113
1113
|
error: Při vytváření nového tématu došlo k chybě.
|
|
@@ -1325,6 +1325,10 @@ cs:
|
|
|
1325
1325
|
errors:
|
|
1326
1326
|
impersonate_user:
|
|
1327
1327
|
reason: Musíte uvést důvod pro správu neřízeného účastníka.
|
|
1328
|
+
file_help:
|
|
1329
|
+
attachment:
|
|
1330
|
+
explanation: 'Pokyny pro soubor:'
|
|
1331
|
+
message_1: CSV, JSON a Excel (.xlsx) jsou podporovány
|
|
1328
1332
|
moderations:
|
|
1329
1333
|
actions:
|
|
1330
1334
|
expand: Rozbalit
|
data/config/locales/de.yml
CHANGED
|
@@ -50,7 +50,6 @@ de:
|
|
|
50
50
|
alert_color: Benachrichtigung
|
|
51
51
|
available_authorizations: Verfügbare Autorisierungen
|
|
52
52
|
badges_enabled: Abzeichen aktivieren
|
|
53
|
-
comments_max_length: Maximale Länge der Kommentare (0 für Standardwert)
|
|
54
53
|
customize_welcome_notification: Willkommens-Benachrichtigung anpassen
|
|
55
54
|
default_locale: Standardgebietsschema
|
|
56
55
|
description: Beschreibung
|
|
@@ -1080,10 +1079,6 @@ de:
|
|
|
1080
1079
|
next_title: Nächstes Element
|
|
1081
1080
|
previous: Zurück
|
|
1082
1081
|
previous_title: Vorheriges Element
|
|
1083
|
-
gallery:
|
|
1084
|
-
add_images: Bilder hinzufügen
|
|
1085
|
-
edit_images: Bilder bearbeiten
|
|
1086
|
-
gallery_legend: Bildergalerie hinzufügen (Optional)
|
|
1087
1082
|
static_page_topics:
|
|
1088
1083
|
create:
|
|
1089
1084
|
error: Beim Erstellen eines neuen Themas ist ein Fehler aufgetreten.
|
data/config/locales/el.yml
CHANGED
|
@@ -50,7 +50,6 @@ el:
|
|
|
50
50
|
alert_color: Ειδοποίηση
|
|
51
51
|
available_authorizations: Διαθέσιμες εγκρίσεις
|
|
52
52
|
badges_enabled: Ενεργοποίηση εμβλημάτων
|
|
53
|
-
comments_max_length: Μέγιστο μέγεθος σχολίων (Αφήστε το 0 για το προκαθορισμένο μέγεθος)
|
|
54
53
|
customize_welcome_notification: Προσαρμογή ειδοποίησης καλωσορίσματος
|
|
55
54
|
default_locale: Προεπιλεγμένες τοπικές ρυθμίσεις
|
|
56
55
|
description: Περιγραφή
|
|
@@ -780,11 +779,6 @@ el:
|
|
|
780
779
|
share_tokens:
|
|
781
780
|
actions:
|
|
782
781
|
destroy: Διαγραφή
|
|
783
|
-
shared:
|
|
784
|
-
gallery:
|
|
785
|
-
add_images: Προσθήκη εικόνων
|
|
786
|
-
edit_images: Επεξεργασία εικόνας
|
|
787
|
-
gallery_legend: Προσθήκη συλλογής εικόνων (προαιρετικά)
|
|
788
782
|
static_page_topics:
|
|
789
783
|
create:
|
|
790
784
|
error: Υπήρξε ένα πρόβλημα κατά τη δημιουργία ενός νέου θέματος.
|
data/config/locales/en.yml
CHANGED
|
@@ -12,6 +12,7 @@ en:
|
|
|
12
12
|
plural: Plural
|
|
13
13
|
attachment:
|
|
14
14
|
attachment_collection_id: Folder
|
|
15
|
+
attachments: Attachments
|
|
15
16
|
description: Description
|
|
16
17
|
file: File
|
|
17
18
|
title: Attachment or image name
|
|
@@ -50,7 +51,7 @@ en:
|
|
|
50
51
|
alert_color: Alert
|
|
51
52
|
available_authorizations: Available authorizations
|
|
52
53
|
badges_enabled: Enable badges
|
|
53
|
-
comments_max_length:
|
|
54
|
+
comments_max_length: Max characters per comment (Leave 0 for default value)
|
|
54
55
|
customize_welcome_notification: Customize welcome notification
|
|
55
56
|
default_locale: Default locale
|
|
56
57
|
description: Description
|
|
@@ -910,6 +911,7 @@ en:
|
|
|
910
911
|
invalid: There was a problem unblocking the participants.
|
|
911
912
|
success: Participants successfully unblocked.
|
|
912
913
|
create:
|
|
914
|
+
no_user_found: Participant was not found.
|
|
913
915
|
success: Participant successfully officialized.
|
|
914
916
|
destroy:
|
|
915
917
|
success: Participant successfully unofficialized.
|
|
@@ -1096,10 +1098,10 @@ en:
|
|
|
1096
1098
|
next_title: Next item
|
|
1097
1099
|
previous: Previous
|
|
1098
1100
|
previous_title: Previous item
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1101
|
+
attachments:
|
|
1102
|
+
add_attachments: Add attachments
|
|
1103
|
+
attachment_legend: Add an attachment gallery (Optional)
|
|
1104
|
+
edit_attachments: Edit attachments
|
|
1103
1105
|
static_page_topics:
|
|
1104
1106
|
create:
|
|
1105
1107
|
error: There was a problem creating a new topic.
|
|
@@ -1315,6 +1317,11 @@ en:
|
|
|
1315
1317
|
errors:
|
|
1316
1318
|
impersonate_user:
|
|
1317
1319
|
reason: You need to provide a reason when managing a non-managed participant.
|
|
1320
|
+
file_help:
|
|
1321
|
+
attachment:
|
|
1322
|
+
explanation: 'Guidance for file:'
|
|
1323
|
+
message_1: CSV, JSON and Excel (.xlsx) files are supported
|
|
1324
|
+
message_2: For CSV files, the separator between columns must be a semicolon (";")
|
|
1318
1325
|
moderations:
|
|
1319
1326
|
actions:
|
|
1320
1327
|
expand: Expand
|
data/config/locales/es-MX.yml
CHANGED
|
@@ -12,6 +12,7 @@ es-MX:
|
|
|
12
12
|
plural: Plural
|
|
13
13
|
attachment:
|
|
14
14
|
attachment_collection_id: Carpeta
|
|
15
|
+
attachments: Archivos adjuntos
|
|
15
16
|
description: Descripción
|
|
16
17
|
file: Archivo
|
|
17
18
|
title: Nombre del adjunto o imagen
|
|
@@ -50,7 +51,7 @@ es-MX:
|
|
|
50
51
|
alert_color: Alerta
|
|
51
52
|
available_authorizations: Autorizaciones disponibles
|
|
52
53
|
badges_enabled: Habilitar insignias
|
|
53
|
-
comments_max_length:
|
|
54
|
+
comments_max_length: Caracteres máximos por comentario (dejar 0 para el valor predeterminado)
|
|
54
55
|
customize_welcome_notification: Personalizar notificación de bienvenida
|
|
55
56
|
default_locale: Idioma predeterminado
|
|
56
57
|
description: Descripción
|
|
@@ -910,6 +911,7 @@ es-MX:
|
|
|
910
911
|
invalid: Se ha producido un error al desbloquear a las participantes.
|
|
911
912
|
success: Participantes desbloqueadas correctamente.
|
|
912
913
|
create:
|
|
914
|
+
no_user_found: No se ha encontrado a esta participante.
|
|
913
915
|
success: Participante oficializada correctamente.
|
|
914
916
|
destroy:
|
|
915
917
|
success: Se ha retirado correctamente la oficialización de la participante.
|
|
@@ -1096,10 +1098,10 @@ es-MX:
|
|
|
1096
1098
|
next_title: Siguiente elemento
|
|
1097
1099
|
previous: Anterior
|
|
1098
1100
|
previous_title: Elemento anterior
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1101
|
+
attachments:
|
|
1102
|
+
add_attachments: Agregar archivo(s) adjunto(s)
|
|
1103
|
+
attachment_legend: Añadir una galería de archivos adjuntos (opcional)
|
|
1104
|
+
edit_attachments: Editar los archivos adjuntos
|
|
1103
1105
|
static_page_topics:
|
|
1104
1106
|
create:
|
|
1105
1107
|
error: Se ha producido un error al crear un nuevo tema.
|
|
@@ -1315,6 +1317,11 @@ es-MX:
|
|
|
1315
1317
|
errors:
|
|
1316
1318
|
impersonate_user:
|
|
1317
1319
|
reason: Debes indicar un motivo para la gestión de una participante no gestionada.
|
|
1320
|
+
file_help:
|
|
1321
|
+
attachment:
|
|
1322
|
+
explanation: 'Instrucciones para el archivo:'
|
|
1323
|
+
message_1: Se admiten archivos CSV, JSON y Excel (.xlsx)
|
|
1324
|
+
message_2: Para archivos CSV, el separador entre columnas debe ser un punto y coma (";")
|
|
1318
1325
|
moderations:
|
|
1319
1326
|
actions:
|
|
1320
1327
|
expand: Expandir
|
data/config/locales/es-PY.yml
CHANGED
|
@@ -12,6 +12,7 @@ es-PY:
|
|
|
12
12
|
plural: Plural
|
|
13
13
|
attachment:
|
|
14
14
|
attachment_collection_id: Carpeta
|
|
15
|
+
attachments: Archivos adjuntos
|
|
15
16
|
description: Descripción
|
|
16
17
|
file: Archivo
|
|
17
18
|
title: Nombre del adjunto o imagen
|
|
@@ -50,7 +51,7 @@ es-PY:
|
|
|
50
51
|
alert_color: Alerta
|
|
51
52
|
available_authorizations: Autorizaciones disponibles
|
|
52
53
|
badges_enabled: Habilitar insignias
|
|
53
|
-
comments_max_length:
|
|
54
|
+
comments_max_length: Caracteres máximos por comentario (dejar 0 para el valor predeterminado)
|
|
54
55
|
customize_welcome_notification: Personalizar notificación de bienvenida
|
|
55
56
|
default_locale: Idioma predeterminado
|
|
56
57
|
description: Descripción
|
|
@@ -910,6 +911,7 @@ es-PY:
|
|
|
910
911
|
invalid: Se ha producido un error al desbloquear a las participantes.
|
|
911
912
|
success: Participantes desbloqueadas correctamente.
|
|
912
913
|
create:
|
|
914
|
+
no_user_found: No se ha encontrado a esta participante.
|
|
913
915
|
success: Participante oficializada correctamente.
|
|
914
916
|
destroy:
|
|
915
917
|
success: Se ha retirado correctamente la oficialización de la participante.
|
|
@@ -1096,10 +1098,10 @@ es-PY:
|
|
|
1096
1098
|
next_title: Siguiente elemento
|
|
1097
1099
|
previous: Anterior
|
|
1098
1100
|
previous_title: Elemento anterior
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1101
|
+
attachments:
|
|
1102
|
+
add_attachments: Agregar archivo(s) adjunto(s)
|
|
1103
|
+
attachment_legend: Añadir una galería de archivos adjuntos (opcional)
|
|
1104
|
+
edit_attachments: Editar los archivos adjuntos
|
|
1103
1105
|
static_page_topics:
|
|
1104
1106
|
create:
|
|
1105
1107
|
error: Se ha producido un error al crear un nuevo tema.
|
|
@@ -1315,6 +1317,11 @@ es-PY:
|
|
|
1315
1317
|
errors:
|
|
1316
1318
|
impersonate_user:
|
|
1317
1319
|
reason: Debes indicar un motivo para la gestión de una participante no gestionada.
|
|
1320
|
+
file_help:
|
|
1321
|
+
attachment:
|
|
1322
|
+
explanation: 'Instrucciones para el archivo:'
|
|
1323
|
+
message_1: Se admiten archivos CSV, JSON y Excel (.xlsx)
|
|
1324
|
+
message_2: Para archivos CSV, el separador entre columnas debe ser un punto y coma (";")
|
|
1318
1325
|
moderations:
|
|
1319
1326
|
actions:
|
|
1320
1327
|
expand: Expandir
|