feat: add zh-TW
parent
51bf3be378
commit
da5b4cd591
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"Incidents": "歷史故障",
|
||||
"No data yet": "暫無資料",
|
||||
"All systems not operational": "所有服務都已停止運作",
|
||||
"All systems operational": "所有服務皆正常運作",
|
||||
"Some systems not operational": "部分服務停止運作 ({{down}} / {{total}})",
|
||||
"Last updated on": "最後更新於:{{date}}({{seconds}} 秒前)",
|
||||
"upcoming maintenance": "{{count}} 個即將進行的維護",
|
||||
"upcoming maintenance_plural": "{{count}} 個即將進行的維護",
|
||||
"Hide": "[隱藏]",
|
||||
"Show": "[顯示]",
|
||||
"Operational": "運作中",
|
||||
"No data available": "暫無資料,請確保已部署最新設定的 Worker 並檢查 Worker 狀態!",
|
||||
"Overall": "總可用率:{{percent}}%",
|
||||
"No Data": "暫無資料",
|
||||
"percent at date": "{{percent}}% 於 {{date}}",
|
||||
"Down for": "故障持續 {{duration}}(點擊查看詳情)",
|
||||
"incidents at": "🚨 {{name}} 於 {{date}} 不可用",
|
||||
"Response times": "回應時間(毫秒)",
|
||||
"Upcoming": "[即將開始] ",
|
||||
"Scheduled Maintenance": "預定維護",
|
||||
"Scheduled for": "預定開始:",
|
||||
"From": "開始:",
|
||||
"Expected end": "預計結束:",
|
||||
"To": "結束:",
|
||||
"Until further notice": "即日起持續生效",
|
||||
"Affected components": "受影響的元件:",
|
||||
"MONITOR ID NOT FOUND": "[錯誤:找不到監測 ID]",
|
||||
"No incidents in this month": "本月無故障",
|
||||
"There are no incidents for this month": "本月沒有任何故障發生。",
|
||||
"Monitor not found": "找不到 ID 為 {{id}} 的監測!",
|
||||
"Monitor State not defined": "監測狀態未定義,請檢查您的 Worker 狀態與 KV 綁定!",
|
||||
"All": "全部",
|
||||
"Select monitor": "選取監測",
|
||||
"Backwards": "← 上一月",
|
||||
"Forward": "下一月 →"
|
||||
}
|
||||
|
|
@ -3,6 +3,7 @@ import { initReactI18next } from 'react-i18next';
|
|||
import LanguageDetector from 'i18next-browser-languagedetector';
|
||||
import en from '../locales/en/common.json';
|
||||
import zhCN from '../locales/zh-CN/common.json';
|
||||
import zhTW from '../locales/zh-TW/common.json';
|
||||
|
||||
i18n
|
||||
.use(LanguageDetector)
|
||||
|
|
@ -12,6 +13,7 @@ i18n
|
|||
en: { common: en },
|
||||
'zh-CN': { common: zhCN },
|
||||
zh: { common: zhCN },
|
||||
'zh-TW': { common: zhTW },
|
||||
},
|
||||
fallbackLng: 'en',
|
||||
interpolation: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue