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.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/admin/create_taxonomy_filter.rb +16 -2
  3. data/app/commands/decidim/admin/participatory_space/create_member.rb +16 -6
  4. data/app/commands/decidim/admin/update_taxonomy_filter.rb +24 -6
  5. data/app/controllers/decidim/admin/officializations_controller.rb +2 -0
  6. data/app/events/decidim/participatory_space/member_added_event.rb +37 -0
  7. data/app/forms/decidim/admin/taxonomy_filter_form.rb +11 -9
  8. data/app/packs/stylesheets/decidim/admin/application.scss +1 -1
  9. data/app/views/decidim/admin/shared/_attachments.html.erb +15 -0
  10. data/config/locales/ar.yml +0 -5
  11. data/config/locales/bg.yml +0 -5
  12. data/config/locales/bs-BA.yml +0 -4
  13. data/config/locales/ca-IT.yml +12 -5
  14. data/config/locales/ca.yml +12 -5
  15. data/config/locales/cs.yml +9 -5
  16. data/config/locales/de.yml +0 -5
  17. data/config/locales/el.yml +0 -6
  18. data/config/locales/en.yml +12 -5
  19. data/config/locales/es-MX.yml +12 -5
  20. data/config/locales/es-PY.yml +12 -5
  21. data/config/locales/es.yml +12 -5
  22. data/config/locales/eu.yml +16 -9
  23. data/config/locales/fi-plain.yml +11 -4
  24. data/config/locales/fi.yml +11 -4
  25. data/config/locales/fr-CA.yml +76 -5
  26. data/config/locales/fr.yml +76 -5
  27. data/config/locales/gl.yml +0 -6
  28. data/config/locales/he-IL.yml +0 -1
  29. data/config/locales/hu.yml +0 -6
  30. data/config/locales/it.yml +0 -4
  31. data/config/locales/ja.yml +8 -7
  32. data/config/locales/kaa.yml +0 -4
  33. data/config/locales/ko.yml +0 -6
  34. data/config/locales/lb.yml +0 -5
  35. data/config/locales/lt.yml +0 -6
  36. data/config/locales/lv.yml +0 -4
  37. data/config/locales/nl.yml +0 -6
  38. data/config/locales/no.yml +0 -6
  39. data/config/locales/pl.yml +0 -5
  40. data/config/locales/pt-BR.yml +3 -8
  41. data/config/locales/pt.yml +0 -5
  42. data/config/locales/ro-RO.yml +0 -6
  43. data/config/locales/sk.yml +3 -6
  44. data/config/locales/sl.yml +0 -1
  45. data/config/locales/sq-AL.yml +0 -1
  46. data/config/locales/sr-CS.yml +0 -4
  47. data/config/locales/sv.yml +1 -5
  48. data/config/locales/tr-TR.yml +7 -12
  49. data/config/locales/zh-CN.yml +0 -5
  50. data/config/locales/zh-TW.yml +0 -6
  51. data/decidim-admin.gemspec +1 -1
  52. data/lib/decidim/admin/version.rb +1 -1
  53. metadata +9 -8
  54. 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: 36901230e8c91881b21c0860524d5d6efb35a23046bc3e61dee9a160ac855d9b
4
- data.tar.gz: 1d5570c6dce765730164a865bcaee1c16041ecd5f1a790e42adec090e565b644
3
+ metadata.gz: 0edf4a1f5bea11f3269f83afda9636efc949d0bf92ea1dd301ada1443f78ae28
4
+ data.tar.gz: acbcaad5419abf1e0a2e0d74a96242beae1d03e6d088ea4d6a70f7a33bd161cd
5
5
  SHA512:
6
- metadata.gz: 9d9cb0bcaec7d4d6543130f006d915e7d4d4fb756da9f0bf894ccdaefd64b32169aeaae9b3d80599e11525435106eed5e13f66214a7a10e9cfd8160306ce500e
7
- data.tar.gz: 570d5c96c847ae27c440eddbed91477258311eb101ce5ff410be11ec7b1a435ce41034dc5fc85aa97e1dfc5c1269c34b46e7d0963a3d000a4cfeadf1ea02c296
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, :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
@@ -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
- return @existing_user if defined?(@existing_user)
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
- InviteUserAgain.call(@existing_user, invitation_instructions) if @existing_user&.invitation_pending?
72
-
73
- @existing_user
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 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
@@ -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 ||= map_items_collection(root_taxonomy)
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 map_items_collection(taxonomy)
66
- taxonomy.children.map do |item|
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: map_items_collection(item)
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
- return if taxonomy_items.all? do |item|
77
- next unless root_taxonomy
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/tribute";
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>
@@ -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: كانت هناك مشكلة في إنشاء موضوع جديد.
@@ -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: Възникна проблем при създаването на нова тема.
@@ -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
@@ -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: Longitud màxima dels comentaris (deixa 0 si vols mantenir la configuració per defecte)
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
- gallery:
1100
- add_images: Afegir imatges
1101
- edit_images: Editar imatges
1102
- gallery_legend: Afegir una galeria d'imatges (opcional)
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
@@ -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: Longitud màxima dels comentaris (deixa 0 si vols mantenir la configuració per defecte)
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
- gallery:
1100
- add_images: Afegir imatges
1101
- edit_images: Editar imatges
1102
- gallery_legend: Afegir una galeria d'imatges (opcional)
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
@@ -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í délka komentáře (ponechte 0 pro výchozí hodnotu)
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
- gallery:
1108
- add_images: Přidat obrázky
1109
- edit_images: Upravit obrázky
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
@@ -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.
@@ -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: Υπήρξε ένα πρόβλημα κατά τη δημιουργία ενός νέου θέματος.
@@ -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: Comments max length (Leave 0 for default value)
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
- gallery:
1100
- add_images: Add images
1101
- edit_images: Edit images
1102
- gallery_legend: Add an image gallery (Optional)
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
@@ -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: Longitud máxima de los comentarios (deja 0 si quieres mantener la configuración por defecto)
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
- gallery:
1100
- add_images: Añadir imágenes
1101
- edit_images: Editar imagenes
1102
- gallery_legend: Añadir una galería de imágenes (opccional)
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
@@ -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: Longitud máxima de los comentarios (deja 0 si quieres mantener la configuración por defecto)
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
- gallery:
1100
- add_images: Añadir imágenes
1101
- edit_images: Editar imagenes
1102
- gallery_legend: Añadir una galería de imágenes (opccional)
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