Skip to content

Commit

Permalink
Restore translations for some strings
Browse files Browse the repository at this point in the history
We lost the translation calls for a couple of strings in one of
the clenaups.
  • Loading branch information
ossman committed Nov 17, 2016
1 parent f28e248 commit 45729de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion core/rfb.js
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@
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;
Expand Down

0 comments on commit 45729de

Please sign in to comment.