From bfde526361c0178b3a17f97921bd995b65257f51 Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Tue, 9 Jul 2024 18:09:20 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(i18n)=20fix=20key=20that=20contain?= =?UTF-8?q?=20colon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Keys that contains colon where not being translated correctly. This was due to the colon being used as a separator for the key and the value. This was fixed by replacing the colon with a different character that is not used in the key or the value. --- src/frontend/apps/impress/src/i18n/initI18n.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/apps/impress/src/i18n/initI18n.ts b/src/frontend/apps/impress/src/i18n/initI18n.ts index 2cff5f90..7d601c1f 100644 --- a/src/frontend/apps/impress/src/i18n/initI18n.ts +++ b/src/frontend/apps/impress/src/i18n/initI18n.ts @@ -14,6 +14,7 @@ i18n escapeValue: false, }, preload: LANGUAGES_ALLOWED, + nsSeparator: '||', }) .catch(() => { throw new Error('i18n initialization failed');