decidim-admin 0.31.5 → 0.31.7

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.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/admin/create_newsletter.rb +1 -1
  3. data/app/commands/decidim/admin/create_taxonomy_filter.rb +16 -2
  4. data/app/commands/decidim/admin/update_taxonomy_filter.rb +24 -6
  5. data/app/controllers/decidim/admin/block_user_controller.rb +2 -0
  6. data/app/controllers/decidim/admin/newsletters_controller.rb +1 -0
  7. data/app/controllers/decidim/admin/officializations_controller.rb +2 -0
  8. data/app/forms/decidim/admin/taxonomy_filter_form.rb +11 -9
  9. data/app/packs/stylesheets/decidim/admin/application.scss +1 -1
  10. data/app/views/decidim/admin/attachment_collections/index.html.erb +1 -1
  11. data/app/views/decidim/admin/components/_actions.html.erb +1 -1
  12. data/app/views/decidim/admin/moderations/_moderation-tr.html.erb +1 -1
  13. data/app/views/decidim/admin/officializations/show_email.html.erb +7 -1
  14. data/app/views/decidim/admin/shared/_attachments.html.erb +15 -0
  15. data/app/views/decidim/admin/taxonomy_filters/_table.html.erb +2 -2
  16. data/app/views/layouts/decidim/admin/_application.html.erb +1 -1
  17. data/config/locales/ar.yml +0 -5
  18. data/config/locales/bg.yml +0 -5
  19. data/config/locales/bs-BA.yml +0 -4
  20. data/config/locales/ca-IT.yml +15 -5
  21. data/config/locales/ca.yml +15 -5
  22. data/config/locales/cs.yml +16 -5
  23. data/config/locales/de.yml +4 -5
  24. data/config/locales/el.yml +0 -6
  25. data/config/locales/en.yml +15 -5
  26. data/config/locales/es-MX.yml +15 -5
  27. data/config/locales/es-PY.yml +15 -5
  28. data/config/locales/es.yml +15 -5
  29. data/config/locales/eu.yml +19 -9
  30. data/config/locales/fi-plain.yml +14 -4
  31. data/config/locales/fi.yml +14 -4
  32. data/config/locales/fr-CA.yml +55 -5
  33. data/config/locales/fr.yml +55 -5
  34. data/config/locales/gl.yml +0 -6
  35. data/config/locales/he-IL.yml +0 -1
  36. data/config/locales/hu.yml +0 -6
  37. data/config/locales/it.yml +1 -4
  38. data/config/locales/ja.yml +17 -7
  39. data/config/locales/kaa.yml +0 -4
  40. data/config/locales/ko.yml +0 -6
  41. data/config/locales/lb.yml +0 -5
  42. data/config/locales/lt.yml +0 -6
  43. data/config/locales/lv.yml +0 -4
  44. data/config/locales/nl.yml +0 -6
  45. data/config/locales/no.yml +0 -6
  46. data/config/locales/pl.yml +0 -5
  47. data/config/locales/pt-BR.yml +7 -12
  48. data/config/locales/pt.yml +0 -5
  49. data/config/locales/ro-RO.yml +0 -6
  50. data/config/locales/sk.yml +3 -6
  51. data/config/locales/sl.yml +0 -1
  52. data/config/locales/sq-AL.yml +0 -1
  53. data/config/locales/sr-CS.yml +0 -4
  54. data/config/locales/sv.yml +2 -5
  55. data/config/locales/tr-TR.yml +35 -12
  56. data/config/locales/zh-CN.yml +0 -5
  57. data/config/locales/zh-TW.yml +0 -6
  58. data/lib/decidim/admin/version.rb +1 -1
  59. metadata +9 -9
  60. 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: 48bd94990d51357974787bc25cfbd13914a40a9599a49476cc05a98b911f6d2b
4
- data.tar.gz: 4b69c58ad3847b99e95df3abd1994705750dc9835f9304d3f503ede6e5242cff
3
+ metadata.gz: 37efb53a5b1d59ff4f4465964f1648eeda1c75d572deb2a3fe6e15163c4fea6d
4
+ data.tar.gz: 74cf053490a5d2a6cc2e87e48efd57722847538f3d17ecdd3866bf28111132b8
5
5
  SHA512:
6
- metadata.gz: 8ec7c974ac74a0aa1d22faf5a04e49a04db5e72516491867cdb21eeb3c942e2abe2d04bd90fe147d42f0531fd7d50532877a985dad15dda61c05908023705f2a
7
- data.tar.gz: 6c1c57714f70737bd3411c94a809b54b539ee08a4f9f79c0beb74531b2f0e07a8c5ea819d031f5847953bde878fd9784cf66b41d4118ca6d3ba9fbca27865035
6
+ metadata.gz: f69771fc26a2b9ee77f16fd9874a464b41e9306c999db8f46e205bdc349f9d75a33ccedfc04424c0a1a2879f80f507140c079b196167b169998272baa62b124d
7
+ data.tar.gz: b41b610a2944dea1e0382705c92f0e8de740d54c618295b65e7f2187c14e4b49ba52364a43fbd2ec09490322dd6312cad3a9dda3d6a61dd0c39498d0ad98c07e
@@ -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, :filter_items, :internal_name, :name, :participatory_space_manifests
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: form.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 create a new taxonomy filter in the
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 :filter_items, :internal_name, :name, :participatory_space_manifests
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 run_before_hooks
15
- resource.filter_items.destroy_all
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: form.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 ||= map_items_collection(root_taxonomy)
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 map_items_collection(taxonomy)
65
- taxonomy.children.map do |item|
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: map_items_collection(item)
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
- return if taxonomy_items.all? do |item|
76
- next unless root_taxonomy
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/tribute";
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 %>
@@ -1 +1,7 @@
1
- <%= link_to user.email, "mailto:#{user.email}" %>
1
+ <% if user.present? %>
2
+ <%= link_to user.email, "mailto:#{user.email}" %>
3
+ <% else %>
4
+ <div class="flash alert my-0">
5
+ <%= t(".no_user") %>
6
+ </div>
7
+ <% 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 %>
@@ -11,7 +11,7 @@
11
11
  </head>
