decidim-core 0.25.0.rc3 → 0.25.2

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 (51) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/content_blocks/how_to_participate/show.erb +1 -1
  3. data/app/cells/decidim/following/show.erb +17 -8
  4. data/app/cells/decidim/following_cell.rb +6 -2
  5. data/app/controllers/concerns/decidim/disable_redirection_to_external_host.rb +15 -0
  6. data/app/controllers/concerns/decidim/safe_redirect.rb +14 -3
  7. data/app/controllers/decidim/application_controller.rb +1 -0
  8. data/app/models/decidim/user.rb +4 -0
  9. data/app/models/decidim/user_base_entity.rb +18 -13
  10. data/app/packs/src/decidim/geocoding/attach_input.js +11 -2
  11. data/app/packs/stylesheets/decidim/modules/_timeline.scss +1 -1
  12. data/config/locales/bg.yml +0 -1
  13. data/config/locales/ca.yml +11 -8
  14. data/config/locales/cs.yml +2 -1
  15. data/config/locales/de.yml +0 -1
  16. data/config/locales/el.yml +0 -1
  17. data/config/locales/en.yml +1 -0
  18. data/config/locales/es-MX.yml +16 -1
  19. data/config/locales/es-PY.yml +16 -1
  20. data/config/locales/es.yml +16 -1
  21. data/config/locales/eu.yml +474 -23
  22. data/config/locales/fi-plain.yml +1 -1
  23. data/config/locales/fi.yml +1 -1
  24. data/config/locales/fr-CA.yml +26 -1
  25. data/config/locales/fr.yml +28 -3
  26. data/config/locales/ga-IE.yml +387 -0
  27. data/config/locales/gl.yml +1 -0
  28. data/config/locales/hu.yml +0 -1
  29. data/config/locales/it.yml +1 -1
  30. data/config/locales/ja.yml +15 -14
  31. data/config/locales/lb.yml +1701 -0
  32. data/config/locales/lv.yml +0 -1
  33. data/config/locales/nl.yml +0 -1
  34. data/config/locales/no.yml +0 -1
  35. data/config/locales/pl.yml +14 -7
  36. data/config/locales/pt-BR.yml +0 -1
  37. data/config/locales/pt.yml +150 -6
  38. data/config/locales/ro-RO.yml +262 -257
  39. data/config/locales/sk.yml +0 -1
  40. data/config/locales/sr-CS.yml +0 -3
  41. data/config/locales/sv.yml +35 -1
  42. data/config/locales/tr-TR.yml +0 -1
  43. data/config/locales/zh-CN.yml +0 -1
  44. data/lib/decidim/core/engine.rb +4 -0
  45. data/lib/decidim/core/version.rb +1 -1
  46. data/lib/decidim/core.rb +11 -0
  47. data/lib/decidim/has_component.rb +4 -0
  48. data/lib/decidim/organization_settings.rb +1 -1
  49. data/lib/decidim/participable.rb +5 -0
  50. data/lib/decidim/resourceable.rb +2 -9
  51. metadata +23 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7501cdb061920f3c951740c5df3c6d6b06df3b3ae6e39e08885dd02eb3b7071e
4
- data.tar.gz: b9f623717650dc6c2430e98f3950c158f67390683dcd9f1fd9f7a59910916813
3
+ metadata.gz: 874945a9b1099eec0e81862510812650bdaef2233da2ab8717150841dc242885
4
+ data.tar.gz: 4f951811ef9152312c943efc46c1da849f3686f6af331ebc5b2dfb959b275916
5
5
  SHA512:
6
- metadata.gz: 4c737ee3bddfcbe9308288720e1202d1dc608bdcc01ca2ebb9bdc759c8e6e0cc2f9850c25854d4b4bae0acf24a593c18eeaed6e19296e73e43c7912b08b15a0b
7
- data.tar.gz: aedb81b1e86057d32427cc362e74b271f5215c2d4aa44a31fd6befd18d4c33977b6175277701a1d60f51cc3e7f0e7b67eb9ad4bd18913c66f984dc49b29d611b
6
+ metadata.gz: 472a3e9b094066455486eb1d43b504009e8903772fce927950f091b433ff83bc8471847fcb919a6996a2ffb688159f5b4cd5c2611763511fedfc96db045505f3
7
+ data.tar.gz: 27d8a8201a9add23103bdc8c6b4173108cb16873cc6b1727be0a487fd88735c871bf9fce41771e1086e40a99df013b305ff04d165b3651d7896fa0e0154df09b
@@ -41,7 +41,7 @@
41
41
  <div class="row">
42
42
  <div class="columns small-centered small-10
