mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-24 22:25:52 -05:00
Internaliztion improvements.
This commit is contained in:
parent
d6daf8e2b1
commit
543a7f28f0
Binary file not shown.
BIN
agents/MeshCentralRouter.zip
Normal file
BIN
agents/MeshCentralRouter.zip
Normal file
Binary file not shown.
2039
translate/MeshCentralRouter-translation.json
Normal file
2039
translate/MeshCentralRouter-translation.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -5972,7 +5972,7 @@
|
|||||||
if ((servername.indexOf('.') == -1) || ((features & 2) != 0)) { servername = window.location.hostname; } // If the server name is not set or it's in LAN-only mode, use the URL hostname as server name.
|
if ((servername.indexOf('.') == -1) || ((features & 2) != 0)) { servername = window.location.hostname; } // If the server name is not set or it's in LAN-only mode, use the URL hostname as server name.
|
||||||
var domainUrlNoSlash = domainUrl.substring(0, domainUrl.length - 1);
|
var domainUrlNoSlash = domainUrl.substring(0, domainUrl.length - 1);
|
||||||
var portStr = (serverinfo.port == 443) ? '' : (':' + serverinfo.port);
|
var portStr = (serverinfo.port == 443) ? '' : (':' + serverinfo.port);
|
||||||
var url = 'mcrouter://' + servername + portStr + domainUrl + 'control.ashx?c=' + authCookie + '&t=' + serverinfo.tlshash;
|
var url = 'mcrouter://' + servername + portStr + domainUrl + 'control.ashx?c=' + authCookie + '&t=' + serverinfo.tlshash + '&l={{{lang}}}';
|
||||||
//x += addHtmlValue("Launch", '<a style=cursor:pointer target="mcrouterframe" rel="noreferrer noopener" download href="' + url + '">Start MeshCentral Router</a>');
|
//x += addHtmlValue("Launch", '<a style=cursor:pointer target="mcrouterframe" rel="noreferrer noopener" download href="' + url + '">Start MeshCentral Router</a>');
|
||||||
//x += '<br /><div style=width:100%><a style=cursor:pointer target="mcrouterframe" rel="noreferrer noopener" download href="' + url + '">' + "Start MeshCentral Router" + '</a>' + ", for this link to work you must download MeshCentral Router run it and click the install button." + '</div>';
|
//x += '<br /><div style=width:100%><a style=cursor:pointer target="mcrouterframe" rel="noreferrer noopener" download href="' + url + '">' + "Start MeshCentral Router" + '</a>' + ", for this link to work you must download MeshCentral Router run it and click the install button." + '</div>';
|
||||||
x += '<br /><div>' + "Run MeshCentral Router and click \"install\" to make it launchable from the browser." + '</div>';
|
x += '<br /><div>' + "Run MeshCentral Router and click \"install\" to make it launchable from the browser." + '</div>';
|
||||||
|
Loading…
Reference in New Issue
Block a user