Skip to content

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

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

补全简体中文本土化的资源。#417
beautifulcn wants to merge 4 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
    • Added a Simplified Chinese privacy document detailing data handling, user controls (local run, opt-out, deletion), and consent language
    • Updated Security policy to state 48-hour acknowledgment and a 30-day fix/mitigation target for vulnerability reports
    • README files updated with dedicated Security and Privacy sections in both languages

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

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 9968bbf0-7ca0-4537-8654-aeb80fde56a1

📥 Commits

Reviewing files that changed from the base of the PR and between c1dcf5f and 61d67ba.

📒 Files selected for processing (1)
  • locales/zh-CN/PRIVACY.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • locales/zh-CN/PRIVACY.md

📝 Walkthrough

Walkthrough

Adds centered language selectors to English SECURITY.md and PRIVACY.md, inserts Security and Privacy sections into both READMEs, and adds Simplified Chinese translations for SECURITY.md and PRIVACY.md under locales/zh-CN/.

Changes

Security and Privacy Documentation with Bilingual Support

Layer / File(s) Summary
English security & privacy headers
SECURITY.md, PRIVACY.md
Added centered language selectors to policy headers; SECURITY.md also adds a 48-hour acknowledgment and 30-day fix/mitigation target paragraph.
English README navigation
README.md
Inserted new Security and Privacy sections (with links to SECURITY.md and PRIVACY.md) before the Contributing section.
Chinese translations and README links
locales/zh-CN/SECURITY.md, locales/zh-CN/PRIVACY.md, locales/zh-CN/README.md
Added Simplified Chinese SECURITY and PRIVACY documents with reporting timelines, data/usage descriptions, user controls, and updated Chinese README with Security and Privacy links.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 Soft hops of text in English and 中文,

Policies clear beneath the moon's glow,
Timelines promise, links side by side,
A bilingual trail where readers can glide,
🥕 safe and tidy, our docs now show.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is incomplete and does not follow the required template structure. Missing required sections include Related GitHub Issue (Closes), detailed Description with implementation details, Test Procedure, Pre-Submission Checklist, and other template sections. Complete the PR description by filling out all required template sections, particularly the GitHub issue link (Closes: #), detailed implementation description, and test procedures for verifying the localization changes.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main objective of adding complete Simplified Chinese localization resources, which aligns with the changes across SECURITY.md, PRIVACY.md, and README.md files.
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.

✏️ 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
Copy link
Copy Markdown
Contributor

@edelauna edelauna left a comment

Choose a reason for hiding this comment

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

Looks good - lets revert the the english version files and focus on locales/zh-CN

Comment thread locales/zh-CN/PRIVACY.md Outdated
Comment thread SECURITY.md
Co-authored-by: edelauna <54631123+edelauna@users.noreply.github.com>
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