decidim-core 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 (83) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/author_cell.rb +0 -4
  3. data/app/cells/decidim/content_blocks/highlighted_content_banner_cell.rb +1 -1
  4. data/app/cells/decidim/content_blocks/highlighted_participatory_spaces_cell.rb +1 -1
  5. data/app/commands/decidim/destroy_account.rb +12 -1
  6. data/app/commands/decidim/multiple_attachments_methods.rb +28 -27
  7. data/app/jobs/decidim/process_inactive_participant_job.rb +0 -7
  8. data/app/mailers/decidim/delete_user_mailer.rb +14 -0
  9. data/app/mailers/decidim/participants_account_mailer.rb +0 -16
  10. data/app/packs/src/decidim/controllers/main_menu/controller.js +33 -0
  11. data/app/packs/src/decidim/controllers/main_menu/main_menu.test.js +77 -0
  12. data/app/packs/src/decidim/controllers/mention/controller.js +296 -140
  13. data/app/packs/src/decidim/controllers/mention/input_mentions.test.js +120 -457
  14. data/app/packs/src/decidim/controllers/multiple_mentions/controller.js +68 -32
  15. data/app/packs/src/decidim/controllers/multiple_mentions/input_multiple_mentions.test.js +30 -23
  16. data/app/packs/src/decidim/editor/common/suggestion.js +3 -1
  17. data/app/packs/src/decidim/editor/extensions/indent/index.js +9 -0
  18. data/app/packs/src/decidim/geocoding/reverse_geocoding.js +15 -5
  19. data/app/packs/src/decidim/geocoding/reverse_geocoding.test.js +197 -0
  20. data/app/packs/src/decidim/index.js +2 -2
  21. data/app/packs/stylesheets/decidim/_conversations.scss +14 -0
  22. data/app/packs/stylesheets/decidim/_dropdown.scss +1 -1
  23. data/app/packs/stylesheets/decidim/_editor_suggestions.scss +49 -0
  24. data/app/packs/stylesheets/decidim/_header.scss +12 -8
  25. data/app/packs/stylesheets/decidim/_tom_select.scss +23 -0
  26. data/app/packs/stylesheets/decidim/application.scss +2 -0
  27. data/app/packs/stylesheets/decidim/editor.scss +2 -33
  28. data/app/packs/stylesheets/decidim/geocoding_addons.scss +10 -2
  29. data/app/uploaders/decidim/image_uploader.rb +1 -1
  30. data/app/views/decidim/delete_user_mailer/delete.html.erb +6 -0
  31. data/app/views/decidim/messaging/conversations/_error_modal.html.erb +11 -19
  32. data/app/views/decidim/messaging/conversations/error.js.erb +12 -7
  33. data/app/views/layouts/decidim/header/_menu_breadcrumb_mobile.html.erb +2 -1
  34. data/config/locales/ar.yml +0 -2
  35. data/config/locales/bg.yml +0 -2
  36. data/config/locales/ca-IT.yml +21 -10
  37. data/config/locales/ca.yml +21 -10
  38. data/config/locales/cs.yml +10 -9
  39. data/config/locales/de.yml +4 -13
  40. data/config/locales/el.yml +0 -1
  41. data/config/locales/en.yml +20 -9
  42. data/config/locales/es-MX.yml +20 -9
  43. data/config/locales/es-PY.yml +20 -9
  44. data/config/locales/es.yml +20 -9
  45. data/config/locales/eu.yml +36 -9
  46. data/config/locales/fi-plain.yml +19 -8
  47. data/config/locales/fi.yml +19 -8
  48. data/config/locales/fr-CA.yml +23 -9
  49. data/config/locales/fr.yml +23 -9
  50. data/config/locales/hu.yml +0 -2
  51. data/config/locales/it.yml +0 -2
  52. data/config/locales/ja.yml +59 -19
  53. data/config/locales/lb.yml +0 -2
  54. data/config/locales/lt.yml +0 -2
  55. data/config/locales/nl.yml +0 -2
  56. data/config/locales/no.yml +0 -2
  57. data/config/locales/pl.yml +2 -4
  58. data/config/locales/pt-BR.yml +2 -11
  59. data/config/locales/pt.yml +0 -2
  60. data/config/locales/ro-RO.yml +1 -10
  61. data/config/locales/sk.yml +1 -10
  62. data/config/locales/sv.yml +0 -9
  63. data/config/locales/tr-TR.yml +0 -2
  64. data/config/locales/zh-CN.yml +0 -2
  65. data/config/locales/zh-TW.yml +0 -2
  66. data/decidim-core.gemspec +1 -1
  67. data/lib/decidim/attachment_attributes.rb +58 -9
  68. data/lib/decidim/command.rb +1 -1
  69. data/lib/decidim/core/content_blocks/registry_manager.rb +4 -4
  70. data/lib/decidim/core/engine.rb +8 -0
  71. data/lib/decidim/core/test/factories.rb +3 -0
  72. data/lib/decidim/core/test/shared_examples/admin_resource_gallery_examples.rb +10 -10
  73. data/lib/decidim/core/test/shared_examples/comments_examples.rb +6 -6
  74. data/lib/decidim/core/version.rb +1 -1
  75. data/lib/decidim/map/autocomplete.rb +4 -3
  76. data/lib/decidim/searchable.rb +5 -0
  77. data/lib/decidim/view_model.rb +1 -1
  78. data/lib/tasks/decidim_mailers_tasks.rake +31 -9
  79. metadata +10 -9
  80. data/app/commands/decidim/gallery_methods.rb +0 -107
  81. data/app/packs/src/decidim/vendor/tribute.js +0 -1890
  82. data/app/packs/stylesheets/decidim/_tribute.scss +0 -36
  83. data/app/views/decidim/participants_account_mailer/removal_notification.html.erb +0 -11
