diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index cc8689af6..3f0121caf 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -399,8 +399,6 @@ relevant_repositories = Only relevant repositories are being shown, <a href="%s" [auth] create_new_account = Register account -already_have_account = Already have an account? -sign_in_now = Sign in now! disable_register_prompt = Registration is disabled. Please contact your site administrator. disable_register_mail = Email confirmation for registration is disabled. manual_activation_only = Contact your site administrator to complete activation. @@ -408,7 +406,8 @@ remember_me = Remember this device remember_me.compromised = The login token is not valid anymore which may indicate a compromised account. Please check your account for unusual activities. forgot_password_title= Forgot password forgot_password = Forgot password? -hint_register = Need an account? <a href="%s">Register now</a>. +hint_login = Already have an account? <a href="%s">Sign in now!</a> +hint_register = Need an account? <a href="%s">Register now.</a> sign_up_button = Register now. sign_up_successful = Account was successfully created. Welcome! confirmation_mail_sent_prompt = A new confirmation email has been sent to <b>%s</b>. Please check your inbox within the next %s to complete the registration process. If the email is incorrect, you can log in, and request another confirmation email to be sent to a different address. diff --git a/templates/user/auth/signup_inner.tmpl b/templates/user/auth/signup_inner.tmpl index 08507e545..db5991802 100644 --- a/templates/user/auth/signup_inner.tmpl +++ b/templates/user/auth/signup_inner.tmpl @@ -57,8 +57,7 @@ <div class="ui attached segment header top tw-flex tw-flex-col tw-items-center"> {{if not .LinkAccountMode}} <div class="field"> - <span>{{ctx.Locale.Tr "auth.already_have_account"}}</span> - <a href="{{AppSubUrl}}/user/login">{{ctx.Locale.Tr "auth.sign_in_now"}}</a> + {{ctx.Locale.Tr "auth.hint_login" (printf "%s/user/login" AppSubUrl)}} </div> {{end}} </div>