From 39cf9f6943c4fbea1dcdba48dd56bff2be145eaf Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Sat, 15 Jun 2024 19:35:23 +0200 Subject: [PATCH] Web UIs: remove duplication of supported languages Fixes #1660 Signed-off-by: Nicola Murino --- templates/common/base.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/common/base.html b/templates/common/base.html index 02af5a30..fc3dd3cc 100644 --- a/templates/common/base.html +++ b/templates/common/base.html @@ -193,7 +193,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). .use(i18nextBrowserLanguageDetector) .init({ debug: false, - supportedLngs: ["en", "it"], + supportedLngs: Object.keys(lngs), fallbackLng: 'en', load: 'languageOnly', backend: { @@ -795,12 +795,12 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). - - - - + + + + - + {{- template "fonts" . }} {{- block "extra_css" .}}{{- end}} {{- range .Branding.DefaultCSS}}