-
- The default domain is the connection domain where users log in.
-
+
{{t 'domain_default_desc'}}
diff --git a/views/home.ms b/views/home.ms
index 0cf11a98..6379c995 100644
--- a/views/home.ms
+++ b/views/home.ms
@@ -1,6 +1,6 @@
diff --git a/views/login.ms b/views/login.ms
index 109f91f8..caef4f7a 100644
--- a/views/login.ms
+++ b/views/login.ms
@@ -6,18 +6,18 @@
- Domain
+ {{t 'domain'}}
-
+
- Password
+ {{t 'password'}}
-
+
-
+
diff --git a/views/monitor/monitor.ms b/views/monitor/monitor.ms
index 25d460d5..d545efa9 100644
--- a/views/monitor/monitor.ms
+++ b/views/monitor/monitor.ms
@@ -1,24 +1,24 @@
-
Monitoring
+
{{t 'monitoring'}}
{{#if status}}
-
Infos
+ {{t 'infos'}}
- Hostname
+ {{t 'hostname'}}
{{system.infos.hostname}}
- OS
+ {{t 'os'}}
{{ucwords system.infos.linux_distro}} {{system.infos.platform}} ({{system.infos.os_name}} {{system.infos.os_version}})
- Uptime
+ {{t 'uptime'}}
{{system.uptime}}
@@ -30,78 +30,78 @@
-
Memory
-
RAM
+
{{t 'memory'}}
+
{{t 'ram'}}
- Used
+ {{t 'used'}}
{{humanSize system.memory.ram.used}} ({{system.memory.ram.percent}} %)
- Free
+ {{t 'free'}}
{{humanSize system.memory.ram.free}}
- Total
+ {{t 'total'}}
{{humanSize system.memory.ram.total}}
-
Swap
+
{{t 'swap'}}
- Used
+ {{t 'used'}}
{{humanSize system.memory.swap.used}} ({{system.memory.swap.percent}} %)
- Free
+ {{t 'free'}}
{{humanSize system.memory.swap.free}}
- Total
+ {{t 'total'}}
{{humanSize system.memory.swap.total}}
-
CPU Load
+
{{t 'cpu_load'}}
- 1 min
+ {{t 'count_min' "1"}}
{{system.cpu.load.min1}}
- 5 min
+ {{t 'count_min' "5"}}
{{system.cpu.load.min5}}
- 15 min
+ {{t 'count_min' "15"}}
{{system.cpu.load.min15}}
-
Process
+
{{t 'process'}}
- Running
+ {{t 'running'}}
{{system.process.running}}
- Sleeping
+ {{t 'sleeping'}}
{{system.process.sleeping}}
- Total
+ {{t 'total'}}
{{system.process.total}}
@@ -114,22 +114,22 @@
-
Public IP: {{network.infos.public_ip}}
+
{{t 'public_ip'}} {{network.infos.public_ip}}
-
Gateway: {{network.infos.gateway}}
+
{{t 'gateway'}} {{network.infos.gateway}}
-
Local IP
+
{{t 'local_ip'}}
- Interface
- IPv4
- IPv6
+ {{t 'interface'}}
+ {{t 'ipv4'}}
+ {{t 'ipv6'}}
@@ -143,7 +143,7 @@
-
Usage
+
{{t 'usage'}}
{{#each network.usage}}
@@ -152,21 +152,21 @@
{{@key}}
- Time since update: {{humanTime time_since_update}}
+ {{t 'time_since_update'}}{{humanTime time_since_update}}
- Bit rate
- Cumulative usage
+ {{t 'bit_rate'}}
+ {{t 'cumulative_usage'}}
- Transmission
+ {{t 'transmission'}}
{{bitRate tx time_since_update}}
{{humanSize cumulative_tx}}
- Reception
+ {{t 'reception'}}
{{bitRate rx time_since_update}}
{{humanSize cumulative_rx}}
@@ -182,7 +182,7 @@
@@ -192,33 +192,33 @@
{{@key}}
-
Filesystem
+
{{t 'filesystem'}}
- FS Type {{ filesystem.fs_type }}
+ {{t 'fs_type'}} {{ filesystem.fs_type }}
- Mount point {{ filesystem.mnt_point }}
+ {{t 'mount_point'}} {{ filesystem.mnt_point }}
- Size {{humanSize filesystem.size }}
+ {{t 'size'}} {{humanSize filesystem.size }}
- Used {{humanSize filesystem.used }}
+ {{t 'used'}} {{humanSize filesystem.used }}
- Available {{humanSize filesystem.avail }}
+ {{t 'available'}} {{humanSize filesystem.avail }}
-
I/O Time since update: {{humanTime io.time_since_update }}
+
{{t 'io'}} {{t 'time_since_update'}}{{humanTime io.time_since_update }}
- Read {{humanSize io.read_bytes }}
+ {{t 'read'}} {{humanSize io.read_bytes }}
- Write {{humanSize io.write_bytes }}
+ {{t 'write'}} {{humanSize io.write_bytes }}
@@ -233,9 +233,9 @@
{{else}}
- Monitoring is not enabled.
+ {{t 'monitoring_disabled'}}
- Check
glances service status.
+ {{t 'monitoring_check_glances'}}
{{/if}}
diff --git a/views/postinstall.ms b/views/postinstall.ms
index d6db6e41..0484349e 100644
--- a/views/postinstall.ms
+++ b/views/postinstall.ms
@@ -1,31 +1,31 @@