decidim-verifications 0.26.0.rc2 → 0.26.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f4cbfb2bb223e25f31ed59f9a35ba6fc011a46d2f21dd9dadde56e83bc18607
4
- data.tar.gz: 6dd830ec6cad3bc7ee84686e0e4c227d89abbbb54f78562ac72b824687f0caba
3
+ metadata.gz: 936f3dc81615bf1d0e63d209ef2d1b021d8eaa0053f78aad6f26fc7f9c732bb4
4
+ data.tar.gz: 5aad53092a176b1c926f36707fc49361cf62f0e08372accdec1984d431203cc2
5
5
  SHA512:
6
- metadata.gz: '0749b418c367b06ba5e569094218eeff9f582f3115f6ef12f2415a0fe40045de995615b8b69516170175f560ed9ec14c052b46153da5bac7fc53587b89c87f3a'
7
- data.tar.gz: c476f8c7cde38f53412a88eb2577013d7fcbce2f1784ca677afc143e9da42adced86008e1dff8b2c5413ee661221a2eb3273e3138fbdf9f9d3655d35e9e039cd
6
+ metadata.gz: 2f27dcaadfbabac220c2b52cb93ff03a3f1d4709e45d7dc646b0b7e25b68f49dffeca7e34ef1cefe0d06cdf2367b447060cf8985e96b3219a4c34eff3c787b0c
7
+ data.tar.gz: 575fd8025b5537e4ad0cfba3964e028762cbe9d6ab7cf4e5494e42c79c5ff66459d2f347db35ff8154ffbbc33f57ce73d58e1c40d007d30a236b2e493eb87728
@@ -7,8 +7,9 @@ module Decidim
7
7
  # Public: Initializes the command.
8
8
  #
9
9
  # handler - An AuthorizationHandler object.
10
- def initialize(handler)
10
+ def initialize(handler, organization)
11
11
  @handler = handler
12
+ @organization = organization
12
13
  end
13
14
 
14
15
  # Executes the command. Broadcasts these events:
@@ -39,7 +40,7 @@ module Decidim
39
40
  event: "decidim.events.verifications.managed_user_error_event",
40
41
  event_class: Decidim::Verifications::ManagedUserErrorEvent,
41
42
  resource: conflict,
42
- affected_users: Decidim::User.where(admin: true)
43
+ affected_users: Decidim::User.where(admin: true, organization: @organization)
43
44
  )
44
45
  end
45
46
 
@@ -35,7 +35,7 @@ module Decidim
35
35
  end
36
36
 
37
37
  def create
38
- AuthorizeUser.call(handler) do
38
+ AuthorizeUser.call(handler, current_organization) do
39
39
  on(:ok) do
40
40
  flash[:notice] = t("authorizations.create.success", scope: "decidim.verifications")
41
41
  redirect_to redirect_url || authorizations_path
@@ -3,12 +3,16 @@
3
3
  module Decidim
4
4
  module Verifications
5
5
  class ManagedUserErrorEvent < Decidim::Events::SimpleEvent
6
+ include Rails.application.routes.mounted_helpers
7
+
6
8
  delegate :profile_path, :profile_url, :name, to: :updated_user
7
9
 
8
10
  def i18n_scope
9
11
  "decidim.events.verifications.verify_with_managed_user"
10
12
  end
11
13
 
14
+ delegate :conflicts_path, to: :decidim_admin
15
+
12
16
  def resource_path
13
17
  profile_path
14
18
  end
@@ -22,7 +26,7 @@ module Decidim
22
26
  end
23
27
 
24
28
  def default_i18n_options
25
- super.merge({ managed_user_path: managed_user.profile_path, managed_user_name: managed_user.name })
29
+ super.merge({ conflicts_path: conflicts_path, managed_user_path: managed_user.profile_path, managed_user_name: managed_user.name })
26
30
  end
27
31
 
28
32
  private