@@ -248,6 +248,10 @@ header {
248
248
  .account-container {
249
249
  @apply before:block before:absolute before:top-16 before:right-14 before:content-[""] before:bg-white before:w-2 before:h-12 before:-mt-8;
250
250
  }
251
+
252
+ #dropdown-trigger-links-mobile-close {
253
+ @apply relative z-10;
254
+ }
251
255
  }
252
256
 
253
257
  &__item {
@@ -337,12 +341,8 @@ header {
337
341
  @apply min-w-0;
338
342
  }
339
343
 
340
- .no-interactive {
341
- @apply font-normal px-0 min-w-0;
342
- }
343
-
344
344
  &__dropdown-trigger {
345
- @apply flex flex-none rounded py-1 z-20 font-semibold;
345
+ @apply flex flex-none rounded px-2 py-1 z-20 font-semibold focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-inset;
346
346
 
347
347
  &--truncatable {
348
348
  @apply min-w-0 overflow-hidden;
@@ -357,6 +357,10 @@ header {
357
357
  }
358
358
  }
359
359
 
360
+ .no-interactive {
361
+ @apply font-normal px-0 min-w-0;
362
+ }
363
+
360
364
  &__dropdown-wrapper {
361
365
  @apply flex flex-none items-center cursor-pointer underline;
362
366
  }
@@ -449,15 +453,15 @@ header {
449
453
  }
450
454
 
451
455
  &__label-wrapper {
452
- @apply block min-w-0 flex-1 overflow-hidden;
456
+ @apply block min-w-0 flex-1;
453
457
  }
454
458
 
455
459
  &__label {
456
- @apply flex w-full items-center gap-x-2 min-w-0 overflow-hidden;
460
+ @apply flex w-11/12 items-center gap-x-2 min-w-0;
457
461
  }
458
462
 
459
463
  .menu-bar__breadcrumb-item {
460
- @apply block flex-1 min-w-0 overflow-hidden whitespace-nowrap text-ellipsis font-semibold underline;
464
+ @apply flex flex-1 min-w-0 items-center gap-x-1 whitespace-nowrap font-semibold underline focus:outline focus:outline-2 focus:outline-offset-2 rounded-sm;
461
465
  }
462
466
 
463
467
  /* overwrite default dropdown styles */
@@ -0,0 +1,23 @@
1
+ @use "tom-select/dist/scss/tom-select";
2
+
3
+ .ts {
4
+ &-control {
5
+ @apply border-gray text-md min-h-[40px];
6
+
7
+ input {
8
+ @apply font-normal text-black text-md;
9
+ }
10
+ }
11
+
12
+ &-dropdown {
13
+ @apply text-md text-gray-2 font-normal;
14
+
15
+ .option img {
16
+ @apply inline;
17
+ }
18
+
19
+ .active {
20
+ @apply bg-gray-3;
21
+ }
22
+ }
23
+ }
@@ -6,6 +6,8 @@
6
6
  // Datepicker
7
7
  @use "stylesheets/decidim/vendor/datepicker_light";
8
8
  @use "stylesheets/decidim/datepicker";
9
+ // TomSelect
10
+ @use "stylesheets/decidim/tom_select";
9
11
  // On the other hand, the following styles match with specific routes
10
12
  @use "stylesheets/decidim/header";
11
13
  @use "stylesheets/decidim/footer";
@@ -1,3 +1,5 @@
1
+ @use "stylesheets/decidim/editor_suggestions";
2
+
1
3
  .editor-props {
2
4
  --editor-active-color: #487bda;
3
5
  --editor-disabled-color: #eee;
@@ -5,12 +7,6 @@
5
7
  --editor-bubble-shadow-color: #333;
6
8
  }
7
9
 
8
- .editor-suggestions-props {
9
- --editor-suggestions-border-color: #000;
10
- --editor-suggestions-background-color: #eee;
11
- --editor-suggestions-selected-highlight-color: #ccc;
12
- }
13
-
14
10
  .editor-active {
15
11
  @apply outline outline-4 outline-[var(--editor-active-color)];
16
12
  }
@@ -186,30 +182,3 @@
186
182
  }
187
183
  }
