From 60ce0d92206badfa99ea237ecf39f235c0593248 Mon Sep 17 00:00:00 2001 From: Sam Firke Date: Fri, 16 May 2025 16:52:20 -0400 Subject: [PATCH 1/2] fix(login): capitalize OAuth provider --- .../templates/appbuilder/general/security/login_oauth.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask_appbuilder/templates/appbuilder/general/security/login_oauth.html b/flask_appbuilder/templates/appbuilder/general/security/login_oauth.html index e1b79ad846..5e8a9be827 100644 --- a/flask_appbuilder/templates/appbuilder/general/security/login_oauth.html +++ b/flask_appbuilder/templates/appbuilder/general/security/login_oauth.html @@ -17,7 +17,7 @@ class="btn btn-primary btn-block" type="submit" > - {{_('Sign In with ')}}{{ provider.name }} + {{_('Sign in with ')}}{{ provider.name | capitalize}} {% endfor %} From b7dd407f3909778fc815a06fe93b755cbb45c30c Mon Sep 17 00:00:00 2001 From: Sam Firke Date: Fri, 16 May 2025 16:59:44 -0400 Subject: [PATCH 2/2] update string in .po translations --- flask_appbuilder/translations/fa/LC_MESSAGES/messages.po | 2 +- flask_appbuilder/translations/sl/LC_MESSAGES/messages.po | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flask_appbuilder/translations/fa/LC_MESSAGES/messages.po b/flask_appbuilder/translations/fa/LC_MESSAGES/messages.po index 5dfdfc193e..e074f29d3a 100644 --- a/flask_appbuilder/translations/fa/LC_MESSAGES/messages.po +++ b/flask_appbuilder/translations/fa/LC_MESSAGES/messages.po @@ -778,7 +778,7 @@ msgid "Register" msgstr "ثبت نام" #: flask_appbuilder/templates/appbuilder/general/security/login_oauth.html:20 -msgid "Sign In with " +msgid "Sign in with " msgstr "ورود با" #: flask_appbuilder/templates/appbuilder/general/security/login_oid.html:15 diff --git a/flask_appbuilder/translations/sl/LC_MESSAGES/messages.po b/flask_appbuilder/translations/sl/LC_MESSAGES/messages.po index 701480f102..7c1ce71915 100644 --- a/flask_appbuilder/translations/sl/LC_MESSAGES/messages.po +++ b/flask_appbuilder/translations/sl/LC_MESSAGES/messages.po @@ -662,7 +662,7 @@ msgid "Register" msgstr "Registracija" #: flask_appbuilder/templates/appbuilder/general/security/login_oauth.html:30 -msgid "Sign In with " +msgid "Sign in with " msgstr "Prijava z " #: flask_appbuilder/templates/appbuilder/general/security/login_oid.html:89