mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-11 23:13:21 -05:00
Translation fixes.
This commit is contained in:
parent
b88ac33f80
commit
7e2c89aff5
File diff suppressed because it is too large
Load Diff
@ -260,7 +260,7 @@
|
|||||||
|
|
||||||
// Linux Setup
|
// Linux Setup
|
||||||
if (serverHttps == 1) {
|
if (serverHttps == 1) {
|
||||||
var portStr = (serverPort == 443) ? '' : (":" + serverPort);
|
var portStr = (serverPort == 443) ? '' : (':' + serverPort);
|
||||||
if (serverNoProxy == 0) {
|
if (serverNoProxy == 0) {
|
||||||
linuxInstall = '(wget "https://' + servername + portStr + domainUrl + 'meshagents?script=1" --no-check-certificate -O ./meshinstall.sh || wget "https://' + servername + portStr + domainUrl + 'meshagents?script=1" --no-proxy --no-check-certificate -O ./meshinstall.sh) && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh https://' + servername + portStr + domainUrlNoSlash + ' \'' + meshid + '\'\r\n';
|
linuxInstall = '(wget "https://' + servername + portStr + domainUrl + 'meshagents?script=1" --no-check-certificate -O ./meshinstall.sh || wget "https://' + servername + portStr + domainUrl + 'meshagents?script=1" --no-proxy --no-check-certificate -O ./meshinstall.sh) && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh https://' + servername + portStr + domainUrlNoSlash + ' \'' + meshid + '\'\r\n';
|
||||||
linuxUnInstall = '(wget "https://' + servername + portStr + domainUrl + 'meshagents?script=1" --no-check-certificate -O ./meshinstall.sh || wget "https://' + servername + portStr + domainUrl + 'meshagents?script=1" --no-proxy --no-check-certificate -O ./meshinstall.sh) && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh uninstall\r\n';
|
linuxUnInstall = '(wget "https://' + servername + portStr + domainUrl + 'meshagents?script=1" --no-check-certificate -O ./meshinstall.sh || wget "https://' + servername + portStr + domainUrl + 'meshagents?script=1" --no-proxy --no-check-certificate -O ./meshinstall.sh) && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh uninstall\r\n';
|
||||||
|
@ -1788,7 +1788,7 @@
|
|||||||
count++;
|
count++;
|
||||||
var title = EscapeHtml(nodes[i].name);
|
var title = EscapeHtml(nodes[i].name);
|
||||||
if (title.length == 0) { title = '<i>' + "None" + '</i>'; }
|
if (title.length == 0) { title = '<i>' + "None" + '</i>'; }
|
||||||
if ((nodes[i].rname != null) && (nodes[i].rname.length > 0)) { title += " / " + EscapeHtml(nodes[i].rname); }
|
if ((nodes[i].rname != null) && (nodes[i].rname.length > 0)) { title += ' / ' + EscapeHtml(nodes[i].rname); }
|
||||||
var name = EscapeHtml(nodes[i].name);
|
var name = EscapeHtml(nodes[i].name);
|
||||||
if (showRealNames == true && nodes[i].rname != null) name = EscapeHtml(nodes[i].rname);
|
if (showRealNames == true && nodes[i].rname != null) name = EscapeHtml(nodes[i].rname);
|
||||||
if (name.length == 0) { name = '<i>' + "None" + '</i>'; }
|
if (name.length == 0) { name = '<i>' + "None" + '</i>'; }
|
||||||
@ -2667,7 +2667,7 @@
|
|||||||
function deskSaveImage() {
|
function deskSaveImage() {
|
||||||
setSessionActivity();
|
setSessionActivity();
|
||||||
if (xxdialogMode || desktop == null || desktop.State != 3) return;
|
if (xxdialogMode || desktop == null || desktop.State != 3) return;
|
||||||
var d = new Date(), n = 'Desktop-' + currentNode.name + '-' + d.getFullYear() + '-' + ('0' + (d.getMonth() + 1)).slice(-2) + '-' + ('0' + d.getDate()).slice(-2) + "-" + ("0" + d.getHours()).slice(-2) + '-' + ('0' + d.getMinutes()).slice(-2);
|
var d = new Date(), n = 'Desktop-' + currentNode.name + '-' + d.getFullYear() + '-' + ('0' + (d.getMonth() + 1)).slice(-2) + '-' + ('0' + d.getDate()).slice(-2) + '-' + ('0' + d.getHours()).slice(-2) + '-' + ('0' + d.getMinutes()).slice(-2);
|
||||||
Q('Desk')['toBlob'](function (blob) { saveAs(blob, n + '.jpg'); });
|
Q('Desk')['toBlob'](function (blob) { saveAs(blob, n + '.jpg'); });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user