Files
grecia/config/locales/en/activemodel.yml
Senén Rodero Rodríguez 615bfadca8 Add local_census_records importation model
This model without database allow us to validate incoming file extension and
headers and also does the following during importation process:

* Ignore empty rows
* Classifiy rows in two groups: created_records, invalid_records
2019-07-29 13:07:24 +02:00

35 lines
1.1 KiB
YAML

en:
activemodel:
models:
verification:
residence: "Residence"
sms: "SMS"
local_census_record/import:
one: Local census record import
other: Local census records imports
attributes:
verification:
residence:
document_type: "Document type"
document_number: "Document number (including letters)"
date_of_birth: "Date of birth"
postal_code: "Postcode"
sms:
phone: "Telephone"
confirmation_code: "Confirmation code"
email:
recipient: "Email"
officing/residence:
document_type: "Document type"
document_number: "Document number (including letters)"
year_of_birth: "Year born"
local_census_record/import:
file: File
errors:
models:
local_census_records/import:
attributes:
file:
extension: "Given file format is wrong. The allowed file format is: %{valid_extensions}."
headers: "Given file headers are wrong. The file headers must have the following names: %{required_headers}."