mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 12:18:11 +00:00
Merge pull request #614 from Tria-plc/freight/feature/user_management_UI
Freight/feature/user management UI
This commit is contained in:
@@ -2,16 +2,15 @@ import i18n from "i18next";
|
|||||||
import { initReactI18next } from "react-i18next";
|
import { initReactI18next } from "react-i18next";
|
||||||
import LanguageDetector from "i18next-browser-languagedetector";
|
import LanguageDetector from "i18next-browser-languagedetector";
|
||||||
|
|
||||||
// Shared locale bundles live one level above this app, at
|
// Locale bundles live inside this app (src/locales) so they're part of the
|
||||||
// apps/edr-freight-web/locales/<lng>/translation.json (Vite's default fs.allow
|
// package and survive `turbo prune` in the Docker build.
|
||||||
// covers the workspace root, so importing across the app boundary is permitted).
|
import en from "../locales/en/translation.json";
|
||||||
import en from "../../../locales/en/translation.json";
|
import am from "../locales/am/translation.json";
|
||||||
import am from "../../../locales/am/translation.json";
|
import af from "../locales/af/translation.json";
|
||||||
import af from "../../../locales/af/translation.json";
|
import fr from "../locales/fr/translation.json";
|
||||||
import fr from "../../../locales/fr/translation.json";
|
import or from "../locales/or/translation.json";
|
||||||
import or from "../../../locales/or/translation.json";
|
import sm from "../locales/sm/translation.json";
|
||||||
import sm from "../../../locales/sm/translation.json";
|
import tg from "../locales/tg/translation.json";
|
||||||
import tg from "../../../locales/tg/translation.json";
|
|
||||||
|
|
||||||
export const SUPPORTED_LANGUAGES = ["en", "am", "af", "fr", "or", "sm", "tg"] as const;
|
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