mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-09-20 10:10:14 +00:00
feat(I18n): Add multiple languages (zh-CN/zh-TW/en/it) (#8)
This commit is contained in:
+7
-5
@@ -1,10 +1,12 @@
|
||||
import i18next from "i18next";
|
||||
export const cronTypes: Record<number, string> = {
|
||||
0: "Scheduled",
|
||||
1: "Trigger",
|
||||
0: i18next.t("Scheduled"),
|
||||
1: i18next.t("Trigger"),
|
||||
}
|
||||
|
||||
export const cronCoverageTypes: Record<number, string> = {
|
||||
0: "Only specific servers",
|
||||
1: "All excludes specific servers",
|
||||
2: "The alarmed servers"
|
||||
0: i18next.t("Coverages.Only"),
|
||||
1: i18next.t("Coverages.Excludes"),
|
||||
2: i18next.t("Coverages.Alarmed"),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user