decidim-verifications 0.26.8 → 0.27.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/app/commands/decidim/verifications/authorize_user.rb +2 -2
  4. data/app/commands/decidim/verifications/confirm_user_authorization.rb +1 -1
  5. data/app/commands/decidim/verifications/csv_census/admin/create_census_data.rb +1 -1
  6. data/app/commands/decidim/verifications/destroy_user_authorization.rb +1 -1
  7. data/app/commands/decidim/verifications/id_documents/admin/confirm_user_offline_authorization.rb +1 -1
  8. data/app/commands/decidim/verifications/id_documents/admin/update_config.rb +1 -1
  9. data/app/commands/decidim/verifications/perform_authorization_step.rb +1 -1
  10. data/app/commands/decidim/verifications/revoke_all_authorizations.rb +1 -1
  11. data/app/commands/decidim/verifications/revoke_by_condition_authorizations.rb +1 -1
  12. data/app/controllers/decidim/verifications/application_controller.rb +1 -1
  13. data/app/controllers/decidim/verifications/authorizations_controller.rb +12 -2
  14. data/app/controllers/decidim/verifications/id_documents/authorizations_controller.rb +0 -2
  15. data/app/controllers/decidim/verifications/postal_letter/authorizations_controller.rb +0 -2
  16. data/app/events/decidim/verifications/managed_user_error_event.rb +3 -12
  17. data/app/forms/decidim/verifications/id_documents/upload_form.rb +1 -1
  18. data/app/queries/decidim/verifications/authorizations.rb +1 -1
  19. data/app/queries/decidim/verifications/authorizations_before_date.rb +1 -1
  20. data/app/services/decidim/authorization_handler.rb +2 -2
  21. data/app/views/decidim/verifications/csv_census/admin/census/index.html.erb +0 -1
  22. data/app/views/decidim/verifications/id_documents/admin/pending_authorizations/index.html.erb +0 -1
  23. data/app/views/decidim/verifications/postal_letter/admin/pending_authorizations/index.html.erb +0 -1
  24. data/config/locales/am-ET.yml +1 -0
  25. data/config/locales/ar.yml +2 -1
  26. data/config/locales/bg.yml +1 -0
  27. data/config/locales/ca.yml +6 -9
  28. data/config/locales/cs.yml +7 -10
  29. data/config/locales/da.yml +1 -0
  30. data/config/locales/de.yml +12 -22
  31. data/config/locales/el.yml +1 -0
  32. data/config/locales/en.yml +5 -9
  33. data/config/locales/eo.yml +1 -0
  34. data/config/locales/es-MX.yml +6 -9
  35. data/config/locales/es-PY.yml +6 -9
  36. data/config/locales/es.yml +6 -9
  37. data/config/locales/et.yml +1 -0
  38. data/config/locales/eu.yml +4 -10
  39. data/config/locales/fi-plain.yml +6 -9
  40. data/config/locales/fi.yml +7 -10
  41. data/config/locales/fr-CA.yml +4 -7
  42. data/config/locales/fr.yml +4 -7
  43. data/config/locales/ga-IE.yml +1 -0
  44. data/config/locales/gl.yml +1 -0
  45. data/config/locales/hr.yml +1 -0
  46. data/config/locales/hu.yml +14 -40
  47. data/config/locales/id-ID.yml +1 -0
  48. data/config/locales/is-IS.yml +3 -1
  49. data/config/locales/it.yml +8 -0
  50. data/config/locales/ja.yml +15 -18
  51. data/config/locales/ko.yml +1 -0
  52. data/config/locales/lb.yml +1 -0
  53. data/config/locales/lt.yml +1 -274
  54. data/config/locales/lv.yml +1 -0
  55. data/config/locales/mt.yml +1 -0
  56. data/config/locales/nl.yml +2 -1
  57. data/config/locales/no.yml +1 -0
  58. data/config/locales/om-ET.yml +1 -0
  59. data/config/locales/pl.yml +1 -0
  60. data/config/locales/pt-BR.yml +3 -2
  61. data/config/locales/pt.yml +1 -0
  62. data/config/locales/ro-RO.yml +1 -0
  63. data/config/locales/ru.yml +2 -0
  64. data/config/locales/si-LK.yml +1 -0
  65. data/config/locales/sk.yml +1 -0
  66. data/config/locales/sl.yml +1 -0
  67. data/config/locales/so-SO.yml +1 -0
  68. data/config/locales/sr-CS.yml +1 -0
  69. data/config/locales/sv.yml +1 -0
  70. data/config/locales/sw-KE.yml +1 -0
  71. data/config/locales/ti-ER.yml +1 -0
  72. data/config/locales/tr-TR.yml +1 -0
  73. data/config/locales/uk.yml +2 -0
  74. data/config/locales/val-ES.yml +1 -0
  75. data/config/locales/vi.yml +1 -0
  76. data/config/locales/zh-CN.yml +1 -0
  77. data/config/locales/zh-TW.yml +1 -268
  78. data/lib/decidim/verifications/sms/example_gateway.rb +1 -1
  79. data/lib/decidim/verifications/test/factories.rb +1 -1
  80. data/lib/decidim/verifications/version.rb +1 -1
  81. data/lib/decidim/verifications/workflow_manifest.rb +6 -6
  82. metadata +12 -19
  83. data/config/environment.rb +0 -0
  84. data/config/locales/fa-IR.yml +0 -1
  85. data/config/locales/gn-PY.yml +0 -1
  86. data/config/locales/ka-GE.yml +0 -1
  87. data/config/locales/kaa.yml +0 -1
  88. data/config/locales/lo-LA.yml +0 -1
  89. data/config/locales/oc-FR.yml +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 230d2e7929ec3feb7661db53afa9c0e06bedad21d3192cfe183cc3faecb09e0a
