"use strict";const a=require("./common/vendor.js"),e=require("./locale/zh-Hans.js"),n=require("./locale/zh-Hant.js"),s=require("./locale/pt.js"),l=a.createI18n({legacy:!1,globalInjection:!0,locale:a.index.getStorageSync("language")||"zh-Hans",fallbackLocale:"zh-Hans",messages:{"zh-Hans":e.zhHans,"zh-Hant":n.zhHant,pt:s.pt},missing:(a,e)=>(console.warn(`[i18n] Missing translation key: "${e}" for locale: "${a}"`),e),fallbackWarn:!1,missingWarn:!1});exports.i18n=l;
|