12
12
  <body>
13
13
 
14
- <main class="main">
14
+ <main class="main" role="main">
15
15
  <div class="layout-wrapper">
16
16
  <div class="block md:hidden col-start-1 col-end-2">
17
17
  <%= render partial: "layouts/decidim/admin/title_bar_responsive" %>
@@ -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: كانت هناك مشكلة في إنشاء موضوع جديد.
@@ -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: Възникна проблем при създаването на нова тема.
@@ -452,10 +452,6 @@ bs:
452
452
  update: Ažuriraj
453
453
  new:
454
454
  create: Stvori
455
- shared:
456
- gallery:
457
- add_images: Dodaj slike
458
- gallery_legend: Dodaj galeriju slika (opciono)
459
455
  titles:
460
456
  area_types: Tipovi oblasti
461
457
  pages: Stranice
@@ -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: Longitud màxima dels comentaris (deixa 0 si vols mantenir la configuració per defecte)
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
- gallery:
1071
- add_images: Afegir imatges
1072
- edit_images: Editar imatges
1073
- gallery_legend: Afegir una galeria d'imatges (opcional)
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
@@ -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: Longitud màxima dels comentaris (deixa 0 si vols mantenir la configuració per defecte)
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
- gallery:
1071
- add_images: Afegir imatges
1072
- edit_images: Editar imatges
1073
- gallery_legend: Afegir una galeria d'imatges (opcional)
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
@@ -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í délka komentáře (ponechte 0 pro výchozí hodnotu)
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
@@ -768,6 +769,7 @@ cs:
768
769
  title: Šablony zpravodaje
769
770
  use_template: Použít tuto šablonu
770
771
  show:
772
+ preview: 'Náhled šablony: %{template_name}'
771
773
  use_template: Použít tuto šablonu
772
774
  newsletters:
773
775
  confirm_recipients:
@@ -842,6 +844,7 @@ cs:
842
844
  officializations:
843
845
  block:
844
846
  error: Při blokování účastníka došlo k chybě.
847
+ no_user: Nebyl nalezen žádný uživatel
845
848
  success: Účastník byl úspěšně zablokován.
846
849
  bulk_action:
847
850
  block:
@@ -875,6 +878,8 @@ cs:
875
878
  badge: Odznak ověření
876
879
  officialize: Ověřit
877
880
  title: Oficializovat účastníka "%{name}"
881
+ show_email:
882
+ no_user: Nebyl nalezen žádný uživatel
878
883
  show_email_modal:
879
884
  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
885
  email_address: E-mailová adresa
@@ -1077,10 +1082,10 @@ cs:
1077
1082
  next_title: Další položka
1078
1083
  previous: Předchozí
1079
1084
  previous_title: Předchozí položka
1080
- gallery:
1081
- add_images: Přidat obrázky
1082
- edit_images: Upravit obrázky
1083
- gallery_legend: Přidat galerii obrázků (volitelné)
1085
+ attachments:
1086
+ add_attachments: Přidat přílohy
1087
+ attachment_legend: Přidat galerii příloh (volitelné)
1088
+ edit_attachments: Upravit přílohy
1084
1089
  static_page_topics:
1085
1090
  create:
1086
1091
  error: Při vytváření nového tématu došlo k chybě.
@@ -1236,6 +1241,7 @@ cs:
1236
1241
  none: Žádné
1237
1242
  title: Nová položka v %{taxonomy}
1238
1243
  titles:
1244
+ admin_log: Záznamy administrátora
1239
1245
  area_types: Typy oblastí
1240
1246
  areas: Oblasti
1241
1247
  authorization_workflows: Metody ověření
@@ -1296,6 +1302,11 @@ cs:
1296
1302
  errors:
1297
1303
  impersonate_user:
1298
1304
  reason: Musíte uvést důvod pro správu neřízeného účastníka.
1305
+ file_help:
1306
+ attachment:
1307
+ explanation: 'Pokyny pro soubor:'
1308
+ message_1: CSV, JSON a Excel (.xlsx) jsou podporovány
1309
+ message_2: V CSV souborech musí být oddělovač mezi sloupci středník (";")
1299
1310
  moderations:
1300
1311
  actions:
1301
1312
  expand: Rozbalit
@@ -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.
@@ -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: Υπήρξε ένα πρόβλημα κατά τη δημιουργία ενός νέου θέματος.