decidim-admin 0.31.5 → 0.31.6
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_newsletter.rb +1 -1
- data/app/commands/decidim/admin/create_taxonomy_filter.rb +16 -2
- data/app/commands/decidim/admin/update_taxonomy_filter.rb +24 -6
- data/app/controllers/decidim/admin/block_user_controller.rb +2 -0
- data/app/controllers/decidim/admin/newsletters_controller.rb +1 -0
- data/app/controllers/decidim/admin/officializations_controller.rb +2 -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/attachment_collections/index.html.erb +1 -1
- data/app/views/decidim/admin/components/_actions.html.erb +1 -1
- data/app/views/decidim/admin/moderations/_moderation-tr.html.erb +1 -1
- data/app/views/decidim/admin/officializations/show_email.html.erb +7 -1
- data/app/views/decidim/admin/shared/_attachments.html.erb +15 -0
- data/app/views/decidim/admin/taxonomy_filters/_table.html.erb +2 -2
- data/app/views/layouts/decidim/admin/_application.html.erb +1 -1
- 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 +15 -5
- data/config/locales/ca.yml +15 -5
- data/config/locales/cs.yml +12 -5
- data/config/locales/de.yml +4 -5
- data/config/locales/el.yml +0 -6
- data/config/locales/en.yml +15 -5
- data/config/locales/es-MX.yml +15 -5
- data/config/locales/es-PY.yml +15 -5
- data/config/locales/es.yml +15 -5
- data/config/locales/eu.yml +19 -9
- data/config/locales/fi-plain.yml +14 -4
- data/config/locales/fi.yml +14 -4
- data/config/locales/fr-CA.yml +52 -5
- data/config/locales/fr.yml +52 -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 +1 -4
- data/config/locales/ja.yml +17 -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 +7 -12
- 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 +2 -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/lib/decidim/admin/version.rb +1 -1
- metadata +9 -9
- 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: 85a91a0ec3c1ea347bf005fedb3b2ff0a6409a627098fa27f8b2934040d592d9
|
|
4
|
+
data.tar.gz: c84548b46b2c50b89a30db898f810217de60b2d5fb8cf602ad6c764ea6d2d3e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b4dabe28198f4de1d361c820af7cebe1cd5eb02e541bbee7fe4deb0183b79f252177b253bc647157e2857e171dcaaf32265405b1352237a9f13615feb5554af
|
|
7
|
+
data.tar.gz: a661711b289811f7f6890a3afc486c73dd48d13791c57244964bed5dcd1013bdd3574118ced21cad55be8907d0296290e2614ac5086a7a9c817f0a4e6682f27c
|
|
@@ -31,7 +31,7 @@ module Decidim
|
|
|
31
31
|
@content_block = content_block
|
|
32
32
|
end
|
|
33
33
|
on(:invalid) do
|
|
34
|
-
raise "There was a problem persisting the changes to the content block"
|
|
34
|
+
raise Decidim::Commands::HookError, "There was a problem persisting the changes to the content block"
|
|
35
35
|
end
|
|
36
36
|
end
|
|
37
37
|
end
|
|
@@ -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
|
|
@@ -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
|
|
@@ -10,6 +10,8 @@ module Decidim
|
|
|
10
10
|
def new
|
|
11
11
|
enforce_permission_to :block, :admin_user
|
|
12
12
|
|
|
13
|
+
return redirect_to(officializations_path, alert: I18n.t("officializations.block.no_user", scope: "decidim.admin")) unless user
|
|
14
|
+
|
|
13
15
|
@form = form(BlockUserForm).from_model(user)
|
|
14
16
|
@form.hide = params[:hide] || false
|
|
15
17
|
end
|
|
@@ -55,6 +55,7 @@ module Decidim
|
|
|
55
55
|
|
|
56
56
|
on(:invalid) do |newsletter|
|
|
57
57
|
@newsletter = newsletter
|
|
58
|
+
@form.images = content_block.images_container
|
|
58
59
|
flash.now[:error] = I18n.t("newsletters.create.error", scope: "decidim.admin")
|
|
59
60
|
render action: :new, status: :unprocessable_entity
|
|
60
61
|
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
|
|
|
@@ -43,7 +43,7 @@ module Decidim
|
|
|
43
43
|
def items_collection
|
|
44
44
|
return [] unless root_taxonomy
|
|
45
45
|
|
|
46
|
-
@items_collection ||=
|
|
46
|
+
@items_collection ||= build_items_collection
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
def root_taxonomy
|
|
@@ -61,22 +61,24 @@ module Decidim
|
|
|
61
61
|
|
|
62
62
|
private
|
|
63
63
|
|
|
64
|
-
def
|
|
65
|
-
|
|
64
|
+
def build_items_collection
|
|
65
|
+
children_by_parent_id = root_taxonomy.all_children.group_by(&:parent_id)
|
|
66
|
+
build_subtree(root_taxonomy.id, children_by_parent_id)
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
def build_subtree(parent_id, children_by_parent_id)
|
|
70
|
+
Array(children_by_parent_id[parent_id]).map do |item|
|
|
66
71
|
Item.new(
|
|
67
72
|
name: translated_attribute(item.name),
|
|
68
73
|
value: item.id,
|
|
69
|
-
children:
|
|
74
|
+
children: build_subtree(item.id, children_by_parent_id)
|
|
70
75
|
)
|
|
71
76
|
end
|
|
72
77
|
end
|
|
73
78
|
|
|
74
79
|
def valid_taxonomy_items
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
root_taxonomy.all_children.map(&:id).include?(item.to_i)
|
|
79
|
-
end
|
|
80
|
+
valid_ids = root_taxonomy ? root_taxonomy.all_children.pluck(:id).to_set : Set.new
|
|
81
|
+
return if taxonomy_items.all? { |item| valid_ids.include?(item.to_i) }
|
|
80
82
|
|
|
81
83
|
errors.add(:taxonomy_items, :invalid)
|
|
82
84
|
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;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
<% end %>
|
|
52
52
|
<% else %>
|
|
53
53
|
<div class="dropdown__button-disabled">
|
|
54
|
-
<%= with_tooltip t("tooltips.deleted_attachment_collections_info", scope: "decidim.admin") do %>
|
|
54
|
+
<%= with_tooltip t("tooltips.deleted_attachment_collections_info", scope: "decidim.admin"), class: :left do %>
|
|
55
55
|
<%= icon "delete-bin-line", class: "text-gray" %>
|
|
56
56
|
<span>
|
|
57
57
|
<%= t("actions.destroy", scope: "decidim.admin") %>
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
<hr>
|
|
99
99
|
<li class="dropdown__item">
|
|
100
100
|
<div class="dropdown__button-disabled">
|
|
101
|
-
<%= with_tooltip t("tooltips.deleted_component_info", scope: "decidim.admin") do %>
|
|
101
|
+
<%= with_tooltip t("tooltips.deleted_component_info", scope: "decidim.admin"), class: :left do %>
|
|
102
102
|
<%= icon "delete-bin-line", class: "text-gray" %>
|
|
103
103
|
<span>
|
|
104
104
|
<%= t("actions.soft_delete", scope: "decidim.admin") %>
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
<li class="dropdown__item">
|
|
90
90
|
<% if moderation.reportable.respond_to?(:commentable) && moderation.reportable.commentable.try(:hidden?) %>
|
|
91
91
|
<div class="dropdown__button-disabled">
|
|
92
|
-
<%= with_tooltip(t("actions.parent_hidden", scope: "decidim.moderations"), title: t("actions.parent_hidden", scope: "decidim.moderations")) do %>
|
|
92
|
+
<%= with_tooltip(t("actions.parent_hidden", scope: "decidim.moderations"), title: t("actions.parent_hidden", scope: "decidim.moderations"), class: :left) do %>
|
|
93
93
|
<%= icon "eye-line", class: "text-gray" %>
|
|
94
94
|
<span><%= t("actions.unhide", scope: "decidim.moderations") %></span>
|
|
95
95
|
<% end %>
|
|
@@ -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>
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
</li>
|
|
37
37
|
<% else %>
|
|
38
38
|
<div class="dropdown__button-disabled">
|
|
39
|
-
<%= with_tooltip t("tooltips.cannot_edit_taxonomy_filter", scope: "decidim.admin") do %>
|
|
39
|
+
<%= with_tooltip t("tooltips.cannot_edit_taxonomy_filter", scope: "decidim.admin"), class: :left do %>
|
|
40
40
|
<%= icon "pencil-line", class: "text-gray" %>
|
|
41
41
|
<%= t(".edit") %>
|
|
42
42
|
<% end %>
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
</li>
|
|
55
55
|
<% else %>
|
|
56
56
|
<div class="dropdown__button-disabled">
|
|
57
|
-
<%= with_tooltip t("tooltips.cannot_destroy_taxonomy_filter", scope: "decidim.admin") do %>
|
|
57
|
+
<%= with_tooltip t("tooltips.cannot_destroy_taxonomy_filter", scope: "decidim.admin"), class: :left do %>
|
|
58
58
|
<%= icon "delete-bin-line", class: "text-gray" %>
|
|
59
59
|
<%= t(".destroy") %>
|
|
60
60
|
<% end %>
|
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: الوصف
|
|
@@ -715,10 +714,6 @@ ar:
|
|
|
715
714
|
'true': 'نعم'
|
|
716
715
|
new:
|
|
717
716
|
create: إنشاء
|
|
718
|
-
shared:
|
|
719
|
-
gallery:
|
|
720
|
-
add_images: إضافة صور
|
|
721
|
-
edit_images: تعديل الصورة
|
|
722
717
|
static_page_topics:
|
|
723
718
|
create:
|
|
724
719
|
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: Описание
|
|
@@ -850,10 +849,6 @@ bg:
|
|
|
850
849
|
next_title: Следващ елемент
|
|
851
850
|
previous: Предишен
|
|
852
851
|
previous_title: Предишен елемент
|
|
853
|
-
gallery:
|
|
854
|
-
add_images: Добави изображения
|
|
855
|
-
edit_images: Редактиране на изображения
|
|
856
|
-
gallery_legend: Добавяне на галерия с изображения (незадължително)
|
|
857
852
|
static_page_topics:
|
|
858
853
|
create:
|
|
859
854
|
error: Възникна проблем при създаването на нова тема.
|
data/config/locales/bs-BA.yml
CHANGED
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
|
|
@@ -45,7 +46,7 @@ ca-IT:
|
|
|
45
46
|
alert_color: Alerta
|
|
46
47
|
available_authorizations: Autoritzacions disponibles
|
|
47
48
|
badges_enabled: Habilitar les ensenyes
|
|
48
|
-
comments_max_length:
|
|
49
|
+
comments_max_length: Caràcters màxims per comentari (deixar a 0 el valor predeterminat)
|
|
49
50
|
customize_welcome_notification: Personalitza la notificació de benvinguda
|
|
50
51
|
default_locale: Idioma per defecte
|
|
51
52
|
description: Descripció
|
|
@@ -834,6 +835,7 @@ ca-IT:
|
|
|
834
835
|
officializations:
|
|
835
836
|
block:
|
|
836
837
|
error: Hi ha hagut un problema en bloquejar a la participant.
|
|
838
|
+
no_user: No s'ha trobat cap usuària
|
|
837
839
|
success: Participant bloquejada correctament.
|
|
838
840
|
bulk_action:
|
|
839
841
|
block:
|
|
@@ -843,6 +845,7 @@ ca-IT:
|
|
|
843
845
|
invalid: Hi ha hagut un problema en desbloquejar a les participants.
|
|
844
846
|
success: Participants desbloquejades correctament.
|
|
845
847
|
create:
|
|
848
|
+
no_user_found: No s'ha trobat aquesta participant.
|
|
846
849
|
success: Participant oficialitzada correctament.
|
|
847
850
|
destroy:
|
|
848
851
|
success: S'ha retirat correctament l'oficialització de la participant.
|
|
@@ -867,6 +870,8 @@ ca-IT:
|
|
|
867
870
|
badge: Ensenya d'oficialització
|
|
868
871
|
officialize: Oficialitza
|
|
869
872
|
title: Oficialitza la participant "%{name}"
|
|
873
|
+
show_email:
|
|
874
|
+
no_user: No s'ha trobat cap usuària
|
|
870
875
|
show_email_modal:
|
|
871
876
|
description: Si necessites contactar a una participant directament pots clicar al botó Mostra per veure la seva adreça de correu electrònic. Aquesta acció es registrarà.
|
|
872
877
|
email_address: Adreça de correu electrònic
|
|
@@ -1067,10 +1072,10 @@ ca-IT:
|
|
|
1067
1072
|
next_title: Següent element
|
|
1068
1073
|
previous: Anterior
|
|
1069
1074
|
previous_title: Element anterior
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1075
|
+
attachments:
|
|
1076
|
+
add_attachments: Afegir fitxer(s) adjunt(s)
|
|
1077
|
+
attachment_legend: Afegir una galeria de fitxers adjunts (opcional)
|
|
1078
|
+
edit_attachments: Edita els fitxers adjunts
|
|
1074
1079
|
static_page_topics:
|
|
1075
1080
|
create:
|
|
1076
1081
|
error: S'ha produït un error en crear un tema nou.
|
|
@@ -1285,6 +1290,11 @@ ca-IT:
|
|
|
1285
1290
|
errors:
|
|
1286
1291
|
impersonate_user:
|
|
1287
1292
|
reason: Has d'indicar un motiu per a la gestió d'una participant no gestionada.
|
|
1293
|
+
file_help:
|
|
1294
|
+
attachment:
|
|
1295
|
+
explanation: 'Instruccions per al fitxer:'
|
|
1296
|
+
message_1: S'admeten fitxers CSV, JSON y Excel (.xlsx)
|
|
1297
|
+
message_2: Pels arxius CSV, el separador entre columnes ha de ser un punt i coma (";")
|
|
1288
1298
|
moderations:
|
|
1289
1299
|
actions:
|
|
1290
1300
|
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
|
|
@@ -45,7 +46,7 @@ ca:
|
|
|
45
46
|
alert_color: Alerta
|
|
46
47
|
available_authorizations: Autoritzacions disponibles
|
|
47
48
|
badges_enabled: Habilitar les ensenyes
|
|
48
|
-
comments_max_length:
|
|
49
|
+
comments_max_length: Caràcters màxims per comentari (deixar a 0 el valor predeterminat)
|
|
49
50
|
customize_welcome_notification: Personalitza la notificació de benvinguda
|
|
50
51
|
default_locale: Idioma per defecte
|
|
51
52
|
description: Descripció
|
|
@@ -834,6 +835,7 @@ ca:
|
|
|
834
835
|
officializations:
|
|
835
836
|
block:
|
|
836
837
|
error: Hi ha hagut un problema en bloquejar a la participant.
|
|
838
|
+
no_user: No s'ha trobat cap usuària
|
|
837
839
|
success: Participant bloquejada correctament.
|
|
838
840
|
bulk_action:
|
|
839
841
|
block:
|
|
@@ -843,6 +845,7 @@ ca:
|
|
|
843
845
|
invalid: Hi ha hagut un problema en desbloquejar a les participants.
|
|
844
846
|
success: Participants desbloquejades correctament.
|
|
845
847
|
create:
|
|
848
|
+
no_user_found: No s'ha trobat aquesta participant.
|
|
846
849
|
success: Participant oficialitzada correctament.
|
|
847
850
|
destroy:
|
|
848
851
|
success: S'ha retirat correctament l'oficialització de la participant.
|
|
@@ -867,6 +870,8 @@ ca:
|
|
|
867
870
|
badge: Ensenya d'oficialització
|
|
868
871
|
officialize: Oficialitza
|
|
869
872
|
title: Oficialitza la participant "%{name}"
|
|
873
|
+
show_email:
|
|
874
|
+
no_user: No s'ha trobat cap usuària
|
|
870
875
|
show_email_modal:
|
|
871
876
|
description: Si necessites contactar a una participant directament pots clicar al botó Mostra per veure la seva adreça de correu electrònic. Aquesta acció es registrarà.
|
|
872
877
|
email_address: Adreça de correu electrònic
|
|
@@ -1067,10 +1072,10 @@ ca:
|
|
|
1067
1072
|
next_title: Següent element
|
|
1068
1073
|
previous: Anterior
|
|
1069
1074
|
previous_title: Element anterior
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1075
|
+
attachments:
|
|
1076
|
+
add_attachments: Afegir fitxer(s) adjunt(s)
|
|
1077
|
+
attachment_legend: Afegir una galeria de fitxers adjunts (opcional)
|
|
1078
|
+
edit_attachments: Edita els fitxers adjunts
|
|
1074
1079
|
static_page_topics:
|
|
1075
1080
|
create:
|
|
1076
1081
|
error: S'ha produït un error en crear un tema nou.
|
|
@@ -1285,6 +1290,11 @@ ca:
|
|
|
1285
1290
|
errors:
|
|
1286
1291
|
impersonate_user:
|
|
1287
1292
|
reason: Has d'indicar un motiu per a la gestió d'una participant no gestionada.
|
|
1293
|
+
file_help:
|
|
1294
|
+
attachment:
|
|
1295
|
+
explanation: 'Instruccions per al fitxer:'
|
|
1296
|
+
message_1: S'admeten fitxers CSV, JSON y Excel (.xlsx)
|
|
1297
|
+
message_2: Pels arxius CSV, el separador entre columnes ha de ser un punt i coma (";")
|
|
1288
1298
|
moderations:
|
|
1289
1299
|
actions:
|
|
1290
1300
|
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
|
|
@@ -45,7 +46,7 @@ cs:
|
|
|
45
46
|
alert_color: Upozornění
|
|
46
47
|
available_authorizations: Dostupná oprávnění
|
|
47
48
|
badges_enabled: Povolit odznaky
|
|
48
|
-
comments_max_length: Maximální
|
|
49
|
+
comments_max_length: Maximální počet znaků na komentář (ponechte 0 pro výchozí hodnotu)
|
|
49
50
|
customize_welcome_notification: Přizpůsobit uvítací oznámení
|
|
50
51
|
default_locale: Výchozí jazyk
|
|
51
52
|
description: Popis
|
|
@@ -842,6 +843,7 @@ cs:
|
|
|
842
843
|
officializations:
|
|
843
844
|
block:
|
|
844
845
|
error: Při blokování účastníka došlo k chybě.
|
|
846
|
+
no_user: Nebyl nalezen žádný uživatel
|
|
845
847
|
success: Účastník byl úspěšně zablokován.
|
|
846
848
|
bulk_action:
|
|
847
849
|
block:
|
|
@@ -875,6 +877,8 @@ cs:
|
|
|
875
877
|
badge: Odznak ověření
|
|
876
878
|
officialize: Ověřit
|
|
877
879
|
title: Oficializovat účastníka "%{name}"
|
|
880
|
+
show_email:
|
|
881
|
+
no_user: Nebyl nalezen žádný uživatel
|
|
878
882
|
show_email_modal:
|
|
879
883
|
description: Pokud potřebujete kontaktovat účastníka, můžete kliknout na tlačítko Zobrazit pro zobrazení e-mailové adresy. Tato akce bude zaznamenána.
|
|
880
884
|
email_address: E-mailová adresa
|
|
@@ -1077,10 +1081,9 @@ cs:
|
|
|
1077
1081
|
next_title: Další položka
|
|
1078
1082
|
previous: Předchozí
|
|
1079
1083
|
previous_title: Předchozí položka
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
gallery_legend: Přidat galerii obrázků (volitelné)
|
|
1084
|
+
attachments:
|
|
1085
|
+
add_attachments: Přidat přílohy
|
|
1086
|
+
edit_attachments: Upravit přílohy
|
|
1084
1087
|
static_page_topics:
|
|
1085
1088
|
create:
|
|
1086
1089
|
error: Při vytváření nového tématu došlo k chybě.
|
|
@@ -1296,6 +1299,10 @@ cs:
|
|
|
1296
1299
|
errors:
|
|
1297
1300
|
impersonate_user:
|
|
1298
1301
|
reason: Musíte uvést důvod pro správu neřízeného účastníka.
|
|
1302
|
+
file_help:
|
|
1303
|
+
attachment:
|
|
1304
|
+
explanation: 'Pokyny pro soubor:'
|
|
1305
|
+
message_1: CSV, JSON a Excel (.xlsx) jsou podporovány
|
|
1299
1306
|
moderations:
|
|
1300
1307
|
actions:
|
|
1301
1308
|
expand: Rozbalit
|
data/config/locales/de.yml
CHANGED
|
@@ -45,7 +45,6 @@ de:
|
|
|
45
45
|
alert_color: Benachrichtigung
|
|
46
46
|
available_authorizations: Verfügbare Autorisierungen
|
|
47
47
|
badges_enabled: Abzeichen aktivieren
|
|
48
|
-
comments_max_length: Maximale Länge der Kommentare (0 für Standardwert)
|
|
49
48
|
customize_welcome_notification: Willkommens-Benachrichtigung anpassen
|
|
50
49
|
default_locale: Standardgebietsschema
|
|
51
50
|
description: Beschreibung
|
|
@@ -265,6 +264,8 @@ de:
|
|
|
265
264
|
edit:
|
|
266
265
|
title: Ordner bearbeiten
|
|
267
266
|
update: Aktualisieren
|
|
267
|
+
index:
|
|
268
|
+
attachment_collections_title: Ordner für Anhänge
|
|
268
269
|
new:
|
|
269
270
|
create: Erstellen
|
|
270
271
|
title: Neuer Ordner
|
|
@@ -280,6 +281,8 @@ de:
|
|
|
280
281
|
edit:
|
|
281
282
|
title: Anhang bearbeiten
|
|
282
283
|
update: Aktualisieren
|
|
284
|
+
index:
|
|
285
|
+
attachments_title: Anhänge
|
|
283
286
|
new:
|
|
284
287
|
create: Anhang erstellen
|
|
285
288
|
title: Neuer Anhang
|
|
@@ -1061,10 +1064,6 @@ de:
|
|
|
1061
1064
|
next_title: Nächstes Element
|
|
1062
1065
|
previous: Zurück
|
|
1063
1066
|
previous_title: Vorheriges Element
|
|
1064
|
-
gallery:
|
|
1065
|
-
add_images: Bilder hinzufügen
|
|
1066
|
-
edit_images: Bilder bearbeiten
|
|
1067
|
-
gallery_legend: Bildergalerie hinzufügen (Optional)
|
|
1068
1067
|
static_page_topics:
|
|
1069
1068
|
create:
|
|
1070
1069
|
error: Beim Erstellen eines neuen Themas ist ein Fehler aufgetreten.
|
data/config/locales/el.yml
CHANGED
|
@@ -45,7 +45,6 @@ el:
|
|
|
45
45
|
alert_color: Ειδοποίηση
|
|
46
46
|
available_authorizations: Διαθέσιμες εγκρίσεις
|
|
47
47
|
badges_enabled: Ενεργοποίηση εμβλημάτων
|
|
48
|
-
comments_max_length: Μέγιστο μέγεθος σχολίων (Αφήστε το 0 για το προκαθορισμένο μέγεθος)
|
|
49
48
|
customize_welcome_notification: Προσαρμογή ειδοποίησης καλωσορίσματος
|
|
50
49
|
default_locale: Προεπιλεγμένες τοπικές ρυθμίσεις
|
|
51
50
|
description: Περιγραφή
|
|
@@ -807,11 +806,6 @@ el:
|
|
|
807
806
|
share_tokens:
|
|
808
807
|
actions:
|
|
809
808
|
destroy: Διαγραφή
|
|
810
|
-
shared:
|
|
811
|
-
gallery:
|
|
812
|
-
add_images: Προσθήκη εικόνων
|
|
813
|
-
edit_images: Επεξεργασία εικόνας
|
|
814
|
-
gallery_legend: Προσθήκη συλλογής εικόνων (προαιρετικά)
|
|
815
809
|
static_page_topics:
|
|
816
810
|
create:
|
|
817
811
|
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
|
|
@@ -45,7 +46,7 @@ en:
|
|
|
45
46
|
alert_color: Alert
|
|
46
47
|
available_authorizations: Available authorizations
|
|
47
48
|
badges_enabled: Enable badges
|
|
48
|
-
comments_max_length:
|
|
49
|
+
comments_max_length: Max characters per comment (Leave 0 for default value)
|
|
49
50
|
customize_welcome_notification: Customize welcome notification
|
|
50
51
|
default_locale: Default locale
|
|
51
52
|
description: Description
|
|
@@ -834,6 +835,7 @@ en:
|
|
|
834
835
|
officializations:
|
|
835
836
|
block:
|
|
836
837
|
error: There was a problem blocking the participant.
|
|
838
|
+
no_user: No user found
|
|
837
839
|
success: Participant successfully blocked.
|
|
838
840
|
bulk_action:
|
|
839
841
|
block:
|
|
@@ -843,6 +845,7 @@ en:
|
|
|
843
845
|
invalid: There was a problem unblocking the participants.
|
|
844
846
|
success: Participants successfully unblocked.
|
|
845
847
|
create:
|
|
848
|
+
no_user_found: Participant was not found.
|
|
846
849
|
success: Participant successfully officialized.
|
|
847
850
|
destroy:
|
|
848
851
|
success: Participant successfully unofficialized.
|
|
@@ -867,6 +870,8 @@ en:
|
|
|
867
870
|
badge: Officialization badge
|
|
868
871
|
officialize: Officialize
|
|
869
872
|
title: Officialize participant "%{name}"
|
|
873
|
+
show_email:
|
|
874
|
+
no_user: No user found
|
|
870
875
|
show_email_modal:
|
|
871
876
|
description: If you need to contact a participant directly, you can click on the Show button to see their email address. This action will be logged.
|
|
872
877
|
email_address: Email address
|
|
@@ -1067,10 +1072,10 @@ en:
|
|
|
1067
1072
|
next_title: Next item
|
|
1068
1073
|
previous: Previous
|
|
1069
1074
|
previous_title: Previous item
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1075
|
+
attachments:
|
|
1076
|
+
add_attachments: Add attachments
|
|
1077
|
+
attachment_legend: Add an attachment gallery (Optional)
|
|
1078
|
+
edit_attachments: Edit attachments
|
|
1074
1079
|
static_page_topics:
|
|
1075
1080
|
create:
|
|
1076
1081
|
error: There was a problem creating a new topic.
|
|
@@ -1285,6 +1290,11 @@ en:
|
|
|
1285
1290
|
errors:
|
|
1286
1291
|
impersonate_user:
|
|
1287
1292
|
reason: You need to provide a reason when managing a non-managed participant.
|
|
1293
|
+
file_help:
|
|
1294
|
+
attachment:
|
|
1295
|
+
explanation: 'Guidance for file:'
|
|
1296
|
+
message_1: CSV, JSON and Excel (.xlsx) files are supported
|
|
1297
|
+
message_2: For CSV files, the separator between columns must be a semicolon (";")
|
|
1288
1298
|
moderations:
|
|
1289
1299
|
actions:
|
|
1290
1300
|
expand: Expand
|