diff --git a/.hound.yml b/.hound.yml index 3488691d..b8994341 100644 --- a/.hound.yml +++ b/.hound.yml @@ -8,7 +8,7 @@ Style/Documentation: Enabled: false # Neatly aligned code is too swell. -Style/SingleSpaceBeforeFirstArg: +Style/SpaceBeforeFirstArg: Enabled: false # Don't mess with RSpec DSL. diff --git a/config/locales/es-EC.yml b/config/locales/es-EC.yml index 047c2df0..ede25b47 100644 --- a/config/locales/es-EC.yml +++ b/config/locales/es-EC.yml @@ -679,7 +679,7 @@ es-EC: available_locales: Locales Disponibles language: Idioma localization_settings: Ajustes Localización - this_file_language: Español + this_file_language: Español (Ecuador) icon: Icono identifier: image: Imagen diff --git a/config/locales/es-MX.yml b/config/locales/es-MX.yml index 76e7e869..f408dffe 100644 --- a/config/locales/es-MX.yml +++ b/config/locales/es-MX.yml @@ -677,7 +677,7 @@ es-MX: available_locales: Traduciones Disponibles language: Idioma localization_settings: Ajustes de traducciones - this_file_language: + this_file_language: Español (Mexico) icon: Icono identifier: image: Imagen diff --git a/config/locales/es.yml b/config/locales/es.yml index 19fb3815..84b5e766 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -679,7 +679,7 @@ es: available_locales: Locales Disponibles language: Idioma localization_settings: Ajustes Localización - this_file_language: Español + this_file_language: Español (España) icon: Icono identifier: image: Imagen diff --git a/spec/features/translation_spec.rb b/spec/features/translation_spec.rb index 00adbe84..30351fdb 100644 --- a/spec/features/translation_spec.rb +++ b/spec/features/translation_spec.rb @@ -21,11 +21,35 @@ def translation end end - # Chilean spanish is chosen + # Spanish of Chile is chosen. context 'when current locale is Chilean Spanish' do it 'translation is available' do I18n.locale = :'es-CL' expect(translation).to eq 'Código Postal' end end + + # Spanish of Mexico is chosen. + context 'when current locale is Chilean Spanish' do + it 'translation is available' do + I18n.locale = :'es-MX' + expect(translation).to eq 'Código Postal' + end + end + + # Spanish of Ecuador is chosen. + context 'when current locale is Chilean Spanish' do + it 'translation is available' do + I18n.locale = :'es-EC' + expect(translation).to eq 'Código Postal' + end + end + + # Spanish of Spain is chosen. + context 'when current locale is Chilean Spanish' do + it 'translation is available' do + I18n.locale = :es + expect(translation).to eq 'Código Postal' + end + end end