移动目录

This commit is contained in:
CrescentLeaf
2025-11-23 13:27:15 +08:00
parent f13623f4fc
commit 1cb8ac3fff
479 changed files with 49 additions and 49 deletions

View File

@@ -0,0 +1,8 @@
import { initializeLocalize } from '../internal/localize.js';
/**
* 加载语言包。参数为一个函数,该函数接收一个语言代码作为参数,返回一个 Promiseresolve 的值为对应的语言包
* @param loadFunc
*/
export const loadLocale = (loadFunc) => {
initializeLocalize(loadFunc);
};