decidim-verifications 0.16.1 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/verifications/csv_census/admin/create_census_data.rb +32 -0
  3. data/app/commands/decidim/verifications/csv_census/confirm_census_authorization.rb +20 -0
  4. data/app/controllers/decidim/verifications/csv_census/admin/census_controller.rb +68 -0
  5. data/app/controllers/decidim/verifications/csv_census/authorizations_controller.rb +39 -0
  6. data/app/controllers/decidim/verifications/sms/authorizations_controller.rb +16 -2
  7. data/app/forms/decidim/verifications/csv_census/admin/census_data_form.rb +20 -0
  8. data/app/forms/decidim/verifications/csv_census/census_form.rb +32 -0
  9. data/app/jobs/decidim/verifications/csv_census/application_job.rb +10 -0
  10. data/app/jobs/decidim/verifications/csv_census/remove_duplicates_job.rb +30 -0
  11. data/app/models/decidim/verifications/application_record.rb +9 -0
  12. data/app/models/decidim/verifications/csv_census/data.rb +41 -0
  13. data/app/models/decidim/verifications/csv_census/status.rb +24 -0
  14. data/app/models/decidim/verifications/csv_datum.rb +29 -0
  15. data/app/permissions/decidim/verifications/csv_census/admin/permissions.rb +19 -0
  16. data/app/views/decidim/verifications/authorizations/_granted_authorization.html.erb +1 -1
  17. data/app/views/decidim/verifications/authorizations/index.html.erb +1 -1
  18. data/app/views/decidim/verifications/csv_census/admin/census/index.html.erb +37 -0
  19. data/app/views/decidim/verifications/csv_census/admin/census/instructions.html.erb +10 -0
  20. data/app/views/decidim/verifications/sms/authorizations/edit.html.erb +10 -1
  21. data/app/views/decidim/verifications/sms/authorizations/new.html.erb +1 -1
  22. data/config/locales/ar-SA.yml +68 -5
  23. data/config/locales/ca.yml +54 -14
  24. data/config/locales/cs-CZ.yml +36 -0
  25. data/config/locales/cs.yml +230 -0
  26. data/config/locales/de.yml +41 -1
  27. data/config/locales/en.yml +65 -24
  28. data/config/locales/es-MX.yml +42 -2
  29. data/config/locales/es-PY.yml +42 -2
  30. data/config/locales/es.yml +56 -16
  31. data/config/locales/eu.yml +41 -1
  32. data/config/locales/fi-pl.yml +36 -0
  33. data/config/locales/fi-plain.yml +228 -0
  34. data/config/locales/fi.yml +50 -10
  35. data/config/locales/fr.yml +41 -1
  36. data/config/locales/gl.yml +41 -1
  37. data/config/locales/hu.yml +42 -2
  38. data/config/locales/id-ID.yml +41 -1
  39. data/config/locales/it.yml +41 -1
  40. data/config/locales/nl.yml +41 -1
  41. data/config/locales/pl.yml +41 -1
  42. data/config/locales/pt-BR.yml +41 -1
  43. data/config/locales/pt.yml +41 -1
  44. data/config/locales/ru.yml +0 -3
  45. data/config/locales/sv.yml +41 -1
  46. data/config/locales/tr-TR.yml +41 -1
  47. data/config/locales/uk.yml +0 -3
  48. data/db/migrate/20181227135423_create_decidim_verifications_csv_data.rb +12 -0
  49. data/lib/decidim/verifications.rb +1 -0
  50. data/lib/decidim/verifications/adapter.rb +13 -1
  51. data/lib/decidim/verifications/csv_census.rb +6 -0
  52. data/lib/decidim/verifications/csv_census/admin.rb +10 -0
  53. data/lib/decidim/verifications/csv_census/admin_engine.rb +23 -0
  54. data/lib/decidim/verifications/csv_census/engine.rb +19 -0
  55. data/lib/decidim/verifications/csv_census/workflow.rb +6 -0
  56. data/lib/decidim/verifications/default_action_authorizer.rb +11 -4
  57. data/lib/decidim/verifications/sms/engine.rb +1 -1
  58. data/lib/decidim/verifications/test/factories.rb +11 -0
  59. data/lib/decidim/verifications/version.rb +1 -1
  60. metadata +31 -7
