Added i18n multilingual support#614
Conversation
|
Important Review skippedToo many files! This PR contains 295 files, which is 145 over the limit of 150. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (5)
📒 Files selected for processing (295)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
- 重构 useAccessControl hook 支持多规则管理 - 新增 RuleEditor 组件,支持规则展开/折叠 - 添加 Action 选择器(accept/drop) - 支持添加/删除规则 - 支持规则独立启用/禁用 - 添加规则名称和描述字段 - 更新 UI 设计,更直观易用
- 修复第 115 行的语法错误:缺少右括号 - 确保可以正常构建
- 修复不能重新赋值 const 变量的编译错误
- 正确处理 (prev) => next 函数形式的 onChange
- SSHAccessType - SSHAuthorizedGroups - PortSelector
1. 主题问题:移除硬编码的浅色主题类 2. 编辑已有规则时没有自动带出:兼容旧格式的 policy 3. 清理多余的 import
Description
I have added internationalization (i18n) multilingual support functionality based on the original codebase.
Changes
Added i18n multilingual support, and has completed the translation of most Chinese languages.