@@ -7,14 +7,14 @@
7
7
  <% if @granted_authorizations.any? %>
8
8
  <div class="card card--list">
9
9
  <% @granted_authorizations.each do |authorization| %>
10
- <% if authorization.expired? %>
11
- <%= link_to authorization_method(authorization).root_path(**url_params), title: t(".expired_verification"), class: "card--list__item" do %>
12
- <% render partial: "granted_authorization", locals: { authorization: authorization } %>
13
- <% end %>
14
- <% elsif authorization.renewable? %>
10
+ <% if authorization.renewable? %>
15
11
  <%= link_to "#", title: t(".show_renew_info"), data: { open: "renew-modal", "open-url": renew_modal_authorizations_path(handler: authorization.name) }, class: "card--list__item authorization-renewable" do %>
16
12
  <%= render partial: "granted_authorization", locals: { authorization: authorization } %>
17
13
  <% end %>
14
+ <% elsif authorization.expired? %>
15
+ <%= link_to authorization_method(authorization).root_path(**url_params), title: t(".expired_verification"), class: "card--list__item" do %>
16
+ <% render partial: "granted_authorization", locals: { authorization: authorization } %>
17
+ <% end %>
18
18
  <% else %>
19
19
  <div class="card--list__item">
20
20
  <%= render partial: "granted_authorization", locals: { authorization: authorization } %>
@@ -145,7 +145,7 @@ ar:
145
145
  verification_number: 'التحقق #%{n}'
146
146
  rejections:
147
147
  create:
148
- success: تم رفض التحقق. ستتم مطالبة المشاركين بتعديل مستنداتها
148
+ success: تم رفض التحقق. ستتم مطالبة المشاركة بتعديل مستنداتها
149
149
  authorizations:
150
150
  choose:
151
151
  choose_a_type: 'الرجاء تحديد الطريقة التي تريد التحقق منها:'
@@ -78,7 +78,10 @@ ca:
78
78
  events:
79
79
  verifications:
80
80
  verify_with_managed_user:
81
- notification_title: La participant <a href="%{resource_path}">%{resource_title}</a> ha intentat verificar-se amb les dades de la participant gestionada <a href="%{managed_user_path}">%{managed_user_name}</a>
81
+ email_intro: La participant <a href="%{resource_path}">%{resource_title}</a> ha intentat verificar-se amb les dades de la participant gestionada <a href="%{managed_user_path}">%{managed_user_name}</a>.
82
+ email_outro: Comprova la <a href="%{conflicts_path}">llista de conflictes de verificacions</a> i posa't en contacte amb la participant per a verificar els seus detalls i resoldre el problema.
83
+ email_subject: Error en intentar verificar-se contra una participant gestionada
84
+ notification_title: La participant <a href="%{resource_path}">%{resource_title}</a> ha intentat verificar-se amb les dades de la participant gestionada <a href="%{managed_user_path}">%{managed_user_name}</a>.
82
85
  verifications:
83
86
  authorizations:
84
87
  authorization_metadata:
@@ -78,7 +78,10 @@ cs:
78
78
  events:
79
79
  verifications:
80
80
  verify_with_managed_user:
81
- notification_title: Účastník <a href="%{resource_path}">%{resource_title}</a> se pokusil ověřit údaji spravovaného účastníka <a href="%{managed_user_path}">%{managed_user_name}</a>
81
+ email_intro: Účastník <a href="%{resource_path}">%{resource_title}</a> se pokusil ověřit se údaji spravovaného účastníka <a href="%{managed_user_path}">%{managed_user_name}</a>.
82
+ email_outro: Zkontrolujte seznam konfliktů <a href="%{conflicts_path}">ověření</a> a kontaktujte uživatele pro ověření jejich údajů a vyřešení problému.
83
+ email_subject: Neúspěšný pokus o ověření proti spravovanému uživateli
84
+ notification_title: Účastník <a href="%{resource_path}">%{resource_title}</a> se pokusil ověřit se údaji spravovaného účastníka <a href="%{managed_user_path}">%{managed_user_name}</a>.
82
85
  verifications:
