From f7607138abc89aabc15589fae105e4e16139cc71 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Sun, 6 Oct 2024 11:56:16 +0800 Subject: [PATCH] feat: refine i18n for login method selection button Signed-off-by: Ryan Wang --- .../templates/gateway_modules/login_fragments.html | 6 ++++-- .../templates/gateway_modules/login_fragments.properties | 5 ++++- .../templates/gateway_modules/login_fragments_en.properties | 5 ++++- .../templates/gateway_modules/login_fragments_es.properties | 3 +++ .../gateway_modules/login_fragments_zh_TW.properties | 3 +++ 5 files changed, 18 insertions(+), 4 deletions(-) diff --git a/application/src/main/resources/templates/gateway_modules/login_fragments.html b/application/src/main/resources/templates/gateway_modules/login_fragments.html index ed976a4843..a68afd8cc5 100644 --- a/application/src/main/resources/templates/gateway_modules/login_fragments.html +++ b/application/src/main/resources/templates/gateway_modules/login_fragments.html @@ -48,7 +48,9 @@
  • - +
  • @@ -95,4 +97,4 @@ - \ No newline at end of file + diff --git a/application/src/main/resources/templates/gateway_modules/login_fragments.properties b/application/src/main/resources/templates/gateway_modules/login_fragments.properties index 99ab4a3175..3fff48bb38 100644 --- a/application/src/main/resources/templates/gateway_modules/login_fragments.properties +++ b/application/src/main/resources/templates/gateway_modules/login_fragments.properties @@ -11,4 +11,7 @@ form.submit=登录 otherLogin.label=其他登录方式 signup.description=没有账号? signup.link=立即注册 -returnToSite=返回网站 \ No newline at end of file +returnToSite=返回网站 + +# Rule: `formAuthProviders.${provider.metadata.name}.displayName` +formAuthProviders.local.displayName=账号密码登录 \ No newline at end of file diff --git a/application/src/main/resources/templates/gateway_modules/login_fragments_en.properties b/application/src/main/resources/templates/gateway_modules/login_fragments_en.properties index dbe74bc626..635490b0f7 100644 --- a/application/src/main/resources/templates/gateway_modules/login_fragments_en.properties +++ b/application/src/main/resources/templates/gateway_modules/login_fragments_en.properties @@ -11,4 +11,7 @@ form.submit=Login otherLogin.label=Other Login signup.description=Don't have an account? signup.link=Sign up -returnToSite=Return to site \ No newline at end of file +returnToSite=Return to site + +# Rule: `formAuthProviders.${provider.metadata.name}.displayName` +formAuthProviders.local.displayName=Login with credentials \ No newline at end of file diff --git a/application/src/main/resources/templates/gateway_modules/login_fragments_es.properties b/application/src/main/resources/templates/gateway_modules/login_fragments_es.properties index ae350b0a6b..c9f553e015 100644 --- a/application/src/main/resources/templates/gateway_modules/login_fragments_es.properties +++ b/application/src/main/resources/templates/gateway_modules/login_fragments_es.properties @@ -11,3 +11,6 @@ otherLogin.label=Otras formas de inicio de sesión signup.description=¿No tienes una cuenta? signup.link=Regístrate ahora returnToSite=Volver al sitio + +# Rule: `formAuthProviders.${provider.metadata.name}.displayName` +formAuthProviders.local.displayName=Iniciar sesión con credenciales \ No newline at end of file diff --git a/application/src/main/resources/templates/gateway_modules/login_fragments_zh_TW.properties b/application/src/main/resources/templates/gateway_modules/login_fragments_zh_TW.properties index 42fb89cc01..485fa6b246 100644 --- a/application/src/main/resources/templates/gateway_modules/login_fragments_zh_TW.properties +++ b/application/src/main/resources/templates/gateway_modules/login_fragments_zh_TW.properties @@ -11,3 +11,6 @@ otherLogin.label=其他登入方式 signup.description=沒有帳號? signup.link=立即註冊 returnToSite=返回網站 + +# Rule: `formAuthProviders.${provider.metadata.name}.displayName` +formAuthProviders.local.displayName=帳號密碼登入 \ No newline at end of file