diff --git a/resource/l10n/en-US.toml b/resource/l10n/en-US.toml index b96aa73..0217ed0 100644 --- a/resource/l10n/en-US.toml +++ b/resource/l10n/en-US.toml @@ -371,7 +371,7 @@ other = "Uptime" other = "Server is offline" [Day] -other = "Day" +other = "Days" [RealtimeChannelEstablished] other = "Real-time Channel Established" diff --git a/resource/template/dashboard/monitor.html b/resource/template/dashboard/monitor.html index a9872a8..359aba4 100644 --- a/resource/template/dashboard/monitor.html +++ b/resource/template/dashboard/monitor.html @@ -36,7 +36,7 @@ {{if eq $monitor.Type 1}}{{tr "SSLCertificate"}} {{else if eq $monitor.Type 2}} ICMP Ping {{else}} {{tr "TCPPort"}} {{end}} - {{$monitor.Duration}}{{tr "Seconds"}} + {{$monitor.Duration}} {{tr "Seconds"}} {{$monitor.NotificationTag}} {{$monitor.Notify}} diff --git a/resource/template/dashboard/setting.html b/resource/template/dashboard/setting.html index 8762629..5dbcdab 100644 --- a/resource/template/dashboard/setting.html +++ b/resource/template/dashboard/setting.html @@ -38,7 +38,7 @@
- +
diff --git a/resource/template/theme-daynight/home.html b/resource/template/theme-daynight/home.html index 1d0ed21..a2ffd19 100644 --- a/resource/template/theme-daynight/home.html +++ b/resource/template/theme-daynight/home.html @@ -239,7 +239,7 @@ secondToDate(s) { var d = Math.floor(s / 3600 / 24); if (d > 0) { - return d + "{{tr "Day"}}" + return d + " {{tr "Day"}}" } var h = Math.floor(s / 3600 % 24); var m = Math.floor(s / 60 % 60); diff --git a/resource/template/theme-default/home.html b/resource/template/theme-default/home.html index 4020df6..f938b9e 100644 --- a/resource/template/theme-default/home.html +++ b/resource/template/theme-default/home.html @@ -20,23 +20,23 @@ @#server.Name + (server.live?'':'[{{tr "Offline"}}]')#@
@@ -163,7 +163,7 @@ secondToDate(s) { var d = Math.floor(s / 3600 / 24); if (d > 0) { - return d + "{{tr "Day"}}" + return d + " {{tr "Day"}}" } var h = Math.floor(s / 3600 % 24); var m = Math.floor(s / 60 % 60); diff --git a/resource/template/theme-hotaru/home.html b/resource/template/theme-hotaru/home.html index c26242d..f14ae02 100644 --- a/resource/template/theme-hotaru/home.html +++ b/resource/template/theme-hotaru/home.html @@ -219,7 +219,7 @@ secondToDate(s) { var d = Math.floor(s / 3600 / 24); if (d > 0) { - return d + "{{tr "Day"}}" + return d + " {{tr "Day"}}" } var h = Math.floor(s / 3600 % 24); var m = Math.floor(s / 60 % 60); diff --git a/resource/template/theme-mdui/home.html b/resource/template/theme-mdui/home.html index de63302..08c2f19 100644 --- a/resource/template/theme-mdui/home.html +++ b/resource/template/theme-mdui/home.html @@ -178,7 +178,7 @@ secondToDate(s) { var d = Math.floor(s / 3600 / 24); if (d > 0) { - return d + "{{tr "Day"}}" + return d + " {{tr "Day"}}" } var h = Math.floor(s / 3600 % 24); var m = Math.floor(s / 60 % 60);