83
86
  authorizations:
84
87
  authorization_metadata:
@@ -75,10 +75,6 @@ de:
75
75
  postal_letter:
76
76
  explanation: Wir senden Ihnen einen Brief mit einem Code, den Sie eingeben müssen, damit wir Ihre Adresse bestätigen können
77
77
  name: Code per Post
78
- events:
79
- verifications:
80
- verify_with_managed_user:
81
- notification_title: Der Teilnehmer <a href="%{resource_path}">%{resource_title}</a> hat versucht, sich mit den Daten des verwalteten Teilnehmers <a href="%{managed_user_path}">%{managed_user_name}</a> zu verifizieren.
82
78
  verifications:
83
79
  authorizations:
84
80
  authorization_metadata:
@@ -79,7 +79,10 @@ en:
79
79
  events:
80
80
  verifications:
81
81
  verify_with_managed_user:
82
- notification_title: The participant <a href="%{resource_path}">%{resource_title}</a> has tried to verify herself with the data of the managed participant <a href="%{managed_user_path}">%{managed_user_name}</a>
82
+ email_intro: The participant <a href="%{resource_path}">%{resource_title}</a> has tried to verify themself with the data of the managed participant <a href="%{managed_user_path}">%{managed_user_name}</a>.
83
+ email_outro: Check the <a href="%{conflicts_path}">Verifications's conflicts list</a> and contact the participant to verify their details and solve the issue.
84
+ email_subject: Failed verification attempt against a managed participant
85
+ notification_title: The participant <a href="%{resource_path}">%{resource_title}</a> has tried to verify themself with the data of the managed participant <a href="%{managed_user_path}">%{managed_user_name}</a>.
83
86
  verifications:
84
87
  authorizations:
85
88
  authorization_metadata:
@@ -78,7 +78,10 @@ es-MX:
78
78
  events:
79
79
  verifications:
80
80
  verify_with_managed_user:
81
- notification_title: La participante <a href="%{resource_path}">%{resource_title}</a> ha intentado verificarse a si misma con los datos de la participante gestionada <a href="%{managed_user_path}">%{managed_user_name}</a>
81
+ email_intro: La participante <a href="%{resource_path}">%{resource_title}</a> ha intentado verificarse a si misma con los datos de la participante gestionada <a href="%{managed_user_path}">%{managed_user_name}</a>.
82
+ email_outro: Comprueba la <a href="%{conflicts_path}">lista de conflictos de verificaciones</a> y ponte en contacto con la participante para verificar sus detalles y resolver el problema.
83
+ email_subject: Error al intentar verificarse contra una participante gestionada
84
+ notification_title: La participante <a href="%{resource_path}">%{resource_title}</a> ha intentado verificarse con los datos de la participante gestionada <a href="%{managed_user_path}">%{managed_user_name}</a>.
82
85
  verifications:
83
86
  authorizations:
84
87
  authorization_metadata:
@@ -78,7 +78,10 @@ es-PY:
78
78
  events:
79
79
  verifications:
80
80
  verify_with_managed_user:
81
- notification_title: La participante <a href="%{resource_path}">%{resource_title}</a> ha intentado verificarse a si misma con los datos de la participante gestionada <a href="%{managed_user_path}">%{managed_user_name}</a>
81
+ email_intro: La participante <a href="%{resource_path}">%{resource_title}</a> ha intentado verificarse a si misma con los datos de la participante gestionada <a href="%{managed_user_path}">%{managed_user_name}</a>.
82
+ email_outro: Comprueba la <a href="%{conflicts_path}">lista de conflictos de verificaciones</a> y ponte en contacto con la participante para verificar sus detalles y resolver el problema.
83
+ email_subject: Error al intentar verificarse contra una participante gestionada
84
+ notification_title: La participante <a href="%{resource_path}">%{resource_title}</a> ha intentado verificarse con los datos de la participante gestionada <a href="%{managed_user_path}">%{managed_user_name}</a>.
82
85
  verifications:
