]> git.proxmox.com Git - mirror_novnc.git/blobdiff - vnc_auto.html
Use gettext .po files for translations
[mirror_novnc.git] / vnc_auto.html
index ea1ca7b129b0fcbbe8b85a4ab71f806f7a76a179..e86ae5d2fba1f7f69127af0d0b942f1427664d5d 100644 (file)
@@ -81,8 +81,7 @@
         WebUtil.load_scripts({
             'core': ["base64.js", "websock.js", "des.js", "input/keysymdef.js",
                      "input/xtscancodes.js", "input/util.js", "input/devices.js",
-                     "display.js", "inflator.js", "rfb.js", "input/keysym.js"],
-            'app': [WebUtil.getLanguageFileLocation(), "webutil.js"]});
+                     "display.js", "inflator.js", "rfb.js", "input/keysym.js"]});
 
         var rfb;
         var resizeTimeout;
             var cad = document.getElementById('sendCtrlAltDelButton');
             switch (state) {
                 case 'connecting':
-                    status(Util.Localisation.get("Connecting"), "normal");
+                    status("Connecting", "normal");
                     break;
                 case 'connected':
                     if (rfb && rfb.get_encrypt()) {
-                        status(Util.Localisation.
-                                   get("Connected (encrypted) to ") +
+                        status("Connected (encrypted) to " +
                                desktopName, "normal");
                     } else {
-                        status(Util.Localisation.
-                                   get("Connected (unencrypted) to ") +
+                        status("Connected (unencrypted) to " +
                                desktopName, "normal");
                     }
                     break;
                 case 'disconnecting':
-                    status(Util.Localisation.get("Disconnecting"), "normal");
+                    status("Disconnecting", "normal");
                     break;
                 case 'disconnected':
-                    status(Util.Localisation.get("Disconnected"), "normal");
+                    status("Disconnected", "normal");
                     break;
                 default:
                     status(state, "warn");