Skip to content

l10n: update translations - #911

Closed
devhaozi wants to merge 9 commits into
mainfrom
l10n
Closed

l10n: update translations#911
devhaozi wants to merge 9 commits into
mainfrom
l10n

Conversation

@devhaozi

@devhaozi devhaozi commented Aug 4, 2025

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • 文档
    • 更新了简体中文和繁体中文界面翻译文件的元数据和源代码引用行号。
    • 移除了多个DNS服务提供商相关的API密钥和令牌翻译条目。
    • 保持了翻译内容不变,仅同步了翻译文件与代码库的对应关系。

h2zi added 4 commits August 4, 2025 17:55
Update translations (Chinese Simplified) backend.pot
Update translations (Chinese Traditional) backend.pot
Update translations (Chinese Simplified) frontend.pot
Update translations (Chinese Traditional) frontend.pot
@coderabbitai

coderabbitai Bot commented Aug 4, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

本次变更涉及 Rat Panel 项目中简体中文(zh_CN)和繁体中文(zh_TW)多个翻译文件的更新,主要是同步源代码行号引用、更新元数据、移除部分过时的 DNS 提供商相关翻译条目,未修改任何翻译文本内容或代码逻辑。

Changes

Cohort / File(s) Change Summary
简体中文后端翻译更新
pkg/embed/locales/zh_CN/backend.po
更新源代码引用行号,调整元数据,移除部分证书提供商和 DNS 相关条目,未改动翻译文本内容。
繁体中文后端翻译更新
pkg/embed/locales/zh_TW/backend.po
同步源代码引用行号,更新元数据,删除部分 DNS 提供商相关条目,保持翻译文本不变。
简体中文前端翻译更新
web/src/locales/zh_CN.po
更新元数据,调整多处源代码引用行号,移除若干 DNS API key/token 相关翻译条目,未修改翻译文本。
繁体中文前端翻译更新
web/src/locales/zh_TW.po
更新元数据,调整源代码引用行号,删除部分 DNS API key/token 相关翻译条目,翻译文本内容保持不变。

Estimated code review effort

🎯 1 (琐碎) | ⏱️ ~3 分钟

Possibly related PRs

  • l10n: update translations #761:同样更新了 pkg/embed/locales/zh_CN/backend.pozh_TW/backend.po 文件的源代码引用行号和元数据,内容与本 PR 相关。
  • l10n: update translations #867:涉及翻译文件的行号和元数据更新,本 PR 侧重移除部分 DNS 提供商条目,二者在翻译维护方面相关。
  • l10n: update translations #750:同为翻译文件更新,虽然具体变更内容不同,但与本 PR 共同维护翻译文件的完整性和同步性。

Suggested labels

size/S

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4910152 and 30de66c.

📒 Files selected for processing (4)
  • pkg/embed/locales/zh_CN/backend.po (34 hunks)
  • pkg/embed/locales/zh_TW/backend.po (34 hunks)
  • web/src/locales/zh_CN.po (6 hunks)
  • web/src/locales/zh_TW.po (6 hunks)
✅ Files skipped from review due to trivial changes (4)
  • pkg/embed/locales/zh_CN/backend.po
  • web/src/locales/zh_CN.po
  • web/src/locales/zh_TW.po
  • pkg/embed/locales/zh_TW/backend.po
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: backend (amd64)
  • GitHub Check: backend (arm64)
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch l10n

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.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

h2zi added 4 commits August 4, 2025 18:13
Update translations (Chinese Simplified) backend.pot
Update translations (Chinese Traditional) backend.pot
Update translations (Chinese Simplified) frontend.pot
Update translations (Chinese Traditional) frontend.pot
Update translations (Chinese Simplified) frontend.pot
@devhaozi devhaozi closed this Aug 4, 2025
@devhaozi
devhaozi deleted the l10n branch August 4, 2025 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants