decidim-verifications 0.30.1 → 0.31.0.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/app/commands/decidim/verifications/csv_census/admin/create_census_data.rb +5 -4
- data/app/commands/decidim/verifications/csv_census/admin/create_census_record.rb +23 -0
- data/app/commands/decidim/verifications/csv_census/admin/update_census_record.rb +15 -0
- data/app/controllers/concerns/decidim/verifications/admin/filterable.rb +26 -0
- data/app/controllers/decidim/verifications/authorizations_controller.rb +1 -2
- data/app/controllers/decidim/verifications/csv_census/admin/census_controller.rb +58 -14
- data/app/controllers/decidim/verifications/csv_census/admin/census_records_controller.rb +63 -0
- data/app/controllers/decidim/verifications/id_documents/admin/config_controller.rb +1 -1
- data/app/controllers/decidim/verifications/id_documents/admin/confirmations_controller.rb +1 -1
- data/app/controllers/decidim/verifications/id_documents/admin/offline_confirmations_controller.rb +1 -1
- data/app/controllers/decidim/verifications/id_documents/authorizations_controller.rb +2 -2
- data/app/controllers/decidim/verifications/postal_letter/authorizations_controller.rb +2 -2
- data/app/controllers/decidim/verifications/sms/authorizations_controller.rb +2 -2
- data/app/forms/decidim/verifications/csv_census/admin/census_data_form.rb +29 -3
- data/app/forms/decidim/verifications/csv_census/admin/census_form.rb +29 -0
- data/app/forms/decidim/verifications/sms/mobile_phone_form.rb +2 -2
- data/app/jobs/decidim/verifications/csv_census/process_census_data_job.rb +49 -0
- data/app/models/decidim/verifications/csv_census/data.rb +13 -1
- data/app/models/decidim/verifications/csv_datum.rb +21 -0
- data/app/packs/entrypoints/decidim_verifications.js +3 -0
- data/app/packs/src/csv_census.js +47 -0
- data/app/presenters/decidim/verifications/admin_log/csv_datum_presenter.rb +45 -0
- data/app/services/decidim/authorization_handler.rb +1 -1
- data/app/views/decidim/verifications/authorizations/new.html.erb +1 -1
- data/app/views/decidim/verifications/authorizations/onboarding_pending.html.erb +1 -1
- data/app/views/decidim/verifications/csv_census/admin/census/_csv_census_drawer.html.erb +5 -0
- data/app/views/decidim/verifications/csv_census/admin/census/index.html.erb +73 -51
- data/app/views/decidim/verifications/csv_census/admin/census/new_import.html.erb +27 -0
- data/app/views/decidim/verifications/csv_census/admin/census_records/_form.html.erb +9 -0
- data/app/views/decidim/verifications/csv_census/admin/census_records/edit_record.html.erb +14 -0
- data/app/views/decidim/verifications/csv_census/admin/census_records/new_record.html.erb +14 -0
- data/app/views/decidim/verifications/postal_letter/admin/pending_authorizations/index.html.erb +33 -17
- data/config/assets.rb +2 -2
- data/config/locales/ar.yml +0 -5
- data/config/locales/bg.yml +0 -12
- data/config/locales/ca-IT.yml +62 -17
- data/config/locales/ca.yml +62 -17
- data/config/locales/cs.yml +42 -16
- data/config/locales/de.yml +61 -17
- data/config/locales/el.yml +0 -5
- data/config/locales/en.yml +62 -17
- data/config/locales/es-MX.yml +62 -17
- data/config/locales/es-PY.yml +62 -17
- data/config/locales/es.yml +62 -17
- data/config/locales/eu.yml +74 -29
- data/config/locales/fi-plain.yml +63 -11
- data/config/locales/fi.yml +63 -11
- data/config/locales/fr-CA.yml +5 -12
- data/config/locales/fr.yml +5 -12
- data/config/locales/gl.yml +0 -5
- data/config/locales/hu.yml +0 -12
- data/config/locales/id-ID.yml +0 -5
- data/config/locales/it.yml +0 -5
- data/config/locales/ja.yml +62 -17
- data/config/locales/lt.yml +0 -12
- data/config/locales/lv.yml +0 -5
- data/config/locales/nl.yml +0 -5
- data/config/locales/no.yml +0 -5
- data/config/locales/pl.yml +0 -12
- data/config/locales/pt-BR.yml +0 -5
- data/config/locales/pt.yml +0 -5
- data/config/locales/ro-RO.yml +40 -8
- data/config/locales/sk.yml +0 -5
- data/config/locales/sv.yml +61 -17
- data/config/locales/tr-TR.yml +0 -5
- data/config/locales/zh-CN.yml +0 -5
- data/config/locales/zh-TW.yml +0 -12
- data/lib/decidim/verifications/csv_census/admin_engine.rb +10 -2
- data/lib/decidim/verifications/engine.rb +1 -1
- data/lib/decidim/verifications/version.rb +1 -1
- data/lib/decidim/verifications/workflows.rb +3 -58
- data/lib/decidim/verifications.rb +1 -1
- data/lib/tasks/revoke.rake +16 -0
- metadata +22 -10
- data/app/jobs/decidim/verifications/csv_census/remove_duplicates_job.rb +0 -30
- data/lib/decidim/verifications/registry.rb +0 -43
data/config/locales/ca.yml
CHANGED
@@ -4,6 +4,8 @@ ca:
|
|
4
4
|
attributes:
|
5
5
|
authorization:
|
6
6
|
verification_attachment: Arxiu adjunt de la verificació
|
7
|
+
census_data:
|
8
|
+
file: Fitxer
|
7
9
|
config:
|
8
10
|
available_methods: Mètodes disponibles
|
9
11
|
offline: Sense connexió
|
@@ -121,6 +123,12 @@ ca:
|
|
121
123
|
email_subject: Error en intentar verificar-se contra una altra participant
|
122
124
|
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>).
|
123
125
|
verifications:
|
126
|
+
admin_log:
|
127
|
+
csv_datum:
|
128
|
+
create: "%{user_name} ha creat un nou registre de dades censals amb correu electrònic: %{resource_email}"
|
129
|
+
delete: "%{user_name} ha eliminado un nou registre de dades censals amb correu electrònic: %{resource_email}"
|
130
|
+
import: "%{user_name} ha importat: %{imported_count} registre(s) censal(s)"
|
131
|
+
update: "%{user_name} ha actualitzat el registre de dades censals amb correu electrònic: %{resource_email}"
|
124
132
|
authorizations:
|
125
133
|
authorization_metadata:
|
126
134
|
info: 'Aquestes són les dades de la verificació actual:'
|
@@ -161,30 +169,62 @@ ca:
|
|
161
169
|
start_exploring: comença a explorar
|
162
170
|
csv_census:
|
163
171
|
admin:
|
172
|
+
actions:
|
173
|
+
confirm_destroy: Segur que vols esborrar aquest registre de dades censals?
|
174
|
+
destroy: Destruir
|
175
|
+
edit: Editar
|
164
176
|
census:
|
165
|
-
|
177
|
+
create_import:
|
166
178
|
error: S'ha produït un error en importar del cens.
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
179
|
+
no_user: No s'ha trobat la usuària
|
180
|
+
success: S'han importat amb èxit %{count} elements. S'estan processant les dades. Actualitza la pàgina en uns minuts per veure els canvis.
|
181
|
+
destroy:
|
182
|
+
success: S'ha eliminat el registre de dades censals.
|
183
|
+
index:
|
184
|
+
empty: No hi ha dades del cens. Utilitza %{import_csv} per importar-lo mitjançant un fitxer CSV.
|
185
|
+
no_sign_in: Mai no ha iniciat sessió
|
186
|
+
no_user: No s'ha trobat cap usuària
|
187
|
+
last_login:
|
188
|
+
no_sign_in: Mai no ha iniciat sessió
|
189
|
+
no_user: Cap usuària
|
190
|
+
new_import:
|
191
|
+
errors:
|
192
|
+
email_exists: L'adreça de correu electrònic %{email} ja existeix a l'organització %{organization}.
|
193
|
+
example: |
|
194
|
+
john.doe@example.org
|
195
|
+
jane.doe@example.org
|
196
|
+
info: 'Ha de ser un fitxer en format CSV amb una sola columna amb l''adreça de correu electrònic:'
|
197
|
+
submit: Puja arxiu
|
198
|
+
title: Importar dades censals
|
199
|
+
upload_new_census: Puja un nou cens
|
200
|
+
census_records:
|
201
|
+
create_record:
|
202
|
+
success: Registre de dades censals afegides amb èxit. S'estan processant les dades. Actualitza la pàgina, en uns minuts, per veure els canvis.
|
203
|
+
edit_record:
|
204
|
+
save: Desar
|
205
|
+
title: Editar el registre censal
|
206
|
+
form:
|
207
|
+
email: Correu electrònic
|
208
|
+
new_record:
|
209
|
+
save: Desar
|
210
|
+
title: Afegir un nou registre censal
|
211
|
+
update_record:
|
212
|
+
invalid: Hi ha hagut un problema en actualitzar el registre de dades del cens.
|
213
|
+
success: S'ha actualitzat correctament el registre de dades censals.
|
173
214
|
index:
|
174
|
-
|
175
|
-
|
215
|
+
add_new_record_button: Afegir nou registre
|
216
|
+
authorized: Usuària actualitzada
|
217
|
+
fields:
|
218
|
+
actions: Accions
|
219
|
+
created_at: Creat el
|
220
|
+
email: Correu electrònic
|
221
|
+
user_authorized: Usuària autoritzada?
|
222
|
+
import_csv: Importar CSV
|
223
|
+
no_authorized: Usuària no actualitzada
|
176
224
|
title: Dades censals actuals
|
177
225
|
instructions:
|
178
226
|
body: Per fer-ho, has d'entrar al panell d'administració i afegir les autoritzacions de csv_census a l'organització
|
179
227
|
title: Necessites activar el cens csv d'aquesta organització
|
180
|
-
new:
|
181
|
-
example: |
|
182
|
-
john.doe@example.org
|
183
|
-
jane.doe@example.org
|
184
|
-
file: "fitxer .csv amb dades de correus electrònics"
|
185
|
-
info: 'Ha de ser un fitxer en format CSV amb una sola columna amb l''adreça de correu electrònic:'
|
186
|
-
submit: Puja arxiu
|
187
|
-
title: Puja un nou cens
|
188
228
|
authorizations:
|
189
229
|
new:
|
190
230
|
error: No hem pogut verificar el teu compte o no estàs al cens de l'organització.
|
@@ -197,6 +237,10 @@ ca:
|
|
197
237
|
user_postal_codes:
|
198
238
|
one: La participació està restringida a participants amb el codi postal %{postal_codes}, i el teu codi postal és %{user_postal_code}.
|
199
239
|
other: 'La participació està restringida a participants amb qualsevol dels codis postals següents: %{postal_codes}. El teu codi postal és %{user_postal_code}.'
|
240
|
+
errors:
|
241
|
+
invalid_emails: 'Les adreces de correu electrònic següents no són vàlides: %{invalid_emails}.'
|
242
|
+
no_emails: El fitxer ha de contenir adreces de correu electrònic
|
243
|
+
wrong_number_columns: "S'esperava una columna %{expected}, però es van trobar %{actual}."
|
200
244
|
id_documents:
|
201
245
|
admin:
|
202
246
|
config:
|
@@ -261,6 +305,7 @@ ca:
|
|
261
305
|
pending_authorizations:
|
262
306
|
index:
|
263
307
|
address: Adreça
|
308
|
+
already_sent: La carta postal ja s'ha enviat i no es pot tornar a marcar com a enviada.
|
264
309
|
letter_sent_at: Carta enviada el
|
265
310
|
mark_as_sent: Marca com a enviada
|
266
311
|
not_yet_sent: Encara no s'ha enviat
|
data/config/locales/cs.yml
CHANGED
@@ -4,6 +4,8 @@ cs:
|
|
4
4
|
attributes:
|
5
5
|
authorization:
|
6
6
|
verification_attachment: Příloha ověření
|
7
|
+
census_data:
|
8
|
+
file: Soubor
|
7
9
|
config:
|
8
10
|
available_methods: Dostupné metody
|
9
11
|
offline: Offline
|
@@ -161,28 +163,48 @@ cs:
|
|
161
163
|
start_exploring: začít zkoumat
|
162
164
|
csv_census:
|
163
165
|
admin:
|
166
|
+
actions:
|
167
|
+
destroy: Zničit
|
168
|
+
edit: Upravit
|
164
169
|
census:
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
170
|
+
create_import:
|
171
|
+
no_user: Nebyl nalezen žádný uživatel
|
172
|
+
success: Úspěšně importováno %{count} položek. Zpracováváme data. Obnovte stránku za pár minut a uvidíte změny.
|
173
|
+
index:
|
174
|
+
no_sign_in: Nikdy se nepřihlásil
|
175
|
+
no_user: Nebyl nalezen žádný uživatel
|
176
|
+
last_login:
|
177
|
+
no_sign_in: Nikdy se nepřihlásil
|
178
|
+
no_user: Žádný uživatel
|
179
|
+
new_import:
|
180
|
+
errors:
|
181
|
+
email_exists: E-mailová adresa %{email} již existuje v organizaci %{organization}.
|
182
|
+
example: |
|
183
|
+
john.doe@example.org
|
184
|
+
jane.doe@example.org
|
185
|
+
info: 'Musí být soubor ve formátu CSV obsahující pouze jeden sloupec s e-mailovou adresou:'
|
186
|
+
submit: Nahrát soubor
|
187
|
+
census_records:
|
188
|
+
edit_record:
|
189
|
+
save: Uložit
|
190
|
+
form:
|
191
|
+
email: E-mail
|
192
|
+
new_record:
|
193
|
+
save: Uložit
|
172
194
|
index:
|
173
|
-
|
174
|
-
|
195
|
+
add_new_record_button: Přidat nový záznam
|
196
|
+
authorized: Uživatel autorizován
|
197
|
+
fields:
|
198
|
+
actions: Akce
|
199
|
+
created_at: Vytvořeno v
|
200
|
+
email: E-mail
|
201
|
+
user_authorized: Uživatel autorizován?
|
202
|
+
import_csv: Importovat CSV
|
203
|
+
no_authorized: Uživatel neautorizován
|
175
204
|
title: Aktuální údaje o členech organizace
|
176
205
|
instructions:
|
177
206
|
body: Chcete-li to provést, musíte vstoupit do správy systému a přidat oprávnění prostřednictvím souboru csv s e-maily členů organizace
|
178
207
|
title: Musíte aktivovat CSV s kontakty členů organizace
|
179
|
-
new:
|
180
|
-
example: |
|
181
|
-
john.doe@example.org
|
182
|
-
jane.doe@example.org
|
183
|
-
file: ".csv soubor s daty e-mailů"
|
184
|
-
info: 'Musí být soubor ve formátu CSV obsahující pouze jeden sloupec s e-mailovou adresou:'
|
185
|
-
submit: Nahrát soubor
|
186
208
|
authorizations:
|
187
209
|
new:
|
188
210
|
error: Váš účet nebyl ověřen, nebo nejste členem organizace.
|
@@ -199,6 +221,10 @@ cs:
|
|
199
221
|
few: 'Účast je omezena na účastníky s poštovním kódem %{postal_codes} a vaše poštovní směrovací číslo je %{user_postal_code}.'
|
200
222
|
many: 'Účast je omezena na účastníky s poštovními kódy %{postal_codes} a vaše poštovní směrovací číslo je %{user_postal_code}.'
|
201
223
|
other: 'Účast je omezena na účastníky s kterýmkoli z následujících poštovních kódů: %{postal_codes}. Vaše poštovní směrovací číslo je %{user_postal_code}.'
|
224
|
+
errors:
|
225
|
+
invalid_emails: 'Následující e-mailové adresy jsou neplatné: %{invalid_emails}.'
|
226
|
+
no_emails: Soubor musí obsahovat e-maily
|
227
|
+
wrong_number_columns: "Byl očekáván sloupec %{expected}, ale byl nalezen %{actual}."
|
202
228
|
id_documents:
|
203
229
|
admin:
|
204
230
|
config:
|
data/config/locales/de.yml
CHANGED
@@ -4,6 +4,8 @@ de:
|
|
4
4
|
attributes:
|
5
5
|
authorization:
|
6
6
|
verification_attachment: Anhang zur Verifizierung
|
7
|
+
census_data:
|
8
|
+
file: Datei
|
7
9
|
config:
|
8
10
|
available_methods: Verfügbare Methoden
|
9
11
|
offline: Offline
|
@@ -121,6 +123,12 @@ de:
|
|
121
123
|
email_subject: Verifizierungsversuch gegenüber eines anderen Teilnehmers fehlgeschlagen
|
122
124
|
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.
|
123
125
|
verifications:
|
126
|
+
admin_log:
|
127
|
+
csv_datum:
|
128
|
+
create: "%{user_name} hat einen neuen Volkszählungsdatensatz mit E-Mail %{resource_email} erstellt"
|
129
|
+
delete: "%{user_name} hat den Volkszählungsdatensatz mit E-Mail %{resource_email} gelöscht"
|
130
|
+
import: "%{user_name} hat %{imported_count} Volkszählungsdatensätze importiert"
|
131
|
+
update: "%{user_name} hat den Datensatz der Volkszählung mit der E-Mail %{resource_email} aktualisiert"
|
124
132
|
authorizations:
|
125
133
|
authorization_metadata:
|
126
134
|
info: 'Dies sind die Daten der aktuellen Verifizierung:'
|
@@ -161,30 +169,62 @@ de:
|
|
161
169
|
start_exploring: Fang an zu erforschen
|
162
170
|
csv_census:
|
163
171
|
admin:
|
172
|
+
actions:
|
173
|
+
confirm_destroy: Sind Sie sicher, dass Sie diesen Datensatz löschen möchten?
|
174
|
+
destroy: Löschen
|
175
|
+
edit: Bearbeiten
|
164
176
|
census:
|
165
|
-
|
177
|
+
create_import:
|
166
178
|
error: Beim Importieren der Zählung ist ein Fehler aufgetreten.
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
179
|
+
no_user: Kein Mitglied gefunden
|
180
|
+
success: '%{count} Elemente erfolgreich importiert. Wir verarbeiten die Daten. Aktualisieren Sie die Seite in wenigen Minuten, um die Änderungen zu sehen.'
|
181
|
+
destroy:
|
182
|
+
success: Zählungsdatensatz wurde gelöscht.
|
183
|
+
index:
|
184
|
+
empty: Es gibt keine Volkszählungsdaten. Verwenden Sie %{import_csv} um eine CSV-Datei zu importieren.
|
185
|
+
no_sign_in: Nie angemeldet
|
186
|
+
no_user: Kein Mitglied gefunden
|
187
|
+
last_login:
|
188
|
+
no_sign_in: Nie angemeldet
|
189
|
+
no_user: Kein Mitglied
|
190
|
+
new_import:
|
191
|
+
errors:
|
192
|
+
email_exists: Die E-Mail-Adresse %{email} existiert bereits in der Organisation %{organization}.
|
193
|
+
example: |
|
194
|
+
john.doe@example.org
|
195
|
+
jane.doe@example.org
|
196
|
+
info: 'Muss eine Datei im CSV-Format sein, mit nur einer Spalte mit E-Mail-Adressen:'
|
197
|
+
submit: Datei hochladen
|
198
|
+
title: Daten der Volkszählung importieren
|
199
|
+
upload_new_census: Neue Volkszählung hochladen
|
200
|
+
census_records:
|
201
|
+
create_record:
|
202
|
+
success: Datensatz zur Volkszählung erfolgreich hinzugefügt. Wir verarbeiten die Daten. Aktualisieren Sie die Seite in wenigen Minuten, um die Änderungen zu sehen.
|
203
|
+
edit_record:
|
204
|
+
save: Speichern
|
205
|
+
title: Volkszählung bearbeiten
|
206
|
+
form:
|
207
|
+
email: E-Mail
|
208
|
+
new_record:
|
209
|
+
save: Speichern
|
210
|
+
title: Neuen Volkszählungseintrag hinzufügen
|
211
|
+
update_record:
|
212
|
+
invalid: Es gab ein Problem beim Aktualisieren des Datensatzes.
|
213
|
+
success: Datensatz für die Volkszählung erfolgreich aktualisiert.
|
173
214
|
index:
|
174
|
-
|
175
|
-
|
215
|
+
add_new_record_button: Neuen Eintrag hinzufügen
|
216
|
+
authorized: Mitglied berechtigt
|
217
|
+
fields:
|
218
|
+
actions: Aktionen
|
219
|
+
created_at: Erstellt am
|
220
|
+
email: E-Mail
|
221
|
+
user_authorized: Mitglied berechtigt?
|
222
|
+
import_csv: CSV importieren
|
223
|
+
no_authorized: Mitglied nicht berechtigt
|
176
224
|
title: Aktuelle Erhebungsdaten
|
177
225
|
instructions:
|
178
226
|
body: Dazu müssen Sie die Systemverwaltung eingeben und der Organisation die csv_census-Berechtigungen hinzufügen
|
179
227
|
title: Sie müssen die CSV Erhebung für diese Organisation aktivieren
|
180
|
-
new:
|
181
|
-
example: |
|
182
|
-
john.doe@example.org
|
183
|
-
jane.doe@example.org
|
184
|
-
file: "CSV-Datei mit E-Mail-Daten"
|
185
|
-
info: 'Muss eine Datei im CSV-Format sein, mit nur einer Spalte mit E-Mail-Adressen:'
|
186
|
-
submit: Datei hochladen
|
187
|
-
title: Neue Volkszählung hochladen
|
188
228
|
authorizations:
|
189
229
|
new:
|
190
230
|
error: Wir konnten Ihr Konto nicht bestätigen oder Sie befinden sich nicht in der Erhebung der Organisation.
|
@@ -197,6 +237,10 @@ de:
|
|
197
237
|
user_postal_codes:
|
198
238
|
one: Die Teilnahme ist auf Teilnehmer mit der Postleitzahl %{postal_codes} beschränkt, und Ihre Postleitzahl ist %{user_postal_code}.
|
199
239
|
other: 'Die Teilnahme ist auf Teilnehmer mit einer der folgenden Postleitzahlen beschränkt: %{postal_codes}. Ihre Postleitzahl ist %{user_postal_code}.'
|
240
|
+
errors:
|
241
|
+
invalid_emails: 'Die folgenden E-Mail-Adressen sind ungültig: %{invalid_emails}.'
|
242
|
+
no_emails: Die Datei muss E-Mails enthalten
|
243
|
+
wrong_number_columns: "%{expected} Spalten wurden erwartet, aber %{actual} wurden gefunden."
|
200
244
|
id_documents:
|
201
245
|
admin:
|
202
246
|
config:
|
data/config/locales/el.yml
CHANGED
@@ -81,15 +81,10 @@ el:
|
|
81
81
|
start_exploring: ξεκινήστε την εξερεύνηση
|
82
82
|
csv_census:
|
83
83
|
admin:
|
84
|
-
destroy:
|
85
|
-
title: Διαγραφή όλων των δεδομένων απογραφής
|
86
84
|
index:
|
87
|
-
empty: Δεν υπάρχουν δεδομένα απογραφής. Χρησιμοποιήστε την παρακάτω φόρμα για να τα εισαγάγετε χρησιμοποιώντας ένα αρχείο CSV.
|
88
85
|
title: Τρέχοντα δεδομένα απογραφής
|
89
86
|
instructions:
|
90
87
|
body: Για να το κάνετε αυτό, πρέπει να εισαγάγετε τη διαχείριση συστήματος και να προσθέσετε τις εξουσιοδοτήσεις csv_census στον οργανισμό
|
91
|
-
new:
|
92
|
-
file: "Αρχείο .csv με δεδομένα διευθύνσεων email"
|
93
88
|
authorizations:
|
94
89
|
new:
|
95
90
|
error: Δεν ήταν δυνατή η επαλήθευση του λογαριασμού σας ή δεν περιλαμβάνεστε στην απογραφή του οργανισμού.
|
data/config/locales/en.yml
CHANGED
@@ -4,6 +4,8 @@ en:
|
|
4
4
|
attributes:
|
5
5
|
authorization:
|
6
6
|
verification_attachment: Verification attachment
|
7
|
+
census_data:
|
8
|
+
file: File
|
7
9
|
config:
|
8
10
|
available_methods: Available methods
|
9
11
|
offline: Offline
|
@@ -121,6 +123,12 @@ en:
|
|
121
123
|
email_subject: Failed verification attempt against another participant
|
122
124
|
notification_title: The participant <a href="%{resource_path}">%{resource_title}</a> has tried to verify themselves with the data of another participant (<a href="%{managed_user_path}">%{managed_user_name}</a>).
|
123
125
|
verifications:
|
126
|
+
admin_log:
|
127
|
+
csv_datum:
|
128
|
+
create: "%{user_name} created a new census data record with email %{resource_email}"
|
129
|
+
delete: "%{user_name} deleted the census data record with email %{resource_email}"
|
130
|
+
import: "%{user_name} imported %{imported_count} Census records"
|
131
|
+
update: "%{user_name} updated the census data record with email %{resource_email}"
|
124
132
|
authorizations:
|
125
133
|
authorization_metadata:
|
126
134
|
info: 'This is the data of the current verification:'
|
@@ -161,30 +169,62 @@ en:
|
|
161
169
|
start_exploring: start exploring
|
162
170
|
csv_census:
|
163
171
|
admin:
|
172
|
+
actions:
|
173
|
+
confirm_destroy: Are you sure you want to delete this census data record?
|
174
|
+
destroy: Destroy
|
175
|
+
edit: Edit
|
164
176
|
census:
|
165
|
-
|
177
|
+
create_import:
|
166
178
|
error: There was a problem importing census.
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
179
|
+
no_user: No user found
|
180
|
+
success: Successfully imported %{count} items. We are processing the data. Refresh the page in a few minutes to see the changes.
|
181
|
+
destroy:
|
182
|
+
success: Census data record have been deleted.
|
183
|
+
index:
|
184
|
+
empty: There are no census data. Use %{import_csv} to import a CSV file.
|
185
|
+
no_sign_in: Never signed in
|
186
|
+
no_user: No user found
|
187
|
+
last_login:
|
188
|
+
no_sign_in: Never signed in
|
189
|
+
no_user: No user
|
190
|
+
new_import:
|
191
|
+
errors:
|
192
|
+
email_exists: The email address %{email} already exists in organization %{organization}.
|
193
|
+
example: |
|
194
|
+
john.doe@example.org
|
195
|
+
jane.doe@example.org
|
196
|
+
info: 'Must be a file in CSV format with only one column with the email address:'
|
197
|
+
submit: Upload file
|
198
|
+
title: Import census data
|
199
|
+
upload_new_census: Upload a new census
|
200
|
+
census_records:
|
201
|
+
create_record:
|
202
|
+
success: Successfully added census data record. We are processing the data. Refresh the page in a few minutes to see the changes.
|
203
|
+
edit_record:
|
204
|
+
save: Save
|
205
|
+
title: Edit census record
|
206
|
+
form:
|
207
|
+
email: Email
|
208
|
+
new_record:
|
209
|
+
save: Save
|
210
|
+
title: Add new census record
|
211
|
+
update_record:
|
212
|
+
invalid: There was a problem updating the census data record.
|
213
|
+
success: Successfully updated census data record.
|
173
214
|
index:
|
174
|
-
|
175
|
-
|
215
|
+
add_new_record_button: Add new record
|
216
|
+
authorized: User authorized
|
217
|
+
fields:
|
218
|
+
actions: Actions
|
219
|
+
created_at: Created At
|
220
|
+
email: Email
|
221
|
+
user_authorized: User authorized?
|
222
|
+
import_csv: Import CSV
|
223
|
+
no_authorized: User unauthorized
|
176
224
|
title: Current census data
|
177
225
|
instructions:
|
178
226
|
body: To do this you must enter system administration and add the csv_census authorizations to the organization
|
179
227
|
title: You need to activate the CSV census for this organization
|
180
|
-
new:
|
181
|
-
example: |
|
182
|
-
john.doe@example.org
|
183
|
-
jane.doe@example.org
|
184
|
-
file: ".csv file with emails data"
|
185
|
-
info: 'Must be a file in CSV format with only one column with the email address:'
|
186
|
-
submit: Upload file
|
187
|
-
title: Upload a new census
|
188
228
|
authorizations:
|
189
229
|
new:
|
190
230
|
error: We could not verify your account or you are not in the organization's census.
|
@@ -197,6 +237,10 @@ en:
|
|
197
237
|
user_postal_codes:
|
198
238
|
one: Participation is restricted to participants with the postal code %{postal_codes}, and your postal code is %{user_postal_code}.
|
199
239
|
other: 'Participation is restricted to participants with any of the following postal codes: %{postal_codes}. Your postal code is %{user_postal_code}.'
|
240
|
+
errors:
|
241
|
+
invalid_emails: 'The following email addresses are invalid: %{invalid_emails}.'
|
242
|
+
no_emails: The file must contain emails
|
243
|
+
wrong_number_columns: "%{expected} column were expected, but %{actual} were found."
|
200
244
|
id_documents:
|
201
245
|
admin:
|
202
246
|
config:
|
@@ -261,6 +305,7 @@ en:
|
|
261
305
|
pending_authorizations:
|
262
306
|
index:
|
263
307
|
address: Address
|
308
|
+
already_sent: The postal letter was already sent and cannot be marked again as sent.
|
264
309
|
letter_sent_at: Letter sent at
|
265
310
|
mark_as_sent: Mark as sent
|
266
311
|
not_yet_sent: Not yet sent
|
data/config/locales/es-MX.yml
CHANGED
@@ -4,6 +4,8 @@ es-MX:
|
|
4
4
|
attributes:
|
5
5
|
authorization:
|
6
6
|
verification_attachment: Archivo adjunto de la verificación
|
7
|
+
census_data:
|
8
|
+
file: Archivo
|
7
9
|
config:
|
8
10
|
available_methods: Metodos disponibles
|
9
11
|
offline: Desconectado
|
@@ -121,6 +123,12 @@ es-MX:
|
|
121
123
|
email_subject: Error al intentar verificarse contra otra participante
|
122
124
|
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>).
|
123
125
|
verifications:
|
126
|
+
admin_log:
|
127
|
+
csv_datum:
|
128
|
+
create: "%{user_name} ha creado un nuevo registro de datos censales con email: %{resource_email}"
|
129
|
+
delete: "%{user_name} ha eliminat un nuevo registro de datos censales con email: %{resource_email}"
|
130
|
+
import: "%{user_name} ha importado: %{imported_count} registro(s) censal(es)"
|
131
|
+
update: "%{user_name} ha actualizado el registro de datos censales con email: %{resource_email}"
|
124
132
|
authorizations:
|
125
133
|
authorization_metadata:
|
126
134
|
info: 'Estos son los datos de la verificación actual:'
|
@@ -161,30 +169,62 @@ es-MX:
|
|
161
169
|
start_exploring: empezar a explorar
|
162
170
|
csv_census:
|
163
171
|
admin:
|
172
|
+
actions:
|
173
|
+
confirm_destroy: '¿Seguro que quieres borrar este registro de datos censales?'
|
174
|
+
destroy: Destruir
|
175
|
+
edit: Editar
|
164
176
|
census:
|
165
|
-
|
177
|
+
create_import:
|
166
178
|
error: Se ha producido un error al importar el censo.
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
179
|
+
no_user: No se encontró la usuaria
|
180
|
+
success: Se han Importado con éxito %{count} elementos. Se están procesando los datos. Actualiza la página en unos minutos para ver los cambios.
|
181
|
+
destroy:
|
182
|
+
success: Se ha eliminado el registro de datos censales.
|
183
|
+
index:
|
184
|
+
empty: No hay datos del censo. Utiliza %{import_csv} para importarlo usando un archivo CSV.
|
185
|
+
no_sign_in: Nunca ha iniciado sesión
|
186
|
+
no_user: No se ha encontrado ninguna usuaria
|
187
|
+
last_login:
|
188
|
+
no_sign_in: Nunca ha iniciado sesión
|
189
|
+
no_user: Ninguna usuaria
|
190
|
+
new_import:
|
191
|
+
errors:
|
192
|
+
email_exists: La dirección de correo electrónico %{email} ya existe en la organización %{organization}.
|
193
|
+
example: |
|
194
|
+
john.doe@example.org
|
195
|
+
jane.doe@example.org
|
196
|
+
info: 'Debe ser un archivo en formato CSV con una sola columna con la dirección de correo electrónico:'
|
197
|
+
submit: Subir archivo
|
198
|
+
title: Importar datos de censales
|
199
|
+
upload_new_census: Subir un nuevo censo
|
200
|
+
census_records:
|
201
|
+
create_record:
|
202
|
+
success: Registro de datos censales añadidos con éxito. Se están procesando los datos. Actualiza la página, en unos minutos, para ver los cambios.
|
203
|
+
edit_record:
|
204
|
+
save: Guardar
|
205
|
+
title: Editar el registro censal
|
206
|
+
form:
|
207
|
+
email: Correo electrónico
|
208
|
+
new_record:
|
209
|
+
save: Guardar
|
210
|
+
title: Añadir un nuevo registro censal
|
211
|
+
update_record:
|
212
|
+
invalid: Ha habido un problema al actualizar el registro de datos del censo.
|
213
|
+
success: Se ha actualizado correctamente el registro de datos censales.
|
173
214
|
index:
|
174
|
-
|
175
|
-
|
215
|
+
add_new_record_button: Añadir nuevo registro
|
216
|
+
authorized: Usuaria autorizada
|
217
|
+
fields:
|
218
|
+
actions: Acciones
|
219
|
+
created_at: Creado el
|
220
|
+
email: Correo electrónico
|
221
|
+
user_authorized: '¿Usuaria autorizada?'
|
222
|
+
import_csv: Importar CSV
|
223
|
+
no_authorized: Usuaria no autorizada
|
176
224
|
title: Datos actuales del censo
|
177
225
|
instructions:
|
178
226
|
body: Para ello, debe ingresar a la administración del sistema y agregar las autorizaciones csv_census a la organización
|
179
227
|
title: Necesitas activar el CSV para esta organización
|
180
|
-
new:
|
181
|
-
example: |
|
182
|
-
john.doe@example.org
|
183
|
-
jane.doe@example.org
|
184
|
-
file: "archivo .csv con datos de correos electrónicos"
|
185
|
-
info: 'Debe ser un archivo en formato CSV con una sola columna con la dirección de correo electrónico:'
|
186
|
-
submit: Subir archivo
|
187
|
-
title: Subir un nuevo censo
|
188
228
|
authorizations:
|
189
229
|
new:
|
190
230
|
error: No pudimos verificar su cuenta o usted no está en el censo de la organización.
|
@@ -197,6 +237,10 @@ es-MX:
|
|
197
237
|
user_postal_codes:
|
198
238
|
one: La participación está restringida a las participantes con el código postal %{postal_codes} y tu código postal es %{user_postal_code}.
|
199
239
|
other: 'La participación está restringida a las participantes con cualquiera de los siguientes códigos postales: %{postal_codes}. Tu código postal es %{user_postal_code}.'
|
240
|
+
errors:
|
241
|
+
invalid_emails: 'Las siguientes direcciones de correo electrónico no son válidas: %{invalid_emails}.'
|
242
|
+
no_emails: El archivo debe contener direcciones de correo electrónico
|
243
|
+
wrong_number_columns: "Se esperaba una columna %{expected}, pero se encontraron %{actual}."
|
200
244
|
id_documents:
|
201
245
|
admin:
|
202
246
|
config:
|
@@ -261,6 +305,7 @@ es-MX:
|
|
261
305
|
pending_authorizations:
|
262
306
|
index:
|
263
307
|
address: Dirección
|
308
|
+
already_sent: La carta postal ya se ha enviado y no se puede marcar de nuevo como enviada.
|
264
309
|
letter_sent_at: Carta enviada el
|
265
310
|
mark_as_sent: Marcar como enviada
|
266
311
|
not_yet_sent: Aún no se ha enviado
|