Skip to content
Permalink
Browse files
add lose commit Traditional Chinese locale file
  • Loading branch information
crazy authored and Umputun committed Aug 1, 2022
1 parent 86d059b commit 27b28dba0d2e12f6b03b2fd3bc55386223be7ac1
Showing 1 changed file with 5 additions and 0 deletions.
@@ -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;
}

0 comments on commit 27b28db

Please sign in to comment.