FIX: translate bootbox confirmation dialog (#6981)

This commit is contained in:
Jeff Wong 2019-02-12 19:04:56 -08:00 committed by Sam
parent 90292d23df
commit 1328a127ee

View File

@ -51,5 +51,12 @@ export default {
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());
}
};