diff --git a/config/locales/en-IN.yml b/config/locales/en-IN.yml index b981dafa..0111ef64 100644 --- a/config/locales/en-IN.yml +++ b/config/locales/en-IN.yml @@ -631,7 +631,7 @@ en-IN: available_locales: language: localization_settings: - this_file_language: English (UK) + this_file_language: English (IN) icon: Icon identifier: image: Image diff --git a/config/locales/es-MX.yml b/config/locales/es-MX.yml index 15b53829..982deaf1 100644 --- a/config/locales/es-MX.yml +++ b/config/locales/es-MX.yml @@ -636,7 +636,7 @@ es-MX: available_locales: Traduciones Disponibles language: Idioma localization_settings: Ajustes de traducciones - this_file_language: + this_file_language: Castellano (MX) icon: Icono identifier: image: Imagen diff --git a/spec/helpers/locale_helper_spec.rb b/spec/helpers/locale_helper_spec.rb index a9740318..c1ac5840 100644 --- a/spec/helpers/locale_helper_spec.rb +++ b/spec/helpers/locale_helper_spec.rb @@ -23,5 +23,13 @@ is_expected.to match_array SolidusI18n::Locale.all end end + + describe 'locale presentation' do + subject { all_locales_options.map(&:first) } + + it 'should all be unique' do + is_expected.to match_array(subject.uniq) + end + end end end