1
0
mirror of https://github.com/Ylianst/MeshCentralRouter synced 2025-12-15 15:53:45 +00:00

Added internalization in many languages.

This commit is contained in:
Ylian Saint-Hilaire
2020-06-12 19:10:59 -07:00
parent 547fe9ab79
commit 8b5a590ae8
171 changed files with 303015 additions and 277 deletions

View File

@@ -37,12 +37,12 @@ namespace MeshCentralRouter
}
string status = "";
if ((node.conn & 1) != 0) { if (status.Length > 0) { status += ", "; } status += "Agent"; }
if ((node.conn & 2) != 0) { if (status.Length > 0) { status += ", "; } status += "CIRA"; }
if ((node.conn & 4) != 0) { if (status.Length > 0) { status += ", "; } status += "AMT"; }
if ((node.conn & 8) != 0) { if (status.Length > 0) { status += ", "; } status += "Relay"; }
if ((node.conn & 16) != 0) { if (status.Length > 0) { status += ", "; } status += "MQTT"; }
if (status == "") { status = "Offline"; }
if ((node.conn & 1) != 0) { if (status.Length > 0) { status += ", "; } status += Properties.Resources.Agent; }
if ((node.conn & 2) != 0) { if (status.Length > 0) { status += ", "; } status += Properties.Resources.CIRA; }
if ((node.conn & 4) != 0) { if (status.Length > 0) { status += ", "; } status += Properties.Resources.AMT; }
if ((node.conn & 8) != 0) { if (status.Length > 0) { status += ", "; } status += Properties.Resources.Relay; }
if ((node.conn & 16) != 0) { if (status.Length > 0) { status += ", "; } status += Properties.Resources.MQTT; }
if (status == "") { status = Properties.Resources.Offline; }
deviceStatusLabel.Text = status;
if (node.agentid < 6) {