From d95d4dc737b4cf4347cc96b8aa3a8e9a21a96a99 Mon Sep 17 00:00:00 2001 From: Moritz Date: Tue, 24 Feb 2026 11:42:24 +0100 Subject: [PATCH] Fix gettext msgid for OIDC sign-in button after strategy rename Phoenix.Naming.humanize(:oidc) = "Oidc", so the generated msgid is "Sign in with Oidc" (previously "Sign in with Rauthy" for :rauthy). Update all .po/.pot files so the "Single Sign On" translation matches. --- priv/gettext/auth.pot | 5 +++-- priv/gettext/de/LC_MESSAGES/auth.po | 2 +- priv/gettext/en/LC_MESSAGES/auth.po | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/priv/gettext/auth.pot b/priv/gettext/auth.pot index 8526061..8608e17 100644 --- a/priv/gettext/auth.pot +++ b/priv/gettext/auth.pot @@ -59,9 +59,10 @@ msgstr "" msgid "Sign in" msgstr "" -## Dynamic string from ash_authentication_phoenix OAuth2 component (strategy_name = "Rauthy"). +## Dynamic string from ash_authentication_phoenix OAuth2 component (strategy_name = "Oidc"). ## Not auto-extractable because the msgid is constructed at runtime via string interpolation. -msgid "Sign in with Rauthy" +## Generated by Phoenix.Naming.humanize(:oidc) = "Oidc" +msgid "Sign in with Oidc" msgstr "" msgid "Signing in ..." diff --git a/priv/gettext/de/LC_MESSAGES/auth.po b/priv/gettext/de/LC_MESSAGES/auth.po index 82647b8..67e8551 100644 --- a/priv/gettext/de/LC_MESSAGES/auth.po +++ b/priv/gettext/de/LC_MESSAGES/auth.po @@ -58,7 +58,7 @@ msgstr "Neues Passwort setzen" msgid "Sign in" msgstr "Anmelden" -msgid "Sign in with Rauthy" +msgid "Sign in with Oidc" msgstr "Single Sign On" msgid "Signing in ..." diff --git a/priv/gettext/en/LC_MESSAGES/auth.po b/priv/gettext/en/LC_MESSAGES/auth.po index 4112623..0ec49bc 100644 --- a/priv/gettext/en/LC_MESSAGES/auth.po +++ b/priv/gettext/en/LC_MESSAGES/auth.po @@ -55,7 +55,7 @@ msgstr "" msgid "Sign in" msgstr "" -msgid "Sign in with Rauthy" +msgid "Sign in with Oidc" msgstr "Single Sign On" msgid "Signing in ..."