use more appropriate labels for chinese UI option

This commit is contained in:
Andrew Schleifer 2021-07-27 13:49:38 +00:00
parent e951cb9aef
commit 461cb96532
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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