"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getConfirmLocale = exports.changeConfirmLocale = void 0;
const defaultLocale = {
    okText: 'OK',
    cancelText: 'Cancel',
    justOkText: 'OK',
};
let runtimeLocale = Object.assign({}, defaultLocale);
function changeConfirmLocale(newLocale) {
    if (newLocale) {
        runtimeLocale = Object.assign(Object.assign({}, runtimeLocale), newLocale);
    }
    else {
        runtimeLocale = Object.assign({}, defaultLocale);
    }
}
exports.changeConfirmLocale = changeConfirmLocale;
function getConfirmLocale() {
    return runtimeLocale;
}
exports.getConfirmLocale = getConfirmLocale;
//# sourceMappingURL=locale.js.map