mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 12:13:58 -06:00
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;
|
||||
}
|
||||
});
|
||||
|
||||
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
Block a user