mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-04 11:29:40 +00:00
Always translate literals instead of variables
Makes it much easier to find what needs to be translated.
This commit is contained in:
@@ -265,7 +265,8 @@
|
||||
this._rfb_path = (path !== undefined) ? path : "";
|
||||
|
||||
if (!this._rfb_host || !this._rfb_port) {
|
||||
return this._fail("Must set host and port");
|
||||
return this._fail(
|
||||
Util.Localisation.get("Must set host and port"));
|
||||
}
|
||||
|
||||
this._rfb_init_state = '';
|
||||
|
||||
Reference in New Issue
Block a user