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:
Pierre Ossman 2016-11-15 08:13:16 +01:00
parent f28e248d3f
commit 45729def6d
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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;