83
86
  authorizations:
84
87
  authorization_metadata:
@@ -78,7 +78,10 @@ es:
78
78
  events:
79
79
  verifications:
80
80
  verify_with_managed_user:
81
- notification_title: La participante <a href="%{resource_path}">%{resource_title}</a> ha intentado verificarse a si misma con los datos de la participante gestionada <a href="%{managed_user_path}">%{managed_user_name}</a>
81
+ email_intro: La participante <a href="%{resource_path}">%{resource_title}</a> ha intentado verificarse a si misma con los datos de la participante gestionada <a href="%{managed_user_path}">%{managed_user_name}</a>.
82
+ email_outro: Comprueba la <a href="%{conflicts_path}">lista de conflictos de verificaciones</a> y ponte en contacto con la participante para verificar sus detalles y resolver el problema.
83
+ email_subject: Error al intentar verificarse contra una participante gestionada
84
+ notification_title: La participante <a href="%{resource_path}">%{resource_title}</a> ha intentado verificarse con los datos de la participante gestionada <a href="%{managed_user_path}">%{managed_user_name}</a>.
82
85
  verifications:
83
86
  authorizations:
84
87
  authorization_metadata:
@@ -75,10 +75,6 @@ eu:
75
75
  postal_letter:
76
76
  explanation: Posta-gutun bat bidaliko dizugu, sartu behar duzun kode batekin, beraz, zure helbidea egiaztatu ahal izango dugu
77
77
  name: Kodea posta bidez
78
- events:
79
- verifications:
80
- verify_with_managed_user:
81
- notification_title: <a href="%{resource_path}">%{resource_title}</a> parte-hartzailea saiatu da bere burua identifikatzen <a href="%{managed_user_path}">%{managed_user_name}</a> kudeatutako parte-hartzailearen datuekin
82
78
  verifications:
83
79
  authorizations:
84
80
  authorization_metadata:
@@ -78,7 +78,10 @@ fi-pl:
78
78
  events:
79
79
  verifications:
80
80
  verify_with_managed_user:
81
- notification_title: Osallistuja <a href="%{resource_path}">%{resource_title}</a> yritti tunnistautua hallitun käyttäjän <a href="%{managed_user_path}">%{managed_user_name}</a> tiedoilla
81
+ email_intro: Osallistuja <a href="%{resource_path}">%{resource_title}</a> yritti tunnistautua hallitun käyttäjän <a href="%{managed_user_path}">%{managed_user_name}</a> tiedoilla.
82
+ email_outro: Tarkasta <a href="%{conflicts_path}">tunnistautumisten vahvistusten konfliktilista</a> ja ota yhteyttä osallistujaan tarkastaaksesi hänen tietonsa ja ratkaistaksesi ongelman.
83
+ email_subject: Hallitun käyttäjän tunnistaminen epäonnistui
84
+ notification_title: Osallistuja <a href="%{resource_path}">%{resource_title}</a> yritti tunnistautua hallitun käyttäjän <a href="%{managed_user_path}">%{managed_user_name}</a> tiedoilla.
82
85
  verifications:
83
86
  authorizations:
84
87
  authorization_metadata:
@@ -78,7 +78,10 @@ fi:
78
78
  events:
79
79
  verifications:
80
80
  verify_with_managed_user:
