decidim-core 0.25.0.rc1 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of decidim-core might be problematic. Click here for more details.

Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/decidim/user.rb +4 -0
  3. data/app/packs/src/decidim/external_link.js +6 -1
  4. data/app/packs/src/decidim/foundation-datepicker/js/locales/foundation-datepicker.lb.js +13 -0
  5. data/app/packs/src/decidim/foundation_datepicker_locales.js +2 -0
  6. data/app/packs/src/decidim/icon.js +1 -6
  7. data/app/packs/src/decidim/input_mentions.js +1 -6
  8. data/app/packs/src/decidim/input_multiple_mentions.js +1 -2
  9. data/app/presenters/decidim/resource_presenter.rb +32 -0
  10. data/app/services/decidim/log/diff_changeset_calculator.rb +7 -2
  11. data/app/views/layouts/decidim/_head.html.erb +1 -1
  12. data/app/views/layouts/decidim/_js_configuration.html.erb +1 -10
  13. data/app/views/layouts/decidim/_mini_footer.html.erb +2 -2
  14. data/app/views/layouts/decidim/widget.html.erb +1 -1
  15. data/config/locales/bg.yml +0 -1
  16. data/config/locales/ca.yml +10 -8
  17. data/config/locales/cs.yml +1 -1
  18. data/config/locales/de.yml +0 -1
  19. data/config/locales/el.yml +0 -1
  20. data/config/locales/es-MX.yml +16 -1
  21. data/config/locales/es-PY.yml +16 -1
  22. data/config/locales/es.yml +16 -1
  23. data/config/locales/eu.yml +459 -12
  24. data/config/locales/fi-plain.yml +1 -1
  25. data/config/locales/fi.yml +1 -1
  26. data/config/locales/fr-CA.yml +25 -1
  27. data/config/locales/fr.yml +27 -3
  28. data/config/locales/ga-IE.yml +387 -0
  29. data/config/locales/hu.yml +0 -1
  30. data/config/locales/it.yml +1 -1
  31. data/config/locales/ja.yml +1 -1
  32. data/config/locales/lb.yml +1701 -0
  33. data/config/locales/lv.yml +0 -1
  34. data/config/locales/nl.yml +0 -1
  35. data/config/locales/no.yml +0 -1
  36. data/config/locales/pl.yml +14 -7
  37. data/config/locales/pt-BR.yml +0 -1
  38. data/config/locales/pt.yml +150 -6
  39. data/config/locales/ro-RO.yml +5 -6
  40. data/config/locales/sk.yml +0 -1
  41. data/config/locales/sr-CS.yml +0 -3
  42. data/config/locales/sv.yml +4 -1
  43. data/config/locales/tr-TR.yml +0 -1
  44. data/config/locales/zh-CN.yml +0 -1
  45. data/lib/decidim/core/test/shared_examples/comments_examples.rb +51 -1
  46. data/lib/decidim/core/test/shared_examples/map_examples.rb +1 -1
  47. data/lib/decidim/core/version.rb +1 -1
  48. data/lib/decidim/core.rb +1 -1
  49. data/lib/decidim/map/dynamic_map.rb +1 -1
  50. data/lib/decidim/map/provider/autocomplete/here.rb +1 -1
  51. data/lib/decidim/map/provider/autocomplete/osm.rb +1 -1
  52. data/lib/decidim/map/provider/dynamic_map/here.rb +1 -1
  53. data/lib/decidim/webpacker/webpacker.yml +13 -16
  54. data/lib/gem_overrides/rails/tasks/yarn.rake +9 -0
  55. data/lib/tasks/decidim_webpacker_tasks.rake +55 -27
  56. metadata +15 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 439b8a5979b3c9f5853b9cb3720dc06126e02b0ff35d035f805e55e949f2538d
4
- data.tar.gz: 4254bb83ac96d7e010637444e314053530d795443141f35359a8fe4185db6d86
3
+ metadata.gz: 42e511f59400c64469c3f38cc07211386f55536c8e8d1b83403a45cf3257feea
4
+ data.tar.gz: 1dc8707d02a1971035ff9ef3b809b4f0bcc7af556c6972959d44a17f137cfc39
5
5
  SHA512:
