From 7b8594debceb93a1fa400d48fe1dcff943bd5af6 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Jun 2025 23:44:25 +0200 Subject: Implement stop sheet modal for map stop interactions (#27) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: arielcostas <94913521+arielcostas@users.noreply.github.com> Co-authored-by: Ariel Costas Guerrero --- src/frontend/app/i18n/index.ts | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/frontend/app/i18n/index.ts') diff --git a/src/frontend/app/i18n/index.ts b/src/frontend/app/i18n/index.ts index a7ba6aa..492a9a9 100644 --- a/src/frontend/app/i18n/index.ts +++ b/src/frontend/app/i18n/index.ts @@ -1,15 +1,15 @@ -import i18n from 'i18next'; -import { initReactI18next } from 'react-i18next'; -import LanguageDetector from 'i18next-browser-languagedetector'; -import esES from './locales/es-ES.json'; -import glES from './locales/gl-ES.json'; -import enGB from './locales/en-GB.json'; +import i18n from "i18next"; +import { initReactI18next } from "react-i18next"; +import LanguageDetector from "i18next-browser-languagedetector"; +import esES from "./locales/es-ES.json"; +import glES from "./locales/gl-ES.json"; +import enGB from "./locales/en-GB.json"; // Add more languages as needed const resources = { - 'es-ES': { translation: esES }, - 'gl-ES': { translation: glES }, - 'en-GB': { translation: enGB }, + "es-ES": { translation: esES }, + "gl-ES": { translation: glES }, + "en-GB": { translation: enGB }, }; i18n @@ -17,14 +17,14 @@ i18n .use(initReactI18next) .init({ resources, - fallbackLng: 'es-ES', + fallbackLng: "es-ES", interpolation: { escapeValue: false, }, - supportedLngs: ['es-ES', 'gl-ES', 'en-GB'], + supportedLngs: ["es-ES", "gl-ES", "en-GB"], detection: { - order: ['querystring', 'cookie', 'localStorage', 'navigator', 'htmlTag'], - caches: ['localStorage', 'cookie'], + order: ["querystring", "cookie", "localStorage", "navigator", "htmlTag"], + caches: ["localStorage", "cookie"], }, }); -- cgit v1.3