aboutsummaryrefslogtreecommitdiffhomepage
path: root/langs/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'langs/config.go')
-rw-r--r--langs/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/langs/config.go b/langs/config.go
index f79b7dd0a..ef63e700e 100644
--- a/langs/config.go
+++ b/langs/config.go
@@ -41,7 +41,7 @@ func LoadLanguageSettings(cfg config.Provider, oldLangs Languages) (c LanguagesC
cfg.Set("defaultContentLanguage", defaultLang)
}
- var languages map[string]interface{}
+ var languages map[string]any
languagesFromConfig := cfg.GetParams("languages")
disableLanguages := cfg.GetStringSlice("disableLanguages")
@@ -170,7 +170,7 @@ func LoadLanguageSettings(cfg config.Provider, oldLangs Languages) (c LanguagesC
return c, nil
}
-func toSortedLanguages(cfg config.Provider, l map[string]interface{}) (Languages, error) {
+func toSortedLanguages(cfg config.Provider, l map[string]any) (Languages, error) {
languages := make(Languages, len(l))
i := 0