* See README.md for usage and integration instructions.
*/
-/* jslint white: false, browser: true */
-/* global window, document.getElementById, Util, WebUtil, RFB, Display */
-
import * as Log from '../core/util/logging.js';
import _, { l10n } from './localization.js';
import { isTouchDevice } from '../core/util/browser.js';
};
// Set up translations
-var LINGUAS = ["de", "el", "nl", "pl", "sv", "zh"];
+var LINGUAS = ["de", "el", "es", "nl", "pl", "sv", "tr", "zh"];
l10n.setup(LINGUAS);
if (l10n.language !== "en" && l10n.dictionary === undefined) {
WebUtil.fetchJSON('app/locale/' + l10n.language + '.json', function (translations) {
* See README.md for usage and integration instructions.
*/
-/*jslint bitwise: false, white: false, browser: true, devel: true */
-/*global Util, window, document */
-
import { init_logging as main_init_logging } from '../core/util/logging.js';
// init log level reading the logging HTTP param
if (window.chrome && window.chrome.storage) {
window.chrome.storage.sync.get(function (cfg) {
settings = cfg;
- console.log(settings);
if (callback) {
callback.apply(this, callbackArgs);
}
export function writeSetting (name, value) {
"use strict";
if (window.chrome && window.chrome.storage) {
- //console.log("writeSetting:", name, value);
if (settings[name] !== value) {
settings[name] = value;
window.chrome.storage.sync.set(settings);
// From: http://hg.mozilla.org/mozilla-central/raw-file/ec10630b1a54/js/src/devtools/jint/sunspider/string-base64.js
-/*jslint white: false */
-/*global console */
+import * as Log from './util/logging.js';
export default {
/* Convert data (an array of integers) to a Base64 string. */
},
/* Convert Base64 data to a string */
- /* jshint -W013 */
toBinaryTable : [
-1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1,
-1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1,
-1,26,27,28, 29,30,31,32, 33,34,35,36, 37,38,39,40,
41,42,43,44, 45,46,47,48, 49,50,51,-1, -1,-1,-1,-1
],
- /* jshint +W013 */
decode: function (data, offset) {
"use strict";
var padding = (data.charAt(i) === base64Pad);
// Skip illegal characters and whitespace
if (c === -1) {
- console.error("Illegal character code " + data.charCodeAt(i) + " at position " + i);
+ Log.Error("Illegal character code " + data.charCodeAt(i) + " at position " + i);
continue;
}
* fine Java utilities: http://www.acme.com/java/
*/
-/* jslint white: false */
-
export default function DES(passwd) {
"use strict";
// Tables, permutations, S-boxes, etc.
- // jshint -W013
var PC2 = [13,16,10,23, 0, 4, 2,27,14, 5,20, 9,22,18,11, 3,
25, 7,15, 6,26,19,12, 1,40,51,30,36,46,54,29,39,
50,44,32,47,43,48,38,55,33,52,45,41,49,35,28,31 ],
z = 0x0, a,b,c,d,e,f, SP1,SP2,SP3,SP4,SP5,SP6,SP7,SP8,
keys = [];
- // jshint -W015
a=1<<16; b=1<<24; c=a|b; d=1<<2; e=1<<10; f=d|e;
SP1 = [c|e,z|z,a|z,c|f,c|d,a|f,z|d,a|z,z|e,c|e,c|f,z|e,b|f,c|d,b|z,z|d,
z|f,b|e,b|e,a|e,a|e,c|z,c|z,b|f,a|d,b|d,b|d,a|d,z|z,z|f,a|f,b|z,
c|z,b|d,b|e,z|f,a|e,a|d,c|d,c|e,z|f,z|z,z|z,c|d,b|d,b|e,a|f,a|z,
a|f,a|z,c|e,z|e,z|d,c|d,z|e,a|f,b|e,z|d,b|d,c|z,c|d,b|z,a|z,b|f,
z|z,c|f,a|d,b|d,c|z,b|e,b|f,z|z,c|f,a|e,a|e,z|f,z|f,a|d,b|z,c|e];
- // jshint +W013,+W015
// Set the key.
function setKeys(keyBlock) {
* See README.md for usage and integration instructions.
*/
-/*jslint browser: true, white: false */
-/*global Util, Base64, changeCursor */
-
import * as Log from './util/logging.js';
import Base64 from "./base64.js";
* Licensed under MPL 2.0 or any later version (see LICENSE.txt)
*/
-/*jslint browser: true, white: false */
-/*global window, Util */
-
import * as Log from '../util/logging.js';
import { stopEvent } from '../util/events.js';
import * as KeyboardUtil from "./util.js";
this._pendingKey = null;
if (!keysym) {
- console.log('keypress with no keysym:', e);
+ Log.Info('keypress with no keysym:', e);
return;
}
* Licensed under MPL 2.0 or any later version (see LICENSE.txt)
*/
-/*jslint browser: true, white: false */
-/*global window, Util */
-
import * as Log from '../util/logging.js';
import { isTouchDevice } from '../util/browser.js';
import { setCapture, stopEvent, getPointerEvent } from '../util/events.js';
import Keyboard from "./input/keyboard.js";
import Mouse from "./input/mouse.js";
import Websock from "./websock.js";
-import Base64 from "./base64.js";
import DES from "./des.js";
import KeyTable from "./input/keysym.js";
import XtScancode from "./input/xtscancodes.js";
* Cross-browser event and position routines
*/
-import * as Log from './logging.js';
-
export function getPointerEvent (e) {
return e.changedTouches ? e.changedTouches[0] : e.touches ? e.touches[0] : e;
};
Debug = Info = Warn = Error = function (msg) {};
if (typeof window.console !== "undefined") {
- /* jshint -W086 */
switch (level) {
case 'debug':
Debug = console.debug.bind(window.console);
default:
throw new Error("invalid logging type '" + level + "'");
}
- /* jshint +W086 */
}
};
export function get_logging () {
import * as Log from './util/logging.js';
-/*jslint browser: true, bitwise: true */
-/*global Util*/
-
export default function Websock() {
"use strict";
all:
.PHONY: update-po update-js update-pot
-LINGUAS := de el nl pl sv zh
+LINGUAS := de el es nl pl sv tr zh
VERSION := $(shell grep '"version"' ../package.json | cut -d '"' -f 4)
--- /dev/null
+# Spanish translations for noVNC package
+# Traducciones al español para el paquete noVNC.
+# Copyright (C) 2018 Various Authors
+# This file is distributed under the same license as the noVNC package.
+# Juanjo Diaz <juanjo.diazmo@gmail.com>, 2018.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: noVNC 1.0.0-testing.2\n"
+"Report-Msgid-Bugs-To: novnc@googlegroups.com\n"
+"POT-Creation-Date: 2017-10-06 10:07+0200\n"
+"PO-Revision-Date: 2018-01-30 19:14-0800\n"
+"Last-Translator: Juanjo Diaz <juanjo.diazmo@gmail.com>\n"
+"Language-Team: Spanish\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: ../app/ui.js:430
+msgid "Connecting..."
+msgstr "Conectando..."
+
+#: ../app/ui.js:438
+msgid "Connected (encrypted) to "
+msgstr "Conectado (con encriptación) a"
+
+#: ../app/ui.js:440
+msgid "Connected (unencrypted) to "
+msgstr "Conectado (sin encriptación) a"
+
+#: ../app/ui.js:446
+msgid "Disconnecting..."
+msgstr "Desconectando..."
+
+#: ../app/ui.js:450
+msgid "Disconnected"
+msgstr "Desconectado"
+
+#: ../app/ui.js:1052 ../core/rfb.js:248
+msgid "Must set host"
+msgstr "Debes configurar el host"
+
+#: ../app/ui.js:1101
+msgid "Reconnecting..."
+msgstr "Reconectando..."
+
+#: ../app/ui.js:1140
+msgid "Password is required"
+msgstr "Contraseña es obligatoria"
+
+#: ../core/rfb.js:548
+msgid "Disconnect timeout"
+msgstr "Tiempo de desconexión agotado"
+
+#: ../vnc.html:89
+msgid "noVNC encountered an error:"
+msgstr "noVNC ha encontrado un error:"
+
+#: ../vnc.html:99
+msgid "Hide/Show the control bar"
+msgstr "Ocultar/Mostrar la barra de control"
+
+#: ../vnc.html:106
+msgid "Move/Drag Viewport"
+msgstr "Mover/Arrastrar la ventana"
+
+#: ../vnc.html:106
+msgid "viewport drag"
+msgstr "Arrastrar la ventana"
+
+#: ../vnc.html:112 ../vnc.html:115 ../vnc.html:118 ../vnc.html:121
+msgid "Active Mouse Button"
+msgstr "Botón activo del ratón"
+
+#: ../vnc.html:112
+msgid "No mousebutton"
+msgstr "Ningún botón del ratón"
+
+#: ../vnc.html:115
+msgid "Left mousebutton"
+msgstr "Botón izquierdo del ratón"
+
+#: ../vnc.html:118
+msgid "Middle mousebutton"
+msgstr "Botón central del ratón"
+
+#: ../vnc.html:121
+msgid "Right mousebutton"
+msgstr "Botón derecho del ratón"
+
+#: ../vnc.html:124
+msgid "Keyboard"
+msgstr "Teclado"
+
+#: ../vnc.html:124
+msgid "Show Keyboard"
+msgstr "Mostrar teclado"
+
+#: ../vnc.html:131
+msgid "Extra keys"
+msgstr "Teclas adicionales"
+
+#: ../vnc.html:131
+msgid "Show Extra Keys"
+msgstr "Mostrar Teclas Adicionales"
+
+#: ../vnc.html:136
+msgid "Ctrl"
+msgstr "Ctrl"
+
+#: ../vnc.html:136
+msgid "Toggle Ctrl"
+msgstr "Pulsar/Soltar Ctrl"
+
+#: ../vnc.html:139
+msgid "Alt"
+msgstr "Alt"
+
+#: ../vnc.html:139
+msgid "Toggle Alt"
+msgstr "Pulsar/Soltar Alt"
+
+#: ../vnc.html:142
+msgid "Send Tab"
+msgstr "Enviar Tabulación"
+
+#: ../vnc.html:142
+msgid "Tab"
+msgstr "Tabulación"
+
+#: ../vnc.html:145
+msgid "Esc"
+msgstr "Esc"
+
+#: ../vnc.html:145
+msgid "Send Escape"
+msgstr "Enviar Escape"
+
+#: ../vnc.html:148
+msgid "Ctrl+Alt+Del"
+msgstr "Ctrl+Alt+Del"
+
+#: ../vnc.html:148
+msgid "Send Ctrl-Alt-Del"
+msgstr "Enviar Ctrl+Alt+Del"
+
+#: ../vnc.html:156
+msgid "Shutdown/Reboot"
+msgstr "Apagar/Reiniciar"
+
+#: ../vnc.html:156
+msgid "Shutdown/Reboot..."
+msgstr "Apagar/Reiniciar..."
+
+#: ../vnc.html:162
+msgid "Power"
+msgstr "Encender"
+
+#: ../vnc.html:164
+msgid "Shutdown"
+msgstr "Apagar"
+
+#: ../vnc.html:165
+msgid "Reboot"
+msgstr "Reiniciar"
+
+#: ../vnc.html:166
+msgid "Reset"
+msgstr "Restablecer"
+
+#: ../vnc.html:171 ../vnc.html:177
+msgid "Clipboard"
+msgstr "Portapapeles"
+
+#: ../vnc.html:181
+msgid "Clear"
+msgstr "Vaciar"
+
+#: ../vnc.html:187
+msgid "Fullscreen"
+msgstr "Pantalla Completa"
+
+#: ../vnc.html:192 ../vnc.html:199
+msgid "Settings"
+msgstr "Configuraciones"
+
+#: ../vnc.html:202
+msgid "Shared Mode"
+msgstr "Modo Compartido"
+
+#: ../vnc.html:205
+msgid "View Only"
+msgstr "Solo visualización"
+
+#: ../vnc.html:209
+msgid "Clip to Window"
+msgstr "Recortar al tamaño de la ventana"
+
+#: ../vnc.html:212
+msgid "Scaling Mode:"
+msgstr "Modo de escalado:"
+
+#: ../vnc.html:214
+msgid "None"
+msgstr "Ninguno"
+
+#: ../vnc.html:215
+msgid "Local Scaling"
+msgstr "Escalado Local"
+
+#: ../vnc.html:216
+msgid "Local Downscaling"
+msgstr "Reducción de escala local"
+
+#: ../vnc.html:217
+msgid "Remote Resizing"
+msgstr "Cambio de tamaño remoto"
+
+#: ../vnc.html:222
+msgid "Advanced"
+msgstr "Avanzado"
+
+#: ../vnc.html:225
+msgid "Local Cursor"
+msgstr "Cursor Local"
+
+#: ../vnc.html:229
+msgid "Repeater ID:"
+msgstr "ID del Repetidor"
+
+#: ../vnc.html:233
+msgid "WebSocket"
+msgstr "WebSocket"
+
+#: ../vnc.html:236
+msgid "Encrypt"
+msgstr ""
+
+#: ../vnc.html:239
+msgid "Host:"
+msgstr "Host"
+
+#: ../vnc.html:243
+msgid "Port:"
+msgstr "Puesto"
+
+#: ../vnc.html:247
+msgid "Path:"
+msgstr "Ruta"
+
+#: ../vnc.html:254
+msgid "Automatic Reconnect"
+msgstr "Reconexión automática"
+
+#: ../vnc.html:257
+msgid "Reconnect Delay (ms):"
+msgstr "Retraso en la reconexión (ms)"
+
+#: ../vnc.html:263
+msgid "Logging:"
+msgstr "Logging"
+
+#: ../vnc.html:275
+msgid "Disconnect"
+msgstr "Desconectar"
+
+#: ../vnc.html:294
+msgid "Connect"
+msgstr "Conectar"
+
+#: ../vnc.html:304
+msgid "Password:"
+msgstr "Contraseña"
+
+#: ../vnc.html:318
+msgid "Cancel"
+msgstr "Cancelar"
+
+#: ../vnc.html:334
+msgid "Canvas not supported."
+msgstr "Canvas no está soportado"
msgstr ""
"Project-Id-Version: noVNC 1.0.0-testing.2\n"
"Report-Msgid-Bugs-To: novnc@googlegroups.com\n"
-"POT-Creation-Date: 2017-10-06 10:07+0200\n"
+"POT-Creation-Date: 2018-01-31 16:29+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../app/ui.js:430
+#: ../app/ui.js:395
msgid "Connecting..."
msgstr ""
-#: ../app/ui.js:438
+#: ../app/ui.js:402
+msgid "Disconnecting..."
+msgstr ""
+
+#: ../app/ui.js:408
+msgid "Reconnecting..."
+msgstr ""
+
+#: ../app/ui.js:413
+msgid "Internal error"
+msgstr ""
+
+#: ../app/ui.js:1002
+msgid "Must set host"
+msgstr ""
+
+#: ../app/ui.js:1083
msgid "Connected (encrypted) to "
msgstr ""
-#: ../app/ui.js:440
+#: ../app/ui.js:1085
msgid "Connected (unencrypted) to "
msgstr ""
-#: ../app/ui.js:446
-msgid "Disconnecting..."
+#: ../app/ui.js:1108
+msgid "Something went wrong, connection is closed"
msgstr ""
-#: ../app/ui.js:450
-msgid "Disconnected"
+#: ../app/ui.js:1111
+msgid "Failed to connect to server"
msgstr ""
-#: ../app/ui.js:1052 ../core/rfb.js:248
-msgid "Must set host"
+#: ../app/ui.js:1121
+msgid "Disconnected"
msgstr ""
-#: ../app/ui.js:1101
-msgid "Reconnecting..."
+#: ../app/ui.js:1134
+msgid "New connection has been rejected with reason: "
msgstr ""
-#: ../app/ui.js:1140
-msgid "Password is required"
+#: ../app/ui.js:1137
+msgid "New connection has been rejected"
msgstr ""
-#: ../core/rfb.js:548
-msgid "Disconnect timeout"
+#: ../app/ui.js:1158
+msgid "Password is required"
msgstr ""
-#: ../vnc.html:89
+#: ../vnc.html:91
msgid "noVNC encountered an error:"
msgstr ""
-#: ../vnc.html:99
+#: ../vnc.html:101
msgid "Hide/Show the control bar"
msgstr ""
-#: ../vnc.html:106
+#: ../vnc.html:108
msgid "Move/Drag Viewport"
msgstr ""
-#: ../vnc.html:106
+#: ../vnc.html:108
msgid "viewport drag"
msgstr ""
-#: ../vnc.html:112 ../vnc.html:115 ../vnc.html:118 ../vnc.html:121
+#: ../vnc.html:114 ../vnc.html:117 ../vnc.html:120 ../vnc.html:123
msgid "Active Mouse Button"
msgstr ""
-#: ../vnc.html:112
+#: ../vnc.html:114
msgid "No mousebutton"
msgstr ""
-#: ../vnc.html:115
+#: ../vnc.html:117
msgid "Left mousebutton"
msgstr ""
-#: ../vnc.html:118
+#: ../vnc.html:120
msgid "Middle mousebutton"
msgstr ""
-#: ../vnc.html:121
+#: ../vnc.html:123
msgid "Right mousebutton"
msgstr ""
-#: ../vnc.html:124
+#: ../vnc.html:126
msgid "Keyboard"
msgstr ""
-#: ../vnc.html:124
+#: ../vnc.html:126
msgid "Show Keyboard"
msgstr ""
-#: ../vnc.html:131
+#: ../vnc.html:133
msgid "Extra keys"
msgstr ""
-#: ../vnc.html:131
+#: ../vnc.html:133
msgid "Show Extra Keys"
msgstr ""
-#: ../vnc.html:136
+#: ../vnc.html:138
msgid "Ctrl"
msgstr ""
-#: ../vnc.html:136
+#: ../vnc.html:138
msgid "Toggle Ctrl"
msgstr ""
-#: ../vnc.html:139
+#: ../vnc.html:141
msgid "Alt"
msgstr ""
-#: ../vnc.html:139
+#: ../vnc.html:141
msgid "Toggle Alt"
msgstr ""
-#: ../vnc.html:142
+#: ../vnc.html:144
msgid "Send Tab"
msgstr ""
-#: ../vnc.html:142
+#: ../vnc.html:144
msgid "Tab"
msgstr ""
-#: ../vnc.html:145
+#: ../vnc.html:147
msgid "Esc"
msgstr ""
-#: ../vnc.html:145
+#: ../vnc.html:147
msgid "Send Escape"
msgstr ""
-#: ../vnc.html:148
+#: ../vnc.html:150
msgid "Ctrl+Alt+Del"
msgstr ""
-#: ../vnc.html:148
+#: ../vnc.html:150
msgid "Send Ctrl-Alt-Del"
msgstr ""
-#: ../vnc.html:156
+#: ../vnc.html:158
msgid "Shutdown/Reboot"
msgstr ""
-#: ../vnc.html:156
+#: ../vnc.html:158
msgid "Shutdown/Reboot..."
msgstr ""
-#: ../vnc.html:162
+#: ../vnc.html:164
msgid "Power"
msgstr ""
-#: ../vnc.html:164
+#: ../vnc.html:166
msgid "Shutdown"
msgstr ""
-#: ../vnc.html:165
+#: ../vnc.html:167
msgid "Reboot"
msgstr ""
-#: ../vnc.html:166
+#: ../vnc.html:168
msgid "Reset"
msgstr ""
-#: ../vnc.html:171 ../vnc.html:177
+#: ../vnc.html:173 ../vnc.html:179
msgid "Clipboard"
msgstr ""
-#: ../vnc.html:181
+#: ../vnc.html:183
msgid "Clear"
msgstr ""
-#: ../vnc.html:187
+#: ../vnc.html:189
msgid "Fullscreen"
msgstr ""
-#: ../vnc.html:192 ../vnc.html:199
+#: ../vnc.html:194 ../vnc.html:201
msgid "Settings"
msgstr ""
-#: ../vnc.html:202
+#: ../vnc.html:204
msgid "Shared Mode"
msgstr ""
-#: ../vnc.html:205
+#: ../vnc.html:207
msgid "View Only"
msgstr ""
-#: ../vnc.html:209
+#: ../vnc.html:211
msgid "Clip to Window"
msgstr ""
-#: ../vnc.html:212
+#: ../vnc.html:214
msgid "Scaling Mode:"
msgstr ""
-#: ../vnc.html:214
+#: ../vnc.html:216
msgid "None"
msgstr ""
-#: ../vnc.html:215
+#: ../vnc.html:217
msgid "Local Scaling"
msgstr ""
-#: ../vnc.html:216
-msgid "Local Downscaling"
-msgstr ""
-
-#: ../vnc.html:217
+#: ../vnc.html:218
msgid "Remote Resizing"
msgstr ""
-#: ../vnc.html:222
+#: ../vnc.html:223
msgid "Advanced"
msgstr ""
-#: ../vnc.html:225
-msgid "Local Cursor"
-msgstr ""
-
-#: ../vnc.html:229
+#: ../vnc.html:226
msgid "Repeater ID:"
msgstr ""
-#: ../vnc.html:233
+#: ../vnc.html:230
msgid "WebSocket"
msgstr ""
-#: ../vnc.html:236
+#: ../vnc.html:233
msgid "Encrypt"
msgstr ""
-#: ../vnc.html:239
+#: ../vnc.html:236
msgid "Host:"
msgstr ""
-#: ../vnc.html:243
+#: ../vnc.html:240
msgid "Port:"
msgstr ""
-#: ../vnc.html:247
+#: ../vnc.html:244
msgid "Path:"
msgstr ""
-#: ../vnc.html:254
+#: ../vnc.html:251
msgid "Automatic Reconnect"
msgstr ""
-#: ../vnc.html:257
+#: ../vnc.html:254
msgid "Reconnect Delay (ms):"
msgstr ""
-#: ../vnc.html:263
+#: ../vnc.html:260
msgid "Logging:"
msgstr ""
-#: ../vnc.html:275
+#: ../vnc.html:272
msgid "Disconnect"
msgstr ""
-#: ../vnc.html:294
+#: ../vnc.html:291
msgid "Connect"
msgstr ""
-#: ../vnc.html:304
+#: ../vnc.html:301
msgid "Password:"
msgstr ""
-#: ../vnc.html:318
-msgid "Cancel"
+#: ../vnc.html:305
+msgid "Send Password"
msgstr ""
-#: ../vnc.html:334
-msgid "Canvas not supported."
+#: ../vnc.html:315
+msgid "Cancel"
msgstr ""
--- /dev/null
+# Turkish translations for noVNC package
+# Turkish translation for noVNC.
+# Copyright (C) 2016 Various Authors
+# This file is distributed under the same license as the noVNC package.
+# Ömer ÇAKMAK <farukomercakmak@gmail.com>, 2018.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: noVNC 0.6.1\n"
+"Report-Msgid-Bugs-To: novnc@googlegroups.com\n"
+"POT-Creation-Date: 2017-11-24 07:16+0000\n"
+"PO-Revision-Date: 2018-01-05 19:07+0300\n"
+"Last-Translator: Ömer ÇAKMAK <farukomercakmak@gmail.com>\n"
+"Language-Team: Türkçe <gnome-turk@gnome.org>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: Gtranslator 2.91.7\n"
+
+#: ../app/ui.js:404
+msgid "Connecting..."
+msgstr "Bağlanıyor..."
+
+#: ../app/ui.js:411
+msgid "Disconnecting..."
+msgstr "Bağlantı kesiliyor..."
+
+#: ../app/ui.js:417
+msgid "Reconnecting..."
+msgstr "Yeniden bağlantı kuruluyor..."
+
+#: ../app/ui.js:422
+msgid "Internal error"
+msgstr "İç hata"
+
+#: ../app/ui.js:1019
+msgid "Must set host"
+msgstr "Sunucuyu kur"
+
+#: ../app/ui.js:1099
+msgid "Connected (encrypted) to "
+msgstr "Bağlı (şifrelenmiş)"
+
+#: ../app/ui.js:1101
+msgid "Connected (unencrypted) to "
+msgstr "Bağlandı (şifrelenmemiş)"
+
+#: ../app/ui.js:1119
+msgid "Something went wrong, connection is closed"
+msgstr "Bir şeyler ters gitti, bağlantı kesildi"
+
+#: ../app/ui.js:1129
+msgid "Disconnected"
+msgstr "Bağlantı kesildi"
+
+#: ../app/ui.js:1142
+msgid "New connection has been rejected with reason: "
+msgstr "Bağlantı aşağıdaki nedenlerden dolayı reddedildi: "
+
+#: ../app/ui.js:1145
+msgid "New connection has been rejected"
+msgstr "Bağlantı reddedildi"
+
+#: ../app/ui.js:1166
+msgid "Password is required"
+msgstr "Şifre gerekli"
+
+#: ../vnc.html:89
+msgid "noVNC encountered an error:"
+msgstr "Bir hata oluştu:"
+
+#: ../vnc.html:99
+msgid "Hide/Show the control bar"
+msgstr "Denetim masasını Gizle/Göster"
+
+#: ../vnc.html:106
+msgid "Move/Drag Viewport"
+msgstr "Görünümü Taşı/Sürükle"
+
+#: ../vnc.html:106
+msgid "viewport drag"
+msgstr "Görüntü penceresini sürükle"
+
+#: ../vnc.html:112 ../vnc.html:115 ../vnc.html:118 ../vnc.html:121
+msgid "Active Mouse Button"
+msgstr "Aktif Fare Düğmesi"
+
+#: ../vnc.html:112
+msgid "No mousebutton"
+msgstr "Fare düğmesi yok"
+
+#: ../vnc.html:115
+msgid "Left mousebutton"
+msgstr "Farenin sol düğmesi"
+
+#: ../vnc.html:118
+msgid "Middle mousebutton"
+msgstr "Farenin orta düğmesi"
+
+#: ../vnc.html:121
+msgid "Right mousebutton"
+msgstr "Farenin sağ düğmesi"
+
+#: ../vnc.html:124
+msgid "Keyboard"
+msgstr "Klavye"
+
+#: ../vnc.html:124
+msgid "Show Keyboard"
+msgstr "Klavye Düzenini Göster"
+
+#: ../vnc.html:131
+msgid "Extra keys"
+msgstr "Ekstra tuşlar"
+
+#: ../vnc.html:131
+msgid "Show Extra Keys"
+msgstr "Ekstra tuşları göster"
+
+#: ../vnc.html:136
+msgid "Ctrl"
+msgstr "Ctrl"
+
+#: ../vnc.html:136
+msgid "Toggle Ctrl"
+msgstr "Ctrl Değiştir "
+
+#: ../vnc.html:139
+msgid "Alt"
+msgstr "Alt"
+
+#: ../vnc.html:139
+msgid "Toggle Alt"
+msgstr "Alt Değiştir"
+
+#: ../vnc.html:142
+msgid "Send Tab"
+msgstr "Sekme Gönder"
+
+#: ../vnc.html:142
+msgid "Tab"
+msgstr "Sekme"
+
+#: ../vnc.html:145
+msgid "Esc"
+msgstr "Esc"
+
+#: ../vnc.html:145
+msgid "Send Escape"
+msgstr "Boşluk Gönder"
+
+#: ../vnc.html:148
+msgid "Ctrl+Alt+Del"
+msgstr "Ctrl + Alt + Del"
+
+#: ../vnc.html:148
+msgid "Send Ctrl-Alt-Del"
+msgstr "Ctrl-Alt-Del Gönder"
+
+#: ../vnc.html:156
+msgid "Shutdown/Reboot"
+msgstr "Kapat/Yeniden Başlat"
+
+#: ../vnc.html:156
+msgid "Shutdown/Reboot..."
+msgstr "Kapat/Yeniden Başlat..."
+
+#: ../vnc.html:162
+msgid "Power"
+msgstr "Güç"
+
+#: ../vnc.html:164
+msgid "Shutdown"
+msgstr "Kapat"
+
+#: ../vnc.html:165
+msgid "Reboot"
+msgstr "Yeniden Başlat"
+
+#: ../vnc.html:166
+msgid "Reset"
+msgstr "Sıfırla"
+
+#: ../vnc.html:171 ../vnc.html:177
+msgid "Clipboard"
+msgstr "Pano"
+
+#: ../vnc.html:181
+msgid "Clear"
+msgstr "Temizle"
+
+#: ../vnc.html:187
+msgid "Fullscreen"
+msgstr "Tam Ekran"
+
+#: ../vnc.html:192 ../vnc.html:199
+msgid "Settings"
+msgstr "Ayarlar"
+
+#: ../vnc.html:202
+msgid "Shared Mode"
+msgstr "Paylaşım Modu"
+
+#: ../vnc.html:205
+msgid "View Only"
+msgstr "Sadece Görüntüle"
+
+#: ../vnc.html:209
+msgid "Clip to Window"
+msgstr "Pencereye Tıkla"
+
+#: ../vnc.html:212
+msgid "Scaling Mode:"
+msgstr "Ölçekleme Modu:"
+
+#: ../vnc.html:214
+msgid "None"
+msgstr "Bilinmeyen"
+
+#: ../vnc.html:215
+msgid "Local Scaling"
+msgstr "Yerel Ölçeklendirme"
+
+#: ../vnc.html:216
+msgid "Remote Resizing"
+msgstr "Uzaktan Yeniden Boyutlandırma"
+
+#: ../vnc.html:221
+msgid "Advanced"
+msgstr "Gelişmiş"
+
+#: ../vnc.html:224
+msgid "Repeater ID:"
+msgstr "Tekralayıcı ID:"
+
+#: ../vnc.html:228
+msgid "WebSocket"
+msgstr "WebSocket"
+
+#: ../vnc.html:231
+msgid "Encrypt"
+msgstr "Şifrele"
+
+#: ../vnc.html:234
+msgid "Host:"
+msgstr "Ana makine:"
+
+#: ../vnc.html:238
+msgid "Port:"
+msgstr "Port:"
+
+#: ../vnc.html:242
+msgid "Path:"
+msgstr "Yol:"
+
+#: ../vnc.html:249
+msgid "Automatic Reconnect"
+msgstr "Otomatik Yeniden Bağlan"
+
+#: ../vnc.html:252
+msgid "Reconnect Delay (ms):"
+msgstr "Yeniden Bağlanma Süreci (ms):"
+
+#: ../vnc.html:258
+msgid "Logging:"
+msgstr "Giriş yapılıyor:"
+
+#: ../vnc.html:270
+msgid "Disconnect"
+msgstr "Bağlantıyı Kes"
+
+#: ../vnc.html:289
+msgid "Connect"
+msgstr "Bağlan"
+
+#: ../vnc.html:299
+msgid "Password:"
+msgstr "Parola:"
+
+#: ../vnc.html:313
+msgid "Cancel"
+msgstr "Vazgeç"
+
+#: ../vnc.html:329
+msgid "Canvas not supported."
+msgstr "Tuval desteklenmiyor."
-/* jshint expr: true */
var expect = chai.expect;
import Base64 from '../core/base64.js';
import Keyboard from '../core/input/keyboard.js';
import * as browser from '../core/util/browser.js';
-/* jshint newcap: false, expr: true */
describe('Key Event Handling', function() {
"use strict";
-/* jshint expr: true */
-
var assert = chai.assert;
var expect = chai.expect;
import Mouse from '../core/input/mouse.js';
import * as eventUtils from '../core/util/events.js';
-/* jshint newcap: false, expr: true */
describe('Mouse Event Handling', function() {
"use strict";
-/* jshint expr: true */
var assert = chai.assert;
var expect = chai.expect;
-/* jshint expr: true */
-
var assert = chai.assert;
var expect = chai.expect;
-/* jshint expr: true */
var assert = chai.assert;
var expect = chai.expect;
* the 256th check will be made at strstart+258.
*/
do {
- /*jshint noempty:false*/
+ // Do nothing
} while (_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
if (prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan]) {
strend = s.strstart + MAX_MATCH;
do {
- /*jshint noempty:false*/
+ // Do nothing
} while (prev === _win[++scan] && prev === _win[++scan] &&
prev === _win[++scan] && prev === _win[++scan] &&
prev === _win[++scan] && prev === _win[++scan] &&