fix(client): update navbar for Chinese Simplified and Traditional (#42007)
* fix: navbar bug Should resolve the current bug on staging with the nav bar. * fix: update display names Update the display names for the two Chinese options. * fix(tools): remove extraneous test Docs do not indicate that language code needs to be 2 characters.
This commit is contained in:
committed by
GitHub
parent
4ed75cb79f
commit
fd11361fc8
@@ -16,15 +16,15 @@ const i18nextCodes = {
|
||||
english: 'en',
|
||||
espanol: 'es',
|
||||
chinese: 'zh',
|
||||
'chinese-traditional': 'zh'
|
||||
'chinese-traditional': 'zh-Hant'
|
||||
};
|
||||
|
||||
// These are for the language selector dropdown menu in the footer
|
||||
const langDisplayNames = {
|
||||
english: 'English',
|
||||
espanol: 'Español',
|
||||
chinese: '中文',
|
||||
'chinese-traditional': '古文'
|
||||
chinese: '中文(简体字)',
|
||||
'chinese-traditional': '中文(繁體字)'
|
||||
};
|
||||
|
||||
/* These are for formatting dates and numbers. Used with JS .toLocaleString().
|
||||
|
Reference in New Issue
Block a user