From 72ac651bc55fea6e9aeb1b736612239b80dca1b8 Mon Sep 17 00:00:00 2001 From: Tobias Kohr Date: Mon, 8 Apr 2024 11:37:06 +0200 Subject: [PATCH] chore(i18n): move translations to resources folder --- libs/mel/src/lib/embedded.translate.loader.ts | 4 ++-- {translations => resources/translations}/en_MEL.json | 0 {translations => resources/translations}/fr_MEL.json | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {translations => resources/translations}/en_MEL.json (100%) rename {translations => resources/translations}/fr_MEL.json (100%) diff --git a/libs/mel/src/lib/embedded.translate.loader.ts b/libs/mel/src/lib/embedded.translate.loader.ts index f39f7454..13e21c8d 100644 --- a/libs/mel/src/lib/embedded.translate.loader.ts +++ b/libs/mel/src/lib/embedded.translate.loader.ts @@ -1,8 +1,8 @@ /* eslint-disable @nx/enforce-module-boundaries */ import { TranslateLoader } from '@ngx-translate/core' import { Observable, map, of } from 'rxjs' -import en_MEL from '../../../../translations/en_MEL.json' -import fr_MEL from '../../../../translations/fr_MEL.json' +import en_MEL from '../../../../resources/translations/en_MEL.json' +import fr_MEL from '../../../../resources/translations/fr_MEL.json' import en from 'node_modules/geonetwork-ui/translations/en.json' import fr from 'node_modules/geonetwork-ui/translations/fr.json' import { dropEmptyTranslations } from 'geonetwork-ui' diff --git a/translations/en_MEL.json b/resources/translations/en_MEL.json similarity index 100% rename from translations/en_MEL.json rename to resources/translations/en_MEL.json diff --git a/translations/fr_MEL.json b/resources/translations/fr_MEL.json similarity index 100% rename from translations/fr_MEL.json rename to resources/translations/fr_MEL.json