diff --git a/messages/en-US.json b/messages/en-US.json index cf51ea8..c1e6321 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -85,8 +85,13 @@ "email": "Email", "password": "Password", "confirmPassword": "Confirm Password", + "name": "Name", + "signInButton": "Sign In", + "signUpButton": "Sign Up", "noAccount": "Don't have an account?", "hasAccount": "Already have an account?", + "signInWithGitHub": "Sign In with GitHub", + "signUpWithGitHub": "Sign Up with GitHub", "invalidEmail": "Please enter a valid email address", "passwordTooShort": "Password must be at least 8 characters", "passwordsNotMatch": "Passwords do not match", diff --git a/messages/zh-CN.json b/messages/zh-CN.json index e7d12ec..d6e0ba0 100644 --- a/messages/zh-CN.json +++ b/messages/zh-CN.json @@ -85,8 +85,13 @@ "email": "邮箱", "password": "密码", "confirmPassword": "确认密码", + "name": "用户名", + "signInButton": "登录", + "signUpButton": "注册", "noAccount": "还没有账户?", "hasAccount": "已有账户?", + "signInWithGitHub": "使用 GitHub 登录", + "signUpWithGitHub": "使用 GitHub 注册", "invalidEmail": "请输入有效的邮箱地址", "passwordTooShort": "密码至少需要8个字符", "passwordsNotMatch": "两次输入的密码不匹配", diff --git a/src/app/(features)/alphabet/AlphabetCard.tsx b/src/app/(features)/alphabet/AlphabetCard.tsx index 38b4036..fd14856 100644 --- a/src/app/(features)/alphabet/AlphabetCard.tsx +++ b/src/app/(features)/alphabet/AlphabetCard.tsx @@ -207,34 +207,15 @@ export default function AlphabetCard({ alphabet, alphabetType, onBack }: Alphabe - {/* 中间区域:随机按钮或进度条 */} + {/* 中间区域:随机按钮 */}
- {isRandomMode ? ( - // 随机模式:显示随机切换按钮 + {isRandomMode && ( - ) : ( - // 顺序模式:显示进度点 -
- {alphabet.slice(0, 20).map((_, index) => ( -
- ))} - {/* 超过20个字母时显示省略号 */} - {alphabet.length > 20 && ( -
...
- )} -
)}