FIX: translate bootbox confirmation dialog (#6981)
This commit is contained in:
parent
90292d23df
commit
1328a127ee
|
@ -51,5 +51,12 @@ export default {
|
||||||
node[segs[segs.length - 1]] = v;
|
node[segs[segs.length - 1]] = v;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
bootbox.addLocale(I18n.currentLocale(), {
|
||||||
|
OK: I18n.t("composer.modal_ok"),
|
||||||
|
CANCEL: I18n.t("composer.modal_cancel"),
|
||||||
|
CONFIRM: I18n.t("composer.modal_ok")
|
||||||
|
});
|
||||||
|
bootbox.setLocale(I18n.currentLocale());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue