mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 04:30:06 +00:00
chore: add locales
This commit is contained in:
@@ -9,6 +9,8 @@ import ruTranslation from "../locales/ru/translation.json"
|
|||||||
import taTranslation from "../locales/ta/translation.json"
|
import taTranslation from "../locales/ta/translation.json"
|
||||||
import zhCNTranslation from "../locales/zh-CN/translation.json"
|
import zhCNTranslation from "../locales/zh-CN/translation.json"
|
||||||
import zhTWTranslation from "../locales/zh-TW/translation.json"
|
import zhTWTranslation from "../locales/zh-TW/translation.json"
|
||||||
|
import frTranslation from "../locales/fr/translation.json"
|
||||||
|
import idTranslation from "../locales/id/translation.json"
|
||||||
|
|
||||||
const resources = {
|
const resources = {
|
||||||
"zh-CN": {
|
"zh-CN": {
|
||||||
@@ -35,6 +37,12 @@ const resources = {
|
|||||||
"it-IT": {
|
"it-IT": {
|
||||||
translation: itTranslation,
|
translation: itTranslation,
|
||||||
},
|
},
|
||||||
|
"fr-FR": {
|
||||||
|
translation: frTranslation,
|
||||||
|
},
|
||||||
|
"id-ID": {
|
||||||
|
translation: idTranslation,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
const getStoredLanguage = () => {
|
const getStoredLanguage = () => {
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ export const nezhaLang: Record<string, string> = {
|
|||||||
"de-DE": "Deutsch",
|
"de-DE": "Deutsch",
|
||||||
"ta-IN": "தமிழ்",
|
"ta-IN": "தமிழ்",
|
||||||
"it-IT": "Italiano",
|
"it-IT": "Italiano",
|
||||||
|
"fr-FR": "Français",
|
||||||
|
"id-ID": "Bahasa Indonesia",
|
||||||
}
|
}
|
||||||
|
|
||||||
export const wafBlockReasons: Record<number, string> = {
|
export const wafBlockReasons: Record<number, string> = {
|
||||||
|
|||||||
Reference in New Issue
Block a user