@@ -0,0 +1,230 @@
1
+ cs:
2
+ activemodel:
3
+ attributes:
4
+ config:
5
+ available_methods: Dostupné metody
6
+ offline: Offline
7
+ offline_explanation: Pokyny pro ověření offline
8
+ online: Online
9
+ id_document_information:
10
+ document_number: Číslo dokumentu (s písmenem)
11
+ document_type: Typ dokumentu
12
+ id_document_upload:
13
+ document_number: Číslo dokumentu (s písmenem)
14
+ document_type: Typ dokumentu
15
+ user: Uživatel
16
+ verification_attachment: Naskenovaná kopie dokumentu
17
+ offline_confirmation:
18
+ email: Uživatelský e-mail
19
+ postal_letter_address:
20
+ full_address: Celá adresa
21
+ postal_letter_confirmation:
22
+ verification_code: Ověřovací kód
23
+ postal_letter_postage:
24
+ full_address: Celá adresa
25
+ verification_code: Ověřovací kód
26
+ decidim:
27
+ admin:
28
+ menu:
29
+ authorization_workflows: Ověření
30
+ admin_log:
31
+ organization:
32
+ update_id_documents_config: "%{user_name} aktualizovala konfiguraci ověření dokumentů identit"
33
+ user:
34
+ grant_id_documents_offline_verification: "%{user_name} ověřeno %{resource_name} pomocí ověření dokumentů offline"
35
+ authorization_handlers:
36
+ admin:
37
+ csv_census:
38
+ help:
39
+ - Správci nahrají CSV s e-maily přijatých účastníků
40
+ - Ověřit se mohou pouze účastníci s e-mailem v tomto souboru CSV
41
+ id_documents:
42
+ help:
43
+ - Uživatelé vyplní informace o své identitě a nahrají kopii dokumentu.
44
+ - Vyplníte informace obsažené v nahraném obrázku.
45
+ - Informace by měly odpovídat uživateli, který vyplnil.
46
+ - Pokud nemůžete informace zřetelně vidět nebo ji nelze ověřit, můžete žádost odmítnout a uživatel ji bude moci opravit.
47
+ postal_letter:
48
+ help:
49
+ - Uživatelé požadují, aby jejich adresa byla odeslána ověřovacímu kódu.
50
+ - Na adresu zasíláte dopis s ověřovacím kódem.
51
+ - Označte písmeno jako odesláno.
52
+ - Jakmile označíte odeslané písmeno, uživatel bude schopen kód zadat a ověřit.
53
+ csv_census:
54
+ explanation: Získejte ověření pomocí sčítání organizace
55
+ name: Sčítání organizace
56
+ direct: Přímo
57
+ help: Pomoc
58
+ id_documents:
59
+ explanation: Nahrajte své doklady totožnosti, abychom mohli ověřit vaši totožnost
60
+ name: Doklady totožnosti
61
+ multistep: Více kroků
62
+ name: název
63
+ postal_letter:
64
+ explanation: Pošleme vám poštovní dopis s kódem, který budete muset zadat, abychom mohli ověřit vaši adresu
65
+ name: Kód poštovním dopisem
66
+ verifications:
67
+ authorizations:
68
+ create:
69
+ error: Při vytváření oprávnění došlo k chybě.
70
+ success: Byl jste úspěšně autorizován.
71
+ unconfirmed: Potřebujete potvrdit svůj e-mail, abyste se autorizovali.
72
+ first_login:
73
+ actions:
74
+ another_dummy_authorization_handler: Ověřte proti jinému příkladu pověření pro autorizaci
75
+ csv_census: Ověřte sčítání organizace
76
+ dummy_authorization_handler: Ověřte proti příkladu pověření autorizace
77
+ dummy_authorization_workflow: Ověřte proti pracovnímu postupu autorizace
78
+ id_documents: Získejte ověření odesláním dokladu totožnosti
79
+ postal_letter: Ověřte si, zda obdržíte ověřovací kód poštou
80
+ title: Potvrďte vaši identitu
81
+ verify_with_these_options: 'Jsou to dostupné možnosti k ověření totožnosti:'
82
+ new:
83
+ authorize: Poslat
84
+ authorize_with: Ověřte pomocí %{authorizer}
85
+ skip_verification: Můžete to přeskočit nyní a %{link}
86
+ start_exploring: začít zkoumat
87
+ csv_census:
88
+ admin:
89
+ census:
90
+ create:
91
+ error: Při importu sčítání došlo k chybě.
92
+ success: Úspěšně importováno %{count} položek (%{errors} chyb)
93
+ destroy_all:
94
+ success: Všechna data sčítání byly smazány
95
+ destroy:
96
+ confirm: Odstranit veškeré sčítání nelze vrátit zpět. Jste si jistý, že chcete pokračovat?
97
+ title: Smazat všechna data sčítání
98
+ index:
99
+ data: Celkem bylo načteno celkem %{count} záznamů. Poslední nahraje datum %{due_date}
100
+ empty: Neexistují údaje o sčítání. Pomocí níže uvedeného formuláře jej importujte pomocí souboru CSV.
101
+ title: Aktuální údaje o sčítání
102
+ instructions:
103
+ body: Chcete-li to provést, musíte vstoupit do správy systému a přidat oprávnění csv_census organizaci
104
+ title: Pro tuto organizaci musíte aktivovat csv sčítání
105
+ new:
106
+ file: ".csv soubor s daty e-mailů"
107
+ info: 'Musí být soubor ve formátu CSV s jedním sloupcem: e-mail'
108
+ submit: Nahrát soubor
109
+ title: Nahrajte nové sčítání
110
+ authorizations:
111
+ new:
112
+ error: Váš účet nebyl ověřen, nebo nejste v sčítání organizace.
113
+ success: Účet byl úspěšně ověřen.
114
+ dummy_authorization:
115
+ extra_explanation:
116
+ one: Účast je omezena na uživatele s poštovním směrovacím číslem %{postal_codes}.
117
+ few: 'Účast je omezena na uživatele s některým z následujících poštovních směrovacích čísel: %{postal_codes}.'
118
+ many: 'Účast je omezena na uživatele s některým z následujících poštovních směrovacích čísel: %{postal_codes}.'
119
+ other: 'Účast je omezena na uživatele s některým z následujících poštovních směrovacích čísel: %{postal_codes}.'
120
+ id_documents:
121
+ admin:
122
+ config:
123
+ edit:
124
+ title: Konfigurace dokumentů identit
125
+ update: Aktualizace
126
+ update:
127
+ error: Při aktualizaci konfigurace došlo k chybě.
128
+ success: Konfigurace byla úspěšně aktualizována
129
+ confirmations:
130
+ create:
131
+ error: Ověření neodpovídá. Ověřte znovu nebo odmítněte ověření, aby jej uživatel mohl změnit
132
+ success: Uživatel úspěšně ověřen
133
+ new:
134
+ introduce_user_data: Vložte data do obrázku
135
+ reject: Odmítnout
136
+ verify: Ověřte
137
+ offline_confirmations:
138
+ create:
139
+ error: Ověření neodpovídá. Zkuste to znovu nebo řekněte uživateli, že ho změní
140
+ success: Uživatel úspěšně ověřen
141
+ new:
142
+ cancel: zrušení
143
+ introduce_user_data: Zadejte e-mail uživatele a data dokumentu
144
+ verify: Ověřte
145
+ pending_authorizations:
146
+ index:
147
+ config: Config
148
+ offline_verification: Ověření offline
149
+ title: Čekající ověření online
150
+ verification_number: 'Ověření #%{n}'
151
+ rejections:
152
+ create:
153
+ success: Ověření bylo zamítnuto. Uživatel bude vyzván, aby změnil své dokumenty
154
+ authorizations:
155
+ choose:
156
+ choose_a_type: 'Vyberte, jak chcete ověřit:'
157
+ offline: Offline
158
+ online: Online
159
+ title: Ověřte svou identitu
160
+ create:
161
+ error: Při nahrávání dokumentu došlo k potížím
162
+ success: Dokument byl úspěšně nahrán
163
+ edit:
164
+ being_reviewed: Kontrolujeme vaše dokumenty. Budete brzy ověřeni
165
+ offline: Použijte ověření offline
166
+ online: Používejte ověření online
167
+ rejection_clarity: Ujistěte se, že informace jsou v nahraném obrázku jasně viditelné
168
+ rejection_correctness: Ujistěte se, že zadané informace jsou správné
169
+ rejection_notice: Při ověřování došlo k potížím. Prosím zkuste to znovu
170
+ send: Znovu požádejte o ověření
171
+ new:
172
+ send: Požádejte o ověření
173
+ title: Nahrajte svůj doklad totožnosti
174
+ update:
175
+ error: Při načítání dokumentu došlo k problému
176
+ success: Dokument byl úspěšně obnoven
177
+ dni: DNI
178
+ nie: NIE
179
+ passport: Cestovní pas
180
+ postal_letter:
181
+ admin:
182
+ pending_authorizations:
183
+ index:
184
+ address: Adresa
185
+ letter_sent_at: Dopis zaslaný na
186
+ mark_as_sent: Označit jako odesláno
187
+ not_yet_sent: Dosud nebyla odeslána
188
+ title: Probíhající ověřování
189
+ username: Uživatelské jméno
190
+ verification_code: Ověřovací kód
191
+ postages:
192
+ create:
193
+ error: Chyba při označování dopisu
194
+ success: Písmeno bylo úspěšně označeno jako odesláno
195
+ authorizations:
196
+ create:
197
+ error: Při vašem požadavku došlo k potížím
198
+ success: Dík! Na vaši adresu vám zašleme ověřovací kód
199
+ edit:
200
+ send: Potvrdit
201
+ title: Zadejte ověřovací kód, který jste obdrželi
202
+ waiting_for_letter: Na váš adresu vám brzy zašleme váš ověřovací kód
203
+ new:
204
+ send: Pošlete mi dopis
205
+ title: Požádejte o ověřovací kód
206
+ update:
207
+ error: Váš ověřovací kód neodpovídá našemu. Zkontrolujte, prosím, dopis, který jsme vám poslali
208
+ success: Gratulujeme. Byl jste úspěšně ověřen
209
+ sms:
210
+ authorizations:
211
+ create:
212
+ error: Při vašem požadavku došlo k potížím
213
+ success: Dík! Do telefonu jsme poslali SMS.
214
+ destroy:
215
+ success: Ověřovací kód úspěšně resetovat. Opět zadejte své telefonní číslo.
216
+ edit:
217
+ confirm_destroy: Opravdu chcete obnovit ověřovací kód?
218
+ destroy: Obnovit ověřovací kód
219
+ resend: Nezískal jste ověřovací kód?
220
+ send: Potvrdit
221
+ title: Zadejte ověřovací kód, který jste obdrželi
222
+ new:
223
+ send: Pošlete mi SMS
224
+ title: Požádejte o ověřovací kód
225
+ update:
226
+ error: Váš ověřovací kód neodpovídá našemu. Prosím, zkontrolujte SMS, který jsme vám poslali.
227
+ success: Gratulujeme. Byl jste úspěšně ověřen.
228
+ errors:
229
+ messages:
230
+ uppercase_only_letters_numbers: musí být všechny velké a obsahují pouze písmena a / nebo čísla
@@ -34,6 +34,10 @@ de:
34
34
  grant_id_documents_offline_verification: "%{user_name} verifiziert %{resource_name} über eine Offline-Verifizierung von Identitätsdokumenten"
