From 076d89b5b5e2e4e5fae9a02322d5245c58ecbc57 Mon Sep 17 00:00:00 2001 From: Subv Date: Fri, 29 May 2020 23:05:17 -0500 Subject: [PATCH] Use localized strings for the OpenID Connect texts. --- frontend/js/app/nginx/proxy/form.ejs | 18 +++++++++--------- frontend/js/i18n/messages.json | 11 ++++++++++- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/frontend/js/app/nginx/proxy/form.ejs b/frontend/js/app/nginx/proxy/form.ejs index 41acf6c..6d8b484 100644 --- a/frontend/js/app/nginx/proxy/form.ejs +++ b/frontend/js/app/nginx/proxy/form.ejs @@ -11,7 +11,7 @@ - +
@@ -280,25 +280,25 @@
- +
- +
- +
- +
@@ -323,13 +323,13 @@
- +
diff --git a/frontend/js/i18n/messages.json b/frontend/js/i18n/messages.json index 9feb82d..bfdc072 100644 --- a/frontend/js/i18n/messages.json +++ b/frontend/js/i18n/messages.json @@ -130,7 +130,16 @@ "access-list": "Access List", "allow-websocket-upgrade": "Websockets Support", "ignore-invalid-upstream-ssl": "Ignore Invalid SSL", - "custom-forward-host-help": "Use 1.1.1.1/path for sub-folder forwarding" + "custom-forward-host-help": "Use 1.1.1.1/path for sub-folder forwarding", + "oidc": "OpenID Connect", + "oidc-enabled": "Use OpenID Connect authentication", + "oidc-redirect-uri": "Redirect URI", + "oidc-discovery-endpoint": "Well-known discovery endpoint", + "oidc-token-auth-method": "Token endpoint auth method", + "oidc-client-id": "Client ID", + "oidc-client-secret": "Client secret", + "oidc-allow-only-emails": "Allow only these user emails", + "oidc-allowed-emails": "Allowed email addresses" }, "redirection-hosts": { "title": "Redirection Hosts",