4
- data.tar.gz: e23e0ad06dba1d74a105d14b04ae5a586c193c368489e7e55e1acd30b33e437a
3
+ metadata.gz: 1ee5a37d18af70ffb55bacdb53806094fc921e3a0f09f78e765efa9f671facc0
4
+ data.tar.gz: f5aeefc51841d4bd7614bf565f4b2b92b123fe8b56c0cac84e820b5ac9a1c4bb
5
5
  SHA512:
6
- metadata.gz: 39a3fafaffff892718f460d7d0fa1a5aecc0e72d35952f64cf443724b0153eb21655d7876a92e66ff6cc63e8a8d079680e3b30e87ae9d2dda8d3e6adf74d0016
7
- data.tar.gz: 0fa970becf736e6321ac997019ee57460901923a46206fcb156c126e891abff3b7b20aaec0066775f609ea4e2a6a9bd6b8dfb623a36ae24002d3718a55084628
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 `Rectify::Form`
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 virtus attribute,
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 < Rectify::Command
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: Decidim::User.where(admin: true, organization: @organization)
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 < Rectify::Command
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 < Rectify::Command
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 < Rectify::Command
6
+ class DestroyUserAuthorization < Decidim::Command
7
7
  def initialize(authorization)
8
8
  @authorization = authorization
9
9
  end
@@ -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 < Rectify::Command
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.
@@ -4,7 +4,7 @@ module Decidim
4
4
  module Verifications
5
5
  module IdDocuments
6
6
  module Admin
7
- class UpdateConfig < Rectify::Command
7
+ class UpdateConfig < Decidim::Command
8
8
  def initialize(form)
9
9
  @form = form
10
10
  end
@@ -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 < Rectify::Command
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
6
- class RevokeAllAuthorizations < Rectify::Command
6
+ class RevokeAllAuthorizations < Decidim::Command
7
7
  # Public: Initializes the command.
8
8
  #
9
9
  # organization - Organization 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 < Rectify::Command
6
+ class RevokeByConditionAuthorizations < Decidim::Command
7
7
  # Public: Initializes the command.
8
8
  #
9
9
  # organization - Organization object.
@@ -22,7 +22,7 @@ module Decidim
22
22
  private
23
23
 
24
24
  def confirmed_user
