Skip to content

Node.js based forum software built for the modern web

fix: allow translation keys in `label` attributes

Julian Lam52836f3a7f81
diff --git a/public/vendor/bootbox/wrapper.js b/public/vendor/bootbox/wrapper.js
index b37f675395..54e703fa31 100644
--- a/public/vendor/bootbox/wrapper.js
+++ b/public/vendor/bootbox/wrapper.js
@@ -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;