mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-12-05 11:38:00 +00:00
f9b97be1d7
* Refactor languageHandler to avoid import cycles Also move its tests to vitest * Small refactor * Iterate * Iterate
28 lines
714 B
TypeScript
28 lines
714 B
TypeScript
/*
|
|
* Copyright 2026 Element Creations Ltd.
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
|
|
* Please see LICENSE files in the repository root for full details.
|
|
*/
|
|
|
|
/**
|
|
* This file is heavily imported and must be careful not to import anything which imports something else popular,
|
|
* e.g. SettingsStore as this would cause import cycles.
|
|
*/
|
|
|
|
export {
|
|
_t,
|
|
_td,
|
|
_tDom,
|
|
type IVariables,
|
|
type Tags,
|
|
type TranslatedString,
|
|
lookupString,
|
|
sanitizeForTranslation,
|
|
normalizeLanguageKey,
|
|
getNormalizedLanguageKeys,
|
|
getLocale as getCurrentLanguage,
|
|
} from "@element-hq/web-shared-components";
|
|
|
|
export * from "./UserFriendlyError";
|