Skip to content
Snippets Groups Projects
Commit e552b816 authored by jensilo's avatar jensilo
Browse files

improve visuals of language switch

parent 80049c15
Branches
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ func registerNavigation(appCtx *hctx.AppCtx, webCtx *web.Ctx) {
u, _ := user.CtxUser(io.Context())
return u != nil, nil
},
Position: 1100,
Position: 1200,
})
webCtx.Navigation.Add("user.login", web.NavItem{
......@@ -80,7 +80,7 @@ func registerNavigation(appCtx *hctx.AppCtx, webCtx *web.Ctx) {
u, _ := user.CtxUser(io.Context())
return u == nil, nil
},
Position: 1000,
Position: 1200,
})
webCtx.Navigation.Add("user.language.de", web.NavItem{
......@@ -94,7 +94,7 @@ func registerNavigation(appCtx *hctx.AppCtx, webCtx *web.Ctx) {
return locale.Value != "de", nil
},
Position: 1050,
Position: 1100,
})
webCtx.Navigation.Add("user.language.en", web.NavItem{
......@@ -108,7 +108,7 @@ func registerNavigation(appCtx *hctx.AppCtx, webCtx *web.Ctx) {
return locale.Value != "en", nil
},
Position: 1050,
Position: 1100,
})
}
......
......@@ -189,7 +189,7 @@
"language": {
"label": "Sprache",
"de": "Deutsch",
"en": "Englisch"
"en": "English"
}
},
"error": {
......
......@@ -188,7 +188,7 @@
"logout": "Logout",
"language": {
"label": "Language",
"de": "German",
"de": "Deutsch",
"en": "English"
}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment