Don't translate log messages
This commit is contained in:
parent
2592c24388
commit
8317524cda
10
app/ui.js
10
app/ui.js
|
@ -1008,9 +1008,8 @@ var UI = {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!host) {
|
if (!host) {
|
||||||
var msg = _("Must set host");
|
Log.Error("Can't connect when host is: " + host);
|
||||||
Log.Error(msg);
|
UI.showStatus(_("Must set host"), 'error');
|
||||||
UI.showStatus(msg, 'error');
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1106,9 +1105,8 @@ var UI = {
|
||||||
document.getElementById('noVNC_password_input').focus();
|
document.getElementById('noVNC_password_input').focus();
|
||||||
}, 100);
|
}, 100);
|
||||||
|
|
||||||
var msg = _("Password is required");
|
Log.Warn("Server asked for a password");
|
||||||
Log.Warn(msg);
|
UI.showStatus(_("Password is required"), "warning");
|
||||||
UI.showStatus(msg, "warning");
|
|
||||||
},
|
},
|
||||||
|
|
||||||
setPassword: function(e) {
|
setPassword: function(e) {
|
||||||
|
|
Loading…
Reference in New Issue