configures active model i18n keys

This commit is contained in:
Juanjo Bazán
2015-08-29 12:41:13 +02:00
parent e8463d1372
commit b6926b0213
4 changed files with 29 additions and 25 deletions

View File

@@ -97,6 +97,7 @@ ignore_missing:
## Consider these keys used: ## Consider these keys used:
ignore_unused: ignore_unused:
- 'activerecord.*' - 'activerecord.*'
- 'activemodel.*'
- 'admin.organizations.index.filter.*' - 'admin.organizations.index.filter.*'
- 'unauthorized.*' - 'unauthorized.*'
- 'simple_captcha.*' - 'simple_captcha.*'

View File

@@ -1,16 +1,18 @@
en: en:
activemodel: activemodel:
models: models:
residence: Residence verification:
sms: SMS residence: Residence
sms: SMS
attributes: attributes:
residence: verification:
document_type: Document type residence:
document_number: Document number(including letter) document_type: Document type
date_of_birth: Date of birth document_number: Document number(including letter)
postal_code: Postal code date_of_birth: Date of birth
sms: postal_code: Postal code
phone: 'Phone' sms:
confirmation_code: 'Confirmation code' phone: 'Phone'
email: confirmation_code: 'Confirmation code'
recipient: 'Email' email:
recipient: 'Email'

View File

@@ -1,16 +1,18 @@
es: es:
activemodel: activemodel:
models: models:
residence: Residencia verification:
sms: SMS residence: Residencia
sms: SMS
attributes: attributes:
residence: verification:
document_type: Tipo documento residence:
document_number: Numero de documento (incluida letra) document_type: Tipo documento
date_of_birth: Fecha de nacimiento document_number: Numero de documento (incluida letra)
postal_code: 'Código postal' date_of_birth: Fecha de nacimiento
sms: postal_code: 'Código postal'
phone: 'Teléfono' sms:
confirmation_code: 'Código de confirmación' phone: 'Teléfono'
email: confirmation_code: 'Código de confirmación'
recipient: 'Email' email:
recipient: 'Email'

View File

@@ -7,7 +7,6 @@ en:
user: User user: User
vote: Vote vote: Vote
organization: Organization organization: Organization
residence: Residencia
attributes: attributes:
comment: comment:
body: Comment body: Comment