mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 19:07:46 +01:00
fix: configure i18next to not return empty strings
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user