mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 23:20:24 +00:00
Web UIs: remove duplication of supported languages
Fixes #1660 Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
d650defa08
commit
39cf9f6943
1 changed files with 6 additions and 6 deletions
|
@ -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: {
|
||||||
|
@ -795,12 +795,12 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title></title>
|
<title></title>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="description" content="" />
|
<meta name="description" content="" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="robots" content="noindex">
|
<meta name="robots" content="noindex">
|
||||||
<link rel="shortcut icon" href="{{.StaticURL}}{{.Branding.FaviconPath}}" />
|
<link rel="shortcut icon" href="{{.StaticURL}}{{.Branding.FaviconPath}}" />
|
||||||
{{- template "fonts" . }}
|
{{- template "fonts" . }}
|
||||||
{{- block "extra_css" .}}{{- end}}
|
{{- block "extra_css" .}}{{- end}}
|
||||||
{{- range .Branding.DefaultCSS}}
|
{{- range .Branding.DefaultCSS}}
|
||||||
|
|
Loading…
Reference in a new issue