Always translate literals instead of variables

Makes it much easier to find what needs to be translated.
This commit is contained in:
Samuel Mannehed
2016-10-28 15:38:34 +02:00
parent da88c28714
commit fdb02f8570
2 changed files with 10 additions and 8 deletions

View File

@@ -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 = '';