Skip to content

fix(i18n): complete missing Simplified Chinese translations#6084

Merged
boojack merged 1 commit into
usememos:mainfrom
WindLX:fix/zh-hans-missing-translations
Jul 12, 2026
Merged

fix(i18n): complete missing Simplified Chinese translations#6084
boojack merged 1 commit into
usememos:mainfrom
WindLX:fix/zh-hans-missing-translations

Conversation

@WindLX

@WindLX WindLX commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Complete the missing Simplified Chinese translations for:

  • Editor formatting toolbar
  • Memo layout options and visibility descriptions
  • S3 TLS verification settings

This prevents these labels from falling back to English when using the Simplified Chinese locale.

  • Verified that zh-Hans.json contains all keys from en.json
  • Switched the application locale to Simplified Chinese
  • Checked the formatting toolbar, memo layout selector, and relevant settings
  • Ran pnpm lint, pnpm test, pnpm build

Complete the missing Simplified Chinese translations for:

- Editor formatting toolbar
- Memo layout options and visibility descriptions
- S3 TLS verification settings

This prevents these labels from falling back to English when using the Simplified Chinese locale.

- Verified that `zh-Hans.json` contains all keys from `en.json`
- Switched the application locale to Simplified Chinese
- Checked the formatting toolbar, memo layout selector, and relevant settings
- Ran `pnpm lint`, `pnpm test`, `pnpm build`
@WindLX
WindLX requested a review from a team as a code owner July 12, 2026 11:02
@coderabbitai

coderabbitai Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b43718e2-67c1-418e-8fbc-7c67282b119c

📥 Commits

Reviewing files that changed from the base of the PR and between 3fe1450 and 4fb6050.

📒 Files selected for processing (1)
  • web/src/locales/zh-Hans.json

📝 Walkthrough

Walkthrough

Changes

The Simplified Chinese locale adds translations for editor formatting controls, memo layouts and visibility descriptions, link-related states, a new badge, and the storage TLS verification setting.

Simplified Chinese locale updates

Layer / File(s) Summary
Editor formatting translations
web/src/locales/zh-Hans.json
Adds labels for the formatting toolbar, rich-text styles, headings, lists, tasks, code, and links.
Memo interface translations
web/src/locales/zh-Hans.json
Adds memo layout options, link preview and paging states, a new badge, and visibility descriptions.
Storage TLS setting translation
web/src/locales/zh-Hans.json
Adds translations for skipping TLS verification on S3-compatible endpoints and its description.

Suggested reviewers: boojack

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: completing missing Simplified Chinese translations.
Description check ✅ Passed The description is directly related to the translation updates and validation steps in this PR.
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.

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.

@boojack
boojack merged commit 375e2bc into usememos:main Jul 12, 2026
3 checks passed
@WindLX
WindLX deleted the fix/zh-hans-missing-translations branch July 12, 2026 15:16
lincolnthalles pushed a commit to lincolnthalles/memos that referenced this pull request Jul 14, 2026
huzhi-zhao pushed a commit to huzhi-zhao/toucan-shelf that referenced this pull request Jul 16, 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.

2 participants