mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 13:07:25 +00:00
fix: configure i18next to not return empty strings
This commit is contained in:
parent
48e8b45dc9
commit
e8ffb2c023
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user