81
- notification_title: Osallistuja <a href="%{resource_path}">%{resource_title}</a> yritti tunnistautua hallitun käyttäjän <a href="%{managed_user_path}">%{managed_user_name}</a> tiedoilla
81
+ email_intro: Osallistuja <a href="%{resource_path}">%{resource_title}</a> yritti tunnistautua hallitun käyttäjän <a href="%{managed_user_path}">%{managed_user_name}</a> tiedoilla.
82
+ email_outro: Tarkasta <a href="%{conflicts_path}">tunnistautumisten vahvistusten konfliktilista</a> ja ota yhteyttä osallistujaan tarkastaaksesi hänen tietonsa ja ratkaistaksesi ongelman.
83
+ email_subject: Hallitun käyttäjän tunnistaminen epäonnistui
84
+ notification_title: Osallistuja <a href="%{resource_path}">%{resource_title}</a> yritti tunnistautua hallitun käyttäjän <a href="%{managed_user_path}">%{managed_user_name}</a> tiedoilla.
82
85
  verifications:
83
86
  authorizations:
84
87
  authorization_metadata:
@@ -78,7 +78,10 @@ fr-CA:
78
78
  events:
79
79
  verifications:
80
80
  verify_with_managed_user:
81
- notification_title: Le participant <a href="%{resource_path}">%{resource_title}</a> a essayé de se vérifier avec les données du participant représenté <a href="%{managed_user_path}">%{managed_user_name}</a>
81
+ email_intro: Le participant <a href="%{resource_path}">%{resource_title}</a> a essayé d'être vérifié avec les données de l'utilisateur représenté <a href="%{managed_user_path}">%{managed_user_name}</a>.
82
+ email_outro: Consultez la <a href="%{conflicts_path}">liste de conflits des vérifications</a> et contactez le participant pour vérifier ses détails et résoudre le problème. Si vous souhaitez vous désabonner des notifications, connectez-vous à la plateforme, puis rendez-vous dans l'onglet “Mon compte” > “Paramètres des notifications”.
83
+ email_subject: Echec lors de la tentative de vérification d'un participant
84
+ notification_title: Le participant <a href="%{resource_path}">%{resource_title}</a> a essayé d'être vérifié avec les données de l'utilisateur représenté <a href="%{managed_user_path}">%{managed_user_name}</a>.
82
85
  verifications:
83
86
  authorizations:
84
87
  authorization_metadata:
@@ -78,7 +78,10 @@ fr:
78
78
  events:
79
79
  verifications:
80
80
  verify_with_managed_user:
81
- notification_title: Le participant <a href="%{resource_path}">%{resource_title}</a> a essayé de se vérifier avec les données du participant représenté <a href="%{managed_user_path}">%{managed_user_name}</a>
81
+ email_intro: Le participant <a href="%{resource_path}">%{resource_title}</a> a essayé d'être vérifié avec les données de l'utilisateur représenté <a href="%{managed_user_path}">%{managed_user_name}</a>.
82
+ email_outro: Consultez la <a href="%{conflicts_path}">liste de conflits des vérifications</a> et contactez le participant pour vérifier ses détails et résoudre le problème. Si vous souhaitez vous désabonner des notifications, connectez-vous à la plateforme, puis rendez-vous dans l'onglet “Mon compte” > “Paramètres des notifications”.
83
+ email_subject: Echec lors de la tentative de vérification d'un participant
84
+ notification_title: Le participant <a href="%{resource_path}">%{resource_title}</a> a essayé d'être vérifié avec les données de l'utilisateur représenté <a href="%{managed_user_path}">%{managed_user_name}</a>.
82
85
  verifications:
83
86
  authorizations:
84
87
  authorization_metadata:
@@ -75,10 +75,6 @@ gl:
75
75
  postal_letter:
76
76
  explanation: Enviarémosche unha carta postal cun código que terás que ingresar para poder verificar a túa dirección
77
77
  name: Código por carta postal
78
- events:
79
- verifications:
80
- verify_with_managed_user:
81
- notification_title: P participante <a href="%{resource_path}">%{resource_title}</a> tentou a verificación de si mesmo/a cos datos do participante xestionado <a href="%{managed_user_path}">%{managed_user_name}</a>
82
78
  verifications:
83
79
  authorizations:
84
80
  authorization_metadata:
@@ -78,7 +78,10 @@ it:
78
78
  events:
