WXL
18 小时以前 05c363fdd7ab04e3bd9a753e2c5d5bfff04d681c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
"use strict";
const common_vendor = require("./common/vendor.js");
const locale_zhHans = require("./locale/zh-Hans.js");
const locale_zhHant = require("./locale/zh-Hant.js");
const locale_pt = require("./locale/pt.js");
const i18n = common_vendor.createI18n({
  legacy: false,
  globalInjection: true,
  locale: common_vendor.index.getStorageSync("language") || "zh-Hans",
  fallbackLocale: "zh-Hans",
  messages: {
    "zh-Hans": locale_zhHans.zhHans,
    "zh-Hant": locale_zhHant.zhHant,
    "pt": locale_pt.pt
  },
  missing: (locale, key) => {
    common_vendor.index.__f__("warn", "at i18n.js:17", `[i18n] Missing translation key: "${key}" for locale: "${locale}"`);
    return key;
  },
  fallbackWarn: false,
  missingWarn: true
});
exports.i18n = i18n;
//# sourceMappingURL=../.sourcemap/mp-weixin/i18n.js.map