From 4d008da3339834155ee86eb15ec0eb5cc85b5704 Mon Sep 17 00:00:00 2001 From: Girish Ramnani Date: Thu, 12 Nov 2020 17:37:36 +0530 Subject: [PATCH 1/2] change the hours and days to match the i18n file --- frontend/src/components/Service/ServiceTopStats.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/Service/ServiceTopStats.vue b/frontend/src/components/Service/ServiceTopStats.vue index 9104b549..d9c08796 100644 --- a/frontend/src/components/Service/ServiceTopStats.vue +++ b/frontend/src/components/Service/ServiceTopStats.vue @@ -6,11 +6,11 @@
{{service.online_24_hours}} % - {{$t('last_uptime', [24, $tc('hour', 24)])}} + {{$t('last_uptime', [24, $tc('hours', 24)])}}
{{service.online_7_days}} % - {{$t('last_uptime', [7, $tc('day', 7)])}} + {{$t('last_uptime', [7, $tc('days', 7)])}}
From cc057bceafd7079573142d9f1f9d6fc2e74e05da Mon Sep 17 00:00:00 2001 From: Girish Ramnani Date: Thu, 12 Nov 2020 18:34:49 +0530 Subject: [PATCH 2/2] add hours and day in the last_uptime --- frontend/src/components/Service/ServiceTopStats.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/Service/ServiceTopStats.vue b/frontend/src/components/Service/ServiceTopStats.vue index d9c08796..a9f95574 100644 --- a/frontend/src/components/Service/ServiceTopStats.vue +++ b/frontend/src/components/Service/ServiceTopStats.vue @@ -6,11 +6,11 @@
{{service.online_24_hours}} % - {{$t('last_uptime', [24, $tc('hours', 24)])}} + {{$t('last_uptime')}} [ 24 {{$tc('hours', 24)}} ]
{{service.online_7_days}} % - {{$t('last_uptime', [7, $tc('days', 7)])}} + {{$t('last_uptime')}} [ 7 {{$tc('days', 7)}} ]