mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-25 10:58:19 +01:00
Move to smartling for translation services
This commit is contained in:
@@ -131,9 +131,9 @@ export function getFontNameByTextScript(
|
||||
if (fontSniffer.hasCJK(text)) {
|
||||
const locale = i18n?.getLocale();
|
||||
|
||||
if (locale === 'zh_TW') {
|
||||
if (locale === 'zh-TW') {
|
||||
fonts.push(FONT_MAP.zhtc[textStyleIndex]);
|
||||
} else if (locale === 'zh_HK') {
|
||||
} else if (locale === 'zh-HK') {
|
||||
fonts.push(FONT_MAP.zhhk[textStyleIndex]);
|
||||
} else {
|
||||
fonts.push(FONT_MAP.zhsc[textStyleIndex]);
|
||||
|
||||
Reference in New Issue
Block a user