decidim-verifications 0.26.2 → 0.27.0.rc2
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 +12 -3
- 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/config/locales/ar.yml +2 -1
- data/config/locales/bg.yml +1 -0
- data/config/locales/ca.yml +5 -4
- data/config/locales/cs.yml +5 -4
- data/config/locales/de.yml +1 -0
- data/config/locales/el.yml +1 -0
- data/config/locales/en.yml +5 -5
- data/config/locales/es-MX.yml +5 -4
- data/config/locales/es-PY.yml +5 -4
- data/config/locales/es.yml +5 -4
- data/config/locales/eu.yml +1 -0
- data/config/locales/fi-plain.yml +5 -4
- data/config/locales/fi.yml +6 -5
- data/config/locales/fr-CA.yml +4 -3
- data/config/locales/fr.yml +4 -3
- data/config/locales/ga-IE.yml +1 -0
- data/config/locales/gl.yml +1 -0
- data/config/locales/hu.yml +18 -0
- data/config/locales/id-ID.yml +1 -0
- data/config/locales/is-IS.yml +2 -1
- data/config/locales/it.yml +1 -7
- data/config/locales/ja.yml +5 -4
- data/config/locales/lb.yml +1 -0
- data/config/locales/lt.yml +275 -0
- data/config/locales/lv.yml +1 -0
- data/config/locales/nl.yml +2 -1
- data/config/locales/no.yml +1 -0
- data/config/locales/pl.yml +1 -0
- data/config/locales/pt-BR.yml +1 -0
- data/config/locales/pt.yml +1 -0
- data/config/locales/ro-RO.yml +1 -0
- data/config/locales/ru.yml +1 -0
- data/config/locales/sk.yml +1 -0
- data/config/locales/sl.yml +1 -0
- data/config/locales/sv.yml +1 -0
- data/config/locales/tr-TR.yml +1 -0
- data/config/locales/uk.yml +1 -0
- data/config/locales/zh-CN.yml +1 -0
- 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 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 718894122a6f23fa247c0adc546e02e634e056ef8d5ded9d96ea2844e436db41
|
4
|
+
data.tar.gz: efa608b4c815a10fb969c29606acc6d52fa8b0ebd93959104652b2f273d56a8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e14a682759d19b61eee0216d2ff4452567bdfad3334a59555c87f87a83e4a873ea30814cefa6cfa2959b3eafd5799c391cd26d0d886f9fcc448549b175ebccc5
|
7
|
+
data.tar.gz: 8661d81663b57a420736e7e034341e690bc0be3851f20c1ddc5e8e069a81b0f071c7eebf615798985dd4210dd6be75b9113d6de4313e8d7b6d5c5ad667096ec2
|
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,13 +6,12 @@ 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
|
9
10
|
|
10
11
|
def i18n_scope
|
11
12
|
"decidim.events.verifications.verify_with_managed_user"
|
12
13
|
end
|
13
14
|
|
14
|
-
delegate :conflicts_path, to: :decidim_admin
|
15
|
-
|
16
15
|
def resource_path
|
17
16
|
profile_path
|
18
17
|
end
|
@@ -26,7 +25,13 @@ module Decidim
|
|
26
25
|
end
|
27
26
|
|
28
27
|
def default_i18n_options
|
29
|
-
super.merge({
|
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
|
+
})
|
30
35
|
end
|
31
36
|
|
32
37
|
private
|
@@ -38,6 +43,10 @@ module Decidim
|
|
38
43
|
def managed_user
|
39
44
|
@managed_user ||= Decidim::UserPresenter.new(resource.managed_user)
|
40
45
|
end
|
46
|
+
|
47
|
+
def decidim_admin
|
48
|
+
@decidim_admin ||= Decidim::EngineRouter.new("decidim_admin", { host: managed_user.organization.host })
|
49
|
+
end
|
41
50
|
end
|
42
51
|
end
|
43
52
|
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/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:
|
@@ -78,10 +79,10 @@ ca:
|
|
78
79
|
events:
|
79
80
|
verifications:
|
80
81
|
verify_with_managed_user:
|
81
|
-
email_intro: La participant <a href="%{
|
82
|
-
email_outro: Comprova la <a href="%{
|
83
|
-
email_subject: Error en intentar verificar-se contra una participant
|
84
|
-
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_url}">%{resource_title}</a> ha intentat verificar-se amb les dades d'una altra participant (<a href="%{managed_user_url}">%{managed_user_name}</a>).
|
83
|
+
email_outro: Comprova la <a href="%{conflicts_url}">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 en intentar verificar-se contra una altra participant
|
85
|
+
notification_title: La participant <a href="%{resource_path}">%{resource_title}</a> ha intentat verificar-se amb les dades d'una altra participant (<a href="%{managed_user_path}">%{managed_user_name}</a>).
|
85
86
|
verifications:
|
86
87
|
authorizations:
|
87
88
|
authorization_metadata:
|
data/config/locales/cs.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
cs:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -78,10 +79,10 @@ cs:
|
|
78
79
|
events:
|
79
80
|
verifications:
|
80
81
|
verify_with_managed_user:
|
81
|
-
email_intro: Účastník <a href="%{
|
82
|
-
email_outro: Zkontrolujte seznam konfliktů <a href="%{
|
83
|
-
email_subject: Neúspěšný pokus o ověření proti
|
84
|
-
notification_title: Účastník <a href="%{resource_path}">%{resource_title}</a> se pokusil ověřit se údaji
|
82
|
+
email_intro: Účastník <a href="%{resource_url}">%{resource_title}</a> se pokusil ověřit se s údaji jiného účastníka (<a href="%{managed_user_url}">%{managed_user_name}</a>).
|
83
|
+
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.
|
84
|
+
email_subject: Neúspěšný pokus o ověření proti jinému uživateli
|
85
|
+
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>).
|
85
86
|
verifications:
|
86
87
|
authorizations:
|
87
88
|
authorization_metadata:
|
data/config/locales/de.yml
CHANGED
data/config/locales/el.yml
CHANGED
data/config/locales/en.yml
CHANGED
@@ -79,10 +79,10 @@ en:
|
|
79
79
|
events:
|
80
80
|
verifications:
|
81
81
|
verify_with_managed_user:
|
82
|
-
email_intro: The participant <a href="%{
|
83
|
-
email_outro: Check the <a href="%{
|
84
|
-
email_subject: Failed verification attempt against
|
85
|
-
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_url}">%{resource_title}</a> has tried to verify themself with the data of another participant (<a href="%{managed_user_url}">%{managed_user_name}</a>).
|
83
|
+
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.
|
84
|
+
email_subject: Failed verification attempt against another participant
|
85
|
+
notification_title: The participant <a href="%{resource_path}">%{resource_title}</a> has tried to verify themself with the data of another participant (<a href="%{managed_user_path}">%{managed_user_name}</a>).
|
86
86
|
verifications:
|
87
87
|
authorizations:
|
88
88
|
authorization_metadata:
|
@@ -192,7 +192,7 @@ en:
|
|
192
192
|
verification_number: 'Verification #%{n}'
|
193
193
|
rejections:
|
194
194
|
create:
|
195
|
-
success: Verification rejected. Participant will be prompted to amend
|
195
|
+
success: Verification rejected. Participant will be prompted to amend their documents
|
196
196
|
authorizations:
|
197
197
|
choose:
|
198
198
|
choose_a_type: 'Please select how you want to be verified:'
|
data/config/locales/es-MX.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
es-MX:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -78,10 +79,10 @@ es-MX:
|
|
78
79
|
events:
|
79
80
|
verifications:
|
80
81
|
verify_with_managed_user:
|
81
|
-
email_intro: La participante <a href="%{
|
82
|
-
email_outro: Comprueba la <a href="%{
|
83
|
-
email_subject: Error al intentar verificarse contra
|
84
|
-
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_url}">%{resource_title}</a> ha intentado verificarse con los datos de otra participante (<a href="%{managed_user_url}">%{managed_user_name}</a>).
|
83
|
+
email_outro: Comprueba la <a href="%{conflicts_url}">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 otra participante
|
85
|
+
notification_title: La participante <a href="%{resource_path}">%{resource_title}</a> ha intentado verificarse con los datos de otra participante (<a href="%{managed_user_path}">%{managed_user_name}</a>).
|
85
86
|
verifications:
|
86
87
|
authorizations:
|
87
88
|
authorization_metadata:
|
data/config/locales/es-PY.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
es-PY:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -78,10 +79,10 @@ es-PY:
|
|
78
79
|
events:
|
79
80
|
verifications:
|
80
81
|
verify_with_managed_user:
|
81
|
-
email_intro: La participante <a href="%{
|
82
|
-
email_outro: Comprueba la <a href="%{
|
83
|
-
email_subject: Error al intentar verificarse contra
|
84
|
-
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_url}">%{resource_title}</a> ha intentado verificarse con los datos de otra participante (<a href="%{managed_user_url}">%{managed_user_name}</a>).
|
83
|
+
email_outro: Comprueba la <a href="%{conflicts_url}">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 otra participante
|
85
|
+
notification_title: La participante <a href="%{resource_path}">%{resource_title}</a> ha intentado verificarse con los datos de otra participante (<a href="%{managed_user_path}">%{managed_user_name}</a>).
|
85
86
|
verifications:
|
86
87
|
authorizations:
|
87
88
|
authorization_metadata:
|
data/config/locales/es.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
es:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -78,10 +79,10 @@ es:
|
|
78
79
|
events:
|
79
80
|
verifications:
|
80
81
|
verify_with_managed_user:
|
81
|
-
email_intro: La participante <a href="%{
|
82
|
-
email_outro: Comprueba la <a href="%{
|
83
|
-
email_subject: Error al intentar verificarse contra
|
84
|
-
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_url}">%{resource_title}</a> ha intentado verificarse con los datos de otra participante (<a href="%{managed_user_url}">%{managed_user_name}</a>).
|
83
|
+
email_outro: Comprueba la <a href="%{conflicts_url}">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 otra participante
|
85
|
+
notification_title: La participante <a href="%{resource_path}">%{resource_title}</a> ha intentado verificarse con los datos de otra participante (<a href="%{managed_user_path}">%{managed_user_name}</a>).
|
85
86
|
verifications:
|
86
87
|
authorizations:
|
87
88
|
authorization_metadata:
|
data/config/locales/eu.yml
CHANGED
data/config/locales/fi-plain.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
fi-pl:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -78,10 +79,10 @@ fi-pl:
|
|
78
79
|
events:
|
79
80
|
verifications:
|
80
81
|
verify_with_managed_user:
|
81
|
-
email_intro: Osallistuja <a href="%{
|
82
|
-
email_outro: Tarkasta <a href="%{
|
83
|
-
email_subject:
|
84
|
-
notification_title: Osallistuja <a href="%{resource_path}">%{resource_title}</a> yritti tunnistautua
|
82
|
+
email_intro: Osallistuja <a href="%{resource_url}">%{resource_title}</a> yritti tunnistautua toisen osallistujan (<a href="%{managed_user_url}">%{managed_user_name}</a>) tiedoilla.
|
83
|
+
email_outro: Tarkasta <a href="%{conflicts_url}">tunnistautumisten konfliktilista</a> ja ota yhteyttä osallistujaan tarkastaaksesi hänen tietonsa ja ratkaistaksesi ongelman.
|
84
|
+
email_subject: Tunnistautumisyritys epäonnistui toisen osallistujan tietojen käytön takia
|
85
|
+
notification_title: Osallistuja <a href="%{resource_path}">%{resource_title}</a> yritti tunnistautua toisen osallistujan (<a href="%{managed_user_path}">%{managed_user_name}</a>) tiedoilla.
|
85
86
|
verifications:
|
86
87
|
authorizations:
|
87
88
|
authorization_metadata:
|
data/config/locales/fi.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
fi:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -78,10 +79,10 @@ fi:
|
|
78
79
|
events:
|
79
80
|
verifications:
|
80
81
|
verify_with_managed_user:
|
81
|
-
email_intro: Osallistuja <a href="%{
|
82
|
-
email_outro: Tarkasta <a href="%{
|
83
|
-
email_subject:
|
84
|
-
notification_title: Osallistuja <a href="%{resource_path}">%{resource_title}</a> yritti tunnistautua
|
82
|
+
email_intro: Osallistuja <a href="%{resource_url}">%{resource_title}</a> yritti tunnistautua toisen osallistujan (<a href="%{managed_user_url}">%{managed_user_name}</a>) tiedoilla.
|
83
|
+
email_outro: Tarkasta <a href="%{conflicts_url}">tunnistautumisten konfliktilista</a> ja ota yhteyttä osallistujaan tarkastaaksesi hänen tietonsa ja ratkaistaksesi ongelman.
|
84
|
+
email_subject: Tunnistautumisyritys epäonnistui toisen osallistujan tietojen käytön takia
|
85
|
+
notification_title: Osallistuja <a href="%{resource_path}">%{resource_title}</a> yritti tunnistautua toisen osallistujan (<a href="%{managed_user_path}">%{managed_user_name}</a>) tiedoilla.
|
85
86
|
verifications:
|
86
87
|
authorizations:
|
87
88
|
authorization_metadata:
|
@@ -191,7 +192,7 @@ fi:
|
|
191
192
|
verification_number: 'Vahvistus #%{n}'
|
192
193
|
rejections:
|
193
194
|
create:
|
194
|
-
success: Vahvistus hylätty. Käyttäjää pyydetään
|
195
|
+
success: Vahvistus hylätty. Käyttäjää pyydetään päivittämään lataamiaan asiakirjoja
|
195
196
|
authorizations:
|
196
197
|
choose:
|
197
198
|
choose_a_type: 'Valitse, kuinka haluat varmistaa henkilöllisyytesi:'
|
data/config/locales/fr-CA.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
fr-CA:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -78,10 +79,10 @@ fr-CA:
|
|
78
79
|
events:
|
79
80
|
verifications:
|
80
81
|
verify_with_managed_user:
|
81
|
-
email_intro: Le participant <a href="%{
|
82
|
-
email_outro: Consultez la <a href="%{
|
82
|
+
email_intro: Le participant <a href="%{resource_url}">%{resource_title}</a> a essayé d'être vérifié avec les données d'un autre utilisateur (<a href="%{managed_user_url}">%{managed_user_name}</a>).
|
83
|
+
email_outro: Consultez la <a href="%{conflicts_url}">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
84
|
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
|
85
|
+
notification_title: Le participant <a href="%{resource_path}">%{resource_title}</a> a essayé d'être vérifié avec les données d'un autre utilisateur (<a href="%{managed_user_path}">%{managed_user_name}</a>).
|
85
86
|
verifications:
|
86
87
|
authorizations:
|
87
88
|
authorization_metadata:
|
data/config/locales/fr.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
fr:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -78,10 +79,10 @@ fr:
|
|
78
79
|
events:
|
79
80
|
verifications:
|
80
81
|
verify_with_managed_user:
|
81
|
-
email_intro: Le participant <a href="%{
|
82
|
-
email_outro: Consultez la <a href="%{
|
82
|
+
email_intro: Le participant <a href="%{resource_url}">%{resource_title}</a> a essayé d'être vérifié avec les données d'un autre utilisateur (<a href="%{managed_user_url}">%{managed_user_name}</a>).
|
83
|
+
email_outro: Consultez la <a href="%{conflicts_url}">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
84
|
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
|
85
|
+
notification_title: Le participant <a href="%{resource_path}">%{resource_title}</a> a essayé d'être vérifié avec les données d'un autre utilisateur (<a href="%{managed_user_path}">%{managed_user_name}</a>).
|
85
86
|
verifications:
|
86
87
|
authorizations:
|
87
88
|
authorization_metadata:
|
data/config/locales/ga-IE.yml
CHANGED
data/config/locales/gl.yml
CHANGED
data/config/locales/hu.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
hu:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -27,9 +28,23 @@ hu:
|
|
27
28
|
admin:
|
28
29
|
menu:
|
29
30
|
authorization_revocation:
|
31
|
+
before_date_info: Hasznos, ha a folyamat már megkezdődött, és vissza szeretné vonni az előző folyamat jogosultságait.
|
30
32
|
button: Összes visszavonása
|
33
|
+
button_before: Dátum előtti visszavonás
|
34
|
+
destroy:
|
35
|
+
confirm: A dátum előtti engedélyezések visszavonása nem vonható vissza. Biztosan folytatja?
|
36
|
+
confirm_all: Az összes engedélyezés visszavonása nem vonható vissza. Biztosan folytatja?
|
31
37
|
destroy_nok: Probléma merült fel az engedélyek visszavonásakor.
|
38
|
+
destroy_ok: Az összes egyező engedélyt sikeresen visszavonták.
|
39
|
+
info: Összesen %{count} ellenőrzött résztvevő.
|
32
40
|
no_data: Nincsenek ellenőrzött résztvevők
|
41
|
+
title: Engedélyezés és visszavonás
|
42
|
+
authorization_workflows: Engedélyezések
|
43
|
+
admin_log:
|
44
|
+
organization:
|
45
|
+
update_id_documents_config: "%{user_name} frissítette az azonosító dokumentumok ellenőrzési konfigurációját"
|
46
|
+
user:
|
47
|
+
grant_id_documents_offline_verification: "%{user_name} hitelesítve %{resource_name} egy offline azonosító dokumentum ellenőrzésével"
|
33
48
|
authorization_handlers:
|
34
49
|
admin:
|
35
50
|
csv_census:
|
@@ -117,6 +132,7 @@ hu:
|
|
117
132
|
title: Jelenlegi népszámlálási adatok
|
118
133
|
instructions:
|
119
134
|
body: Ehhez be kell lépnie a rendszeradminisztrációba, és hozzá kell adnia a csv_census jogosultságokat a szervezethez
|
135
|
+
title: Aktiválnia kell a szervezet CSV-állományadatait
|
120
136
|
new:
|
121
137
|
file: ".csv fájl e-mail adatokkal"
|
122
138
|
info: 'CSV formátumú fájl lehet csak egy oszloppal, amely az email címeket tartalmazza:'
|
@@ -131,6 +147,8 @@ hu:
|
|
131
147
|
postal_codes:
|
132
148
|
one: A részvétel %{postal_codes} irányítószámú felhasználókra korlátozódik.
|
133
149
|
other: 'A részvétel %{postal_codes} irányítószámú felhasználókra korlátozódik.'
|
150
|
+
scope: A részvétel kizárólag a(z) %{scope_name} hatókörrel rendelkező résztvevőkre korlátozódik.
|
151
|
+
user_scope: A részvétel a %{scope_name} hatókörrel rendelkező résztvevőkre korlátozódik, és a te hatóköröd %{user_scope_name}.
|
134
152
|
id_documents:
|
135
153
|
admin:
|
136
154
|
config:
|
data/config/locales/id-ID.yml
CHANGED
data/config/locales/is-IS.yml
CHANGED