UniversalLanguageSelector: Don't suggest non-specified-script zh for UI language

Change-Id: Ic46587437d3b48e43b689d18ef562cebf7730f41
This commit is contained in:
Winston Sung
2023-04-14 08:32:07 +00:00
committed by jenkins-bot
parent 41a2234714
commit 21261dbdec

View File

@@ -226,7 +226,7 @@
suggestedLanguages = this.frequentLanguageList() suggestedLanguages = this.frequentLanguageList()
// Common world languages, for the case that there are // Common world languages, for the case that there are
// too few suggested languages // too few suggested languages
.concat( [ 'en', 'zh', 'fr' ] ); .concat( [ 'en', 'zh-hans', 'zh-hant', 'fr' ] );
// Content language is always on the first button // Content language is always on the first button
languagesForButtons = [ this.contentLanguage ]; languagesForButtons = [ this.contentLanguage ];