43
43
  smallmedium-8 medium-6 large-4">
44
- <%= link_to t("decidim.pages.home.extended.more_info", resource_name: translated_attribute(current_organization.name, current_organization)), decidim.page_path("faq"), class: "button expanded hollow button--sc" %>
44
+ <%= link_to t("decidim.pages.home.extended.more_info", resource_name: translated_attribute(current_organization.name, current_organization)), decidim.pages_path, class: "button expanded hollow button--sc" %>
45
45
  </div>
46
46
  </div>
47
47
  </div>
@@ -1,9 +1,18 @@
1
- <div class="empty-notifications callout secondary <%= "hide" if followings.any? %>">
2
- <p><%= t("decidim.following.no_followings") %></p>
3
- </div>
4
- <div class="row small-up-1 medium-up-2 card-grid">
5
- <% followings.each do |following| %>
6
- <%= card_for following, context: { label: true, show_space: true } %>
1
+ <% if public_followings.any? %>
2
+ <% if non_public_followings? %>
3
+ <div class="empty-notifications callout secondary">
4
+ <p><%= t("decidim.following.non_public_followings") %></p>
5
+ </div>
7
6
  <% end %>
8
- </div>
9
- <%= decidim_paginate followings %>
7
+
8
+ <div class="row small-up-1 medium-up-2 card-grid">
9
+ <% public_followings.each do |followable| %>
10
+ <%= card_for followable, context: { label: true, show_space: true } %>
11
+ <% end %>
12
+ </div>
13
+ <%= decidim_paginate public_followings %>
14
+ <% else %>
15
+ <div class="empty-notifications callout secondary">
16
+ <p><%= t("decidim.following.no_followings") %></p>
17
+ </div>
18
+ <% end %>
@@ -11,8 +11,12 @@ module Decidim
11
11
  render :show
12
12
  end
13
13
 
14
- def followings
15
- @followings ||= Kaminari.paginate_array(model.following).page(params[:page]).per(20)
14
+ def public_followings
15
+ @public_followings ||= Kaminari.paginate_array(model.public_followings).page(params[:page]).per(20)
16
+ end
17
+
18
+ def non_public_followings?
19
+ public_followings.count < model.following_count
16
20
  end
17
21
  end
18
22
  end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "active_support/concern"
4
+
5
+ module Decidim
6
+ module DisableRedirectionToExternalHost
7
+ extend ActiveSupport::Concern
8
+
9
+ included do
10
+ def redirect_back(fallback_location:, allow_other_host: true, **args) # rubocop:disable Lint/UnusedMethodArgument
11
+ super fallback_location: fallback_location, allow_other_host: Decidim.allow_open_redirects, **args
12
+ end
13
+ end
14
+ end
15
+ end
@@ -14,10 +14,21 @@ module Decidim
14
14
  # that match the current organization.
15
15
  def redirect_url
16
16
  return if params[:redirect_url].blank?
17
- return params[:redirect_url] unless params[:redirect_url].start_with?("http")
18
- return if URI.parse(params[:redirect_url]).host != current_organization.host
19
17
 
20
- params[:redirect_url]
18
+ # Parse given URL
19
+ target_uri = URI.parse(params[:redirect_url])
20
+
21
+ # Add the organization host to the URL if not present
22
+ target_uri = URI.join("#{request.scheme}://#{current_organization.host}", target_uri) unless target_uri.host
23
+
24
+ # Don't allow URLs without host or with a different host than the organization one
25
+ return if target_uri.host != current_organization.host
26
+
27
+ # Convert the URI to relative
28
+ target_uri.scheme = target_uri.host = target_uri.port = nil
29
+
30
+ # Return the relative URL
31
+ target_uri.to_s
21
32
  end
22
33
  end
23
34
  end
@@ -19,6 +19,7 @@ module Decidim
19
19
  include SafeRedirect
20
20
  include NeedsSnippets
21
21
  include UserBlockedChecker
22
+ include DisableRedirectionToExternalHost
22
23
 
23
24
  helper Decidim::MetaTagsHelper
24
25
  helper Decidim::DecidimFormHelper
@@ -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)
@@ -25,26 +25,31 @@ module Decidim
25
25
 
26
26
  validates :name, format: { with: REGEXP_NAME }
27
27
 
28
- # Public: Returns a collection with all the entities this user is following.
28
+ # Public: Returns a collection with all the public entities this user is following.
29
29
  #
30
30
  # This can't be done as with a `has_many :following, through: :following_follows`
31
31
  # since it's a polymorphic relation and Rails doesn't know how to load it. With
32
32
  # this implementation we only query the database once for each kind of following.
33
33
  #
34
34
  # Returns an Array of Decidim::Followable
35
- def following
36
- @following ||= begin
37
- followings = following_follows.pluck(:decidim_followable_type, :decidim_followable_id)
38
- grouped_followings = followings.each_with_object({}) do |(type, following_id), all|
39
- all[type] ||= []
40
- all[type] << following_id
41
- all
42
- end
43
-
44
- grouped_followings.flat_map do |type, ids|
45
- type.constantize.where(id: ids)
46
- end
35
+ def public_followings
36
+ @public_followings ||= following_follows.select("array_agg(decidim_followable_id)")
37
+ .group(:decidim_followable_type)
38
+ .pluck(:decidim_followable_type, "array_agg(decidim_followable_id)")
39
+ .to_h
40
+ .flat_map do |type, ids|
41
+ only_public(type.constantize, ids)
47
42
  end
48
43
  end
44
+
45
+ private
46
+
47
+ def only_public(klass, ids)
48
+ scope = klass.where(id: ids)
49
+ scope = scope.public_spaces if klass.try(:participatory_space?)
50
+ scope = scope.includes(:component) if klass.try(:has_component?)
51
+ scope = scope.filter(&:visible?) if klass.method_defined?(:visible?)
52
+ scope
53
+ end
49
54
  end
50
55
  end
@@ -64,11 +64,20 @@ export default function attachGeocoding($input, options, callback) {
64
64
  inputIdParts.pop();
65
65
 
66
66
  const idPrefix = `${inputIdParts.join("_")}`;
67
+
68
+ let latitudeName = "latitude";
69
+ let longitudeName = "longitude";
70
+
71
+ if ($input.length > 0) {
72
+ latitudeName = getCoordinateInputName("latitude", $input, attachOptions);
73
+ longitudeName = getCoordinateInputName("longitude", $input, attachOptions);
74
+ }
75
+
67
76
  const config = $.extend({
68
77
  latitudeId: `${idPrefix}_latitude`,
69
78
  longitudeId: `${idPrefix}_longitude`,
70
- latitudeName: getCoordinateInputName("latitude", $input, attachOptions),
71
- longitudeName: getCoordinateInputName("longitude", $input, attachOptions)
79
+ latitudeName: latitudeName,
80
+ longitudeName: longitudeName
72
81
  }, options);
73
82
  let geocoded = false;
74
83
 
@@ -92,7 +92,7 @@ $timeline-padding: 1rem;
92
92
  color: $dark-gray;
93
93
 
94
94
  .timeline__item--current &{
95
- color: rgba($white, .8);
95
+ color: $white;
96
96
  }
97
97
  }
98
98
 
@@ -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}"
@@ -692,6 +694,7 @@ ca:
692
694
  no_followers: Encara no hi ha seguidores.
693
695
  following:
694
696
  no_followings: No segueix a cap persona ni cap activitat.
697
+ non_public_followings: Alguns dels recursos seguits no són públics.
695
698
  follows:
696
699
  create:
697
700
  button: Seguir
@@ -856,12 +859,12 @@ ca:
856
859
  links:
857
860
  invalid_url: URL no vàlida
858
861
  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.
862
+ 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
863
  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
864
+ cancel: Cancel·lar
865
+ close_modal: Tancar finestra
866
+ proceed: Continuar
867
+ title: Obrir enllaç extern
865
868
  log:
866
869
  base_presenter:
867
870
  create: "%{user_name} ha creat %{resource_name}"
@@ -1264,7 +1267,7 @@ ca:
1264
1267
  areas: Àrees
1265
1268
  select_an_area: Selecciona una àrea
1266
1269
  public_participation:
1267
- public_participation: Mostra públicament l'assistència
1270
+ public_participation: Mostra públicament la meva assistència
1268
1271
  reference:
1269
1272
  reference: 'Referència: %{reference}'
1270
1273
  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:
@@ -719,6 +719,7 @@ cs:
719
719
  no_followers: Zatím žádní sledující.
720
720
  following:
721
721
  no_followings: Nesleduje nikoho ani nic.
722
+ non_public_followings: Některé z uvedených zdrojů nejsou veřejné.
722
723
  follows:
723
724
  create:
724
725
  button: Sledovat
@@ -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:
@@ -702,6 +702,7 @@ en:
702
702
  no_followers: No followers yet.
703
703
  following:
704
704
  no_followings: Doesn't follow anyone or anything yet.
705
+ non_public_followings: Some of the resources followed are not public.
705
706
  follows:
706
707
  create:
707
708
  button: Follow
@@ -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: