"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/** @format */
var common_1 = require("../common");
var zh_1 = __importDefault(require("./zh"));
var en_1 = __importDefault(require("./en"));
var obj = { en: en_1.default, zh: zh_1.default };
var i18n = function (key) {
    var lang = (0, common_1.getLang)();
    return obj[lang][key];
};
exports.default = i18n;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdXRpbHMvaTE4bi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLGNBQWM7QUFDZCxvQ0FBb0M7QUFDcEMsNENBQXNCO0FBQ3RCLDRDQUFzQjtBQUV0QixJQUFNLEdBQUcsR0FBRyxFQUFFLEVBQUUsY0FBQSxFQUFFLEVBQUUsY0FBQSxFQUFFLENBQUM7QUFFdkIsSUFBTSxJQUFJLEdBQUcsVUFBQyxHQUFXO0lBQ3ZCLElBQU0sSUFBSSxHQUFHLElBQUEsZ0JBQU8sR0FBRSxDQUFDO0lBQ3ZCLE9BQU8sR0FBRyxDQUFDLElBQUksQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQ3hCLENBQUMsQ0FBQztBQUVGLGtCQUFlLElBQUksQ0FBQyJ9