Restore translations for some strings
We lost the translation calls for a couple of strings in one of the clenaups.
This commit is contained in:
parent
f28e248d3f
commit
45729def6d
|
@ -1049,7 +1049,7 @@ var UI;
|
||||||
}, 100);
|
}, 100);
|
||||||
|
|
||||||
if (typeof msg === 'undefined') {
|
if (typeof msg === 'undefined') {
|
||||||
msg = "Password is required";
|
msg = _("Password is required");
|
||||||
}
|
}
|
||||||
Util.Warn(msg);
|
Util.Warn(msg);
|
||||||
UI.showStatus(msg, "warning");
|
UI.showStatus(msg, "warning");
|
||||||
|
|
|
@ -553,7 +553,7 @@
|
||||||
this._disconnect();
|
this._disconnect();
|
||||||
|
|
||||||
this._disconnTimer = setTimeout(function () {
|
this._disconnTimer = setTimeout(function () {
|
||||||
this._rfb_disconnect_reason = "Disconnect timeout";
|
this._rfb_disconnect_reason = _("Disconnect timeout");
|
||||||
this._updateConnectionState('disconnected');
|
this._updateConnectionState('disconnected');
|
||||||
}.bind(this), this._disconnectTimeout * 1000);
|
}.bind(this), this._disconnectTimeout * 1000);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue