summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Ossman <pierre@ossman.eu>2016-11-15 08:13:16 +0100
committerPierre Ossman <pierre@ossman.eu>2016-11-17 19:58:10 +0100
commit45729def6d7d0c4bc8327cf331554680100da3ad (patch)
treebe66751910b1c814ca407b27e3afc6289cda91f3
parentf28e248d3f176152463d11bcd761a04342f4c7a3 (diff)
downloadnovnc-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.js2
-rw-r--r--core/rfb.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/ui.js b/app/ui.js
index fd769c5..93e43fd 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 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;