docs: add simplified Chinese README#58
Merged
Merged
Conversation
formatDate previously passed undefined to toLocaleDateString, falling back to the system locale. The component already subscribes to i18n via useTranslation, so read the resolved language and pass it through. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds README.zh-CN.md with a complete Chinese translation. Terminology follows src/lib/i18n/locales/zh/ where applicable (Agent → 智能体 kept as English Agent for tighter brand voice; pack → 套装; disable → 禁用; trust tiers → 安全/低风险/需复核). Off-glossary terms verified online for natural Chinese tech usage. Adds language switcher between English and Chinese near the top of both files. Drops the inaccurate "shows as two distinct entries" line about scope filtering (current behavior groups them).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
README.zh-CN.md, a complete simplified Chinese translation of the README, with language switcher links between the two filessrc/lib/i18n/locales/zh/where applicable; off-glossary terms verified against common Chinese tech writing rather than literal calquesfix(extensions): use i18n locale for installed date format— theformatDatehelper inextension-detail.tsxwas falling back to system locale, so the install date appeared in English even when the UI was in Chinese (e.g.Feb 11, 2026安装). Now readsi18n.resolvedLanguage, mirroringformatRelativeTimeTest plan
README.mdandREADME.zh-CN.mdon GitHub; verify the language switcher links work and anchors resolve2026年2月11日(notFeb 11, 2026)Feb 11, 2026🤖 Generated with Claude Code