]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Restore translations for some strings
authorPierre Ossman <pierre@ossman.eu>
Tue, 15 Nov 2016 07:13:16 +0000 (08:13 +0100)
committerPierre Ossman <pierre@ossman.eu>
Thu, 17 Nov 2016 18:58:10 +0000 (19:58 +0100)
We lost the translation calls for a couple of strings in one of
the clenaups.

app/ui.js
core/rfb.js

index fd769c57172c1336da698ff472d533c96277994b..93e43fde1bf1e6f0e557aa0b3720f69b113d1bc7 100644 (file)
--- 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");
index ddc92bbb93aba17a73200b36f703939770136876..7e2da6f3f3f1b455995d9085cee289be1445e948 100644 (file)
                     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;