🔖chore(text): Optimize the text prompts on the login and registration pages

This commit is contained in:
Apple\Apple
2025-06-04 08:46:21 +08:00
parent 5fa9966a4e
commit 9693df9bf3
3 changed files with 10 additions and 10 deletions

View File

@@ -294,7 +294,7 @@ const LoginForm = () => {
theme='outline' theme='outline'
className="w-full h-12 flex items-center justify-center !rounded-full border border-gray-200 hover:bg-gray-50 transition-colors" className="w-full h-12 flex items-center justify-center !rounded-full border border-gray-200 hover:bg-gray-50 transition-colors"
type="tertiary" type="tertiary"
icon={<IconGithubLogo size="large" style={{ color: '#24292e' }} />} icon={<IconGithubLogo size="large" />}
size="large" size="large"
onClick={handleGitHubClick} onClick={handleGitHubClick}
loading={githubLoading} loading={githubLoading}
@@ -353,7 +353,7 @@ const LoginForm = () => {
onClick={handleEmailLoginClick} onClick={handleEmailLoginClick}
loading={emailLoginLoading} loading={emailLoginLoading}
> >
<span className="ml-3">{t('使用 邮箱 登录')}</span> <span className="ml-3">{t('使用 邮箱或用户名 登录')}</span>
</Button> </Button>
</div> </div>
@@ -395,8 +395,8 @@ const LoginForm = () => {
<Form className="space-y-3"> <Form className="space-y-3">
<Form.Input <Form.Input
field="username" field="username"
label={t('邮箱')} label={t('用户名或邮箱')}
placeholder={t('请输入您的邮箱地址')} placeholder={t('请输入您的用户名或邮箱地址')}
name="username" name="username"
size="large" size="large"
className="!rounded-md" className="!rounded-md"

View File

@@ -300,7 +300,7 @@ const RegisterForm = () => {
theme='outline' theme='outline'
className="w-full h-12 flex items-center justify-center !rounded-full border border-gray-200 hover:bg-gray-50 transition-colors" className="w-full h-12 flex items-center justify-center !rounded-full border border-gray-200 hover:bg-gray-50 transition-colors"
type="tertiary" type="tertiary"
icon={<IconGithubLogo size="large" style={{ color: '#24292e' }} />} icon={<IconGithubLogo size="large" />}
size="large" size="large"
onClick={handleGitHubClick} onClick={handleGitHubClick}
loading={githubLoading} loading={githubLoading}
@@ -359,7 +359,7 @@ const RegisterForm = () => {
onClick={handleEmailRegisterClick} onClick={handleEmailRegisterClick}
loading={emailRegisterLoading} loading={emailRegisterLoading}
> >
<span className="ml-3">{t('使用 邮箱 注册')}</span> <span className="ml-3">{t('使用 用户名 注册')}</span>
</Button> </Button>
</div> </div>

View File

@@ -6,15 +6,15 @@
"或": "or", "或": "or",
"登 录": "Log In", "登 录": "Log In",
"注 册": "Sign Up", "注 册": "Sign Up",
"使用 邮箱 登录": "Sign in with Email", "使用 邮箱或用户名 登录": "Sign in with Email or Username",
"使用 GitHub 继续": "Continue with GitHub", "使用 GitHub 继续": "Continue with GitHub",
"使用 OIDC 继续": "Continue with OIDC", "使用 OIDC 继续": "Continue with OIDC",
"使用 微信 继续": "Continue with WeChat", "使用 微信 继续": "Continue with WeChat",
"使用 LinuxDO 继续": "Continue with LinuxDO", "使用 LinuxDO 继续": "Continue with LinuxDO",
"使用 邮箱 注册": "Sign up with Email", "使用 用户名 注册": "Sign up with Username",
"其他登录选项": "Other login options", "其他登录选项": "Other login options",
"其他注册选项": "Other registration options", "其他注册选项": "Other registration options",
"请输入您的邮箱地址": "Please enter your email address", "请输入您的用户名或邮箱地址": "Please enter your username or email address",
"请输入您的密码": "Please enter your password", "请输入您的密码": "Please enter your password",
"继续": "Continue", "继续": "Continue",
"%d 点额度": "%d point quota", "%d 点额度": "%d point quota",
@@ -585,7 +585,7 @@
"您正在使用默认密码!": "You are using the default password!", "您正在使用默认密码!": "You are using the default password!",
"请立刻修改默认密码!": "Please change the default password immediately!", "请立刻修改默认密码!": "Please change the default password immediately!",
"请输入用户名和密码!": "Please enter username and password!", "请输入用户名和密码!": "Please enter username and password!",
"用户名/邮箱": "Username/email", "用户名邮箱": "Username or email",
"微信扫码登录": "WeChat scan code to log in", "微信扫码登录": "WeChat scan code to log in",
"刷新成功": "Refresh successful", "刷新成功": "Refresh successful",
"刷新失败": "Refresh failed", "刷新失败": "Refresh failed",