-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: i18n #2597
fix: i18n #2597
Conversation
Walkthrough本次更改主要集中在增强应用程序的本地化能力,新增了多个字符串属性和翻译,以支持用户界面中的编辑、重置、上传文件和头像裁剪功能。此外,对一些组件的代码进行了清理,删除了冗余的注释,以提高代码的可读性和维护性。 Changes
Possibly related PRs
Suggested labels
Tip OpenAI O1 model for chat
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@@ -72,7 +70,7 @@ const InternalCountDown: ForwardRefRenderFunction< | |||
isPaused: paused, | |||
isIninted: false, | |||
timer: 0, | |||
restTime: 0, // 倒计时剩余时间时间 | |||
restTime: 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
什么时候删注释,什么时候保留注释?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
语义化很强的 就删掉了~~~
@@ -119,7 +119,7 @@ const InternalSignature: ForwardRefRenderFunction< | |||
onConfirm && onConfirm(res.tempFilePath, isSignedRef.current) | |||
}, | |||
fail: (res) => { | |||
console.warn('保存失败') | |||
console.warn('保存失败', res) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里没文案吗
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个 warn 中~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warn 中是什么?等待提供翻译文案?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
日志数据,不处理多语言
单元测试未通过,需要修改一下 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #2597 +/- ##
==========================================
- Coverage 83.11% 82.95% -0.16%
==========================================
Files 218 219 +1
Lines 17817 17908 +91
Branches 2545 2547 +2
==========================================
+ Hits 14809 14856 +47
- Misses 3003 3047 +44
Partials 5 5 ☔ View full report in Codecov by Sentry. |
Summary by CodeRabbit
新特性
样式
文档