use more appropriate labels for chinese UI option
This commit is contained in:
parent
e951cb9aef
commit
461cb96532
|
@ -553,10 +553,10 @@ za:
|
||||||
nativeName: Saɯ cueŋƅ
|
nativeName: Saɯ cueŋƅ
|
||||||
zh:
|
zh:
|
||||||
name: Chinese
|
name: Chinese
|
||||||
nativeName: 中文
|
nativeName: 简体中文
|
||||||
zh_TW:
|
zh_TW:
|
||||||
name: Chinese
|
name: Chinese
|
||||||
nativeName: 中文 (TW)
|
nativeName: 繁體中文
|
||||||
zu:
|
zu:
|
||||||
name: Zulu
|
name: Zulu
|
||||||
nativeName: isiZulu
|
nativeName: isiZulu
|
||||||
|
|
|
@ -30,8 +30,8 @@ describe LocaleSiteSetting do
|
||||||
|
|
||||||
it 'returns native names' do
|
it 'returns native names' do
|
||||||
expect(native_locale_name('de')).to eq('Deutsch')
|
expect(native_locale_name('de')).to eq('Deutsch')
|
||||||
expect(native_locale_name('zh_CN')).to eq('中文')
|
expect(native_locale_name('zh_CN')).to eq('简体中文')
|
||||||
expect(native_locale_name('zh_TW')).to eq('中文 (TW)')
|
expect(native_locale_name('zh_TW')).to eq('繁體中文')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue