diff --git a/config/locales/verification.en.yml b/config/locales/verification.en.yml index dcd080e64..4ba999e6b 100644 --- a/config/locales/verification.en.yml +++ b/config/locales/verification.en.yml @@ -23,7 +23,7 @@ en: form_errors: "prevented your residence verification" error_verifying_census: "The census of the city of Madrid could not verify your information. Pero revise de information and try again or get in touch with us." error_not_allowed_age: "You need yo be at least 16 years old" - error_not_allowed_postal_code: "Please, to verify your account you need to be in the census of the Madrid town." + error_not_allowed_postal_code: "To verify your account you need to be in the census of the Madrid town." create: flash: success: "Residence verified" diff --git a/config/locales/verification.es.yml b/config/locales/verification.es.yml index a6a218b2d..b8d84fda2 100644 --- a/config/locales/verification.es.yml +++ b/config/locales/verification.es.yml @@ -23,7 +23,7 @@ es: form_errors: "evitaron verificar tu residencia" error_verifying_census: "El Padrón de Madrid no pudo verificar tu información. Revisa la información ó ponte en contacto con nosotros." error_not_allowed_age: "Hay que tener al menos 16 años" - error_not_allowed_postal_code: "Por favor, para verificarte debes estar empadronado en el municipio de Madrid." + error_not_allowed_postal_code: "Para verificarte debes estar empadronado en el municipio de Madrid." create: flash: success: "Residencia verificada" diff --git a/spec/features/verification/residence_spec.rb b/spec/features/verification/residence_spec.rb index 7bdd44425..29e20ea5a 100644 --- a/spec/features/verification/residence_spec.rb +++ b/spec/features/verification/residence_spec.rb @@ -49,7 +49,7 @@ feature 'Residence' do click_button 'Verify residence' - expect(page).to have_content 'Please, to verify your account you need to be in the census of the Madrid town.' + expect(page).to have_content 'To verify your account you need to be in the census of the Madrid town.' end scenario 'Error on Madrid census' do diff --git a/spec/models/residence_spec.rb b/spec/models/residence_spec.rb index 55be14bc1..53e8c44e6 100644 --- a/spec/models/residence_spec.rb +++ b/spec/models/residence_spec.rb @@ -48,7 +48,7 @@ describe Verification::Residence do residence.postal_code = "13280" residence.valid? expect(residence.errors[:postal_code].size).to eq(1) - expect(residence.errors[:postal_code]).to include("Please, to verify your account you need to be in the census of the Madrid town.") + expect(residence.errors[:postal_code]).to include("To verify your account you need to be in the census of the Madrid town.") end end