refactor: add TranslatorManager

This commit is contained in:
Gabe
2025-10-21 02:07:33 +08:00
parent ed279cf8a1
commit 53e32d3031
17 changed files with 566 additions and 405 deletions

View File

@@ -1722,4 +1722,4 @@ export const I18N = {
},
};
export const i18n = (lang) => (key) => I18N[key]?.[lang] || "";
export const newI18n = (lang) => (key) => I18N[key]?.[lang] || "";