🐛(i18n) fix key that contain colon

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.
This commit is contained in:
Anthony LC
2024-07-09 18:09:20 +02:00
committed by Anthony LC
parent 132da0837f
commit bfde526361

View File

@@ -14,6 +14,7 @@ i18n
escapeValue: false,
},
preload: LANGUAGES_ALLOWED,
nsSeparator: '||',
})
.catch(() => {
throw new Error('i18n initialization failed');