Skip to content

i18n(zh-CN): Updated Simplified Chinese translation#1546

Merged
ascorbic merged 1 commit into
emdash-cms:mainfrom
ayfl269:main
Jun 19, 2026
Merged

i18n(zh-CN): Updated Simplified Chinese translation#1546
ascorbic merged 1 commit into
emdash-cms:mainfrom
ayfl269:main

Conversation

@ayfl269

@ayfl269 ayfl269 commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Updated Simplified Chinese translation

Type of change

  • Bug fix
  • Feature (requires maintainer-approved Discussion)
  • Refactor (no behavior change)
  • Translation
  • Documentation
  • Performance improvement
  • Tests
  • Chore (dependencies, CI, tooling)

Checklist

  • I have read CONTRIBUTING.md
  • pnpm typecheck passes
  • pnpm lint passes
  • pnpm test passes (or targeted tests for my change)
  • pnpm format has been run
  • I have added/updated tests for my changes (if applicable)
  • User-visible strings in the admin UI are wrapped for translation (if applicable). Do not include messages.po changes except in translation PRs — a workflow extracts catalogs on merge to main.
  • I have added a changeset (if this PR changes a published package)
  • New features link to an approved Discussion: https://github.com/emdash-cms/emdash/discussions/...

AI-generated code disclosure

  • This PR includes AI-generated code — model/tool:

Screenshots / test output

@changeset-bot

changeset-bot Bot commented Jun 19, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 4b56e9d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions Bot added review/needs-review No maintainer or bot review yet area/admin size/S labels Jun 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
packages/admin/src/locales/zh-CN/messages.po Localization changed, will be marked as complete.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@pkg-pr-new

pkg-pr-new Bot commented Jun 19, 2026

Copy link
Copy Markdown

Open in StackBlitz

@emdash-cms/admin

npm i https://pkg.pr.new/@emdash-cms/admin@1546

@emdash-cms/auth

npm i https://pkg.pr.new/@emdash-cms/auth@1546

@emdash-cms/auth-atproto

npm i https://pkg.pr.new/@emdash-cms/auth-atproto@1546

@emdash-cms/blocks

npm i https://pkg.pr.new/@emdash-cms/blocks@1546

@emdash-cms/cloudflare

npm i https://pkg.pr.new/@emdash-cms/cloudflare@1546

@emdash-cms/contentful-to-portable-text

npm i https://pkg.pr.new/@emdash-cms/contentful-to-portable-text@1546

emdash

npm i https://pkg.pr.new/emdash@1546

create-emdash

npm i https://pkg.pr.new/create-emdash@1546

@emdash-cms/gutenberg-to-portable-text

npm i https://pkg.pr.new/@emdash-cms/gutenberg-to-portable-text@1546

@emdash-cms/plugin-cli

npm i https://pkg.pr.new/@emdash-cms/plugin-cli@1546

@emdash-cms/plugin-types

npm i https://pkg.pr.new/@emdash-cms/plugin-types@1546

@emdash-cms/registry-client

npm i https://pkg.pr.new/@emdash-cms/registry-client@1546

@emdash-cms/registry-lexicons

npm i https://pkg.pr.new/@emdash-cms/registry-lexicons@1546

@emdash-cms/sandbox-workerd

npm i https://pkg.pr.new/@emdash-cms/sandbox-workerd@1546

@emdash-cms/x402

npm i https://pkg.pr.new/@emdash-cms/x402@1546

@emdash-cms/plugin-ai-moderation

npm i https://pkg.pr.new/@emdash-cms/plugin-ai-moderation@1546

@emdash-cms/plugin-atproto

npm i https://pkg.pr.new/@emdash-cms/plugin-atproto@1546

@emdash-cms/plugin-audit-log

npm i https://pkg.pr.new/@emdash-cms/plugin-audit-log@1546

@emdash-cms/plugin-color

npm i https://pkg.pr.new/@emdash-cms/plugin-color@1546

@emdash-cms/plugin-embeds

npm i https://pkg.pr.new/@emdash-cms/plugin-embeds@1546

@emdash-cms/plugin-field-kit

npm i https://pkg.pr.new/@emdash-cms/plugin-field-kit@1546

@emdash-cms/plugin-forms

npm i https://pkg.pr.new/@emdash-cms/plugin-forms@1546

@emdash-cms/plugin-webhook-notifier

npm i https://pkg.pr.new/@emdash-cms/plugin-webhook-notifier@1546

commit: 4b56e9d

@emdashbot emdashbot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approach: This is a straightforward, well-scoped translation PR. It fills in 5 previously-empty msgstr entries in the Simplified Chinese catalog (packages/admin/src/locales/zh-CN/messages.po) — the only file changed. zh-CN is an enabled locale, and messages.po changes are exactly what a translation PR is supposed to ship (AGENTS.md only discourages them in non-translation PRs). No code changes, so no changeset, test, or i18n-wrapping concerns apply.

What I checked:

  • Placeholder preservation: the {0} in "Mark {0} as Gone (410)" → "标记 {0} 已删除(410)" is intact.
  • Punctuation preservation: the em-dash in the source ("—", U+2014) is byte-identical (342 200 224) in the translated string.
  • Style consistency: new entries use full-width Chinese parentheses () and keep "URL:" as-is, matching the existing style in the same file (e.g. the "URL 友好的标识符(例如…)" entry).
  • File integrity: msgid/msgstr counts stay balanced (1754/1754), the UTF-8 Content-Type header is intact, no new value contains an unescaped ASCII double-quote, and no trailing whitespace was introduced. The 3 remaining empty msgstr lines are pre-existing (one is the standard PO header msgid "", two are other untranslated strings this PR doesn't touch) — partial coverage is fine.
  • Translation accuracy: all five translations ("410 Content Deleted (Gone)", "451 Unavailable for legal reasons", the two "Mark … as Gone (410)" variants, and "URL:") are accurate and idiomatic.

Conclusion: Clean. No findings. Approve.

@github-actions github-actions Bot added review/approved Approved; no new commits since and removed review/needs-review No maintainer or bot review yet labels Jun 19, 2026

@ascorbic ascorbic left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks!

@ascorbic ascorbic merged commit 69fb8e4 into emdash-cms:main Jun 19, 2026
45 of 46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/admin review/approved Approved; no new commits since size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants