mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 12:40:08 +00:00
fix(I18n): Translation supplement
Translation supplement, automatic lanSupplement the missing translations
This commit is contained in:
@@ -1,16 +1,18 @@
|
||||
import i18next from "i18next";
|
||||
export const settingCoverageTypes: Record<number, string> = {
|
||||
1: "All excludes specific servers",
|
||||
2: "Only specific servers",
|
||||
1: i18next.t("Coverages.Excludes"),
|
||||
2: i18next.t("Coverages.Only"),
|
||||
}
|
||||
|
||||
export const nezhaLang: Record<string, string> = {
|
||||
"auto": i18next.t("Auto"),
|
||||
"zh_CN": "简体中文(中国大陆)",
|
||||
"zh_TW": "正體中文(台灣)",
|
||||
"en_US": "English",
|
||||
}
|
||||
|
||||
export const wafBlockReasons: Record<number, string> = {
|
||||
1: "Login failed",
|
||||
2: "Brute-force attacking token",
|
||||
3: "Brute-force attacking Agent secret",
|
||||
1: i18next.t("LoginFailed"),
|
||||
2: i18next.t("BruteForceAttackingToken"),
|
||||
3: i18next.t("BruteForceAttackingAgentSecret"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user