A platform for community discussion. Free, open, simple.
use more appropriate labels for chinese UI option
Andrew Schleifer461cb96532ef
diff --git a/config/locales/names.yml b/config/locales/names.ymlindex 16901aa97c7..50918231cb8 100644--- a/config/locales/names.yml+++ b/config/locales/names.yml@@ -553,10 +553,10 @@ za:nativeName: Saɯ cueŋƅzh:name: Chinese- nativeName: 中文+ nativeName: 简体中文zh_TW:name: Chinese- nativeName: 中文 (TW)+ nativeName: 繁體中文zu:name: ZulunativeName: isiZuludiff --git a/spec/models/locale_site_setting_spec.rb b/spec/models/locale_site_setting_spec.rbindex 73b1022d682..024e14738f4 100644--- a/spec/models/locale_site_setting_spec.rb+++ b/spec/models/locale_site_setting_spec.rb@@ -30,8 +30,8 @@ describe LocaleSiteSetting doit 'returns native names' doexpect(native_locale_name('de')).to eq('Deutsch')- expect(native_locale_name('zh_CN')).to eq('中文')- expect(native_locale_name('zh_TW')).to eq('中文 (TW)')+ expect(native_locale_name('zh_CN')).to eq('简体中文')+ expect(native_locale_name('zh_TW')).to eq('繁體中文')endend