🐛 fix: add temporary email auth error locale#14564
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0c44e6bca1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "codes.RATE_LIMIT_EXCEEDED": "请求过于频繁,请稍后再试", | ||
| "codes.SESSION_EXPIRED": "会话已过期,请重新登录", | ||
| "codes.SOCIAL_ACCOUNT_ALREADY_LINKED": "这个社交账号已被其他用户绑定,请使用其他账号", | ||
| "codes.TEMPORARY_EMAIL_NOT_ALLOWED": "暂不支持使用临时邮箱注册。请改用常规邮箱;重复尝试可能导致当前网络被限制。", |
There was a problem hiding this comment.
Regenerate the en-US entry locale
This zh-CN preview string is not durable unless the matching source JSON is updated too. The repo’s i18n entry is locales/en-US (.i18nrc.js), and scripts/i18nWorkflow/genDiff.ts compares that entry file against src/locales/default and unsets changed paths from output locales before genDefaultLocale rewrites en-US; because locales/en-US/authError.json still lacks codes.TEMPORARY_EMAIL_NOT_ALLOWED, the next pnpm i18n run will treat this as a new default key and remove the committed zh-CN translation. Please add the same key to locales/en-US/authError.json or run the workflow as part of this change.
Useful? React with 👍 / 👎.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## canary #14564 +/- ##
========================================
Coverage 68.86% 68.86%
========================================
Files 2634 2634
Lines 232130 232130
Branches 24626 23774 -852
========================================
Hits 159859 159859
Misses 72121 72121
Partials 150 150
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
💻 Change Type
🔗 Related Issue
Related to LOBE-8656
🔀 Description of Change
TEMPORARY_EMAIL_NOT_ALLOWEDauth error translation key.🧪 How to Test
📸 Screenshots / Videos
📝 Additional Information
No runtime behavior changes in OSS; this only adds a reusable auth error locale key.