mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-01 01:25:45 -04:00
Improve the filter translate keys
This commit is contained in:
parent
80927332cb
commit
e2a87eb430
@ -81,10 +81,10 @@
|
|||||||
<template #status>
|
<template #status>
|
||||||
<span v-if="filterState.active?.length === 1">
|
<span v-if="filterState.active?.length === 1">
|
||||||
<span v-if="filterState.active[0]">{{ $t("Running") }}</span>
|
<span v-if="filterState.active[0]">{{ $t("Running") }}</span>
|
||||||
<span v-else>{{ $t("Paused") }}</span>
|
<span v-else>{{ $t("filterActivePaused") }}</span>
|
||||||
</span>
|
</span>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
{{ $t('Active') }}
|
{{ $t("filterActive") }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<template #dropdown>
|
<template #dropdown>
|
||||||
@ -104,7 +104,7 @@
|
|||||||
<li>
|
<li>
|
||||||
<div class="dropdown-item" tabindex="0" @click.stop="toggleActiveFilter(false)">
|
<div class="dropdown-item" tabindex="0" @click.stop="toggleActiveFilter(false)">
|
||||||
<div class="d-flex align-items-center justify-content-between">
|
<div class="d-flex align-items-center justify-content-between">
|
||||||
<span>{{ $t("Paused") }}</span>
|
<span>{{ $t("filterActivePaused") }}</span>
|
||||||
<span class="ps-3">
|
<span class="ps-3">
|
||||||
{{ $root.stats.pause }}
|
{{ $root.stats.pause }}
|
||||||
<span v-if="filterState.active?.includes(false)" class="px-1 filter-active">
|
<span v-if="filterState.active?.includes(false)" class="px-1 filter-active">
|
||||||
|
@ -155,6 +155,8 @@
|
|||||||
"Disable 2FA": "Disable 2FA",
|
"Disable 2FA": "Disable 2FA",
|
||||||
"2FA Settings": "2FA Settings",
|
"2FA Settings": "2FA Settings",
|
||||||
"Two Factor Authentication": "Two Factor Authentication",
|
"Two Factor Authentication": "Two Factor Authentication",
|
||||||
|
"filterActive": "Active",
|
||||||
|
"filterActivePaused": "Paused",
|
||||||
"Active": "Active",
|
"Active": "Active",
|
||||||
"Inactive": "Inactive",
|
"Inactive": "Inactive",
|
||||||
"Token": "Token",
|
"Token": "Token",
|
||||||
|
@ -139,6 +139,8 @@
|
|||||||
"Disable 2FA": "關閉 2FA",
|
"Disable 2FA": "關閉 2FA",
|
||||||
"2FA Settings": "2FA 設定",
|
"2FA Settings": "2FA 設定",
|
||||||
"Two Factor Authentication": "雙重認證",
|
"Two Factor Authentication": "雙重認證",
|
||||||
|
"filterActive": "執行狀態",
|
||||||
|
"filterActivePaused": "已暫停",
|
||||||
"Active": "生效",
|
"Active": "生效",
|
||||||
"Inactive": "未生效",
|
"Inactive": "未生效",
|
||||||
"Token": "Token",
|
"Token": "Token",
|
||||||
|
Loading…
Reference in New Issue
Block a user