6
- metadata.gz: 214ed5e5165e86efe8919bf98301c5cc2a6107299dc94aa30aa37fad64b6511276f8a81bf387527b7ecda013d064ad536d5a2db76fa2fdbc8818433b33ad369d
7
- data.tar.gz: ab54e8cd03bf5c383f4993a52c491fb061b1a5422551640680aaa713c5960b6263446720d1c9f6e284bc03eefc41aba7619603ad444cfe3c7eb5558fc2901cf7
6
+ metadata.gz: e3c25eaf439667b98da4de8e71676f41a0cbf1e53181c0275e97080ea3a8342605931683a7a6c324296ce4a5f98d9d165a920878957104db179d4c1d61eca4e4
7
+ data.tar.gz: fdb4bfcbeab070cd3ad4a8f1b0eb212112f31901422d7ea60cbfbad2f457ed7f802b2a9bd98d83c87e38261b1e4b9d4dc604f12cc11a88f594a4b1a93c42eec8
@@ -107,6 +107,10 @@ module Decidim
107
107
  # Returns a String.
108
108
  attr_accessor :invitation_instructions
109
109
 
110
+ def invitation_pending?
111
+ invited_to_sign_up? && !invitation_accepted?
112
+ end
113
+
110
114
  # Returns the user corresponding to the given +email+ if it exists and has pending invitations,
111
115
  # otherwise returns nil.
112
116
  def self.has_pending_invitations?(organization_id, email)
@@ -37,7 +37,12 @@ export default class ExternalLink {
37
37
  }
38
38
 
39
39
  this.$link.addClass("external-link-container");
40
- this.$link.append(` ${this.generateElement()}`);
40
+ let spacer = " ";
41
+ if (this.$link.text().trim().length < 1) {
42
+ // Fixes image links extra space
43
+ spacer = "";
44
+ }
45
+ this.$link.append(`${spacer}${this.generateElement()}`);
41
46
  }
42
47
 
