🐛(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-06-26 10:16:37 +02:00
committed by Anthony LC
parent 952bea369e
commit c7861c6ad4

View File

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