decidim-verifications 0.28.6 → 0.29.0.rc1
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 +4 -4
- data/README.md +4 -4
- data/app/commands/decidim/verifications/revoke_by_condition_authorizations.rb +3 -3
- data/app/controllers/concerns/decidim/admin/workflows_breadcrumb.rb +1 -1
- data/app/controllers/decidim/verifications/admin/verifications_controller.rb +1 -1
- data/app/forms/decidim/verifications/csv_census/admin/census_data_form.rb +1 -1
- data/app/forms/decidim/verifications/id_documents/admin/config_form.rb +1 -1
- data/app/models/decidim/verifications/csv_census/data.rb +1 -1
- data/app/services/decidim/authorization_handler.rb +1 -1
- data/app/views/decidim/verifications/id_documents/admin/confirmations/new.html.erb +2 -2
- data/app/views/decidim/verifications/id_documents/admin/pending_authorizations/index.html.erb +1 -1
- data/app/views/dummy_authorization/_form.html.erb +2 -4
- data/config/locales/ar.yml +2 -4
- data/config/locales/bg.yml +26 -1
- data/config/locales/ca.yml +21 -4
- data/config/locales/cs.yml +12 -5
- data/config/locales/de.yml +22 -5
- data/config/locales/el.yml +3 -2
- data/config/locales/en.yml +22 -5
- data/config/locales/es-MX.yml +21 -4
- data/config/locales/es-PY.yml +21 -4
- data/config/locales/es.yml +21 -4
- data/config/locales/eu.yml +35 -18
- data/config/locales/fi-plain.yml +26 -3
- data/config/locales/fi.yml +35 -12
- data/config/locales/fr-CA.yml +27 -5
- data/config/locales/fr.yml +27 -5
- data/config/locales/gl.yml +3 -2
- data/config/locales/hu.yml +3 -4
- data/config/locales/id-ID.yml +2 -2
- data/config/locales/it.yml +3 -7
- data/config/locales/ja.yml +23 -6
- data/config/locales/lt.yml +6 -4
- data/config/locales/lv.yml +3 -2
- data/config/locales/nl.yml +3 -2
- data/config/locales/no.yml +3 -2
- data/config/locales/pl.yml +28 -3
- data/config/locales/pt-BR.yml +3 -4
- data/config/locales/pt.yml +3 -2
- data/config/locales/ro-RO.yml +35 -41
- data/config/locales/sk.yml +3 -2
- data/config/locales/sv.yml +14 -109
- data/config/locales/tr-TR.yml +3 -2
- data/config/locales/zh-CN.yml +3 -2
- data/config/locales/zh-TW.yml +6 -4
- data/decidim-verifications.gemspec +2 -2
- data/lib/decidim/verifications/adapter.rb +9 -0
- data/lib/decidim/verifications/default_action_authorizer.rb +1 -1
- data/lib/decidim/verifications/version.rb +1 -1
- data/lib/decidim/verifications/workflows.rb +2 -2
- metadata +13 -17
- data/app/uploaders/decidim/cw/verifications/attachment_uploader.rb +0 -15
- data/config/locales/bn-BD.yml +0 -1
- data/config/locales/bs-BA.yml +0 -1
- data/config/locales/ca-IT.yml +0 -289
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24f906d1957c5c27f98a05f37b7e95e0b2986863a01a1a0b170eed1ec488f79a
|
4
|
+
data.tar.gz: 52da2c9fab1f1fd309b22d72f2e717246c945f22fd3d7a3e44497e173379d7ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f991286839e662ac051575c60e9e6ead2174fdfc1008f2076a00f4424d83c9ab65c5c8f5f96c54d81d6dab3a32d934df6e00b7f1d851d0976ea3cca30e7fb896
|
7
|
+
data.tar.gz: 1527799f12ebc072a569e3c2f70255347acb19bd4871d57a5f57befadadecd569d740ad6277171912a6a2e81f03d792f58ad6683cb0b32b5eea2ade8de7b0068
|
data/README.md
CHANGED
@@ -123,7 +123,7 @@ For configuring these you can do so with the Environment Variable `VERIFICATIONS
|
|
123
123
|
VERIFICATIONS_DOCUMENT_TYPES="dni,nie,passport"
|
124
124
|
```
|
125
125
|
|
126
|
-
You need to also add the following keys in your i18n files (i.e. `config/locales/en.yml`). By default in the verifications, `
|
126
|
+
You need to also add the following keys in your i18n files (i.e. `config/locales/en.yml`). By default in the verifications, `identification_number` is currently being used as a universal example. Below are examples of adding `dni`, `nie` and `passport` locally used in Spain.
|
127
127
|
|
128
128
|
```yaml
|
129
129
|
en:
|
@@ -181,16 +181,16 @@ for an action or not.
|
|
181
181
|
|
182
182
|
Custom action authorizers are an advanced component that can be used in both types of
|
183
183
|
authorization methods to customize some parts of the authorization process.
|
184
|
-
These are
|
184
|
+
These are particularly useful when used within verification options, which are
|
185
185
|
set in the admin zone related to a component action. As a result, a verification
|
186
186
|
method will be allowed to change the authorization logic and the appearance based
|
187
187
|
on the context where the authorization is being performed.
|
188
188
|
|
189
|
-
For example, you can require authorization for
|
189
|
+
For example, you can require authorization for voting proposals in a participatory
|
190
190
|
process, and also restrict it to users with postal codes 12345 and 12346. The
|
191
191
|
[example authorization handler](https://github.com/decidim/decidim/blob/develop/decidim-generators/lib/decidim/generators/app_templates/dummy_authorization_handler.rb)
|
192
192
|
included in this module allows to do that. As an admin user, you should visit
|
193
|
-
the proposals
|
193
|
+
the proposals component permissions screen, choose the `Example authorization`
|
194
194
|
as the authorization handler name for the `vote` action and enter "12345, 12346"
|
195
195
|
in the `Allowed postal codes` field placed below.
|
196
196
|
|
@@ -4,14 +4,14 @@ module Decidim
|
|
4
4
|
module Verifications
|
5
5
|
# A command to revoke authorizations with filter
|
6
6
|
class RevokeByConditionAuthorizations < Decidim::Command
|
7
|
+
delegate :current_user, to: :form
|
7
8
|
# Public: Initializes the command.
|
8
9
|
#
|
9
10
|
# organization - Organization object.
|
10
11
|
# current_user - The current user.
|
11
12
|
# form - A form object with the verification data to confirm it.
|
12
|
-
def initialize(organization,
|
13
|
+
def initialize(organization, form)
|
13
14
|
@organization = organization
|
14
|
-
@current_user = current_user
|
15
15
|
@form = form
|
16
16
|
end
|
17
17
|
|
@@ -62,7 +62,7 @@ module Decidim
|
|
62
62
|
|
63
63
|
private
|
64
64
|
|
65
|
-
attr_reader :organization, :
|
65
|
+
attr_reader :organization, :form
|
66
66
|
end
|
67
67
|
end
|
68
68
|
end
|
@@ -9,7 +9,7 @@ module Decidim
|
|
9
9
|
return unless params.has_key?(:revocations_before_date)
|
10
10
|
|
11
11
|
form = RevocationsBeforeDateForm.from_params(params[:revocations_before_date])
|
12
|
-
RevokeByConditionAuthorizations.call(current_organization,
|
12
|
+
RevokeByConditionAuthorizations.call(current_organization, form) do
|
13
13
|
on(:ok) do
|
14
14
|
flash[:notice] = t("authorization_revocation.destroy_ok", scope: "decidim.admin.menu")
|
15
15
|
redirect_to decidim_admin.authorization_workflows_url
|
@@ -11,7 +11,7 @@ module Decidim
|
|
11
11
|
|
12
12
|
attribute :offline, Boolean
|
13
13
|
attribute :online, Boolean
|
14
|
-
translatable_attribute :offline_explanation,
|
14
|
+
translatable_attribute :offline_explanation, String
|
15
15
|
|
16
16
|
validates :offline_explanation, translatable_presence: true, if: :offline
|
17
17
|
validate :has_some_method_selected?
|
@@ -10,7 +10,7 @@ module Decidim
|
|
10
10
|
# Enable this methods:
|
11
11
|
#
|
12
12
|
# - .error with an array of rows with errors in the csv file
|
13
|
-
# - .values an array with emails
|
13
|
+
# - .values an array with emails read from the csv file
|
14
14
|
#
|
15
15
|
# Returns nothing
|
16
16
|
class Data
|
@@ -108,7 +108,7 @@ module Decidim
|
|
108
108
|
#
|
109
109
|
# Any data to be injected in the `verification_metadata` field of an
|
110
110
|
# authorization when it is created. This data will be used for multi-step
|
111
|
-
#
|
111
|
+
# verification workflows in order to confirm the authorization.
|
112
112
|
#
|
113
113
|
# Returns a Hash.
|
114
114
|
def verification_metadata
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<div class="item_show__header">
|
4
4
|
<h1 class="item_show__header-title">
|
5
5
|
<%= t(".introduce_user_data") %>
|
6
|
-
<%= link_to t(".reject"), pending_authorization_rejection_path(@pending_authorization), method: :post, class: "button button__sm button__secondary alert
|
6
|
+
<%= link_to t(".reject"), pending_authorization_rejection_path(@pending_authorization), method: :post, class: "button button__sm button__secondary alert button--title destroy" %>
|
7
7
|
</h1>
|
8
8
|
</div>
|
9
9
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
|
18
18
|
<div class="card-section">
|
19
19
|
<div class="row column">
|
20
|
-
<%= image_tag @pending_authorization.attached_uploader(:verification_attachment).
|
20
|
+
<%= image_tag @pending_authorization.attached_uploader(:verification_attachment).variant_path(:big), class: "thumbnail" %>
|
21
21
|
</div>
|
22
22
|
|
23
23
|
<div class="row column">
|
data/app/views/decidim/verifications/id_documents/admin/pending_authorizations/index.html.erb
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
</td>
|
25
25
|
<td>
|
26
26
|
<%= link_to new_pending_authorization_confirmation_path(authorization.id) do %>
|
27
|
-
<%= image_tag authorization.attached_uploader(:verification_attachment).
|
27
|
+
<%= image_tag authorization.attached_uploader(:verification_attachment).variant_path(:thumbnail), class: "thumbnail-list" %>
|
28
28
|
<% end %>
|
29
29
|
</td>
|
30
30
|
</tr>
|
@@ -11,9 +11,7 @@
|
|
11
11
|
<%= form.hidden_field :handler_name %>
|
12
12
|
<%= form.text_field :document_number %>
|
13
13
|
<%= form.text_field :postal_code %>
|
14
|
-
|
15
|
-
|
16
|
-
</div>
|
14
|
+
<%= form.date_field :birthday %>
|
15
|
+
|
17
16
|
<%= scopes_select_field(form, :scope_id) %>
|
18
17
|
</div>
|
19
|
-
git
|
data/config/locales/ar.yml
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
ar:
|
3
3
|
activemodel:
|
4
4
|
attributes:
|
5
|
-
authorization:
|
6
|
-
verification_attachment: مرفق التحقق
|
7
5
|
config:
|
8
6
|
available_methods: الطرق المتاحة
|
9
7
|
offline: غير متصل على الانترنت
|
@@ -87,6 +85,8 @@ ar:
|
|
87
85
|
body: للقيام بذلك ، يجب عليك إدخال إدارة النظام وإضافة تصاريح csv_census إلى المؤسسة
|
88
86
|
new:
|
89
87
|
file: ".csv ملف مع بيانات رسائل البريد الإلكتروني"
|
88
|
+
submit: رفع ملف
|
89
|
+
title: تحميل إحصاء جديد
|
90
90
|
authorizations:
|
91
91
|
new:
|
92
92
|
error: لم نتمكن من التحقق من حسابك أو لم تكن في تعداد المنظمة.
|
@@ -157,8 +157,6 @@ ar:
|
|
157
157
|
title: اطلب رمز التحقق
|
158
158
|
sms:
|
159
159
|
authorizations:
|
160
|
-
destroy:
|
161
|
-
success: رمز التحقق إعادة تعيين بنجاح. يرجى إعادة إدخال رقم هاتفك.
|
162
160
|
edit:
|
163
161
|
confirm_destroy: هل أنت متأكد من أنك تريد إعادة تعيين رمز التحقق؟
|
164
162
|
destroy: إعادة تعيين رمز التحقق
|
data/config/locales/bg.yml
CHANGED
@@ -57,10 +57,24 @@ bg:
|
|
57
57
|
grant_id_documents_offline_verification: "%{user_name} потвърди %{resource_name}, като използва офлайн проверка на документите за самоличност"
|
58
58
|
authorization_handlers:
|
59
59
|
admin:
|
60
|
+
another_dummy_authorization_handler:
|
61
|
+
help:
|
62
|
+
- Примерен манипулатор за оторизация, така че разработчиците да могат да разберат как работи една проста проверка.
|
63
|
+
- Той е насочен към разработчиците, за да могат да разберат как да внедрят своя собствена система за проверка.
|
64
|
+
- Преминете проверка, като въведете номер на паспорт започващ с "A".
|
60
65
|
csv_census:
|
61
66
|
help:
|
62
67
|
- Администраторите качват CSV с имейлите на приетите участници.
|
63
68
|
- Само участници с имейл в този CSV файл могат да бъдат потвърдени.
|
69
|
+
default:
|
70
|
+
help:
|
71
|
+
- Помощния манипулатор на оторизация не е дефиниран.
|
72
|
+
- Разработчикът трябва да дефинира помощта в ключа за превод (i18n) „%{authorization_handler}“
|
73
|
+
dummy_authorization_handler:
|
74
|
+
help:
|
75
|
+
- Пример за манипулатор за оторизация, така че разработчиците да могат да разберат как работи една проста проверка.
|
76
|
+
- Той е насочен към разработчиците, за да могат да разберат как да внедрят своя собствена система за проверка.
|
77
|
+
- Преминете проверка, като въведете номер на документ завършващ с "X".
|
64
78
|
id_documents:
|
65
79
|
help:
|
66
80
|
- Потребителите попълват своята информация за самоличност и качват копие на своя документ.
|
@@ -73,6 +87,11 @@ bg:
|
|
73
87
|
- Изпращате писмото до техния адрес с кода за потвърждение.
|
74
88
|
- Маркирате писмото като "изпратено".
|
75
89
|
- След като маркирате писмото като изпратено, участникът ще може да въведе кода и да бъде потвърден.
|
90
|
+
sms:
|
91
|
+
help:
|
92
|
+
- Участниците искат код за потвърждение да бъде изпратен на техния телефон.
|
93
|
+
- Те трябва да въведат кода, за да бъдат потвърдени.
|
94
|
+
- Ако не получат кода, могат да го поискат отново.
|
76
95
|
csv_census:
|
77
96
|
explanation: Потвърждение чрез преброяването на участниците в организацията.
|
78
97
|
name: Преброяване на участниците в организацията
|
@@ -154,7 +173,13 @@ bg:
|
|
154
173
|
body: За тази цел трябва да влезете в администрацията на системата и да добавите оторизация за csv_census в организацията
|
155
174
|
title: Трябва да активирате преброяването чрез файл във формат CSV за тази организация
|
156
175
|
new:
|
176
|
+
example: |
|
177
|
+
john.doe@example.org
|
178
|
+
jane.doe@example.org
|
157
179
|
file: "файл във формат .csv с данни за електронните пощи"
|
180
|
+
info: 'Трябва да бъде файл във формат CSV, съдържащ само една колона с електронната поща:'
|
181
|
+
submit: Качване на файл
|
182
|
+
title: Качване на ново преброяване
|
158
183
|
authorizations:
|
159
184
|
new:
|
160
185
|
error: Не можахме да потвърдим вашия акаунт или не сте в преброяването на организацията.
|
@@ -263,7 +288,7 @@ bg:
|
|
263
288
|
error: Възникна проблем с Вашата заявка.
|
264
289
|
success: Благодарим Ви! Изпратихме SMS на телефона Ви.
|
265
290
|
destroy:
|
266
|
-
success: Кодът за потвърждение беше
|
291
|
+
success: Кодът за потвърждение беше преиздаден успешно. Моля, въведете повторно телефонния си номер.
|
267
292
|
edit:
|
268
293
|
confirm_destroy: Сигурни ли сте, че желаете да преиздадете кода за потвърждение?
|
269
294
|
destroy: Преиздаване на код за потвърждение
|
data/config/locales/ca.yml
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
ca:
|
3
3
|
activemodel:
|
4
4
|
attributes:
|
5
|
-
authorization:
|
6
|
-
verification_attachment: Arxiu adjunt de la verificació
|
7
5
|
config:
|
8
6
|
available_methods: Mètodes disponibles
|
9
7
|
offline: Sense connexió
|
@@ -59,10 +57,24 @@ ca:
|
|
59
57
|
grant_id_documents_offline_verification: "%{user_name} ha verificat %{resource_name} utilitzant una autorització offline de Documents d'identitat"
|
60
58
|
authorization_handlers:
|
61
59
|
admin:
|
60
|
+
another_dummy_authorization_handler:
|
61
|
+
help:
|
62
|
+
- Un exemple de gestor d'autorització perquè les desenvolupadores puguin entendre com funciona.
|
63
|
+
- Està dirigit a les desenvolupadores perquè puguin entendre com implementar el seu propi sistema de verificació.
|
64
|
+
- Verifica't introduint un número de passaport que comenci per "A".
|
62
65
|
csv_census:
|
63
66
|
help:
|
64
67
|
- Les administradores carreguen un CSV amb els correus electrònics de les participants acceptades.
|
65
68
|
- Només es poden verificar les participants amb un correu electrònic que consti en aquest arxiu CSV.
|
69
|
+
default:
|
70
|
+
help:
|
71
|
+
- L'ajuda sobre el gestor d'autorització no està definida.
|
72
|
+
- Una desenvolupadora necessita definir l'ajuda a la clau de traducció (i18n) %{authorization_handler}
|
73
|
+
dummy_authorization_handler:
|
74
|
+
help:
|
75
|
+
- Un exemple de gestor d'autorització perquè les desenvolupadores puguin entendre com funciona una verificació simple.
|
76
|
+
- Està dirigit a les desenvolupadores perquè puguin entendre com implementar el seu propi sistema de verificació.
|
77
|
+
- Verifica't introduint un número de document que finalitzi amb "X".
|
66
78
|
id_documents:
|
67
79
|
help:
|
68
80
|
- Les participants omplen la informació de la seva identitat i carreguen una còpia del seu document.
|
@@ -75,6 +87,11 @@ ca:
|
|
75
87
|
- Enviar la carta a la seva adreça amb el codi de verificació.
|
76
88
|
- Marcar la carta com a enviada.
|
77
89
|
- Una vegada la carta estigui marcada com a enviada, la participant podrà introduir el codi i verificar-se.
|
90
|
+
sms:
|
91
|
+
help:
|
92
|
+
- Les participants sol·liciten un codi de verificació que s'enviarà al seu telèfon.
|
93
|
+
- Cal que introdueixin el codi per a ser verificades.
|
94
|
+
- Si no reben el codi, poden tornar a demanar-lo.
|
78
95
|
csv_census:
|
79
96
|
explanation: Verifica't mitjançant el cens de l'organització.
|
80
97
|
name: Cens de l'organització
|
@@ -160,8 +177,8 @@ ca:
|
|
160
177
|
john.doe@example.org
|
161
178
|
jane.doe@example.org
|
162
179
|
file: "fitxer .csv amb dades de correus electrònics"
|
163
|
-
info: 'Ha de ser un
|
164
|
-
submit: Puja
|
180
|
+
info: 'Ha de ser un document en format CSV amb una única columna indicant les adreces electròniques:'
|
181
|
+
submit: Puja un document
|
165
182
|
title: Puja un nou cens
|
166
183
|
authorizations:
|
167
184
|
new:
|
data/config/locales/cs.yml
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
cs:
|
3
3
|
activemodel:
|
4
4
|
attributes:
|
5
|
-
authorization:
|
6
|
-
verification_attachment: Příloha ověření
|
7
5
|
config:
|
8
6
|
available_methods: Dostupné metody
|
9
7
|
offline: Offline
|
@@ -63,6 +61,10 @@ cs:
|
|
63
61
|
help:
|
64
62
|
- Administrátoři nahrávají CSV s e-maily přijatých účastníků.
|
65
63
|
- Pouze účastníci s e-mailem v souboru CSV mohou být ověřeni.
|
64
|
+
default:
|
65
|
+
help:
|
66
|
+
-
|
67
|
+
- Vývojář musí definovat pomoc v překladu (i18n) klíč "%{authorization_handler}"
|
66
68
|
id_documents:
|
67
69
|
help:
|
68
70
|
- Uživatelé vyplňují údaje o své totožnosti a nahrávají kopii svého dokladu.
|
@@ -91,10 +93,9 @@ cs:
|
|
91
93
|
events:
|
92
94
|
verifications:
|
93
95
|
verify_with_managed_user:
|
94
|
-
email_intro: Účastník <a href="%{resource_url}">%{resource_title}</a> se pokusil ověřit
|
96
|
+
email_intro: Účastník <a href="%{resource_url}">%{resource_title}</a> se pokusil ověřit údaji jiného účastníka (<a href="%{managed_user_url}">%{managed_user_name}</a>).
|
95
97
|
email_outro: Zkontrolujte seznam konfliktů <a href="%{conflicts_url}">ověření</a> a kontaktujte uživatele pro ověření jejich údajů a vyřešení problému.
|
96
98
|
email_subject: Neúspěšný pokus o ověření proti jinému uživateli
|
97
|
-
notification_title: Účastník <a href="%{resource_path}">%{resource_title}</a> se pokusil ověřit se s údaji jiného účastníka (<a href="%{managed_user_path}">%{managed_user_name}</a>).
|
98
99
|
verifications:
|
99
100
|
authorizations:
|
100
101
|
authorization_metadata:
|
@@ -156,7 +157,13 @@ cs:
|
|
156
157
|
body: Chcete-li to provést, musíte vstoupit do správy systému a přidat oprávnění prostřednictvím souboru csv s e-maily členů organizace
|
157
158
|
title: Musíte aktivovat CSV s kontakty členů organizace
|
158
159
|
new:
|
160
|
+
example: |
|
161
|
+
john.doe@example.org
|
162
|
+
jane.doe@example.org
|
159
163
|
file: ".csv soubor s daty e-mailů"
|
164
|
+
info: 'Musí být soubor ve formátu CSV obsahující pouze jeden sloupec s e-mailovou adresou:'
|
165
|
+
submit: Nahrát soubor
|
166
|
+
title: Nahrajte nové členy organizace
|
160
167
|
authorizations:
|
161
168
|
new:
|
162
169
|
error: Váš účet nebyl ověřen, nebo nejste členem organizace.
|
@@ -269,7 +276,7 @@ cs:
|
|
269
276
|
error: U vašeho požadavku došlo k problému.
|
270
277
|
success: Děkujeme! Poslali jsme SMS na váš telefon.
|
271
278
|
destroy:
|
272
|
-
success: Ověřovací kód úspěšně
|
279
|
+
success: Ověřovací kód byl úspěšně obnoven. Zadejte prosím své telefonní číslo.
|
273
280
|
edit:
|
274
281
|
confirm_destroy: Opravdu chcete obnovit ověřovací kód?
|
275
282
|
destroy: Obnovit ověřovací kód
|
data/config/locales/de.yml
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
de:
|
3
3
|
activemodel:
|
4
4
|
attributes:
|
5
|
-
authorization:
|
6
|
-
verification_attachment: Anhang zur Verifizierung
|
7
5
|
config:
|
8
6
|
available_methods: Verfügbare Methoden
|
9
7
|
offline: Offline
|
@@ -59,10 +57,24 @@ de:
|
|
59
57
|
grant_id_documents_offline_verification: "%{user_name} hat die Identitätsdokumente von %{resource_name} offline überprüft"
|
60
58
|
authorization_handlers:
|
61
59
|
admin:
|
60
|
+
another_dummy_authorization_handler:
|
61
|
+
help:
|
62
|
+
- Ein Beispiel-Autorisierungshandler, damit Entwickler verstehen können, wie eine einfache Verifizierung funktioniert.
|
63
|
+
- Es ist für Entwickler gedacht, damit sie verstehen können, wie sie ihr eigenes Verifizierungssystem implementieren.
|
64
|
+
- Lassen Sie sich verifizieren, indem Sie eine Passnummer eingeben, die mit "A" beginnt.
|
62
65
|
csv_census:
|
63
66
|
help:
|
64
67
|
- Admins laden ein CSV mit den E-Mails der akzeptierten Teilnehmer hoch.
|
65
68
|
- Nur Teilnehmer mit einer E-Mail in dieser CSV-Datei können überprüft werden.
|
69
|
+
default:
|
70
|
+
help:
|
71
|
+
- Die Autorisierungs-Hilfe ist nicht definiert.
|
72
|
+
- Ein Entwickler muss die Hilfe in der Übersetzung (i18n) Schlüssel "%{authorization_handler} " definieren
|
73
|
+
dummy_authorization_handler:
|
74
|
+
help:
|
75
|
+
- Ein Beispiel-Autorisierungshandler, damit Entwickler verstehen können, wie eine einfache Verifizierung funktioniert.
|
76
|
+
- Es ist für Entwickler gedacht, damit sie verstehen können, wie sie ihr eigenes Verifizierungssystem implementieren.
|
77
|
+
- Lassen Sie sich verifizieren, indem Sie eine Dokumentennummer eingeben, die mit "X" endet.
|
66
78
|
id_documents:
|
67
79
|
help:
|
68
80
|
- Benutzer geben ihre Identitätsinformationen ein und laden eine Kopie ihres Dokuments hoch.
|
@@ -75,6 +87,11 @@ de:
|
|
75
87
|
- Sie senden den Brief mit dem Bestätigungscode an seine Adresse.
|
76
88
|
- Sie markieren den Brief als gesendet.
|
77
89
|
- Sobald Sie den Brief als gesendet markiert haben, kann der Benutzer den Code einführen und verifiziert werden.
|
90
|
+
sms:
|
91
|
+
help:
|
92
|
+
- Benutzer fordern einen Bestätigungscode an, der an ihre Adresse gesendet werden soll.
|
93
|
+
- Sie müssen den Code angeben, um verifiziert zu werden.
|
94
|
+
- Wenn Sie den Code nicht erhalten haben, können Sie einen Neuen anfordern.
|
78
95
|
csv_census:
|
79
96
|
explanation: Lassen Sie sich anhand der Erhebung der Organisation überprüfen.
|
80
97
|
name: Zählung der Organisation
|
@@ -91,7 +108,7 @@ de:
|
|
91
108
|
events:
|
92
109
|
verifications:
|
93
110
|
verify_with_managed_user:
|
94
|
-
email_intro: Der Teilnehmer <a href="%{
|
111
|
+
email_intro: Der Teilnehmer <a href="%{resource_path}">%{resource_title}</a> hat versucht, sich mit den Daten eines anderen Teilnehmers (<a href="%{managed_user_path}">%{managed_user_name}</a>) zu verifizieren.
|
95
112
|
email_outro: Prüfen Sie die <a href="%{conflicts_url}">Konfliktliste der Verifizierungsmethode</a> und wenden Sie sich an den Teilnehmer, um dessen Details zu überprüfen und das Problem zu lösen.
|
96
113
|
email_subject: Verifizierungsversuch gegenüber eines anderen Teilnehmers fehlgeschlagen
|
97
114
|
notification_title: Der Teilnehmer <a href="%{resource_path}">%{resource_title}</a> hat versucht, sich mit den Daten eines anderen Teilnehmers (<a href="%{managed_user_path}">%{managed_user_name}</a>) zu verifizieren.
|
@@ -160,9 +177,9 @@ de:
|
|
160
177
|
john.doe@example.org
|
161
178
|
jane.doe@example.org
|
162
179
|
file: "CSV-Datei mit E-Mail-Daten"
|
163
|
-
info: 'Muss eine Datei im CSV-Format sein, mit nur einer Spalte
|
180
|
+
info: 'Muss eine Datei im CSV-Format sein, mit nur einer Spalte der E-Mail-Adresse:'
|
164
181
|
submit: Datei hochladen
|
165
|
-
title:
|
182
|
+
title: Laden Sie eine neue Erhebung hoch
|
166
183
|
authorizations:
|
167
184
|
new:
|
168
185
|
error: Wir konnten Ihr Konto nicht bestätigen oder Sie befinden sich nicht in der Erhebung der Organisation.
|
data/config/locales/el.yml
CHANGED
@@ -104,6 +104,9 @@ el:
|
|
104
104
|
body: Για να το κάνετε αυτό, πρέπει να εισαγάγετε τη διαχείριση συστήματος και να προσθέσετε τις εξουσιοδοτήσεις csv_census στον οργανισμό
|
105
105
|
new:
|
106
106
|
file: "Αρχείο .csv με δεδομένα διευθύνσεων email"
|
107
|
+
info: 'Πρέπει να είναι αρχείο σε μορφή CSV με μόνο μία στήλη με τη διεύθυνση email:'
|
108
|
+
submit: Αποστολή αρχείου
|
109
|
+
title: Αποστολή νέας απογραφής
|
107
110
|
authorizations:
|
108
111
|
new:
|
109
112
|
error: Δεν ήταν δυνατή η επαλήθευση του λογαριασμού σας ή δεν περιλαμβάνεστε στην απογραφή του οργανισμού.
|
@@ -170,8 +173,6 @@ el:
|
|
170
173
|
title: Ζητήστε τον κωδικό επαλήθευσής σας
|
171
174
|
sms:
|
172
175
|
authorizations:
|
173
|
-
destroy:
|
174
|
-
success: Έγινε επαναφορά του κωδικού επαλήθευσης με επιτυχία. Εισαγάγετε ξανά τον αριθμό τηλεφώνου σας.
|
175
176
|
edit:
|
176
177
|
confirm_destroy: Είστε βέβαιοι ότι θέλετε να επαναφέρετε τον κωδικό επαλήθευσης;
|
177
178
|
destroy: Επαναφορά κωδικού επαλήθευσης
|
data/config/locales/en.yml
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
en:
|
3
3
|
activemodel:
|
4
4
|
attributes:
|
5
|
-
authorization:
|
6
|
-
verification_attachment: Verification attachment
|
7
5
|
config:
|
8
6
|
available_methods: Available methods
|
9
7
|
offline: Offline
|
@@ -59,10 +57,24 @@ en:
|
|
59
57
|
grant_id_documents_offline_verification: "%{user_name} verified %{resource_name} using an offline Identity Documents authorization"
|
60
58
|
authorization_handlers:
|
61
59
|
admin:
|
60
|
+
another_dummy_authorization_handler:
|
61
|
+
help:
|
62
|
+
- An example authorization handler so developers can understand how a simple verification works.
|
63
|
+
- It is aimed for developers so they can understand how to implement their own verification system.
|
64
|
+
- Get verified by introducing a passport number starting with "A".
|
62
65
|
csv_census:
|
63
66
|
help:
|
64
67
|
- Admins upload a CSV with the emails of the accepted participants.
|
65
68
|
- Only participants with an email in that CSV file can get verified.
|
69
|
+
default:
|
70
|
+
help:
|
71
|
+
- The authorization handler help is not defined.
|
72
|
+
- A developer needs to define the help in the translation (i18n) key "%{authorization_handler}"
|
73
|
+
dummy_authorization_handler:
|
74
|
+
help:
|
75
|
+
- An example authorization handler so developers can understand how a simple verification works.
|
76
|
+
- It is aimed for developers so they can understand how to implement their own verification system.
|
77
|
+
- Get verified by introducing a document number ending with "X".
|
66
78
|
id_documents:
|
67
79
|
help:
|
68
80
|
- Users fill in their identity information and upload a copy of their document.
|
@@ -75,6 +87,11 @@ en:
|
|
75
87
|
- You send the letter to their address with the verification code.
|
76
88
|
- You mark the letter as sent.
|
77
89
|
- Once you mark the letter as sent, the participant will be able to introduce the code and get verified.
|
90
|
+
sms:
|
91
|
+
help:
|
92
|
+
- Participants request a verification code to be sent to their phone.
|
93
|
+
- They need to introduce the code to get verified.
|
94
|
+
- If they do not receive the code, they can request it again.
|
78
95
|
csv_census:
|
79
96
|
explanation: Get verified using the organization's census.
|
80
97
|
name: Organization's census
|
@@ -91,10 +108,10 @@ en:
|
|
91
108
|
events:
|
92
109
|
verifications:
|
93
110
|
verify_with_managed_user:
|
94
|
-
email_intro: The participant <a href="%{resource_url}">%{resource_title}</a> has tried to verify
|
111
|
+
email_intro: The participant <a href="%{resource_url}">%{resource_title}</a> has tried to verify themselves with the data of another participant (<a href="%{managed_user_url}">%{managed_user_name}</a>).
|
95
112
|
email_outro: Check the <a href="%{conflicts_url}">Verifications's conflicts list</a> and contact the participant to verify their details and solve the issue.
|
96
113
|
email_subject: Failed verification attempt against another participant
|
97
|
-
notification_title: The participant <a href="%{resource_path}">%{resource_title}</a> has tried to verify
|
114
|
+
notification_title: The participant <a href="%{resource_path}">%{resource_title}</a> has tried to verify themselves with the data of another participant (<a href="%{managed_user_path}">%{managed_user_name}</a>).
|
98
115
|
verifications:
|
99
116
|
authorizations:
|
100
117
|
authorization_metadata:
|
@@ -271,7 +288,7 @@ en:
|
|
271
288
|
error: There was a problem with your request.
|
272
289
|
success: Thanks! We have sent an SMS to your phone.
|
273
290
|
destroy:
|
274
|
-
success: Verification code
|
291
|
+
success: Verification code successfully reset. Please re-enter your phone number.
|
275
292
|
edit:
|
276
293
|
confirm_destroy: Are you sure you want to reset the verification code?
|
277
294
|
destroy: Reset verification code
|
data/config/locales/es-MX.yml
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
es-MX:
|
3
3
|
activemodel:
|
4
4
|
attributes:
|
5
|
-
authorization:
|
6
|
-
verification_attachment: Archivo adjunto de la verificación
|
7
5
|
config:
|
8
6
|
available_methods: Metodos disponibles
|
9
7
|
offline: Desconectado
|
@@ -59,10 +57,24 @@ es-MX:
|
|
59
57
|
grant_id_documents_offline_verification: "%{user_name} verificó %{resource_name} usando una autorización offline de documentos de identidad"
|
60
58
|
authorization_handlers:
|
61
59
|
admin:
|
60
|
+
another_dummy_authorization_handler:
|
61
|
+
help:
|
62
|
+
- Un ejemplo de gestor de autorización para que las desarrolladoras puedan entender como funciona.
|
63
|
+
- Está dirigido a las desarrolladoras para que puedan entender cómo implementar su propio sistema de verificación.
|
64
|
+
- Verifícate introduciendo un número de pasaporte que empiece por "A".
|
62
65
|
csv_census:
|
63
66
|
help:
|
64
67
|
- Las administradoras cargan un CSV con los correos electrónicos de las participantes aceptadas.
|
65
68
|
- Solamente se puedan verificar las participantes con un correo electrónico que figure en este archivo CSV.
|
69
|
+
default:
|
70
|
+
help:
|
71
|
+
- La ayuda sobre el gestor de autorización no está definida.
|
72
|
+
- Un desarrollador necesita definir la ayuda en la clave de traducción (i18n) "%{authorization_handler}"
|
73
|
+
dummy_authorization_handler:
|
74
|
+
help:
|
75
|
+
- Un ejemplo de gestor de autorización para que las desarrolladoras puedan entender como funciona una verificación simple.
|
76
|
+
- Está dirigido a las desarrolladoras para que puedan entender cómo implementar su propio sistema de verificación.
|
77
|
+
- Verifícate introduciendo un número de documento que termine con "X".
|
66
78
|
id_documents:
|
67
79
|
help:
|
68
80
|
- Los usuarios rellenan la información de su identidad y suben una copia de su documento.
|
@@ -75,6 +87,11 @@ es-MX:
|
|
75
87
|
- Envías la carta a su dirección con el código de verificación.
|
76
88
|
- Marcas la carta como enviada.
|
77
89
|
- Una vez hayas marcado la carta como enviada, el usuario podrá introducir el código y ser verificado.
|
90
|
+
sms:
|
91
|
+
help:
|
92
|
+
- Las participantes solicitan un código de verificación que se enviará a su teléfono.
|
93
|
+
- Necesitan introducir el código para ser verificadas.
|
94
|
+
- Si no reciben el código, pueden pedirlo de nuevo.
|
78
95
|
csv_census:
|
79
96
|
explanation: Verifícate utilizando el censo de la organización.
|
80
97
|
name: Censo de la organización
|
@@ -160,7 +177,7 @@ es-MX:
|
|
160
177
|
john.doe@example.org
|
161
178
|
jane.doe@example.org
|
162
179
|
file: "archivo .csv con datos de correos electrónicos"
|
163
|
-
info: 'Debe ser un archivo en formato CSV con una
|
180
|
+
info: 'Debe ser un archivo en formato CSV con sólo una columna con la dirección de correo electrónico:'
|
164
181
|
submit: Subir archivo
|
165
182
|
title: Subir un nuevo censo
|
166
183
|
authorizations:
|
@@ -271,7 +288,7 @@ es-MX:
|
|
271
288
|
error: Se ha producido un problema con tu solicitud.
|
272
289
|
success: '¡Gracias! Hemos enviado un SMS a tu teléfono.'
|
273
290
|
destroy:
|
274
|
-
success: Código de verificación restablecido
|
291
|
+
success: Código de verificación correctamente restablecido. Vuelve a escribir tu número de teléfono.
|
275
292
|
edit:
|
276
293
|
confirm_destroy: '¿Seguro que quieres restablecer el código de verificación?'
|
277
294
|
destroy: Restablecer código de verificación
|