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.
15 lines
435 B
15 lines
435 B
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
import defaultLocale from '../locale/default';
|
|
|
|
var runtimeLocale = _extends({}, defaultLocale.Modal);
|
|
|
|
export function changeConfirmLocale(newLocale) {
|
|
if (newLocale) {
|
|
runtimeLocale = _extends(_extends({}, runtimeLocale), newLocale);
|
|
} else {
|
|
runtimeLocale = _extends({}, defaultLocale.Modal);
|
|
}
|
|
}
|
|
export function getConfirmLocale() {
|
|
return runtimeLocale;
|
|
} |