lazy load locales (#1940)
* lazy load locales * fix translation getter * prettier ignore all generated i18n files * fix menu translation reactivity * put language and country translations into namespace * use Intl.DisplayNames to provide language and region translations * update typesafe-i18n * fix newly added translations * remove unused translations * add fallback to locale code when Intl.DisplayNames is unavailable
This commit is contained in:
@@ -16,8 +16,6 @@ import trigger from "./trigger";
|
||||
|
||||
const zh_CN: Translation = {
|
||||
...(en_US as Translation),
|
||||
language: "中文",
|
||||
country: "中国",
|
||||
audio,
|
||||
camera,
|
||||
chat,
|
||||
|
||||
Reference in New Issue
Block a user