mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
resolve build issue
This commit is contained in:
@@ -2,16 +2,15 @@ import i18n from "i18next";
|
||||
import { initReactI18next } from "react-i18next";
|
||||
import LanguageDetector from "i18next-browser-languagedetector";
|
||||
|
||||
// Shared locale bundles live one level above this app, at
|
||||
// apps/edr-freight-web/locales/<lng>/translation.json (Vite's default fs.allow
|
||||
// covers the workspace root, so importing across the app boundary is permitted).
|
||||
import en from "../../../locales/en/translation.json";
|
||||
import am from "../../../locales/am/translation.json";
|
||||
import af from "../../../locales/af/translation.json";
|
||||
import fr from "../../../locales/fr/translation.json";
|
||||
import or from "../../../locales/or/translation.json";
|
||||
import sm from "../../../locales/sm/translation.json";
|
||||
import tg from "../../../locales/tg/translation.json";
|
||||
// Locale bundles live inside this app (src/locales) so they're part of the
|
||||
// package and survive `turbo prune` in the Docker build.
|
||||
import en from "../locales/en/translation.json";
|
||||
import am from "../locales/am/translation.json";
|
||||
import af from "../locales/af/translation.json";
|
||||
import fr from "../locales/fr/translation.json";
|
||||
import or from "../locales/or/translation.json";
|
||||
import sm from "../locales/sm/translation.json";
|
||||
import tg from "../locales/tg/translation.json";
|
||||
|
||||
export const SUPPORTED_LANGUAGES = ["en", "am", "af", "fr", "or", "sm", "tg"] as const;
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user