mirror of
https://github.com/we-promise/sure.git
synced 2026-08-12 11:10:20 +00:00
Add localization for onboarding goals across multiple languages (#873)
* Add localization for onboarding goals across multiple languages * Add password requirements localization for multiple languages * Refactor localization keys for authentication messages * Add `oidc` localization key for multiple languages * Add OIDC account localization for multiple languages * Add localization for trial and profile setup across multiple languages * Refactor OIDC button label fallback to prioritize label presence over localization key * Refactor onboarding tests to use I18n for text assertions and button labels * Linter * Last test fix?!? * We keep both `oidc` and `openid_connect` due to contatenation issues --------- Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ default: &default
|
||||
- id: "oidc"
|
||||
strategy: "openid_connect"
|
||||
name: "openid_connect"
|
||||
label: <%= ENV.fetch("OIDC_BUTTON_LABEL", "Sign in with OpenID Connect") %>
|
||||
label: <%= ENV.fetch("OIDC_BUTTON_LABEL", "") %>
|
||||
icon: <%= ENV.fetch("OIDC_BUTTON_ICON", "key") %>
|
||||
# Per-provider credentials (optional, falls back to global OIDC_* vars)
|
||||
issuer: <%= ENV["OIDC_ISSUER"] %>
|
||||
|
||||
Reference in New Issue
Block a user