fix: allow translation keys in label attributes

This commit is contained in:
Julian Lam
2022-02-18 14:48:08 -05:00
parent c17b9bd447
commit 52836f3a7f

View File

@@ -23,7 +23,7 @@ require(['translator', 'bootbox'], function (shim, bootbox) {
var translator = shim.Translator.create();
var dialog = bootbox.dialog;
var attrsToTranslate = ['placeholder', 'title', 'value'];
var attrsToTranslate = ['placeholder', 'title', 'value', 'label'];
bootbox.dialog = function (options) {
var show = options.show !== false;
options.show = false;