mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-09-20 02:00:14 +00:00
improve: add missing try-catch cases (#86)
* improve: add missing try-catch cases * i18n: support german * chore: auto-fix linting and formatting issues --------- Co-authored-by: uubulb <uubulb@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import i18n from "i18next"
|
||||
import { initReactI18next } from "react-i18next"
|
||||
|
||||
import deTranslation from "../locales/de/translation.json"
|
||||
import enTranslation from "../locales/en/translation.json"
|
||||
import itTranslation from "../locales/it/translation.json"
|
||||
import zhCNTranslation from "../locales/zh-CN/translation.json"
|
||||
@@ -19,6 +20,9 @@ const resources = {
|
||||
"zh-TW": {
|
||||
translation: zhTWTranslation,
|
||||
},
|
||||
"de-DE": {
|
||||
translation: deTranslation,
|
||||
},
|
||||
}
|
||||
|
||||
const getStoredLanguage = () => {
|
||||
|
||||
Reference in New Issue
Block a user