mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
refactor
This commit is contained in:
@@ -8,7 +8,7 @@ i18n
|
|||||||
.use(LanguageDetector)
|
.use(LanguageDetector)
|
||||||
.use(initReactI18next)
|
.use(initReactI18next)
|
||||||
.init({
|
.init({
|
||||||
fallbackLng: 'en', // default
|
fallbackLng: 'en', // default language will be used if none of declared lanuages detected (en, ru)
|
||||||
interpolation: { escapeValue: false }, // react already safes from xss
|
interpolation: { escapeValue: false }, // react already safes from xss
|
||||||
resources: { en: { translation: translationEN }, ru: { translation: translationRU } },
|
resources: { en: { translation: translationEN }, ru: { translation: translationRU } },
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user