79
79
  verifications:
80
80
  verify_with_managed_user:
81
- notification_title: La partecipante <a href="%{resource_path}">%{resource_title}</a> ha provato a verificarsi con i dati della partecipante gestita <a href="%{managed_user_path}">%{managed_user_name}</a>
81
+ email_intro: L'utente<a href="%{resource_path}">%{resource_title}</a> ha provato a verificarsi con i dati dell'utente<a href="%{managed_user_path}">%{managed_user_name}</a>.
82
+ email_outro: Controllare l'<a href="%{conflicts_path}">elenco dei conflitti nelle verifiche</a> e contattare l'utente per verificare i propri dati e risolvere il problema.
83
+ email_subject: 'Tentativo di verifica fallito: l''utente esiste già'
84
+ notification_title: L'utente<a href="%{resource_path}">%{resource_title}</a> ha provato a verificarsi con i dati dell'utente<a href="%{managed_user_path}">%{managed_user_name}</a>.
82
85
  verifications:
83
86
  authorizations:
84
87
  authorization_metadata:
@@ -78,7 +78,10 @@ ja:
78
78
  events:
79
79
  verifications:
80
80
  verify_with_managed_user:
81
- notification_title: 参加者 <a href="%{resource_path}">%{resource_title}</a> が管理参加者 <a href="%{managed_user_path}">%{managed_user_name}</a> のデータと自分自身を確認しようとしました。
81
+ email_intro: 参加者 <a href="%{resource_path}">%{resource_title}</a> が管理対象参加者 <a href="%{managed_user_path}">%{managed_user_name}</a>のデータで検証しようとしました。
82
+ email_outro: <a href="%{conflicts_path}">検証の競合リスト</a> を確認し、参加者に連絡して詳細を調査し、問題を解決します。
83
+ email_subject: 管理対象参加者に対する検証の試みに失敗しました
84
+ notification_title: 参加者 <a href="%{resource_path}">%{resource_title}</a> が管理参加者 <a href="%{managed_user_path}">%{managed_user_name}</a>のデータでそれらを確認しようとしました。
82
85
  verifications:
83
86
  authorizations:
84
87
  authorization_metadata:
@@ -24,6 +24,26 @@
24
24
  full_address: Full adresse
25
25
  verification_code: Verifiseringskode
26
26
  decidim:
27
+ admin:
28
+ menu:
29
+ authorization_revocation:
30
+ before_date_info: Nyttig hvis prosessen allerede har begynt og du vil tilbakekalle tillatelsene for den forrige prosessen.
31
+ button: Opphev alle
32
+ button_before: Tilbakekall før dato
33
+ destroy:
34
+ confirm: Tilbakekall før dato-autorisering kan ikke angres. Er du sikker på at du vil fortsette?
35
+ confirm_all: Tilbakekall alle autorisasjoner kan ikke angres. Er du sikker på at du vil fortsette?
36
+ destroy_nok: Det har vært et problem under tilbakekalling av autorisasjoner.
37
+ destroy_ok: Alle matchede autorisasjoner er nå tilbakekallet.
38
+ info: Det er totalt %{count} bekreftede deltakere.
39
+ no_data: Ingen bekreftede deltakere
40
+ title: Tilbakekall av autorisasjoner
41
+ authorization_workflows: Autorisasjoner
42
+ admin_log:
43
+ organization:
44
+ update_id_documents_config: "%{user_name} oppdaterte identitetsdokumenters autorisasjonskofigurasjon"
45
+ user:
46
+ grant_id_documents_offline_verification: "%{user_name} bekreftet at %{resource_name} bruker en offline identitetdokumentsautorisasjon"
27
47
  authorization_handlers:
28
48
  admin:
29
49
  csv_census:
@@ -57,10 +77,16 @@
57
77
  name: Kode med post brev
58
78
  verifications:
59
79
  authorizations:
