decidim-verifications 0.26.10 → 0.27.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/app/commands/decidim/verifications/authorize_user.rb +2 -2
- data/app/commands/decidim/verifications/confirm_user_authorization.rb +1 -1
- data/app/commands/decidim/verifications/csv_census/admin/create_census_data.rb +1 -1
- data/app/commands/decidim/verifications/destroy_user_authorization.rb +1 -1
- data/app/commands/decidim/verifications/id_documents/admin/confirm_user_offline_authorization.rb +1 -1
- data/app/commands/decidim/verifications/id_documents/admin/update_config.rb +1 -1
- data/app/commands/decidim/verifications/perform_authorization_step.rb +1 -1
- data/app/commands/decidim/verifications/revoke_all_authorizations.rb +1 -1
- data/app/commands/decidim/verifications/revoke_by_condition_authorizations.rb +1 -1
- data/app/controllers/decidim/verifications/application_controller.rb +1 -1
- data/app/controllers/decidim/verifications/authorizations_controller.rb +12 -2
- data/app/controllers/decidim/verifications/id_documents/authorizations_controller.rb +0 -2
- data/app/controllers/decidim/verifications/postal_letter/authorizations_controller.rb +0 -2
- data/app/events/decidim/verifications/managed_user_error_event.rb +3 -12
- data/app/forms/decidim/verifications/id_documents/upload_form.rb +1 -1
- data/app/queries/decidim/verifications/authorizations.rb +1 -1
- data/app/queries/decidim/verifications/authorizations_before_date.rb +1 -1
- data/app/services/decidim/authorization_handler.rb +2 -2
- data/app/views/decidim/verifications/csv_census/admin/census/index.html.erb +0 -1
- data/app/views/decidim/verifications/id_documents/admin/pending_authorizations/index.html.erb +0 -1
- data/app/views/decidim/verifications/postal_letter/admin/pending_authorizations/index.html.erb +0 -1
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/ar.yml +2 -1
- data/config/locales/bg.yml +1 -0
- data/config/locales/ca.yml +6 -9
- data/config/locales/cs.yml +7 -10
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +14 -24
- data/config/locales/el.yml +1 -0
- data/config/locales/en.yml +5 -9
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +6 -9
- data/config/locales/es-PY.yml +6 -9
- data/config/locales/es.yml +6 -9
- data/config/locales/et.yml +1 -0
- data/config/locales/eu.yml +47 -60
- data/config/locales/fi-plain.yml +6 -9
- data/config/locales/fi.yml +7 -10
- data/config/locales/fr-CA.yml +4 -7
- data/config/locales/fr.yml +4 -7
- data/config/locales/ga-IE.yml +1 -0
- data/config/locales/gl.yml +1 -0
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +14 -40
- data/config/locales/id-ID.yml +1 -0
- data/config/locales/is-IS.yml +5 -3
- data/config/locales/it.yml +8 -0
- data/config/locales/ja.yml +15 -18
- data/config/locales/ko.yml +1 -0
- data/config/locales/lb.yml +1 -0
- data/config/locales/lt.yml +1 -278
- data/config/locales/lv.yml +1 -0
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +2 -1
- data/config/locales/no.yml +1 -0
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +1 -0
- data/config/locales/pt-BR.yml +3 -9
- data/config/locales/pt.yml +1 -0
- data/config/locales/ro-RO.yml +1 -0
- data/config/locales/ru.yml +2 -0
- data/config/locales/si-LK.yml +1 -0
- data/config/locales/sk.yml +1 -0
- data/config/locales/sl.yml +1 -0
- data/config/locales/so-SO.yml +1 -0
- data/config/locales/sr-CS.yml +1 -0
- data/config/locales/sv.yml +1 -0
- data/config/locales/sw-KE.yml +1 -0
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +1 -0
- data/config/locales/uk.yml +2 -0
- data/config/locales/val-ES.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +1 -0
- data/config/locales/zh-TW.yml +1 -268
- data/lib/decidim/verifications/sms/example_gateway.rb +1 -1
- data/lib/decidim/verifications/test/factories.rb +1 -1
- data/lib/decidim/verifications/version.rb +1 -1
- data/lib/decidim/verifications/workflow_manifest.rb +6 -6
- metadata +12 -21
- data/config/environment.rb +0 -3
- data/config/locales/fa-IR.yml +0 -1
- data/config/locales/gn-PY.yml +0 -1
- data/config/locales/ka-GE.yml +0 -1
- data/config/locales/kaa.yml +0 -1
- data/config/locales/lo-LA.yml +0 -1
- data/config/locales/oc-FR.yml +0 -1
- data/config/locales/sq-AL.yml +0 -1
- data/config/locales/th-TH.yml +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ee5a37d18af70ffb55bacdb53806094fc921e3a0f09f78e765efa9f671facc0
|
4
|
+
data.tar.gz: f5aeefc51841d4bd7614bf565f4b2b92b123fe8b56c0cac84e820b5ac9a1c4bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40d2c5f336f2ee77eac41990e0afabc76c5bb62bf64d6ae40b56ce8f14d9dfcc2a479ccf6e141c86eb71ed6d92f6cd8b717c147602504f18d740c60830be5105
|
7
|
+
data.tar.gz: c245dcd709dd8b5c2e153cf50fdf2745ce1add022070b76b2881d1d30dcdd604b446b713e2ef75686832af974a6640ac58bda2f249fe3930e153c484919e369b
|
data/README.md
CHANGED
@@ -43,7 +43,7 @@ Decidim implements two type of authorization methods:
|
|
43
43
|
|
44
44
|
* _Form authorizations_.
|
45
45
|
|
46
|
-
When your verification method is simple enough, you can use a `
|
46
|
+
When your verification method is simple enough, you can use a `Decidim::Form`
|
47
47
|
to implement it. "Simple" here means that the authorization can be granted
|
48
48
|
with the submission of a single form. For example, to validate a user against
|
49
49
|
a census API you will need a form with some fields that your users will use to
|
@@ -150,7 +150,7 @@ Decidim::Verifications.register_workflow(:my_workflow) do |workflow|
|
|
150
150
|
end
|
151
151
|
```
|
152
152
|
|
153
|
-
The format of the options you can define is the standard for a
|
153
|
+
The format of the options you can define is the standard for a Decidim attribute,
|
154
154
|
plus an additional `required` (true by default) option were you can choose
|
155
155
|
whether the option is compulsory when configuring the workflow as a permission
|
156
156
|
for an action or not.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Decidim
|
4
4
|
module Verifications
|
5
5
|
# A command to authorize a user with an authorization handler.
|
6
|
-
class AuthorizeUser <
|
6
|
+
class AuthorizeUser < Decidim::Command
|
7
7
|
# Public: Initializes the command.
|
8
8
|
#
|
9
9
|
# handler - An AuthorizationHandler object.
|
@@ -40,7 +40,7 @@ module Decidim
|
|
40
40
|
event: "decidim.events.verifications.managed_user_error_event",
|
41
41
|
event_class: Decidim::Verifications::ManagedUserErrorEvent,
|
42
42
|
resource: conflict,
|
43
|
-
affected_users:
|
43
|
+
affected_users: @organization.admins
|
44
44
|
)
|
45
45
|
end
|
46
46
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Decidim
|
4
4
|
module Verifications
|
5
5
|
# A command to confirm a previous partial authorization.
|
6
|
-
class ConfirmUserAuthorization <
|
6
|
+
class ConfirmUserAuthorization < Decidim::Command
|
7
7
|
# Number of failed confirmation attempts before throttling.
|
8
8
|
MAX_FAILED_ATTEMPTS = 2
|
9
9
|
|
@@ -6,7 +6,7 @@ module Decidim
|
|
6
6
|
module Admin
|
7
7
|
# A command with the business logic to create census data for a
|
8
8
|
# organization.
|
9
|
-
class CreateCensusData <
|
9
|
+
class CreateCensusData < Decidim::Command
|
10
10
|
def initialize(form, organization)
|
11
11
|
@form = form
|
12
12
|
@organization = organization
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Decidim
|
4
4
|
module Verifications
|
5
5
|
# A command to Destroy the Authorization of a user.
|
6
|
-
class DestroyUserAuthorization <
|
6
|
+
class DestroyUserAuthorization < Decidim::Command
|
7
7
|
def initialize(authorization)
|
8
8
|
@authorization = authorization
|
9
9
|
end
|
data/app/commands/decidim/verifications/id_documents/admin/confirm_user_offline_authorization.rb
CHANGED
@@ -5,7 +5,7 @@ module Decidim
|
|
5
5
|
module IdDocuments
|
6
6
|
module Admin
|
7
7
|
# A command to confirm a previous partial offline authorization.
|
8
|
-
class ConfirmUserOfflineAuthorization <
|
8
|
+
class ConfirmUserOfflineAuthorization < Decidim::Command
|
9
9
|
# Public: Initializes the command.
|
10
10
|
#
|
11
11
|
# form - A form object with the verification data to confirm it.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Decidim
|
4
4
|
module Verifications
|
5
5
|
# A command to create a partial authorization for a user.
|
6
|
-
class PerformAuthorizationStep <
|
6
|
+
class PerformAuthorizationStep < Decidim::Command
|
7
7
|
# Public: Initializes the command.
|
8
8
|
#
|
9
9
|
# authorization - An Authorization object.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Decidim
|
4
4
|
module Verifications
|
5
5
|
# A command to revoke authorizations with filter
|
6
|
-
class RevokeByConditionAuthorizations <
|
6
|
+
class RevokeByConditionAuthorizations < Decidim::Command
|
7
7
|
# Public: Initializes the command.
|
8
8
|
#
|
9
9
|
# organization - Organization object.
|
@@ -71,9 +71,19 @@ module Decidim
|
|
71
71
|
def valid_handler
|
72
72
|
return true if handler
|
73
73
|
|
74
|
-
|
75
|
-
|
74
|
+
msg = <<-MSG
|
75
|
+
Invalid authorization handler given: #{handler_name} doesn't
|
76
|
+
exist or you haven't added it to `Decidim.authorization_handlers.
|
76
77
|
|
78
|
+
Make sure this name matches with your registrations:\n\n
|
79
|
+
Decidim::Verifications.register_workflow(:#{handler_name}) do
|
80
|
+
...
|
81
|
+
end
|
82
|
+
MSG
|
83
|
+
|
84
|
+
raise msg if Rails.env.development?
|
85
|
+
|
86
|
+
logger.warn msg
|
77
87
|
redirect_to(authorizations_path) && (return false)
|
78
88
|
end
|
79
89
|
|
@@ -77,11 +77,9 @@ module Decidim
|
|
77
77
|
|
78
78
|
private
|
79
79
|
|
80
|
-
# rubocop:disable Naming/MemoizedInstanceVariableName
|
81
80
|
def authorization
|
82
81
|
@authorization_presenter ||= AuthorizationPresenter.new(@authorization)
|
83
82
|
end
|
84
|
-
# rubocop:enable Naming/MemoizedInstanceVariableName
|
85
83
|
|
86
84
|
def load_authorization
|
87
85
|
@authorization = Decidim::Authorization.find_or_initialize_by(
|
@@ -60,11 +60,9 @@ module Decidim
|
|
60
60
|
|
61
61
|
private
|
62
62
|
|
63
|
-
# rubocop:disable Naming/MemoizedInstanceVariableName
|
64
63
|
def authorization
|
65
64
|
@authorization_presenter ||= AuthorizationPresenter.new(@authorization)
|
66
65
|
end
|
67
|
-
# rubocop:enable Naming/MemoizedInstanceVariableName
|
68
66
|
|
69
67
|
def load_authorization
|
70
68
|
@authorization = Decidim::Authorization.find_or_initialize_by(
|
@@ -6,12 +6,13 @@ module Decidim
|
|
6
6
|
include Rails.application.routes.mounted_helpers
|
7
7
|
|
8
8
|
delegate :profile_path, :profile_url, :name, to: :updated_user
|
9
|
-
delegate :conflicts_path, :conflicts_url, to: :decidim_admin
|
10
9
|
|
11
10
|
def i18n_scope
|
12
11
|
"decidim.events.verifications.verify_with_managed_user"
|
13
12
|
end
|
14
13
|
|
14
|
+
delegate :conflicts_path, to: :decidim_admin
|
15
|
+
|
15
16
|
def resource_path
|
16
17
|
profile_path
|
17
18
|
end
|
@@ -25,13 +26,7 @@ module Decidim
|
|
25
26
|
end
|
26
27
|
|
27
28
|
def default_i18n_options
|
28
|
-
super.merge({
|
29
|
-
conflicts_path: conflicts_path,
|
30
|
-
conflicts_url: conflicts_url,
|
31
|
-
managed_user_path: managed_user.profile_path,
|
32
|
-
managed_user_url: managed_user.profile_url,
|
33
|
-
managed_user_name: managed_user.name
|
34
|
-
})
|
29
|
+
super.merge({ conflicts_path: conflicts_path, managed_user_path: managed_user.profile_path, managed_user_name: managed_user.name })
|
35
30
|
end
|
36
31
|
|
37
32
|
private
|
@@ -43,10 +38,6 @@ module Decidim
|
|
43
38
|
def managed_user
|
44
39
|
@managed_user ||= Decidim::UserPresenter.new(resource.managed_user)
|
45
40
|
end
|
46
|
-
|
47
|
-
def decidim_admin
|
48
|
-
@decidim_admin ||= Decidim::EngineRouter.new("decidim_admin", { host: managed_user.organization.host })
|
49
|
-
end
|
50
41
|
end
|
51
42
|
end
|
52
43
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Decidim
|
4
4
|
module Verifications
|
5
5
|
# Finds authorizations by different criteria
|
6
|
-
class Authorizations <
|
6
|
+
class Authorizations < Decidim::Query
|
7
7
|
# Initializes the class.
|
8
8
|
#
|
9
9
|
# @param organization [Organization] The organization where this authorization belongs to
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Decidim
|
4
4
|
module Verifications
|
5
5
|
# Finds authorizations by different criteria
|
6
|
-
class AuthorizationsBeforeDate <
|
6
|
+
class AuthorizationsBeforeDate < Decidim::Query
|
7
7
|
# Initializes the class.
|
8
8
|
#
|
9
9
|
# @param organization [Organization] The organization where this authorization belongs to
|
@@ -29,12 +29,12 @@ module Decidim
|
|
29
29
|
nil
|
30
30
|
end
|
31
31
|
|
32
|
-
#
|
32
|
+
# The attributes of the handler that should be exposed as form input when
|
33
33
|
# rendering the handler in a form.
|
34
34
|
#
|
35
35
|
# Returns an Array of Strings.
|
36
36
|
def form_attributes
|
37
|
-
attributes.except(
|
37
|
+
attributes.except("id", "user").keys
|
38
38
|
end
|
39
39
|
|
40
40
|
# The String partial path so Rails can render the handler as a form. This
|
data/config/locales/am-ET.yml
CHANGED
data/config/locales/ar.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
ar:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -145,7 +146,7 @@ ar:
|
|
145
146
|
verification_number: 'التحقق #%{n}'
|
146
147
|
rejections:
|
147
148
|
create:
|
148
|
-
success: تم رفض التحقق. ستتم مطالبة
|
149
|
+
success: تم رفض التحقق. ستتم مطالبة المشاركين بتعديل مستنداتها
|
149
150
|
authorizations:
|
150
151
|
choose:
|
151
152
|
choose_a_type: 'الرجاء تحديد الطريقة التي تريد التحقق منها:'
|
data/config/locales/bg.yml
CHANGED
data/config/locales/ca.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
ca:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -6,8 +7,6 @@ ca:
|
|
6
7
|
offline: Sense connexió
|
7
8
|
offline_explanation: Instruccions per a la verificació presencial
|
8
9
|
online: En línia
|
9
|
-
confirmation:
|
10
|
-
verification_code: Codi de verificació
|
11
10
|
id_document_information:
|
12
11
|
document_number: Número de document (amb lletra)
|
13
12
|
document_type: Tipus del document
|
@@ -16,8 +15,6 @@ ca:
|
|
16
15
|
document_type: Tipus del teu document
|
17
16
|
user: Participant
|
18
17
|
verification_attachment: Còpia escanejada del teu document
|
19
|
-
mobile_phone:
|
20
|
-
mobile_phone_number: Número de telèfon mòbil
|
21
18
|
offline_confirmation:
|
22
19
|
email: Correu electrònic de la participant
|
23
20
|
postal_letter_address:
|
@@ -82,10 +79,10 @@ ca:
|
|
82
79
|
events:
|
83
80
|
verifications:
|
84
81
|
verify_with_managed_user:
|
85
|
-
email_intro: La participant <a href="%{
|
86
|
-
email_outro: Comprova la <a href="%{
|
87
|
-
email_subject: Error
|
88
|
-
notification_title: La participant <a href="%{resource_path}">%{resource_title}</a> ha intentat verificar-se amb les dades
|
82
|
+
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>.
|
83
|
+
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.
|
84
|
+
email_subject: Error a l'intentar verificar-se contra una participant gestionada
|
85
|
+
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>.
|
89
86
|
verifications:
|
90
87
|
authorizations:
|
91
88
|
authorization_metadata:
|
@@ -243,7 +240,7 @@ ca:
|
|
243
240
|
success: Gràcies! Enviarem un codi de verificació a la teva adreça
|
244
241
|
edit:
|
245
242
|
send: Confirmar
|
246
|
-
title:
|
243
|
+
title: Introduïeix el codi de verificació que has rebut
|
247
244
|
waiting_for_letter: En breu enviarem una carta a la teva adreça amb el teu codi de verificació
|
248
245
|
new:
|
249
246
|
send: Envia'm una carta
|
data/config/locales/cs.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
cs:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -6,8 +7,6 @@ cs:
|
|
6
7
|
offline: Offline
|
7
8
|
offline_explanation: Pokyny pro ověření offline
|
8
9
|
online: Online
|
9
|
-
confirmation:
|
10
|
-
verification_code: Ověřovací kód
|
11
10
|
id_document_information:
|
12
11
|
document_number: Číslo dokladu (s písmeny)
|
13
12
|
document_type: Typ dokumentu
|
@@ -16,8 +15,6 @@ cs:
|
|
16
15
|
document_type: Typ dokumentu
|
17
16
|
user: Uživatel
|
18
17
|
verification_attachment: Naskenovaná kopie dokumentu
|
19
|
-
mobile_phone:
|
20
|
-
mobile_phone_number: Číslo mobilního telefonu
|
21
18
|
offline_confirmation:
|
22
19
|
email: Uživatelský e-mail
|
23
20
|
postal_letter_address:
|
@@ -82,10 +79,10 @@ cs:
|
|
82
79
|
events:
|
83
80
|
verifications:
|
84
81
|
verify_with_managed_user:
|
85
|
-
email_intro: Účastník <a href="%{
|
86
|
-
email_outro: Zkontrolujte seznam konfliktů <a href="%{
|
87
|
-
email_subject: Neúspěšný pokus o ověření proti
|
88
|
-
notification_title: Účastník <a href="%{resource_path}">%{resource_title}</a> se pokusil ověřit se
|
82
|
+
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>.
|
83
|
+
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.
|
84
|
+
email_subject: Neúspěšný pokus o ověření proti spravovanému uživateli
|
85
|
+
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>.
|
89
86
|
verifications:
|
90
87
|
authorizations:
|
91
88
|
authorization_metadata:
|
@@ -118,7 +115,7 @@ cs:
|
|
118
115
|
authorize: Poslat
|
119
116
|
authorize_with: Ověřte pomocí %{authorizer}
|
120
117
|
renew_modal:
|
121
|
-
cancel:
|
118
|
+
cancel: zrušení
|
122
119
|
close: zavřít
|
123
120
|
continue: Pokračovat
|
124
121
|
info_renew: Pokud chcete aktualizovat data, pokračujte obnovením
|
@@ -188,7 +185,7 @@ cs:
|
|
188
185
|
error: Ověření neodpovídá vloženým údajům. Zkuste to znovu, nebo řekněte uživateli, ať si je změní
|
189
186
|
success: Uživatel úspěšně ověřen
|
190
187
|
new:
|
191
|
-
cancel:
|
188
|
+
cancel: zrušení
|
192
189
|
introduce_user_data: Zadejte e-mail uživatele a data dokumentu
|
193
190
|
verify: Ověřte
|
194
191
|
pending_authorizations:
|
data/config/locales/da.yml
CHANGED
data/config/locales/de.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
de:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -6,8 +7,6 @@ de:
|
|
6
7
|
offline: Offline
|
7
8
|
offline_explanation: Anweisungen zur Offline-Verifizierung
|
8
9
|
online: Online
|
9
|
-
confirmation:
|
10
|
-
verification_code: Bestätigungscode
|
11
10
|
id_document_information:
|
12
11
|
document_number: Dokumentennummer (mit Buchstaben)
|
13
12
|
document_type: Art des Dokuments
|
@@ -16,8 +15,6 @@ de:
|
|
16
15
|
document_type: Art Ihres Dokuments
|
17
16
|
user: Benutzer
|
18
17
|
verification_attachment: Gescannte Kopie Ihres Dokuments
|
19
|
-
mobile_phone:
|
20
|
-
mobile_phone_number: Mobiltelefonnummer
|
21
18
|
offline_confirmation:
|
22
19
|
email: Benutzer Email
|
23
20
|
postal_letter_address:
|
@@ -68,7 +65,7 @@ de:
|
|
68
65
|
- Sobald Sie den Brief als gesendet markiert haben, kann der Benutzer den Code einführen und verifiziert werden.
|
69
66
|
csv_census:
|
70
67
|
explanation: Lassen Sie sich anhand der Volkszählung der Organisation überprüfen
|
71
|
-
name:
|
68
|
+
name: Zensus der Organisation
|
72
69
|
direct: Direkte
|
73
70
|
help: Hilfe
|
74
71
|
id_documents:
|
@@ -79,13 +76,6 @@ de:
|
|
79
76
|
postal_letter:
|
80
77
|
explanation: Wir senden Ihnen einen Brief mit einem Code, den Sie eingeben müssen, damit wir Ihre Adresse bestätigen können
|
81
78
|
name: Code per Post
|
82
|
-
events:
|
83
|
-
verifications:
|
84
|
-
verify_with_managed_user:
|
85
|
-
email_intro: Der Teilnehmer <a href="%{resource_url}">%{resource_title}</a> hat versucht, sich mit den Daten eines anderen Teilnehmers (<a href="%{managed_user_url}">%{managed_user_name}</a>) zu verifizieren.
|
86
|
-
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.
|
87
|
-
email_subject: Verifizierungsversuch gegenüber eines anderen Teilnehmers fehlgeschlagen
|
88
|
-
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.
|
89
79
|
verifications:
|
90
80
|
authorizations:
|
91
81
|
authorization_metadata:
|
@@ -101,7 +91,7 @@ de:
|
|
101
91
|
first_login:
|
102
92
|
actions:
|
103
93
|
another_dummy_authorization_handler: Überprüfen Sie anhand eines anderen Beispiels des Autorisierungshandlers
|
104
|
-
csv_census: Vergewissern Sie sich anhand der
|
94
|
+
csv_census: Vergewissern Sie sich anhand der Volkszählung der Organisation
|
105
95
|
dummy_authorization_handler: Überprüfen Sie anhand des Beispielautorisierungshandlers
|
106
96
|
dummy_authorization_workflow: Überprüfen Sie anhand des beispielhaften Autorisierungsworkflows
|
107
97
|
id_documents: Bestätigen Sie, indem Sie Ihr Identitätsdokument hochladen
|
@@ -118,7 +108,7 @@ de:
|
|
118
108
|
authorize: Senden
|
119
109
|
authorize_with: Bestätigen Sie mit %{authorizer}
|
120
110
|
renew_modal:
|
121
|
-
cancel:
|
111
|
+
cancel: Stornieren
|
122
112
|
close: Schließen
|
123
113
|
continue: Weiter
|
124
114
|
info_renew: Fahren Sie mit der Erneuerung fort, wenn Sie die Daten aktualisieren möchten
|
@@ -129,28 +119,28 @@ de:
|
|
129
119
|
admin:
|
130
120
|
census:
|
131
121
|
create:
|
132
|
-
error: Beim Import der
|
122
|
+
error: Beim Import der Volkszählung ist ein Fehler aufgetreten.
|
133
123
|
success: Erfolgreich importiert %{count} Artikel (%{errors} Fehler)
|
134
124
|
destroy_all:
|
135
|
-
success: Alle
|
125
|
+
success: Alle Volkszählungsdaten wurden gelöscht
|
136
126
|
destroy:
|
137
|
-
confirm:
|
138
|
-
title: Löschen Sie alle
|
127
|
+
confirm: Alles löschen Die Zählung kann nicht rückgängig gemacht werden. Sind Sie sicher, dass Sie fortfahren möchten?
|
128
|
+
title: Löschen Sie alle Volkszählungsdaten
|
139
129
|
index:
|
140
130
|
data: Insgesamt wurden %{count} Datensätze geladen. Das letzte Upload-Datum war am %{due_date}
|
141
|
-
empty: Es gibt keine
|
142
|
-
title: Aktuelle
|
131
|
+
empty: Es gibt keine Zensusdaten. Verwenden Sie das folgende Formular, um es mit einer CSV-Datei zu importieren.
|
132
|
+
title: Aktuelle Volkszählungsdaten
|
143
133
|
instructions:
|
144
134
|
body: Dazu müssen Sie die Systemverwaltung eingeben und der Organisation die csv_census-Berechtigungen hinzufügen
|
145
|
-
title: Sie müssen die CSV
|
135
|
+
title: Sie müssen die CSV Zensus für diese Organisation aktivieren
|
146
136
|
new:
|
147
137
|
file: "CSV-Datei mit E-Mail-Daten"
|
148
138
|
info: 'Muss eine Datei im CSV-Format sein, mit nur einer Spalte der E-Mail-Adresse:'
|
149
139
|
submit: Datei hochladen
|
150
|
-
title: Laden Sie eine neue
|
140
|
+
title: Laden Sie eine neue Volkszählung hoch
|
151
141
|
authorizations:
|
152
142
|
new:
|
153
|
-
error: Wir konnten Ihr Konto nicht bestätigen oder Sie befinden sich nicht in der
|
143
|
+
error: Wir konnten Ihr Konto nicht bestätigen oder Sie befinden sich nicht in der Zählung der Organisation.
|
154
144
|
success: Ihr Konto wurde erfolgreich verifiziert.
|
155
145
|
dummy_authorization:
|
156
146
|
extra_explanation:
|
@@ -184,7 +174,7 @@ de:
|
|
184
174
|
error: Die Überprüfung stimmt nicht überein. Versuchen Sie es erneut oder teilen Sie dem Benutzer mit, es zu ändern
|
185
175
|
success: Benutzer erfolgreich verifiziert
|
186
176
|
new:
|
187
|
-
cancel:
|
177
|
+
cancel: Stornieren
|
188
178
|
introduce_user_data: Geben Sie die Benutzer-E-Mail und die Dokumentdaten ein
|
189
179
|
verify: Überprüfen
|
190
180
|
pending_authorizations:
|
data/config/locales/el.yml
CHANGED
data/config/locales/en.yml
CHANGED
@@ -7,8 +7,6 @@ en:
|
|
7
7
|
offline: Offline
|
8
8
|
offline_explanation: Instructions for offline verification
|
9
9
|
online: Online
|
10
|
-
confirmation:
|
11
|
-
verification_code: Verification code
|
12
10
|
id_document_information:
|
13
11
|
document_number: Document number (with letter)
|
14
12
|
document_type: Type of the document
|
@@ -17,8 +15,6 @@ en:
|
|
17
15
|
document_type: Type of your document
|
18
16
|
user: Participant
|
19
17
|
verification_attachment: Scanned copy of your document
|
20
|
-
mobile_phone:
|
21
|
-
mobile_phone_number: Mobile phone number
|
22
18
|
offline_confirmation:
|
23
19
|
email: Participant email
|
24
20
|
postal_letter_address:
|
@@ -83,10 +79,10 @@ en:
|
|
83
79
|
events:
|
84
80
|
verifications:
|
85
81
|
verify_with_managed_user:
|
86
|
-
email_intro: The participant <a href="%{
|
87
|
-
email_outro: Check the <a href="%{
|
88
|
-
email_subject: Failed verification attempt against
|
89
|
-
notification_title: The participant <a href="%{resource_path}">%{resource_title}</a> has tried to verify themself with the data of
|
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>.
|
90
86
|
verifications:
|
91
87
|
authorizations:
|
92
88
|
authorization_metadata:
|
@@ -196,7 +192,7 @@ en:
|
|
196
192
|
verification_number: 'Verification #%{n}'
|
197
193
|
rejections:
|
198
194
|
create:
|
199
|
-
success: Verification rejected. Participant will be prompted to amend
|
195
|
+
success: Verification rejected. Participant will be prompted to amend their documents
|
200
196
|
authorizations:
|
201
197
|
choose:
|
202
198
|
choose_a_type: 'Please select how you want to be verified:'
|
data/config/locales/eo.yml
CHANGED
data/config/locales/es-MX.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
es-MX:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -6,8 +7,6 @@ es-MX:
|
|
6
7
|
offline: Desconectado
|
7
8
|
offline_explanation: Instrucciones para la verificación fuera de línea
|
8
9
|
online: En línea
|
9
|
-
confirmation:
|
10
|
-
verification_code: Código de verificación
|
11
10
|
id_document_information:
|
12
11
|
document_number: Número de documento (con letra)
|
13
12
|
document_type: Tipo de documento
|
@@ -16,8 +15,6 @@ es-MX:
|
|
16
15
|
document_type: Tipo de tu documento
|
17
16
|
user: Usuario
|
18
17
|
verification_attachment: Copia escaneada de tu documento
|
19
|
-
mobile_phone:
|
20
|
-
mobile_phone_number: Número de teléfono móvil
|
21
18
|
offline_confirmation:
|
22
19
|
email: Email del usuario
|
23
20
|
postal_letter_address:
|
@@ -82,10 +79,10 @@ es-MX:
|
|
82
79
|
events:
|
83
80
|
verifications:
|
84
81
|
verify_with_managed_user:
|
85
|
-
email_intro: La participante <a href="%{
|
86
|
-
email_outro: Comprueba la <a href="%{
|
87
|
-
email_subject: Error al intentar verificarse contra
|
88
|
-
notification_title: La participante <a href="%{resource_path}">%{resource_title}</a> ha intentado verificarse con los datos de
|
82
|
+
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>.
|
83
|
+
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.
|
84
|
+
email_subject: Error al intentar verificarse contra una participante gestionada
|
85
|
+
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>.
|
89
86
|
verifications:
|
90
87
|
authorizations:
|
91
88
|
authorization_metadata:
|
@@ -243,7 +240,7 @@ es-MX:
|
|
243
240
|
success: '¡Gracias! Te enviaremos un código de verificación a tu dirección'
|
244
241
|
edit:
|
245
242
|
send: Confirmar
|
246
|
-
title: Introduce el código de verificación que
|
243
|
+
title: Introduce el código de verificación que recibiste
|
247
244
|
waiting_for_letter: Pronto enviaremos una carta a tu dirección con tu código de verificación
|
248
245
|
new:
|
249
246
|
send: Mándame una carta
|