You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
467 B
18 lines
467 B
3 years ago
|
"use strict";
|
||
|
|
||
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
||
|
|
||
|
exports.__esModule = true;
|
||
|
exports.default = setLocale;
|
||
|
|
||
|
var _locale = _interopRequireDefault(require("./locale"));
|
||
|
|
||
|
function setLocale(custom) {
|
||
|
Object.keys(custom).forEach(function (type) {
|
||
|
Object.keys(custom[type]).forEach(function (method) {
|
||
|
_locale.default[type][method] = custom[type][method];
|
||
|
});
|
||
|
});
|
||
|
}
|
||
|
|
||
|
module.exports = exports["default"];
|