80
+ authorization_metadata:
81
+ info: 'Dette er data fra den gjeldende verifikasjonen:'
82
+ no_data_stored: Ingen data lagret.
60
83
  create:
61
84
  error: Det oppstod et problem med å opprette autoriseringen.
62
85
  success: Du er blitt autorisert.
63
86
  unconfirmed: Du må bekrefte e-posten din for å autorisere deg.
87
+ destroy:
88
+ error: Det oppsto et problem med å slette autorisasjonen.
89
+ success: Du har slettet autorisasjonen.
64
90
  first_login:
65
91
  actions:
66
92
  another_dummy_authorization_handler: Verifiser mot et annet eksempel på autorisasjons behandler
@@ -69,13 +95,23 @@
69
95
  dummy_authorization_workflow: Verifiser mot eksempelets autoriserings arbeidsflyt
70
96
  id_documents: Bli verifisert med å laste opp ditt identitets dokumentet
71
97
  postal_letter: Bli verifisert med å motta en verifiseringskode gjennom posten
98
+ sms: Bli bekreftet ved å motta en verifiseringskode på SMS
72
99
  title: Verifiser din identitet
73
100
  verify_with_these_options: 'Disse er de tilgjengelige alternativene for å verifisere identiteten din:'
101
+ index:
102
+ expired_verification: Verifikasjon utløpt
103
+ pending_verification: Venter på verifisering
104
+ show_renew_info: Klikk for å fornye verifisering
105
+ unauthorized_verification: Forny verifisering
74
106
  new:
75
107
  authorize: Send
76
108
  authorize_with: Verifiser med %{authorizer}
77
109
  renew_modal:
78
110
  cancel: Avbryt
111
+ close: lukk
112
+ continue: Fortsett
113
+ info_renew: Hvis du ønsker å oppdatere dataene, fortsetter du med fornyelsen
114
+ title: Forny verifisering
79
115
  skip_verification: Du kan hoppe over dette for nå og %{link}
80
116
  start_exploring: begynn å utforske
81
117
  csv_census:
@@ -95,6 +131,7 @@
95
131
  title: Nåværende folketelling data
96
132
  instructions:
97
133
  body: For å gjøre dette må du gå inn i systemadministrasjon og legge til cvs_census autoriseringen til organisasjonen
134
+ title: Du må aktivere CSV-tellingen for denne organisasjonen
98
135
  new:
99
136
  file: ".csv fil med e-postdata"
100
137
  info: 'Må være en fil i CSV-format med bare en kolonne med e-postadressen:'
@@ -109,6 +146,11 @@
109
146
  postal_codes:
110
147
  one: Deltakelse er begrenset til deltakere med postnummer %{postal_codes}.
111
148
  other: 'Deltakelse er begrenset til deltakere med postnummer %{postal_codes}.'
149
+ scope: Deltakelse er begrenset til deltakere med tema %{scope_name}.
150
+ user_postal_codes:
151
+ one: Deltagelse er begrenset til deltakere med postnummer %{postal_codes}, og postnummeret ditt er %{user_postal_code}.
152
+ other: 'Deltagelse er begrenset til deltakere med følgende postkoder: %{postal_codes}. Ditt postnummer er %{user_postal_code}.'
153
+ user_scope: Deltakelse er begrenset til deltakere med tema %{scope_name}, og ditt tema er %{user_scope_name}.
112
154
  id_documents:
113
155
  admin:
114
156
  config:
@@ -75,10 +75,6 @@ pl:
75
75
  postal_letter:
76
76
  explanation: Wyślemy Ci list pocztowy z kodem, który musisz wprowadzić, abyśmy mogli zweryfikować twój adres
77
77
  name: Kod listem pocztowym
78
- events:
79
- verifications:
80
- verify_with_managed_user:
81
- notification_title: Użytkownik <a href="%{resource_path}">%{resource_title}</a> próbował zweryfikować siebie z danymi zarządzanego użytkownika <a href="%{managed_user_path}">%{managed_user_name}</a>
82
78
  verifications:
