Apply repository-wide ESLint auto-fix formatting pass
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
@@ -9,24 +9,21 @@
|
||||
* with browser language detection.
|
||||
*/
|
||||
|
||||
import i18next from 'i18next';
|
||||
import LanguageDetector from 'i18next-browser-languagedetector';
|
||||
import enLocale from './en.json';
|
||||
import i18next from "i18next";
|
||||
import LanguageDetector from "i18next-browser-languagedetector";
|
||||
import enLocale from "./en.json";
|
||||
|
||||
|
||||
i18next
|
||||
.use(LanguageDetector)
|
||||
.init({
|
||||
resources: {
|
||||
en: {
|
||||
translation: enLocale
|
||||
},
|
||||
i18next.use(LanguageDetector).init({
|
||||
resources: {
|
||||
en: {
|
||||
translation: enLocale,
|
||||
},
|
||||
fallbackLng: 'en',
|
||||
detection: {
|
||||
order: ['localStorage', 'navigator'],
|
||||
caches: ['localStorage']
|
||||
},
|
||||
});
|
||||
},
|
||||
fallbackLng: "en",
|
||||
detection: {
|
||||
order: ["localStorage", "navigator"],
|
||||
caches: ["localStorage"],
|
||||
},
|
||||
});
|
||||
|
||||
export default i18next;
|
||||
export default i18next;
|
||||
|
||||
Reference in New Issue
Block a user