add lose commit Traditional Chinese locale file
This commit is contained in:
@@ -54,6 +54,11 @@ export async function loadLocale(locale: string): Promise<Record<string, string>
|
||||
if (locale === 'ar') {
|
||||
return import(/* webpackChunkName: "ar" */ '../locales/ar.json').then((res) => res.default).catch(() => enMessages);
|
||||
}
|
||||
if (locale === 'zh-tw') {
|
||||
return import(/* webpackChunkName: "zh-tw" */ '../locales/zh-tw.json')
|
||||
.then((res) => res.default)
|
||||
.catch(() => enMessages);
|
||||
}
|
||||
|
||||
return enMessages;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user