35
35
  authorization_handlers:
36
36
  admin:
37
+ csv_census:
38
+ help:
39
+ - Admins laden ein CSV mit den E-Mails der akzeptierten Teilnehmer hoch
40
+ - Nur Teilnehmer mit einer E-Mail in dieser CSV-Datei können überprüft werden
37
41
  id_documents:
38
42
  help:
39
43
  - Benutzer geben ihre Identitätsinformationen ein und laden eine Kopie ihres Dokuments hoch.
@@ -46,6 +50,9 @@ de:
46
50
  - Sie senden den Brief mit dem Bestätigungscode an seine Adresse.
47
51
  - Sie markieren den Brief als gesendet.
48
52
  - Sobald Sie den Brief als gesendet markiert haben, kann der Benutzer den Code einführen und verifiziert werden.
53
+ csv_census:
54
+ explanation: Lassen Sie sich anhand der Volkszählung der Organisation überprüfen
55
+ name: Zensus der Organisation
49
56
  direct: Direkte
50
57
  help: Hilfe
51
58
  id_documents:
@@ -65,6 +72,7 @@ de:
65
72
  first_login:
66
73
  actions:
67
74
  another_dummy_authorization_handler: Überprüfen Sie anhand eines anderen Beispiels des Autorisierungshandlers
75
+ csv_census: Vergewissern Sie sich anhand der Volkszählung der Organisation
68
76
  dummy_authorization_handler: Überprüfen Sie anhand des Beispielautorisierungshandlers
69
77
  dummy_authorization_workflow: Überprüfen Sie anhand des beispielhaften Autorisierungsworkflows
70
78
  id_documents: Bestätigen Sie, indem Sie Ihr Identitätsdokument hochladen
@@ -76,6 +84,33 @@ de:
76
84
  authorize_with: Bestätigen Sie mit %{authorizer}
77
85
  skip_verification: Sie können dies für jetzt und %{link}überspringen
78
86
  start_exploring: Fang an zu erforschen
87
+ csv_census:
88
+ admin:
89
+ census:
90
+ create:
91
+ error: Beim Import der Volkszählung ist ein Fehler aufgetreten.
92
+ success: Erfolgreich importiert %{count} Artikel (%{errors} Fehler)
93
+ destroy_all:
94
+ success: Alle Volkszählungsdaten wurden gelöscht
95
+ destroy:
96
+ confirm: Alles löschen Die Zählung kann nicht rückgängig gemacht werden. Sind Sie sicher, dass Sie fortfahren möchten?
97
+ title: Löschen Sie alle Volkszählungsdaten
98
+ index:
99
+ data: Insgesamt wurden %{count} Datensätze geladen. Das letzte Upload-Datum war am %{due_date}
100
+ empty: Es gibt keine Zensusdaten. Verwenden Sie das folgende Formular, um es mit einer CSV-Datei zu importieren.
101
+ title: Aktuelle Volkszählungsdaten
102
+ instructions:
103
+ body: Dazu müssen Sie die Systemverwaltung eingeben und der Organisation die csv_census-Berechtigungen hinzufügen
104
+ title: Sie müssen die csv-Zählung für diese Organisation aktivieren
105
+ new:
106
+ file: "CSV-Datei mit E-Mail-Daten"
107
+ info: 'Muss eine Datei im CSV-Format mit einer Spalte sein: E-Mail'
108
+ submit: Datei hochladen
109
+ title: Laden Sie eine neue Volkszählung hoch
110
+ authorizations:
111
+ new:
112
+ error: Wir konnten Ihr Konto nicht bestätigen oder Sie befinden sich nicht in der Zählung der Organisation.
113
+ success: Ihr Konto wurde erfolgreich verifiziert.
79
114
  dummy_authorization:
