From 461cb96532ef667aaba352843a908f8994caa03b Mon Sep 17 00:00:00 2001 From: Andrew Schleifer Date: Tue, 27 Jul 2021 13:49:38 +0000 Subject: [PATCH] use more appropriate labels for chinese UI option --- config/locales/names.yml | 4 ++-- spec/models/locale_site_setting_spec.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/locales/names.yml b/config/locales/names.yml index 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: Zulu nativeName: isiZulu diff --git a/spec/models/locale_site_setting_spec.rb b/spec/models/locale_site_setting_spec.rb index 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 do it 'returns native names' do expect(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('繁體中文') end end