diff --git a/app/ui.js b/app/ui.js index fd769c57..93e43fde 100644 --- a/app/ui.js +++ b/app/ui.js @@ -1049,7 +1049,7 @@ var UI; }, 100); if (typeof msg === 'undefined') { - msg = "Password is required"; + msg = _("Password is required"); } Util.Warn(msg); UI.showStatus(msg, "warning"); diff --git a/core/rfb.js b/core/rfb.js index ddc92bbb..7e2da6f3 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -553,7 +553,7 @@ this._disconnect(); this._disconnTimer = setTimeout(function () { - this._rfb_disconnect_reason = "Disconnect timeout"; + this._rfb_disconnect_reason = _("Disconnect timeout"); this._updateConnectionState('disconnected'); }.bind(this), this._disconnectTimeout * 1000); break;