80
115
  extra_explanation:
81
116
  one: Die Teilnahme ist auf Benutzer mit der Postleitzahl %{postal_codes}.
@@ -116,7 +151,7 @@ de:
116
151
  success: Überprüfung abgelehnt Benutzer wird aufgefordert, ihre Dokumente zu ändern
117
152
  authorizations:
118
153
  choose:
119
- choose_a_type: "Bitte wählen Sie aus, wie Sie verifiziert werden möchten:"
154
+ choose_a_type: 'Bitte wählen Sie aus, wie Sie verifiziert werden möchten:'
120
155
  offline: Offline
121
156
  online: Online
122
157
  title: Überprüfen Sie sich anhand Ihres Ausweisdokuments
@@ -174,7 +209,12 @@ de:
174
209
  create:
175
210
  error: Es gab ein Problem mit ihrer Anfrage
176
211
  success: Vielen Dank! Wir haben eine SMS an Ihr Telefon gesendet.
212
+ destroy:
213
+ success: Der Bestätigungscode wurde erfolgreich zurückgesetzt. Bitte geben Sie Ihre Telefonnummer erneut ein.
177
214
  edit:
215
+ confirm_destroy: Möchten Sie den Bestätigungscode wirklich zurücksetzen?
216
+ destroy: Bestätigungscode zurücksetzen
217
+ resend: Sie haben den Bestätigungscode nicht erhalten?
178
218
  send: Bestätigen
179
219
  title: Geben Sie den Bestätigungscode ein, den Sie erhalten haben
180
220
  new:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  en:
2
3
  activemodel:
3
4
  attributes:
@@ -12,10 +13,10 @@ en:
12
13
  id_document_upload:
13
14
  document_number: Document number (with letter)
14
15
  document_type: Type of your document
15
- user: User
16
+ user: Participant
16
17
  verification_attachment: Scanned copy of your document
17
18
  offline_confirmation:
18
- email: User email
19
+ email: Participant email
19
20
  postal_letter_address:
20
21
  full_address: Full address
21
22
  postal_letter_confirmation:
@@ -34,18 +35,25 @@ en:
34
35
  grant_id_documents_offline_verification: "%{user_name} verified %{resource_name} using an offline Identity Documents verification"
35
36
  authorization_handlers:
36
37
  admin:
38
+ csv_census:
39
+ help:
40
+ - Admins upload a CSV with the emails of the accepted participants
41
+ - Only participants with an email in that CSV file can get verified
37
42
  id_documents:
38
43
  help:
39
- - Users fill in their identity information and upload a copy of their document.
40
- - You fill in the information present in the uploaded image.
41
- - The information should match whatever the user filled in.
42
- - If you can't clearly see the information or you can't get it verified, you can reject the request and the user will be able to fix it.
44
+ - Users fill in their identity information and upload a copy of their document.
45
+ - You fill in the information present in the uploaded image.
46
+ - The information should match whatever the user filled in.
47
+ - If you can't clearly see the information or you can't get it verified, you can reject the request and the user will be able to fix it.
43
48
  postal_letter:
44
49
  help:
45
- - Users request a verification code to be sent to their address.
46
- - You send the letter to their address with the verification code.
47
- - You mark the letter as sent.
48
- - Once you mark the letter as sent, the user will be able to introduce the code and get verified.
50
+ - Participants request a verification code to be sent to their address.
51
+ - You send the letter to their address with the verification code.
52
+ - You mark the letter as sent.
53
+ - Once you mark the letter as sent, the participant will be able to introduce the code and get verified.
54
+ csv_census:
55
+ explanation: Get verified using the organization's census
56
+ name: Organization's census
49
57
  direct: Direct
50
58
  help: Help
51
59
  id_documents:
@@ -59,12 +67,13 @@ en:
59
67
  verifications:
60
68
  authorizations:
61
69
  create:
62
- error: There was an error creating the authorization.
70
+ error: There was a problem creating the authorization.
63
71
  success: You've been successfully authorized.
64
72
  unconfirmed: You need to confirm your email in order to authorize yourself.
65
73
  first_login:
66
74
  actions:
67
75
  another_dummy_authorization_handler: Verify against another example of authorization handler
76
+ csv_census: Verify against the organization's census
68
77
  dummy_authorization_handler: Verify against the example authorization handler
69
78
  dummy_authorization_workflow: Verify against the example authorization workflow
70
79
  id_documents: Get verified by uploading your identity document
@@ -76,10 +85,37 @@ en:
76
85
  authorize_with: Verify with %{authorizer}
77
86
  skip_verification: You can skip this for now and %{link}
78
87
  start_exploring: start exploring
88
+ csv_census:
89
+ admin:
90
+ census:
91
+ create:
92
+ error: There was an error importing census.
93
+ success: Successfully imported %{count} items (%{errors} errors)
94
+ destroy_all:
95
+ success: All census data have been deleted
96
+ destroy:
97
+ confirm: Delete all the census can not be undone. Are you sure you want to continue?
98
+ title: Delete all census data
99
+ index:
100
+ data: There are %{count} records loaded in total. Last upload date was on %{due_date}
101
+ empty: There are no census data. Use the form below to import it using a CSV file.
102
+ title: Current census data
103
+ instructions:
104
+ body: To do this you must enter system administration and add the csv_census authorizations to the organization
105
+ title: You need to activate the csv census for this organization
106
+ new:
107
+ file: ".csv file with emails data"
108
+ info: 'Must be a file with CSV format with one column: email'
109
+ submit: Upload file
110
+ title: Upload a new census
111
+ authorizations:
112
+ new:
113
+ error: We could not verify your account or you are not in the organization's census.
114
+ success: Your account has been successfully verified.
79
115
  dummy_authorization:
