Commit e8ffb2c0 authored by Ased Mammad's avatar Ased Mammad
Browse files

fix: configure i18next to not return empty strings

parent 48e8b45d
......@@ -10,9 +10,7 @@ export default {
contextSeparator: '_',
createOldCatalogs: false,
defaultNamespace: 'translation',
defaultValue: function (locale, namespace, key, value) {
return key;
},
defaultValue: '',
indentation: 2,
keepRemoved: false,
keySeparator: false,
......
......@@ -56,6 +56,7 @@ i18next
default: ['en']
},
ns: 'translation',
returnEmptyString: false,
interpolation: {
escapeValue: false // not needed for svelte as it escapes by default
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment