[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abstract information from RFB to the UI #950

Merged
merged 9 commits into from
Nov 17, 2017
Prev Previous commit
Next Next commit
Don't translate log messages
  • Loading branch information
samhed committed Nov 11, 2017
commit 8317524cdae9f0e34fd71467a0e5e248ee4f93dc
10 changes: 4 additions & 6 deletions app/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -1008,9 +1008,8 @@ var UI = {
}

if (!host) {
var msg = _("Must set host");
Log.Error(msg);
UI.showStatus(msg, 'error');
Log.Error("Can't connect when host is: " + host);
UI.showStatus(_("Must set host"), 'error');
return;
}

Expand Down Expand Up @@ -1106,9 +1105,8 @@ var UI = {
document.getElementById('noVNC_password_input').focus();
}, 100);

var msg = _("Password is required");
Log.Warn(msg);
UI.showStatus(msg, "warning");
Log.Warn("Server asked for a password");
UI.showStatus(_("Password is required"), "warning");
},

setPassword: function(e) {
Expand Down