80
116
  extra_explanation:
81
- one: Participation is restricted to users with the postal code %{postal_codes}.
82
- other: 'Participation is restricted to users with any of the following postal codes: %{postal_codes}.'
117
+ one: Participation is restricted to participants with the postal code %{postal_codes}.
118
+ other: 'Participation is restricted to participants with any of the following postal codes: %{postal_codes}.'
83
119
  id_documents:
84
120
  admin:
85
121
  config:
@@ -87,23 +123,23 @@ en:
87
123
  title: Identity documents configuration
88
124
  update: Update
89
125
  update:
90
- error: There was an error updating the configuration.
126
+ error: There was a problem updating the configuration.
91
127
  success: Configuration successfully updated
92
128
  confirmations:
93
129
  create:
94
- error: Verification doesn't match. Try again or reject the verification so the user can amend it
95
- success: User successfully verified
130
+ error: Verification doesn't match. Please try again or reject the verification so the participant can amend it
131
+ success: Participant successfully verified
96
132
  new:
97
133
  introduce_user_data: Introduce the data in the picture
98
134
  reject: Reject
99
135
  verify: Verify
100
136
  offline_confirmations:
101
137
  create:
102
- error: Verification doesn't match. Try again or tell the user to amend it
103
- success: User successfully verified
138
+ error: Verification doesn't match. Please try again or tell the participant to amend it
139
+ success: Participant successfully verified
104
140
  new:
105
141
  cancel: Cancel
106
- introduce_user_data: Introduce the user email and the document data
142
+ introduce_user_data: Introduce the participant email and the document data
107
143
  verify: Verify
108
144
  pending_authorizations:
109
145
  index:
@@ -113,16 +149,16 @@ en:
113
149
  verification_number: 'Verification #%{n}'
114
150
  rejections:
115
151
  create:
116
- success: Verification rejected. User will be prompted to amend her documents
152
+ success: Verification rejected. Participant will be prompted to amend her documents
117
153
  authorizations:
118
154
  choose:
119
- choose_a_type: "Please select how you want to be verified:"
155
+ choose_a_type: 'Please select how you want to be verified:'
120
156
  offline: Offline
121
157
  online: Online
122
158
  title: Verify yourself using your identity document
123
159
  create:
124
160
  error: There was a problem uploading your document
125
- success: Document uploaded successfully
161
+ success: Document successfully uploaded
126
162
  edit:
127
163
  being_reviewed: We're reviewing your documents. You'll be verified shortly
128
164
  offline: Use offline verification
@@ -136,7 +172,7 @@ en:
136
172
  title: Upload your identity document
137
173
  update:
138
174
  error: There was a problem reuploading your document
139
- success: Document reuploaded successfully
175
+ success: Document successfully reuploaded
140
176
  dni: DNI
141
177
  nie: NIE
142
178
  passport: Passport
@@ -149,7 +185,7 @@ en:
149
185
  mark_as_sent: Mark as sent
150
186
  not_yet_sent: Not yet sent
151
187
  title: Ongoing verifications
152
- username: Username
188
+ username: Nickname
153
189
  verification_code: Verification code
154
190
  postages:
155
191
  create:
@@ -174,7 +210,12 @@ en:
174
210
  create:
175
211
  error: There was a problem with your request
176
212
  success: Thanks! We've sent an SMS to your phone.
213
+ destroy:
214
+ success: Verification code sucessfully reset. Please re-enter your phone number.
177
215
  edit:
216
+ confirm_destroy: Are you sure you want to reset the verification code?
217
+ destroy: Reset verification code
218
+ resend: Didn't receive the verification code?
178
219
  send: Confirm
179
220
  title: Introduce the verification code you received
180
221
  new: