Skip to content

补全简体中文本土化的资源。#417

Open
beautifulcn wants to merge 3 commits into
Zoo-Code-Org:mainfrom
beautifulcn:main
Open

补全简体中文本土化的资源。#417
beautifulcn wants to merge 3 commits into
Zoo-Code-Org:mainfrom
beautifulcn:main

Conversation

@beautifulcn
Copy link
Copy Markdown

@beautifulcn beautifulcn commented May 30, 2026

已创建locales/zh-CN/SECURITY.md并locales/zh-CN/PRIVACY.md。
SECURITY.md向根目录添加了语言导航标头PRIVACY.md。
更新了根目录README.md和简体中文目录README.md,添加了安全和隐私相关的章节和链接。
已确认所有现有的 i18n JSON 键都已使用项目的翻译检查脚本本地化为简体中文。

Summary by CodeRabbit

  • Documentation
    • Privacy and Security policies now available in English and Simplified Chinese with language selectors
    • Updated Security policy with explicit timelines: 48-hour acknowledgment and 30-day fix/mitigation target for vulnerability reports
    • Enhanced README files with dedicated Security and Privacy sections in both languages

Review Change Stack

google-labs-jules Bot and others added 2 commits May 30, 2026 08:35
…olicies

- Created locales/zh-CN/SECURITY.md and locales/zh-CN/PRIVACY.md
- Added language navigation headers to root SECURITY.md and PRIVACY.md
- Updated README.md and locales/zh-CN/README.md to link to the new localized policies
- Verified existing translations with scripts/find-missing-translations.js

Co-authored-by: beautifulcn <16473795+beautifulcn@users.noreply.github.com>
…545495904

Comprehensive Simplified Chinese Localization for Security and Privacy Policies
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 30, 2026

📝 Walkthrough

Walkthrough

This PR introduces comprehensive security and privacy documentation for Zoo Code with bilingual support. English versions of SECURITY.md and PRIVACY.md are updated with language selectors. Both README files (English and Chinese) gain new Security and Privacy sections. Complete Chinese translations of the policies are added to the locales directory.

Changes

Security and Privacy Documentation with Bilingual Support

Layer / File(s) Summary
English Security Policy & Privacy Accessibility
SECURITY.md, PRIVACY.md
SECURITY.md adds a language selector header and commits to acknowledging vulnerability reports within 48 hours and targeting fixes within 30 days. PRIVACY.md includes a centered language selector linking to the Chinese translation.
English README Navigation Updates
README.md
New Security and Privacy sections are added to the README, each with a link to the corresponding policy document, positioned before the Contributing section.
Chinese Localization Package
locales/zh-CN/SECURITY.md, locales/zh-CN/PRIVACY.md, locales/zh-CN/README.md
Complete Chinese translations are provided: SECURITY.md covers supported versions, vulnerability reporting procedures, and response timelines; PRIVACY.md documents data flow, usage, user controls, and privacy guarantees; README.md includes matching Security and Privacy section references in Chinese.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 A safer path through policies clear,
In English and Chinese, both far and near,
Security and privacy, side by side,
With timelines true and trust as our guide!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request description is incomplete and does not follow the required template structure, missing critical sections like Related GitHub Issue, Test Procedure, and the Pre-Submission Checklist. Add the required template sections: link the related GitHub issue (Closes: #), detail test procedures, and complete the pre-submission checklist items.
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The PR title clearly describes the main objective: completing Simplified Chinese localization resources, which aligns with all the changes made across multiple files.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
locales/zh-CN/PRIVACY.md (1)

22-22: ⚡ Quick win

Consider using the more common simplified Chinese term for "account".

The term "帐户" can be updated to "账户", which is the more widely used simplified Chinese form for "account" in modern contexts.

📝 Suggested terminology update
-此数据与您的已认证 Zoo Code 帐户关联。您可以随时通过聊天区域的 Zoo Code 徽章退出登录,从而停止此类数据收集。
+此数据与您的已认证 Zoo Code 账户关联。您可以随时通过聊天区域的 Zoo Code 徽章退出登录,从而停止此类数据收集。
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@locales/zh-CN/PRIVACY.md` at line 22, Replace the use of the traditional/less
common simplified-Chinese term "帐户" with the more widely used "账户" in the
privacy copy — specifically update the phrase "已认证 Zoo Code 帐户" (and any other
occurrences of "帐户") to "已认证 Zoo Code 账户" so the wording matches modern
simplified Chinese usage.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@locales/zh-CN/PRIVACY.md`:
- Line 22: Replace the use of the traditional/less common simplified-Chinese
term "帐户" with the more widely used "账户" in the privacy copy — specifically
update the phrase "已认证 Zoo Code 帐户" (and any other occurrences of "帐户") to "已认证
Zoo Code 账户" so the wording matches modern simplified Chinese usage.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f7cc8c0f-a632-4291-a39f-e409d15443a2

📥 Commits

Reviewing files that changed from the base of the PR and between 71db2e6 and c1dcf5f.

📒 Files selected for processing (6)
  • PRIVACY.md
  • README.md
  • SECURITY.md
  • locales/zh-CN/PRIVACY.md
  • locales/zh-CN/README.md
  • locales/zh-CN/SECURITY.md

@beautifulcn beautifulcn changed the title 补全简体中文本土化本土化的资源。 补全简体中文本土化的资源。 May 30, 2026
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.

1 participant