25
- return true if !current_user || current_user && current_user.verifiable?
25
+ return true if !current_user || (current_user && current_user.verifiable?)
26
26
 
27
27
  redirect_back(
28
28
  fallback_location: root_path,
@@ -71,9 +71,19 @@ module Decidim
71
71
  def valid_handler
72
72
  return true if handler
73
73
 
74
- logger.warn "Invalid authorization handler given: #{handler_name} doesn't"\
75
- "exist or you haven't added it to `Decidim.authorization_handlers`"
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
@@ -8,7 +8,7 @@ module Decidim
8
8
  class UploadForm < InformationForm
9
9
  mimic :id_document_upload
10
10
 
11
- attribute :verification_attachment, String
11
+ attribute :verification_attachment
12
12
 
13
13
  validates :verification_attachment,
14
14
  passthru: { to: Decidim::Authorization },
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  module Verifications
5
5
  # Finds authorizations by different criteria
6
- class Authorizations < Rectify::Query
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 < Rectify::Query
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
- # THe attributes of the handler that should be exposed as form input when
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(:id, :user).keys
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
@@ -1,4 +1,3 @@
1
- <% add_decidim_page_title(t("admin.index.title", scope: "decidim.verifications.csv_census")) %>
2
1
  <div class="card">
3
2
  <div class="card-divider">
4
3
  <h2 class="card-title">
@@ -1,4 +1,3 @@
1
- <% add_decidim_page_title(t(".title")) %>
2
1
  <div class="card">
3
2
  <div class="card-divider">
4
3
  <h2 class="card-title">
@@ -1,4 +1,3 @@
1
- <% add_decidim_page_title(t(".title")) %>
2
1
  <div class="card">
3
2
  <div class="card-divider">
4
3
  <h2 class="card-title">
@@ -1 +1,2 @@
1
+ ---
1
2
  am:
@@ -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: 'الرجاء تحديد الطريقة التي تريد التحقق منها:'
@@ -1,3 +1,4 @@
1
+ ---
1
2
  bg:
2
3
  activemodel:
3
4
  attributes:
@@ -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="%{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>).
86
- 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.
87
- email_subject: Error en intentar verificar-se contra una altra participant
88
- 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>).
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: Introdueix el codi de verificació que has rebut
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
@@ -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="%{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>).
86
- 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.
87
- email_subject: Neúspěšný pokus o ověření proti jinému uživateli
88
- 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>).
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: Zrušit
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: Zrušit
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:
@@ -1 +1,2 @@
1
+ ---
1
2
  da:
@@ -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: Zählung der Organisation
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 Erhebung der Organisation
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
@@ -129,28 +119,28 @@ de:
129
119
  admin:
130
120
  census:
131
121
  create:
132
- error: Beim Import der Erhebung ist ein Fehler aufgetreten.
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 Erhebungsdaten wurden gelöscht
125
+ success: Alle Volkszählungsdaten wurden gelöscht
136
126
  destroy:
137
- confirm: '"Erhebung löschen" kann nicht rückgängig gemacht werden. Sind Sie sicher, dass Sie fortfahren möchten?'
138
- title: Löschen Sie alle Erhebungsdaten
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 Daten in dieser Erhebung. Verwenden Sie das folgende Formular, um es mit einer CSV-Datei zu importieren.
142
- title: Aktuelle Erhebungsdaten
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 Erhebung für diese Organisation aktivieren
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 Erhebung hoch
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 Erhebung der Organisation.
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:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  el:
2
3
  activemodel:
3
4
  attributes:
@@ -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="%{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>).
87
- 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.
88
- email_subject: Failed verification attempt against another participant
89
- 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>).
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 her documents
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:'
@@ -1 +1,2 @@
1
+ ---
1
2
  eo:
@@ -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="%{resource_url}">%{resource_title}</a> ha intentado verificarse con los datos de otra participante (<a href="%{managed_user_url}">%{managed_user_name}</a>).
86
- 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.
87
- email_subject: Error al intentar verificarse contra otra participante
88
- 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>).
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 has recibido
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