diff options
author | Pierre Ossman <pierre@ossman.eu> | 2016-11-15 08:13:16 +0100 |
---|---|---|
committer | Pierre Ossman <pierre@ossman.eu> | 2016-11-17 19:58:10 +0100 |
commit | 45729def6d7d0c4bc8327cf331554680100da3ad (patch) | |
tree | be66751910b1c814ca407b27e3afc6289cda91f3 | |
parent | f28e248d3f176152463d11bcd761a04342f4c7a3 (diff) | |
download | novnc-45729def6d7d0c4bc8327cf331554680100da3ad.tar.gz |
Restore translations for some strings
We lost the translation calls for a couple of strings in one of
the clenaups.
-rw-r--r-- | app/ui.js | 2 | ||||
-rw-r--r-- | core/rfb.js | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 ddc92bb..7e2da6f 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; |