43
48
  generateElement() {
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Luxembourgish localisation
3
+ */
4
+ ;(function(jQuery) {
5
+ jQuery.fn.fdatepicker.dates.lb = {
6
+ days: ["Sonndeg", "Méindeg", "Dënschdeg", "Mëttwoch", "Donneschdeg", "Freideg", "Samschdeg", "Sonndeg"],
7
+ daysShort: ["Son", "Méi", "Dën", "Mët", "Don", "Fre", "Sam", "Son"],
8
+ daysMin: ["So", "Mé", "Dë", "Më", "Do", "Fr", "Sa", "So"],
9
+ months: ["Januar", "Februar", "Mäerz", "Abrëll", "Mee", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
10
+ monthsShort: ["Jan", "Febr", "Mrz", "Abr", "Mee", "Jun", "Jul", "Aug", "Sept", "Okt", "Nov", "Dez"],
11
+ today: "Haut"
12
+ };
13
+ }(jQuery));
@@ -63,3 +63,5 @@ import "foundation-datepicker/js/locales/foundation-datepicker.vi"
63
63
  import "foundation-datepicker/js/locales/foundation-datepicker.zh-CN"
64
64
  import "foundation-datepicker/js/locales/foundation-datepicker.zh-TW"
65
65
 
66
+ import "src/decidim/foundation-datepicker/js/locales/foundation-datepicker.lb"
67
+
@@ -13,7 +13,6 @@ const DEFAULT_ATTRIBUTES = {
13
13
  */
14
14
  export default function icon(iconKey, attributes = {}) {
15
15
  const iconAttributes = $.extend(DEFAULT_ATTRIBUTES, attributes);
16
- const corsMode = window.Decidim.config.get("cors_enabled");
17
16
  const title = iconAttributes.title || iconAttributes.ariaLabel;
18
17
  Reflect.deleteProperty(iconAttributes, "title");
19
18
 
@@ -30,11 +29,7 @@ export default function icon(iconKey, attributes = {}) {
30
29
  }
31
30
  });
32
31
 
33
- let iconsPath = ""
34
- if (corsMode === true) {
35
- iconsPath = window.Decidim.config.get("icons_path");
36
- }
37
-
32
+ const iconsPath = window.Decidim.config.get("icons_path");
38
33
  const elHtml = `<svg><use href="${iconsPath}#icon-${iconKey}"></use></svg>`;
39
34
  const $el = $(elHtml);
40
35
  if (title) {
@@ -110,12 +110,7 @@ $(() => {
110
110
  menuItemTemplate: function(item) {
111
111
  let svg = "";
112
112
  if (window.Decidim && item.original.__typename === "UserGroup") {
113
- let corsMode = window.Decidim.config.get("cors_enabled");
114
-
115
- let iconsPath = ""
116
- if (corsMode === true) {
117
- iconsPath = window.Decidim.config.get("icons_path");
118
- }
113
+ const iconsPath = window.Decidim.config.get("icons_path");
119
114
 
120
115
  svg = `<span class="is-group">${item.original.membersCount}x <svg class="icon--members icon"><use href="${iconsPath}#icon-members"/></svg></span>`;
121
116
  }
@@ -121,8 +121,7 @@ $(() => {
121
121
  let enabled = item.original.directMessagesEnabled === "true";
122
122
  if (window.Decidim && item.original.__typename === "UserGroup") {
123
123
  enabled = true;
124
- let corsMode = window.Decidim.config.get("cors_enabled");
125
- let iconsPath = corsMode ? "" : window.Decidim.config.get("icons_path");
124
+ const iconsPath = window.Decidim.config.get("icons_path");
126
125
  svg = `<span class="is-group">${item.original.membersCount}x <svg class="icon--members icon"><use href="${iconsPath}#icon-members"/></svg></span>`;
127
126
  }
128
127
  let disabledElementClass = enabled ? "" : "disabled-tribute-element";
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ # A presenter to render attributes for resources
5
+ class ResourcePresenter < SimpleDelegator
6
+ include Decidim::TranslatableAttributes
7
+ include Decidim::SanitizeHelper
8
+
9
+ def title(resource_title, links, html_escape, all_locales, extras: true)
10
+ handle_locales(resource_title, all_locales) do |content|
11
+ content = decidim_html_escape(content) if html_escape
12
+
13
+ renderer = Decidim::ContentRenderers::HashtagRenderer.new(content)
14
+ renderer.render(links: links, extras: extras).html_safe
15
+ end
16
+ end
17
+
18
+ def handle_locales(content, all_locales, &block)
19
+ if all_locales
20
+ content.each_with_object({}) do |(key, value), parsed_content|
21
+ parsed_content[key] = if key == "machine_translations"
22
+ handle_locales(value, all_locales, &block)
23
+ else
24
+ block.call(value)
25
+ end
26
+ end
27
+ else
28
+ yield(translated_attribute(content))
29
+ end
30
+ end
31
+ end
32
+ end
@@ -75,9 +75,14 @@ module Decidim
75
75
  #
76
76
  # Returns an array of hashes.
77
77
  def generate_i18n_changeset(attribute, values, type)
78
- values.map! { |value| value.is_a?(String) ? JSON.parse(value) : value }
78
+ values.map! do |value|
79
+ value = value.is_a?(String) ? JSON.parse(value) : value
80
+ value.is_a?(Hash) ? value : { I18n.default_locale.to_s => value }
81
+ rescue JSON::ParserError
82
+ { I18n.default_locale.to_s => value }
83
+ end
79
84
 
80
- locales = values[0].to_h.keys | values[1].to_h.keys
85
+ locales = values[0].keys | values[1].keys
81
86
  locales.flat_map do |locale|
82
87
  previous_value = values.first.try(:[], locale)
83
88
  new_value = values.last.try(:[], locale)
@@ -21,7 +21,7 @@
21
21
  <%= stylesheet_pack_tag "decidim_core", media: "all" %>
22
22
  <%= invisible_captcha_styles %>
23
23
  <%= organization_colors %>
24
- <%= javascript_pack_tag "decidim_core" %>
24
+ <%= javascript_pack_tag "decidim_core", defer: false %>
25
25
 
26
26
  <%= render partial: "layouts/decidim/head_extra" %>
27
27
  <%== current_organization.header_snippets if Decidim.enable_html_header_snippets %>
@@ -1,7 +1,6 @@
1
1
  <%
2
2
  js_configs = {
3
- cors_enabled: Decidim.cors_enabled,
4
- icons_path: asset_pack_path("media/images/icons.svg"),
3
+ icons_path: Decidim.cors_enabled ? "" : asset_pack_path("media/images/icons.svg"),
5
4
  messages: {
6
5
  "selfxssWarning": {
7
6
  title: t("decidim.security.selfxss_warning.title"),
@@ -33,12 +32,4 @@ validator_messages = {
33
32
  Decidim.InputCharacterCounter.configureMessages(<%== character_messages.to_json %>);
34
33
  Decidim.ExternalLink.configureMessages(<%== external_link_messages.to_json %>);
35
34
  Decidim.FormValidator.configureMessages(<%== validator_messages.to_json %>);
36
- DecidimComments = {
37
- assets: {
38
- 'icons.svg': "<%= asset_pack_path "media/images/icons.svg" %>"
39
- }
40
- }
41
- Decidim.assets = {
42
- 'icons.svg': "<%= asset_pack_path "media/images/icons.svg" %>"
43
- }
44
35
  </script>
@@ -4,7 +4,7 @@
4
4
  <a rel="license noopener" class="cc-badge"
5
5
  href="http://creativecommons.org/licenses/by-sa/4.0/"
6
6
  target="_blank">
7
- <%= image_pack_tag("cc-badge.png", alt: t("layouts.decidim.footer.cc_by_license")) %>
7
+ <%= image_pack_tag("media/images/cc-badge.png", alt: t("layouts.decidim.footer.cc_by_license")) %>
8
8
  </a>
9
9
  <%= t("layouts.decidim.footer.made_with_open_source").html_safe %>
10
10
  </div>
@@ -13,7 +13,7 @@
13
13
  <a rel="decidim noopener"
14
14
  href="https://decidim.org/"
15
15
  target="_blank">
16
- <%= image_pack_tag("decidim-logo.svg", alt: t("layouts.decidim.footer.decidim_logo")) %>
16
+ <%= image_pack_tag("media/images/decidim-logo.svg", alt: t("layouts.decidim.footer.decidim_logo")) %>
17
17
  </a>
18
18
  </div>
19
19
  </div>
@@ -4,7 +4,7 @@
4
4
  <title><%= decidim_page_title %></title>
5
5
  <%= csrf_meta_tags %>
6
6
  <%= stylesheet_pack_tag "decidim_core" %>
7
- <%= javascript_pack_tag "decidim_core" %>
7
+ <%= javascript_pack_tag "decidim_core", defer: false %>
8
8
  </head>
9
9
 
10
10
  <body class="widget">
@@ -60,7 +60,6 @@ bg:
60
60
  'true': 'Да'
61
61
  carrierwave:
62
62
  errors:
63
- general: Грешка при обработването на изображението
64
63
  image_too_big: Изображението е твърде голямо
65
64
  date:
66
65
  formats:
@@ -67,7 +67,6 @@ ca:
67
67
  'true': 'Sí'
68
68
  carrierwave:
69
69
  errors:
70
- general: Error en processar la imatge
71
70
  image_too_big: La imatge és massa gran
72
71
  not_inside_organization: L'arxiu no està relacionat amb cap organització
73
72
  date:
@@ -99,6 +98,7 @@ ca:
99
98
  error: S'ha produït un error en eliminar el teu compte.
100
99
  success: El teu compte s'ha eliminat correctament.
101
100
  show:
101
+ available_locales_helper: Tria l'idioma que vols utilitzar per a navegar i rebre notificacions a Decidim
102
102
  change_password: Canvia la contrasenya
103
103
  update_account: Actualitzar compte
104
104
  update:
@@ -255,6 +255,8 @@ ca:
255
255
  download: Descarregar fitxer
256
256
  documents:
257
257
  related_documents: Documents relacionats
258
+ geocoding:
259
+ geocoded_address: Adreça
258
260
  photos:
259
261
  related_photos: Imatges relacionades
260
262
  author:
@@ -316,7 +318,7 @@ ca:
316
318
  explanation: Per dur a terme aquesta acció, has de disposar de l'autorització "%{authorization}".
317
319
  title: Es requereix autorització
318
320
  ok:
319
- title: Heu estat autoritzats mentre éreu en aquesta pàgina. Si us plau, recarregueu la pàgina per a realitzar la vostra acció
321
+ title: Has estat autoritzat mentre estàs en aquesta pàgina. Si us plau, torna a carregar la pàgina per a realitzar la teva acció
320
322
  pending:
321
323
  explanation: Per realitzar aquesta acció, has d'estar autoritzat/da amb "%{authorization}", però la teva autorització encara està en curs
322
324
  resume: Comprova el progrés de l'autorització "%{authorization}"
@@ -856,12 +858,12 @@ ca:
856
858
  links:
857
859
  invalid_url: URL no vàlida
858
860
  warning:
859
- body_1: Ara visitaràs un enllaç exterior i et recomanem que siguis prudent pel que fa als continguts en pàgines externes.
861
+ body_1: Estàs a punt de visitar un enllaç extern i et recomanem que siguis prudent pel que fa als continguts en pàgines externes.
860
862
  body_2: Assegura't que l'enllaç que visitaràs és d'un lloc segur abans de seguir.
861
- cancel: Anuŀla
862
- close_modal: Tanca el modal
863
- proceed: Continua
864
- title: Obre l'enllaç extern
863
+ cancel: Cancel·lar
864
+ close_modal: Tancar finestra
865
+ proceed: Continuar
866
+ title: Obrir enllaç extern
865
867
  log:
866
868
  base_presenter:
867
869
  create: "%{user_name} ha creat %{resource_name}"
@@ -1264,7 +1266,7 @@ ca:
1264
1266
  areas: Àrees
1265
1267
  select_an_area: Selecciona una àrea
1266
1268
  public_participation:
1267
- public_participation: Mostra públicament l'assistència
1269
+ public_participation: Mostra públicament la meva assistència
1268
1270
  reference:
1269
1271
  reference: 'Referència: %{reference}'
1270
1272
  represent_user_group:
@@ -75,7 +75,6 @@ cs:
75
75
  'true': 'Ano'
76
76
  carrierwave:
77
77
  errors:
78
- general: Chyba při zpracování obrázku
79
78
  image_too_big: Obraz je příliš velký
80
79
  not_inside_organization: Soubor není připojen k žádné organizaci
81
80
  date:
@@ -107,6 +106,7 @@ cs:
107
106
  error: Při mazání účtu došlo k chybě.
108
107
  success: Účet byl úspěšně smazán.
109
108
  show:
109
+ available_locales_helper: Vyberte jazyk, který chcete použít k procházení a přijímání oznámení v Decidim
110
110
  change_password: Změnit heslo
111
111
  update_account: Aktualizovat účet
112
112
  update:
@@ -67,7 +67,6 @@ de:
67
67
  'true': 'Ja'
68
68
  carrierwave:
69
69
  errors:
70
- general: Fehler bei der Bildverarbeitung
71
70
  image_too_big: Das Bild ist zu groß
72
71
  not_inside_organization: Die Datei ist keiner Organisation hinzugefügt
73
72
  date:
@@ -62,7 +62,6 @@ el:
62
62
  'true': 'Ναι'
63
63
  carrierwave:
64
64
  errors:
65
- general: Σφάλμα κατά την επεξεργασία της εικόνας
66
65
  image_too_big: Η εικόνα είναι πολύ μεγάλη
67
66
  date:
68
67
  formats:
@@ -67,7 +67,6 @@ es-MX:
67
67
  'true': 'Sí'
68
68
  carrierwave:
69
69
  errors:
70
- general: Error procesando imagen
71
70
  image_too_big: La imagen es demasiado grande
72
71
  not_inside_organization: El archivo no está relacionado con ninguna organización
73
72
  date:
@@ -99,6 +98,7 @@ es-MX:
99
98
  error: Se ha producido un error al eliminar tu cuenta.
100
99
  success: Tu cuenta se ha eliminado correctamente.
101
100
  show:
101
+ available_locales_helper: Elige el idioma que quieres utilizar para navegar y recibir notificaciones en Decidim
102
102
  change_password: Cambia la contraseña
103
103
  update_account: Actualizar cuenta
104
104
  update:
@@ -258,6 +258,8 @@ es-MX:
258
258
  download: Descargar archivo
259
259
  documents:
260
260
  related_documents: Documentos relacionados
261
+ geocoding:
262
+ geocoded_address: Dirección
261
263
  photos:
262
264
  related_photos: Fotos relacionadas
263
265
  author:
@@ -318,6 +320,8 @@ es-MX:
318
320
  authorize: Autorizar con "%{authorization}"
319
321
  explanation: Para llevar a cabo esta acción, tienes que disponer de la autorización "%{authorization}".
320
322
  title: Autorización requerida
323
+ ok:
324
+ title: Has sido autorizado mientras estás en esta página. Por favor, vuelve a cargar la página para realizar tu acción
321
325
  pending:
322
326
  explanation: Para realizar esta acción, debes estar autorizado con "%{authorization}", pero tu autorización todavía está en progreso
323
327
  resume: Comprueba el progreso de la autorización "%{authorization}"
@@ -854,6 +858,15 @@ es-MX:
854
858
  index:
855
859
  last_activity: Última actividad
856
860
  resource_type: Tipo
861
+ links:
862
+ invalid_url: Dirección URL no válida
863
+ warning:
864
+ body_1: Estás a punto de visitar un enlace externo y te recomendamos que seas prudente respecto al contenido de páginas externas.
865
+ body_2: Por favor, antes de seguir, comprueba que el enlace que estás a punto de visitar pertenece a un sitio seguro.
866
+ cancel: Cancelar
867
+ close_modal: Cerrar ventana
868
+ proceed: Continuar
869
+ title: Abrir enlace externo
857
870
  log:
858
871
  base_presenter:
859
872
  create: "%{user_name} creó %{resource_name}"
@@ -1255,6 +1268,8 @@ es-MX:
1255
1268
  filters:
1256
1269
  areas: Áreas
1257
1270
  select_an_area: Seleccione un area
1271
+ public_participation:
1272
+ public_participation: Mostrar mi asistencia públicamente
1258
1273
  reference:
1259
1274
  reference: 'Referencia: %{reference}'
1260
1275
  represent_user_group:
@@ -67,7 +67,6 @@ es-PY:
67
67
  'true': 'Sí'
68
68
  carrierwave:
69
69
  errors:
70
- general: Error procesando imagen
71
70
  image_too_big: La imagen es demasiado grande
72
71
  not_inside_organization: El archivo no está relacionado con ninguna organización
73
72
  date:
@@ -99,6 +98,7 @@ es-PY:
99
98
  error: Se ha producido un error al eliminar tu cuenta.
100
99
  success: Tu cuenta se ha eliminado correctamente.
101
100
  show:
101
+ available_locales_helper: Elige el idioma que quieres utilizar para navegar y recibir notificaciones en Decidim
102
102
  change_password: Cambia la contraseña
103
103
  update_account: Actualizar cuenta
104
104
  update:
@@ -258,6 +258,8 @@ es-PY:
258
258
  download: Descargar archivo
259
259
  documents:
260
260
  related_documents: Documentos relacionados
261
+ geocoding:
262
+ geocoded_address: Dirección
261
263
  photos:
262
264
  related_photos: Fotos relacionadas
263
265
  author:
@@ -318,6 +320,8 @@ es-PY:
318
320
  authorize: Autorizar con "%{authorization}"
319
321
  explanation: Para llevar a cabo esta acción, tiene que disponer de la autorización "%{authorization}".
320
322
  title: Autorización requerida
323
+ ok:
324
+ title: Has sido autorizado mientras estás en esta página. Por favor, vuelve a cargar la página para realizar tu acción
321
325
  pending:
322
326
  explanation: Para realizar esta acción, debes estar autorizado con "%{authorization}", pero tu autorización todavía está en progreso
323
327
  resume: Verifica el progreso de la autorización "%{authorization}"
@@ -854,6 +858,15 @@ es-PY:
854
858
  index:
855
859
  last_activity: Última actividad
856
860
  resource_type: Tipo
861
+ links:
862
+ invalid_url: Dirección URL no válida
863
+ warning:
864
+ body_1: Estás a punto de visitar un enlace externo y te recomendamos que seas prudente respecto al contenido de páginas externas.
865
+ body_2: Por favor, antes de seguir, comprueba que el enlace que estás a punto de visitar pertenece a un sitio seguro.
866
+ cancel: Cancelar
867
+ close_modal: Cerrar ventana
868
+ proceed: Continuar
869
+ title: Abrir enlace externo
857
870
  log:
858
871
  base_presenter:
859
872
  create: "%{user_name} creó %{resource_name}"
@@ -1255,6 +1268,8 @@ es-PY:
1255
1268
  filters:
1256
1269
  areas: Áreas
1257
1270
  select_an_area: Seleccione un area
1271
+ public_participation:
1272
+ public_participation: Mostrar mi asistencia públicamente
1258
1273
  reference:
1259
1274
  reference: 'Referencia: %{reference}'
1260
1275
  represent_user_group:
@@ -67,7 +67,6 @@ es:
67
67
  'true': 'Sí'
68
68
  carrierwave:
69
69
  errors:
70
- general: Error procesando imagen
71
70
  image_too_big: La imagen es demasiado grande
72
71
  not_inside_organization: El archivo no está relacionado con ninguna organización
73
72
  date:
@@ -99,6 +98,7 @@ es:
99
98
  error: Se ha producido un error al eliminar tu cuenta.
100
99
  success: Tu cuenta se ha eliminado correctamente.
101
100
  show:
101
+ available_locales_helper: Elige el idioma que quieres utilizar para navegar y recibir notificaciones en Decidim
102
102
  change_password: Cambia la contraseña
103
103
  update_account: Actualizar cuenta
104
104
  update:
@@ -255,6 +255,8 @@ es:
255
255
  download: Descargar archivo
256
256
  documents:
257
257
  related_documents: Documentos relacionados
258
+ geocoding:
259
+ geocoded_address: Dirección
258
260
  photos:
259
261
  related_photos: Imágenes relacionadas
260
262
  author:
@@ -315,6 +317,8 @@ es:
315
317
  authorize: Autorizar con "%{authorization}"
316
318
  explanation: Para llevar a cabo esta acción, tienes que disponer de la autorización "%{authorization}".
317
319
  title: Autorización requerida
320
+ ok:
321
+ title: Has sido autorizado mientras estás en esta página. Por favor, vuelve a cargar la página para realizar tu acción
318
322
  pending:
319
323
  explanation: Para realizar esta acción, debes estar autorizado con "%{authorization}", pero tu autorización todavía está en progreso
320
324
  resume: Comprueba el progreso de la autorización "%{authorization}"
@@ -851,6 +855,15 @@ es:
851
855
  index:
852
856
  last_activity: Última actividad
853
857
  resource_type: Tipo
858
+ links:
859
+ invalid_url: Dirección URL no válida
860
+ warning:
861
+ body_1: Estás a punto de visitar un enlace externo y te recomendamos que seas prudente respecto al contenido de páginas externas.
862
+ body_2: Por favor, antes de seguir, comprueba que el enlace que estás a punto de visitar pertenece a un sitio seguro.
863
+ cancel: Cancelar
864
+ close_modal: Cerrar ventana
865
+ proceed: Continuar
866
+ title: Abrir enlace externo
854
867
  log:
855
868
  base_presenter:
856
869
  create: "%{user_name} creó %{resource_name}"
@@ -1252,6 +1265,8 @@ es:
1252
1265
  filters:
1253
1266
  areas: Áreas
1254
1267
  select_an_area: Selecciona una area
1268
+ public_participation:
1269
+ public_participation: Mostrar mi asistencia públicamente
1255
1270
  reference:
1256
1271
  reference: 'Referencia: %{reference}'
1257
1272
  represent_user_group: