refactor(imports): replace relative imports with path aliases (#2741)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-13 20:18:22 +02:00
1 parent a59b80ce11
commit 84dcf6b8a8
1834 files changed
+11601 -10725

No files matched your search

@@ -1,11 +1,15 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
import {CONTENT_I18N_LOCALE_MESSAGES} from '@app/api/content_i18n/ContentI18nLocales';
import {
CONTENT_I18N_MESSAGES,
type ContentI18nCatalog,
type ContentI18nKey,
} from '@app/api/content_i18n/ContentI18nMessages';
import {identityLocale} from '@fluxer/i18n/src/normalization/IdentityLocale';
import {createStaticI18n} from '@fluxer/i18n/src/runtime/CreateStaticI18n';
import type {MessageArgsForTemplate} from '@fluxer/i18n/src/runtime/MessageCatalogTypes';
import {validateMessageTemplateVariables} from '@fluxer/i18n/src/runtime/MessageCatalogTypes';
import {CONTENT_I18N_LOCALE_MESSAGES} from './ContentI18nLocales';
import {CONTENT_I18N_MESSAGES, type ContentI18nCatalog, type ContentI18nKey} from './ContentI18nMessages';
const DEFAULT_LOCALE = 'en-US';
@@ -1,39 +1,39 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
import type {ContentI18nKey} from './ContentI18nMessages';
import CONTENT_I18N_AR_MESSAGES from './locales/ar';
import CONTENT_I18N_BG_MESSAGES from './locales/bg';
import CONTENT_I18N_CS_MESSAGES from './locales/cs';
import CONTENT_I18N_DA_MESSAGES from './locales/da';
import CONTENT_I18N_DE_MESSAGES from './locales/de';
import CONTENT_I18N_EL_MESSAGES from './locales/el';
import CONTENT_I18N_EN_GB_MESSAGES from './locales/en-GB';
import CONTENT_I18N_ES_419_MESSAGES from './locales/es-419';
import CONTENT_I18N_ES_ES_MESSAGES from './locales/es-ES';
import CONTENT_I18N_FI_MESSAGES from './locales/fi';
import CONTENT_I18N_FR_MESSAGES from './locales/fr';
import CONTENT_I18N_HE_MESSAGES from './locales/he';
import CONTENT_I18N_HI_MESSAGES from './locales/hi';
import CONTENT_I18N_HR_MESSAGES from './locales/hr';
import CONTENT_I18N_HU_MESSAGES from './locales/hu';
import CONTENT_I18N_ID_MESSAGES from './locales/id';
import CONTENT_I18N_IT_MESSAGES from './locales/it';
import CONTENT_I18N_JA_MESSAGES from './locales/ja';
import CONTENT_I18N_KO_MESSAGES from './locales/ko';
import CONTENT_I18N_LT_MESSAGES from './locales/lt';
import CONTENT_I18N_NL_MESSAGES from './locales/nl';
import CONTENT_I18N_NO_MESSAGES from './locales/no';
import CONTENT_I18N_PL_MESSAGES from './locales/pl';
import CONTENT_I18N_PT_BR_MESSAGES from './locales/pt-BR';
import CONTENT_I18N_RO_MESSAGES from './locales/ro';
import CONTENT_I18N_RU_MESSAGES from './locales/ru';
import CONTENT_I18N_SV_SE_MESSAGES from './locales/sv-SE';
import CONTENT_I18N_TH_MESSAGES from './locales/th';
import CONTENT_I18N_TR_MESSAGES from './locales/tr';
import CONTENT_I18N_UK_MESSAGES from './locales/uk';
import CONTENT_I18N_VI_MESSAGES from './locales/vi';
import CONTENT_I18N_ZH_CN_MESSAGES from './locales/zh-CN';
import CONTENT_I18N_ZH_TW_MESSAGES from './locales/zh-TW';
import type {ContentI18nKey} from '@app/api/content_i18n/ContentI18nMessages';
import CONTENT_I18N_AR_MESSAGES from '@app/api/content_i18n/locales/ar';
import CONTENT_I18N_BG_MESSAGES from '@app/api/content_i18n/locales/bg';
import CONTENT_I18N_CS_MESSAGES from '@app/api/content_i18n/locales/cs';
import CONTENT_I18N_DA_MESSAGES from '@app/api/content_i18n/locales/da';
import CONTENT_I18N_DE_MESSAGES from '@app/api/content_i18n/locales/de';
import CONTENT_I18N_EL_MESSAGES from '@app/api/content_i18n/locales/el';
import CONTENT_I18N_EN_GB_MESSAGES from '@app/api/content_i18n/locales/en-GB';
import CONTENT_I18N_ES_419_MESSAGES from '@app/api/content_i18n/locales/es-419';
import CONTENT_I18N_ES_ES_MESSAGES from '@app/api/content_i18n/locales/es-ES';
import CONTENT_I18N_FI_MESSAGES from '@app/api/content_i18n/locales/fi';
import CONTENT_I18N_FR_MESSAGES from '@app/api/content_i18n/locales/fr';
import CONTENT_I18N_HE_MESSAGES from '@app/api/content_i18n/locales/he';
import CONTENT_I18N_HI_MESSAGES from '@app/api/content_i18n/locales/hi';
import CONTENT_I18N_HR_MESSAGES from '@app/api/content_i18n/locales/hr';
import CONTENT_I18N_HU_MESSAGES from '@app/api/content_i18n/locales/hu';
import CONTENT_I18N_ID_MESSAGES from '@app/api/content_i18n/locales/id';
import CONTENT_I18N_IT_MESSAGES from '@app/api/content_i18n/locales/it';
import CONTENT_I18N_JA_MESSAGES from '@app/api/content_i18n/locales/ja';
import CONTENT_I18N_KO_MESSAGES from '@app/api/content_i18n/locales/ko';
import CONTENT_I18N_LT_MESSAGES from '@app/api/content_i18n/locales/lt';
import CONTENT_I18N_NL_MESSAGES from '@app/api/content_i18n/locales/nl';
import CONTENT_I18N_NO_MESSAGES from '@app/api/content_i18n/locales/no';
import CONTENT_I18N_PL_MESSAGES from '@app/api/content_i18n/locales/pl';
import CONTENT_I18N_PT_BR_MESSAGES from '@app/api/content_i18n/locales/pt-BR';
import CONTENT_I18N_RO_MESSAGES from '@app/api/content_i18n/locales/ro';
import CONTENT_I18N_RU_MESSAGES from '@app/api/content_i18n/locales/ru';
import CONTENT_I18N_SV_SE_MESSAGES from '@app/api/content_i18n/locales/sv-SE';
import CONTENT_I18N_TH_MESSAGES from '@app/api/content_i18n/locales/th';
import CONTENT_I18N_TR_MESSAGES from '@app/api/content_i18n/locales/tr';
import CONTENT_I18N_UK_MESSAGES from '@app/api/content_i18n/locales/uk';
import CONTENT_I18N_VI_MESSAGES from '@app/api/content_i18n/locales/vi';
import CONTENT_I18N_ZH_CN_MESSAGES from '@app/api/content_i18n/locales/zh-CN';
import CONTENT_I18N_ZH_TW_MESSAGES from '@app/api/content_i18n/locales/zh-TW';
export const CONTENT_I18N_LOCALE_MESSAGES = {
ar: CONTENT_I18N_AR_MESSAGES,