188
184
  }
189
-
190
- .editor-suggestions {
191
- @apply editor-suggestions-props border-0 bg-[var(--editor-suggestions-background-color)] max-w-sm drop-shadow-md rounded-md;
192
-
193
- &:hover {
194
- .editor-suggestions-item[data-selected]:not(:hover) {
195
- @apply bg-transparent;
196
- }
197
- }
198
-
199
- .editor-suggestions-item {
200
- @apply block w-full text-left py-[0.375rem] px-1.5 border-0 rounded-none truncate text-sm;
201
-
202
- &:first-child {
203
- @apply rounded-t-md;
204
- }
205
-
206
- &:last-child {
207
- @apply rounded-b-md;
208
- }
209
-
210
- &:hover,
211
- &[data-selected] {
212
- @apply bg-[var(--editor-suggestions-selected-highlight-color)];
213
- }
214
- }
215
- }
@@ -1,5 +1,13 @@
1
- .geocoding-container {
2
- .user-device-location button {
1
+ .geocoding {
2
+ &__locate .geocoding__button {
3
3
  @apply mt-4;
4
+
5
+ &--locating {
6
+ @apply opacity-70 cursor-wait;
7
+ }
8
+
9
+ .geocoding__spinner {
10
+ @apply inline-block w-4 h-4 rounded-full animate-spin border-2 border-l-transparent border-y-transparent border-r-secondary align-middle;
11
+ }
4
12
  }
5
13
  }
@@ -8,7 +8,7 @@ module Decidim
8
8
  end
9
9
 
10
10
  def content_type_allowlist
11
- extension_allowlist.map { |ext| MiniMime.lookup_by_extension(ext).content_type }.uniq
11
+ extension_allowlist.filter_map { |ext| MiniMime.lookup_by_extension(ext)&.content_type }.uniq
12
12
  end
13
13
 
14
14
  # Fetches info about different variants, their processors and dimensions
@@ -0,0 +1,6 @@
1
+ <p class="email-greeting"><%= t(".hello", username: @user_name) %></p>
2
+
3
+ <p class="email-instructions"><%= t ".body_1" %></p>
4
+ <p class="email-instructions"><%= t ".body_2" %></p>
5
+
6
+ <p class="email-closing"><%= t(".greetings_html", organization_name: organization_name(@organization), organization_url: decidim.root_url(host: @organization.host)) %></p>
@@ -1,21 +1,13 @@
1
- <div id="messageErrorModal" data-reveal>
2
- <div>
3
- <h2><%= error %></h2>
4
- <button class="close-button" data-close aria-label="<%= t(".close") %>"
5
- type="button">
6
- <span aria-hidden="true">&times;</span>
7
- </button>
8
- </div>
9
- <div class="reveal__body">
10
- <p><%= t(".intro") %></p>
11
- <p>
12
- <%= messages.join("<br>") %>
13
- </p>
14
- <p><%= t(".correct_errors") %></p>
15
- </div>
16
- <div>
17
- <div>
18
- <a class="button" role="button" href="#" data-close aria-label="<%= t(".ok") %>"><%= t(".ok") %></a>
1
+ <%= decidim_modal id: "messageErrorModal", class: "conversation__modal-error" do %>
2
+ <div data-dialog-container>
3
+ <h2 id="dialog-title-messageErrorModal" tabindex="-1" data-dialog-title><%= error %></h2>
4
+ <div id="dialog-desc-messageErrorModal" class="mt-4">
5
+ <p><%= t(".intro") %></p>
6
+ <p><%= safe_join(messages, tag.br) %></p>
7
+ <p><%= t(".correct_errors") %></p>
8
+ </div>
9
+ <div data-dialog-actions>
10
+ <button type="button" class="button button__sm lg:button__lg button__secondary" data-dialog-close="messageErrorModal" aria-label="<%= t(".ok") %>"><%= t(".ok") %></button>
19
11
  </div>
20
12
  </div>
21
- </div>
13
+ <% end %>
@@ -1,10 +1,15 @@
1
- var $messageError = $("#messageErrorModal");
2
- if ($messageError.length > 0) {
3
- $messageError.foundation("_destroy").remove();
1
+ var messageError = document.getElementById("messageErrorModal")
2
+
3
+ if (messageError) {
4
+ messageError.remove();
4
5
  }
6
+ document.body.insertAdjacentHTML("beforeend", "<%= j(render "error_modal", error:, messages:).html_safe %>");
5
7
 
6
- $("#messages").append("<%= j(render "error_modal", error:, messages:).html_safe %>");
7
- $messageError = $("#messageErrorModal");
8
+ messageError = document.getElementById("messageErrorModal")
9
+ if (messageError) {
10
+ window.createDialog(messageError);
8
11
 
9
- var messageErrorReveal = new Foundation.Reveal($messageError);
10
- messageErrorReveal.open();
12
+ if (Decidim.currentDialogs.messageErrorModal) {
13
+ window.Decidim.currentDialogs.messageErrorModal.open();
14
+ }
15
+ }
@@ -5,11 +5,11 @@
5
5
  <div class="menu-bar__breadcrumb-mobile__dropdown-trigger">
6
6
  <span class="menu-bar__breadcrumb-mobile__label-wrapper">
7
7
  <span class="menu-bar__breadcrumb-mobile__label">
8
- <span aria-hidden="true"><%= icon "arrow-left-s-line" %></span>
9
8
  <% if previous_item %>
10
9
  <% item_label = translated_attribute(previous_item[:label]) %>
11
10
  <% if previous_item[:url].present? && !is_active_link?(previous_item[:url], :exclusive) %>
12
11
  <%= link_to(previous_item[:url], class: "menu-bar__breadcrumb-item", data: { controller: "breadcrumb-truncate" }) do %>
12
+ <span aria-hidden="true" class="flex items-center"><%= icon "arrow-left-s-line" %></span>
13
13
  <span class="menu-bar__breadcrumb-text" data-breadcrumb-truncate-target="text"><%= item_label %></span>
14
14
  <% end %>
15
15
  <% else %>
@@ -19,6 +19,7 @@
19
19
  <% end %>
20
20
  <% else %>
21
21
  <%= link_to decidim.root_url, class: "menu-bar__breadcrumb-item", data: { controller: "breadcrumb-truncate" } do %>
22
+ <span aria-hidden="true" class="flex items-center"><%= icon "arrow-left-s-line" %></span>
22
23
  <span class="menu-bar__breadcrumb-text" data-breadcrumb-truncate-target="text"><%= t("decidim.menu.home") %></span>
23
24
  <% end %>
24
25
  <% end %>
@@ -403,7 +403,6 @@ ar:
403
403
  global:
404
404
  amendments_enabled: تم تمكين التعديلات
405
405
  comments_enabled: تم تمكين التعليقات
406
- comments_max_length: الحد الأقصى لطول التعليقات
407
406
  dummy_global_attribute1: السمة الدمية 1
408
407
  dummy_global_attribute2: السمة الدمية 2
409
408
  dummy_global_translatable_text: نص افتراضي قابل للترجمة
@@ -783,7 +782,6 @@ ar:
783
782
  modal_title: محادثة جديدة
784
783
  no_results: لا توجد نتائج
785
784
  error_modal:
786
- close: اغلاق النموذج
787
785
  correct_errors: يرجى تصحيح الأخطاء والمحاولة مرة أخرى.
788
786
  intro: 'حدثت الأخطاء التالية في رسالتك:'
789
787
  ok: حسناً
@@ -454,7 +454,6 @@ bg:
454
454
  global:
455
455
  amendments_enabled: Поправки разрешени
456
456
  comments_enabled: Коментари разрешени
457
- comments_max_length: Максимална дължина на коментарите
458
457
  dummy_global_attribute1: Макетен атрибут 1
459
458
  dummy_global_attribute2: Макетен атрибут 2
460
459
  dummy_global_translatable_text: Макетен преводим текст
@@ -904,7 +903,6 @@ bg:
904
903
  create:
905
904
  error: Разговора не започна. Опитайте по-късно.
906
905
  error_modal:
907
- close: Затвори прозореца
908
906
  correct_errors: Моля, коригирайте грешките и опитайте отново.
909
907
  intro: 'Имаше следните грешки с вашето съобщение:'
910
908
  ok: ОК
@@ -553,7 +553,7 @@ ca-IT:
553
553
  global:
554
554
  amendments_enabled: Esmenes habilitades
555
555
  comments_enabled: Comentaris habilitats
556
- comments_max_length: Longitud màxima dels comentaris
556
+ comments_max_length: Caràcters màxims per comentari
557
557
  define_taxonomy_filters: Si us plau, defineix algunes filtres per aquest espai de participació abans de fer servir aquesta configuració.
558
558
  dummy_global_attribute1: Atribut de prova 1
559
559
  dummy_global_attribute2: Atribut de prova 2
@@ -659,6 +659,13 @@ ca-IT:
659
659
  all: Tots
660
660
  filter_taxonomy_values:
661
661
  all: Totes
662
+ delete_user_mailer:
663
+ delete:
664
+ body_1: El teu compte s'ha desactivat i ja no és accessible. Les teves dades personals estan programades per eliminar-les permanentment d'acord amb les nostres polítiques de retenció de dades.
665
+ body_2: Per raons de seguretat, es conservaran algunes dades relacionades amb la verificació; d'aquesta manera si creessis un compte nou i el tornes a verificar, es podria vincular l'autorització amb aquest compte nou.
666
+ greetings_html: Atentament,<br/><a href="%{organization_url}">%{organization_name}</a>
667
+ hello: Hola %{username},
668
+ subject: El teu compte ha estat eliminat
662
669
  devise:
663
670
  omniauth_registrations:
664
671
  create:
@@ -949,6 +956,18 @@ ca-IT:
949
956
  notification_body: S'ha corregit la manera en que es fan servir els àlies per a que no n'hi hagi de duplicats, per fer-ho ja no es distingueix entre majúscules i minúscules.<br/>El teu àlies es va crear més tard que un altre d'igual, així que s'ha renombrat automàticament. Pots modificar el teu àlies des de la <a href="%{link_to_account_settings}">configuració del teu compte</a>.
950
957
  notification_event:
951
958
  notification_title: S'ha produït un esdeveniment a <a href="%{resource_path}">%{resource_title}</a>.
959
+ participatory_space:
960
+ member_added:
961
+ published:
962
+ email_intro: Se t'ha afegit com a membre a un espai de participació.
963
+ email_outro: Heu rebut aquesta notificació perquè una administradora us ha afegit a <a href="%{resource_url}">"%{resource_title}"</a>. El vostre perfil es mostrarà a la <a href="%{members_page}">llista de membres</a> d'aquest espai.<br> Si l'accés a aquest espai és restringit, hi podràs accedir sempre que hagis iniciat la teva sessió amb el teu compte.
964
+ email_subject: Ara tens accés a "%{resource_title}".
965
+ notification_title: Ara tens accés a <a href="%{resource_url}">"%{resource_title}"</a>.
966
+ unpublished:
967
+ email_intro: Se t'ha afegit com a membre a un espai de participació.
968
+ email_outro: Heu rebut aquesta notificació perquè una administradora us ha afegit a <a href="%{resource_url}">"%{resource_title}"</a>. Si l'accés a aquest espai és restringit, hi podràs accedir sempre que hagis iniciat la teva sessió amb el teu compte.
969
+ email_subject: Ara tens accés a "%{resource_title}".
970
+ notification_title: Ara tens accés a <a href="%{resource_url}">"%{resource_title}"</a>.
952
971
  reports:
953
972
  parent_hidden:
954
973
  email_intro: |-
@@ -1179,7 +1198,7 @@ ca-IT:
1179
1198
  taxonomy_presenter:
1180
1199
  not_found: 'No s''ha trobat la taxonomia a la base de dades (ID: %{id})'
1181
1200
  machine_translations:
1182
- automatic: traducció automàtica a %{locale_name}
1201
+ automatic: traducció automàtica a %{locale_name}
1183
1202
  managed_users:
1184
1203
  expired_session: La sessió actual d'administració d'una participant ha caducat.
1185
1204
  map:
@@ -1215,7 +1234,6 @@ ca-IT:
1215
1234
  create:
1216
1235
  error: No s'ha iniciat la conversa. Torna-ho a provar més tard.
1217
1236
  error_modal:
1218
- close: Tanca la finestra
1219
1237
  correct_errors: Si us plau, corregiu els errors i torneu-ho a intentar.
1220
1238
  intro: 'Hi ha els següents errors al vostre missatge:'
1221
1239
  ok: D'acord
@@ -1527,13 +1545,6 @@ ca-IT:
1527
1545
  log_in: entra
1528
1546
  never_logged_in: mai ha iniciat sessió
1529
1547
  subject: Avís de compte inactiu
1530
- removal_notification:
1531
- body: El teu compte a %{organization_name} s'ha eliminat per inactivitat.
1532
- greetings_html: |
1533
- Atentament,<br>
1534
- %{organization_name}
1535
- hello: Benvolgut/da %{username},
1536
- subject: Avís de compte inactiu
1537
1548
  participatory_space:
1538
1549
  pages:
1539
1550
  user_profile:
@@ -553,7 +553,7 @@ ca:
553
553
  global:
554
554
  amendments_enabled: Esmenes habilitades
555
555
  comments_enabled: Comentaris habilitats
556
- comments_max_length: Longitud màxima dels comentaris
556
+ comments_max_length: Caràcters màxims per comentari
557
557
  define_taxonomy_filters: Si us plau, defineix algunes filtres per aquest espai de participació abans de fer servir aquesta configuració.
558
558
  dummy_global_attribute1: Atribut de prova 1
559
559
  dummy_global_attribute2: Atribut de prova 2
@@ -659,6 +659,13 @@ ca:
659
659
  all: Tots
660
660
  filter_taxonomy_values:
661
661
  all: Totes
662
+ delete_user_mailer:
663
+ delete:
664
+ body_1: El teu compte s'ha desactivat i ja no és accessible. Les teves dades personals estan programades per eliminar-les permanentment d'acord amb les nostres polítiques de retenció de dades.
665
+ body_2: Per raons de seguretat, es conservaran algunes dades relacionades amb la verificació; d'aquesta manera si creessis un compte nou i el tornes a verificar, es podria vincular l'autorització amb aquest compte nou.
666
+ greetings_html: Atentament,<br/><a href="%{organization_url}">%{organization_name}</a>
667
+ hello: Hola %{username},
668
+ subject: El teu compte ha estat eliminat
662
669
  devise:
663
670
  omniauth_registrations:
664
671
  create:
@@ -949,6 +956,18 @@ ca:
949
956
  notification_body: S'ha corregit la manera en que es fan servir els àlies per a que no n'hi hagi de duplicats, per fer-ho ja no es distingueix entre majúscules i minúscules.<br/>El teu àlies es va crear més tard que un altre d'igual, així que s'ha renombrat automàticament. Pots modificar el teu àlies des de la <a href="%{link_to_account_settings}">configuració del teu compte</a>.
950
957
  notification_event:
951
958
  notification_title: S'ha produït un esdeveniment a <a href="%{resource_path}">%{resource_title}</a>.
959
+ participatory_space:
960
+ member_added:
961
+ published:
962
+ email_intro: Se t'ha afegit com a membre a un espai de participació.
963
+ email_outro: Heu rebut aquesta notificació perquè una administradora us ha afegit a <a href="%{resource_url}">"%{resource_title}"</a>. El vostre perfil es mostrarà a la <a href="%{members_page}">llista de membres</a> d'aquest espai.<br> Si l'accés a aquest espai és restringit, hi podràs accedir sempre que hagis iniciat la teva sessió amb el teu compte.
964
+ email_subject: Ara tens accés a "%{resource_title}".
965
+ notification_title: Ara tens accés a <a href="%{resource_url}">"%{resource_title}"</a>.
966
+ unpublished:
967
+ email_intro: Se t'ha afegit com a membre a un espai de participació.
968
+ email_outro: Heu rebut aquesta notificació perquè una administradora us ha afegit a <a href="%{resource_url}">"%{resource_title}"</a>. Si l'accés a aquest espai és restringit, hi podràs accedir sempre que hagis iniciat la teva sessió amb el teu compte.
969
+ email_subject: Ara tens accés a "%{resource_title}".
970
+ notification_title: Ara tens accés a <a href="%{resource_url}">"%{resource_title}"</a>.
952
971
  reports:
953
972
  parent_hidden:
954
973
  email_intro: |-
@@ -1215,7 +1234,6 @@ ca:
1215
1234
  create:
1216
1235
  error: No s'ha iniciat la conversa. Torna-ho a provar més tard.
1217
1236
  error_modal:
1218
- close: Tanca la finestra
1219
1237
  correct_errors: Si us plau, corregiu els errors i torneu-ho a intentar.
1220
1238
  intro: 'Hi ha els següents errors al vostre missatge:'
1221
1239
  ok: D'acord
@@ -1527,13 +1545,6 @@ ca:
1527
1545
  log_in: entra
1528
1546
  never_logged_in: mai ha iniciat sessió
1529
1547
  subject: Avís de compte inactiu
1530
- removal_notification:
1531
- body: El teu compte a %{organization_name} s'ha eliminat per inactivitat.
1532
- greetings_html: |
1533
- Atentament,<br>
1534
- %{organization_name}
1535
- hello: Benvolgut/da %{username},
1536
- subject: Avís de compte inactiu
1537
1548
  participatory_space:
1538
1549
  pages:
1539
1550
  user_profile:
@@ -1873,7 +1884,7 @@ ca:
1873
1884
  invite_collaborator:
1874
1885
  subject: T'han convidat a col·laborar a %{organization}
1875
1886
  invite_member:
1876
- subject: T'han convidat a participar en un espai de participació privat a%{organization}
1887
+ subject: T'han convidat a participar en un espai de participació privat a %{organization}
1877
1888
  organization_admin_invitation_instructions:
1878
1889
  subject: T'han convidat a administrar %{organization}
1879
1890
  password_change:
@@ -584,7 +584,7 @@ cs:
584
584
  global:
585
585
  amendments_enabled: Pozměňovací návrhy povoleny
586
586
  comments_enabled: Komentáře povoleny
587
- comments_max_length: Maximální délka komentářů
587
+ comments_max_length: Maximální počet znaků na komentář
588
588
  define_taxonomy_filters: Před použitím tohoto nastavení prosím definujte některé filtry pro tento participační prostor.
589
589
  dummy_global_attribute1: Zástupný atribut 1
590
590
  dummy_global_attribute2: Zástupný atribut 2
@@ -1221,7 +1221,6 @@ cs:
1221
1221
  create:
1222
1222
  error: Konverzace nebyla zahájena. Zkuste to znovu později.
1223
1223
  error_modal:
1224
- close: Zavřít okno
1225
1224
  correct_errors: Opravte chyby a zkuste to znovu.
1226
1225
  intro: 'Došlo k následujícím chybám ve vaší zprávě:'
1227
1226
  ok: OK
@@ -1527,16 +1526,18 @@ cs:
1527
1526
  log_in: přihlásit se
1528
1527
  never_logged_in: nikdy se nepřihlásil
1529
1528
  subject: Upozornění na neaktivní účet
1530
- removal_notification:
1531
- body: Váš %{organization_name} účet byl odstraněn z důvodu neaktivity.
1532
- greetings_html: |
1533
- S pozdravem,<br>
1534
- %{organization_name}
1535
- hello: Dobrý den %{username},
1536
- subject: Neaktivní účet byl smazán
1529
+ participatory_space:
1530
+ pages:
1531
+ user_profile:
1532
+ member_of:
1533
+ member_of: Je členem
1537
1534
  participatory_space_members:
1538
1535
  index:
1539
1536
  members: Členové
1537
+ participatory_spaces:
1538
+ show:
1539
+ restricted_space: Toto je omezený prostor. Pouze členové a administrátoři jej mohou zobrazit a účastnit se.
1540
+ transparent_space: Toto je transparentní prostor. Kdokoli může zobrazit obsah, ale mohou se účastnit pouze členové a správci.
1540
1541
  passwords:
1541
1542
  update:
1542
1543
  error: Došlo k problému s aktualizací hesla.
@@ -548,7 +548,6 @@ de:
548
548
  global:
549
549
  amendments_enabled: Änderungen aktiviert
550
550
  comments_enabled: Kommentare aktiviert
551
- comments_max_length: Maximallänge der Kommentare
552
551
  define_taxonomy_filters: Bitte definieren Sie einige Filter für diesen partizipativen Bereich, bevor Sie diese Einstellung verwenden.
553
552
  dummy_global_attribute1: Dummy-Attribut 1
554
553
  dummy_global_attribute2: Dummy-Attribut 2
@@ -697,12 +696,12 @@ de:
697
696
  notice: |-
698
697
  <p>Hallo, sind Sie sicher, dass Sie keinen Newsletter erhalten möchten?
699
698
  Bitte prüfen Sie noch einmal, ob Sie das Kästchen mit der Bestellung des Newsletters nicht doch ankreuzen möchten.
700
- Es ist sehr wichtig für uns, dass Sie gelegentlich E-Mails erhalten können,
699
+ Es ist sehr wichtig für uns, dass Sie gelegentlich E-Mails erhalten können,
701
700
  damit wir Ihnen wichtige Informationen mitteilen können. Sie können die
702
701
  Seite mit den Einstellungen für Mitteilungen jederzeit ändern.</p>
703
702
  <p>Wenn Sie das Kästchen nicht ankreuzen, könnten Sie vielleicht wichtige Informationen
704
- über neue Möglichkeiten der Teilnahme an der Plattform verpassen.<br>
705
- Wenn Sie dennoch keinen Newsletter erhalten möchten,
703
+ über neue Möglichkeiten der Teilnahme an der Plattform verpassen.<br>
704
+ Wenn Sie dennoch keinen Newsletter erhalten möchten,
706
705
  haben wir vollstes Verständnis für Ihre Entscheidung.</p>
707
706
  <p>Vielen Dank, dass Sie sich die Zeit zum Lesen genommen haben!</p>
708
707
  title: Newsletter Benachrichtigungen
@@ -1172,7 +1171,6 @@ de:
1172
1171
  create:
1173
1172
  error: Die Unterhaltung wurde nicht gestartet. Versuchen Sie es später noch einmal.
1174
1173
  error_modal:
1175
- close: Fenster schließen
1176
1174
  correct_errors: Bitte korrigiere diese Fehler und versuche es erneut.
1177
1175
  intro: 'Es gab folgende Fehler bei Ihrer Nachricht:'
1178
1176
  ok: OK
@@ -1330,7 +1328,7 @@ de:
1330
1328
  one: "%{count} Ressource"
1331
1329
  other: "%{count} Ressourcen"
1332
1330
  spaces: Bereiche
1333
- title: Open Data Dateien für %{organization}
1331
+ title: Open Data Dateien für %{organization}
1334
1332
  moderated_users:
1335
1333
  about: Die Beschreibung des Kontos
1336
1334
  block_reasons: Der Grund der Blockierung eines Kontos durch einen Admin
@@ -1483,13 +1481,6 @@ de:
1483
1481
  log_in: anmelden
1484
1482
  never_logged_in: Nie angemeldet
1485
1483
  subject: Inaktive Kontowarnung
1486
- removal_notification:
1487
- body: Ihr %{organization_name} Konto wurde aufgrund von Inaktivität gelöscht.
1488
- greetings_html: |
1489
- Freundliche Grüsse,<br>
1490
- %{organization_name}
1491
- hello: Hallo %{username},
1492
- subject: Inaktives Konto gelöscht
1493
1484
  participatory_space_members:
1494
1485
  index:
1495
1486
  members: Mitglieder
@@ -365,7 +365,6 @@ el:
365
365
  global:
366
366
  amendments_enabled: Οι τροποποιήσεις ενεργοποιήθηκαν
367
367
  comments_enabled: Τα σχόλια ενεργοποιήθηκαν
368
- comments_max_length: Μέγιστο μήκος σχολίων
369
368
  dummy_global_attribute1: Εικονικό χαρακτηριστικό 1
370
369
  dummy_global_attribute2: Εικονικό χαρακτηριστικό 2
371
370
  dummy_global_translatable_text: Εικονικό μετατρέψιμο κείμενο
@@ -556,7 +556,7 @@ en:
556
556
  global:
557
557
  amendments_enabled: Amendments enabled
558
558
  comments_enabled: Comments enabled
559
- comments_max_length: Comments max length
559
+ comments_max_length: Max characters per comment
560
560
  define_taxonomy_filters: Please define some filters for this participatory space before using this setting.
561
561
  dummy_global_attribute1: Dummy Attribute 1
562
562
  dummy_global_attribute2: Dummy Attribute 2
@@ -662,6 +662,13 @@ en:
662
662
  all: All
663
663
  filter_taxonomy_values:
664
664
  all: All
665
+ delete_user_mailer:
666
+ delete:
667
+ body_1: Your account has been deactivated and is no longer accessible. Your personal data is scheduled for permanent deletion in accordance with our data retention policies.
668
+ body_2: For security reasons, some authorization-related data will be retained; if you create a new account and authorize again, it may be linked to your new account.
669
+ greetings_html: Kind regards,<br/><a href="%{organization_url}">%{organization_name}</a>
670
+ hello: Dear %{username},
671
+ subject: Your account has been deleted
665
672
  devise:
666
673
  omniauth_registrations:
667
674
  create:
@@ -956,6 +963,18 @@ en:
956
963
  notification_body: We have corrected the way nicknames are used so that there are no duplicates, and that is why we have removed the case-sensitive rule. <br/> Your nickname was created after another one with the same name, so we have automatically renamed it. You can change it from <a href="%{link_to_account_settings}">your account settings</a>.
957
964
  notification_event:
958
965
  notification_title: An event occurred to <a href="%{resource_path}">%{resource_title}</a>.
966
+ participatory_space:
967
+ member_added:
968
+ published:
969
+ email_intro: You have been added as a member to a participatory space.
970
+ email_outro: You have received this notification because an administrator has added you to <a href="%{resource_url}">%{resource_title}</a>. If access to this space is restricted, you will be able to access it with your account.<br> Your profile will appear in the <a href="%{members_page}">list of members</a> of the space.
971
+ email_subject: You now have access to %{resource_title}.
972
+ notification_title: You now have access to <a href="%{resource_url}">%{resource_title}</a>.
973
+ unpublished:
974
+ email_intro: You have been added as a member to a participatory space.
975
+ email_outro: You have received this notification because an administrator has added you to <a href="%{resource_url}">%{resource_title}</a>. If access to this space is restricted, you will be able to access it with your account.
976
+ email_subject: You now have access to %{resource_title}.
977
+ notification_title: You now have access to <a href="%{resource_url}">%{resource_title}</a>.
959
978
  reports:
960
979
  parent_hidden:
961
980
  email_intro: |-
@@ -1222,7 +1241,6 @@ en:
1222
1241
  create:
1223
1242
  error: Conversation not started. Try again later.
1224
1243
  error_modal:
1225
- close: Close modal
1226
1244
  correct_errors: Please correct the errors and try again.
1227
1245
  intro: 'There were the following errors with your message:'
1228
1246
  ok: OK
@@ -1534,13 +1552,6 @@ en:
1534
1552
  log_in: log in
1535
1553
  never_logged_in: never logged in
1536
1554
  subject: Inactive account warning
1537
- removal_notification:
1538
- body: Your %{organization_name} account has been deleted due to inactivity.
1539
- greetings_html: |
1540
- Kind regards,<br>
1541
- %{organization_name}
1542
- hello: Dear %{username},
1543
- subject: Inactive account deleted
1544
1555
  participatory_space:
1545
1556
  pages:
1546
1557
  user_profile: