Improve and reuse language keys

This commit is contained in:
Louis Lam 2023-03-23 17:17:53 +08:00
parent 193a273557
commit 35f300c8eb
2 changed files with 3 additions and 2 deletions

View File

@ -173,6 +173,7 @@
"Avg. Response": "Avg. Response",
"Entry Page": "Entry Page",
"statusPageNothing": "Nothing here, please add a group or a monitor.",
"statusPageRefreshIn": "Refresh in: {0}",
"No Services": "No Services",
"All Systems Operational": "All Systems Operational",
"Partially Degraded Service": "Partially Degraded Service",

View File

@ -308,8 +308,8 @@
</p>
<div class="refresh-info mb-2">
<div>{{ $t("last update") }}: <date-time :value="lastUpdateTime" /></div>
<div>{{ $t("refresh in") }}: {{ updateCountdownText }}</div>
<div>{{ $t("Last Updated") }}: <date-time :value="lastUpdateTime" /></div>
<div>{{ $tc("statusPageRefreshIn", [ updateCountdownText]) }}</div>
</div>
</footer>
</div>