Update some components to use i18n function, update en & zh-CN translation

This commit is contained in:
AnnAngela
2022-04-04 11:33:02 +08:00
parent 43eed45bae
commit 706d6cee07
6 changed files with 90 additions and 53 deletions

View File

@@ -12,7 +12,7 @@
<div class="shadow-box">
<template v-if="$root.statusPageListLoaded">
<span v-if="Object.keys($root.statusPageList).length === 0" class="d-flex align-items-center justify-content-center my-3">
No status pages
{{ $t("No status pages") }}
</span>
<!-- use <a> instead of <router-link>, because the heartbeat won't load. -->