83
79
  authorizations:
84
80
  authorization_metadata:
@@ -75,10 +75,6 @@ pt-BR:
75
75
  postal_letter:
76
76
  explanation: Nós lhe enviaremos uma carta postal com um código que você terá que inserir para que possamos verificar seu endereço
77
77
  name: Código por carta postal
78
- events:
79
- verifications:
80
- verify_with_managed_user:
81
- notification_title: O usuário <a href="%{resource_path}">%{resource_title}</a> tentou se verificar com os dados do usuário gerenciado <a href="%{managed_user_path}">%{managed_user_name}</a>
82
78
  verifications:
83
79
  authorizations:
84
80
  authorization_metadata:
@@ -75,10 +75,6 @@ pt:
75
75
  postal_letter:
76
76
  explanation: Enviaremos-lhe uma carta postal com um código que terá que inserir para que possamos verificar o seu endereço
77
77
  name: Código por carta postal
78
- events:
79
- verifications:
80
- verify_with_managed_user:
81
- notification_title: O participante <a href=«%{resource_path}»>%{resource_title}</a> tentou verificar-se com os dados do participante gerido <a href=«%{managed_user_path}»>>%{managed_user_name}</a>
82
78
  verifications:
83
79
  authorizations:
84
80
  authorization_metadata:
@@ -75,10 +75,6 @@ ro:
75
75
  postal_letter:
76
76
  explanation: Îți vom trimite o scrisoare poștală cu un cod pe care va trebui să-l introduci pentru a-ți putea verifica adresa
77
77
  name: Cod primit prin scrisoare poștală
78
- events:
79
- verifications:
80
- verify_with_managed_user:
81
- notification_title: Participantul <a href="%{resource_path}">%{resource_title}</a> a încercat să își verifice contul cu datele participantului <a href="%{managed_user_path}">%{managed_user_name}</a>
82
78
  verifications:
83
79
  authorizations:
84
80
  authorization_metadata:
@@ -67,10 +67,6 @@ tr:
67
67
  postal_letter:
68
68
  explanation: Size adresinizi doğrulayabilmemiz için girmeniz gereken bir kod içeren bir posta mektubu göndereceğiz.
69
69
  name: Posta mektubu ile kod
70
- events:
71
- verifications:
72
- verify_with_managed_user:
73
- notification_title: Katılımcı <a href="%{resource_path}">%{resource_title} </a>, yönetilen katılımcının <a href="%{managed_user_path}">%{managed_user_name} </a> verileriyle kendini doğrulamaya çalıştı
74
70
  verifications:
75
71
  authorizations:
76
72
  authorization_metadata:
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-verifications version.
5
5
  module Verifications
6
6
  def self.version
7
- "0.26.0.rc2"
7
+ "0.26.2"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-verifications
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0.rc2
4
+ version: 0.26.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Rodriguez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-02 00:00:00.000000000 Z
11
+ date: 2022-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-core
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.26.0.rc2
19
+ version: 0.26.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.26.0.rc2
26
+ version: 0.26.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-admin
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.26.0.rc2
33
+ version: 0.26.2
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.26.0.rc2
40
+ version: 0.26.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-dev
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.26.0.rc2
47
+ version: 0.26.2
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.26.0.rc2
54
+ version: 0.26.2
55
55
  description: Several verification methods for your decidim instance
56
56
  email:
57
57
  - deivid.rodriguez@riseup.net
@@ -256,9 +256,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
256
256
  version: '2.7'
257
257
  required_rubygems_version: !ruby/object:Gem::Requirement
258
258
  requirements:
259
- - - ">"
259
+ - - ">="
260
260
  - !ruby/object:Gem::Version
261
- version: 1.3.1
261
+ version: '0'
262
262
  requirements: []
263
263
  rubygems_version: 3.1.6
264
264
  signing_key: