diff --git a/pkg/server/login/locales.go b/pkg/server/login/locales.go index bde35f99d..2666eba43 100644 --- a/pkg/server/login/locales.go +++ b/pkg/server/login/locales.go @@ -37,7 +37,12 @@ var supportedLangs = []language.Tag{ } var locale_en = map[string]string{ - "": "", + "LogInToYourAccount": "Log in to your account", + "Username": "Username", + "Password": "Password", + "LogIn": "Log in", + "WelcomeTo": "Welcome to", + "LogInWith": "Log in with", } var locale_zh = map[string]string{ diff --git a/pkg/server/login/templates.go b/pkg/server/login/templates.go index 68992e372..a5731e845 100644 --- a/pkg/server/login/templates.go +++ b/pkg/server/login/templates.go @@ -246,7 +246,7 @@ select.pf-c-form-control.pf-m-success { --pf-c-form-control--PaddingRight: var(-
-

Log in to your account

+

{{ .Locale.LogInToYourAccount }}

@@ -264,26 +264,26 @@ select.pf-c-form-control.pf-m-success { --pf-c-form-control--PaddingRight: var(-
- +
diff --git a/pkg/server/selectprovider/templates.go b/pkg/server/selectprovider/templates.go index ae01a1439..7c4fcab6e 100644 --- a/pkg/server/selectprovider/templates.go +++ b/pkg/server/selectprovider/templates.go @@ -188,9 +188,9 @@ body { background-color: var(--pf-global--BackgroundColor--dark-100); }
{{ if eq (len .Providers) 1}} - Log In + {{ .Locale.LogIn }} {{ else }} -

Log in with…

+

{{ .Locale.LogInWith }}…