Web UIs: remove duplication of supported languages

Fixes #1660

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino 2024-06-15 19:35:23 +02:00
parent d650defa08
commit 39cf9f6943
No known key found for this signature in database
GPG key ID: 935D2952DEC4EECF

View file

@ -193,7 +193,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
.use(i18nextBrowserLanguageDetector) .use(i18nextBrowserLanguageDetector)
.init({ .init({
debug: false, debug: false,
supportedLngs: ["en", "it"], supportedLngs: Object.keys(lngs),
fallbackLng: 'en', fallbackLng: 'en',
load: 'languageOnly', load: 'languageOnly',
backend: { backend: {