From e27989149bdea662e89a87908e9eea0c0e6afede Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Thu, 1 Jul 2021 16:34:33 +0200
Subject: [PATCH] auth: switch back to the default i18next namespace

We match based on the tag name now and not on the namespace,
so revert this again so it's consistent with the other packages
---
 packages/auth/src/i18n.js                                   | 6 +++---
 .../auth/src/i18n/de/{dbp-auth.json => translation.json}    | 0
 .../auth/src/i18n/en/{dbp-auth.json => translation.json}    | 0
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename packages/auth/src/i18n/de/{dbp-auth.json => translation.json} (100%)
 rename packages/auth/src/i18n/en/{dbp-auth.json => translation.json} (100%)

diff --git a/packages/auth/src/i18n.js b/packages/auth/src/i18n.js
index a54f51bc..fbc1b032 100644
--- a/packages/auth/src/i18n.js
+++ b/packages/auth/src/i18n.js
@@ -1,10 +1,10 @@
 import {createInstance as _createInstance, setOverrides} from '@dbp-toolkit/common/i18next.js';
 
-import de from './i18n/de/dbp-auth.json';
-import en from './i18n/en/dbp-auth.json';
+import de from './i18n/de/translation.json';
+import en from './i18n/en/translation.json';
 
 export function createInstance() {
-    return _createInstance({en: en, de: de}, 'de', 'en', 'dbp-auth');
+    return _createInstance({en: en, de: de}, 'de', 'en');
 }
 
 export {setOverrides};
\ No newline at end of file
diff --git a/packages/auth/src/i18n/de/dbp-auth.json b/packages/auth/src/i18n/de/translation.json
similarity index 100%
rename from packages/auth/src/i18n/de/dbp-auth.json
rename to packages/auth/src/i18n/de/translation.json
diff --git a/packages/auth/src/i18n/en/dbp-auth.json b/packages/auth/src/i18n/en/translation.json
similarity index 100%
rename from packages/auth/src/i18n/en/dbp-auth.json
rename to packages/auth/src/i18n/en/translation.json
-- 
GitLab