Skip to content

fix(phrases): correct Chinese translation of Passkey#8870

Merged
charIeszhao merged 1 commit into
logto-io:masterfrom
rotempasharel1:fix/issue-8837-l10n-passkey
May 27, 2026
Merged

fix(phrases): correct Chinese translation of Passkey#8870
charIeszhao merged 1 commit into
logto-io:masterfrom
rotempasharel1:fix/issue-8837-l10n-passkey

Conversation

@rotempasharel1
Copy link
Copy Markdown
Contributor

@rotempasharel1 rotempasharel1 commented May 25, 2026

Summary

Fixes #8837

This PR aligns the Chinese translations of “Passkey” in MFA-related experience phrases.

  • Uses 通行密钥 for zh-CN
  • Uses 通行密鑰 for zh-HK and zh-TW

This replaces inconsistent translations such as 通行证 and 通行密碼.

Testing

Not run. This PR only updates locale strings.

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

Copilot AI review requested due to automatic review settings May 25, 2026 13:47
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 25, 2026

COMPARE TO master

Total Size Diff 📈 +160 Bytes

Diff by File
Name Diff
.changeset/fix-passkey-zh-translation.md 📈 +109 Bytes
packages/phrases-experience/src/locales/zh-cn/mfa.ts 📈 +15 Bytes
packages/phrases-experience/src/locales/zh-hk/mfa.ts 📈 +18 Bytes
packages/phrases-experience/src/locales/zh-tw/mfa.ts 📈 +18 Bytes

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates Chinese locale MFA (multi-factor authentication) strings to use the more accurate “passkey” terminology (“通行密鑰/通行密钥”) instead of “通行證”.

Changes:

  • Update WebAuthn/passkey display name across zh-TW, zh-HK, and zh-CN.
  • Update passkey-related onboarding and verification descriptions (zh-TW, zh-HK).
  • Update passkey creation/verification strings to consistently reference “通行密鑰/通行密钥”.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
packages/phrases-experience/src/locales/zh-tw/mfa.ts Replaces passkey wording with “通行密鑰” in MFA strings and descriptions.
packages/phrases-experience/src/locales/zh-hk/mfa.ts Replaces passkey wording with “通行密鑰” in MFA strings and descriptions.
packages/phrases-experience/src/locales/zh-cn/mfa.ts Replaces passkey wording with “通行密钥” in MFA strings and descriptions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/phrases-experience/src/locales/zh-tw/mfa.ts Outdated
Comment thread packages/phrases-experience/src/locales/zh-hk/mfa.ts Outdated
@rotempasharel1 rotempasharel1 changed the title correct Chinese translation of 'Passkey' fix(l10n): correct Chinese translation of Passkey May 25, 2026
@rotempasharel1
Copy link
Copy Markdown
Contributor Author

Thanks for the review. I also aligned the backup code wording in the touched zh-HK and zh-TW onboarding descriptions to 備份代碼 for consistency with the rest of the file.

@github-actions github-actions Bot removed the size/s label May 25, 2026
@rotempasharel1 rotempasharel1 force-pushed the fix/issue-8837-l10n-passkey branch from 4f12f62 to 261235b Compare May 25, 2026 13:52
@github-actions github-actions Bot added size/s and removed size/s labels May 25, 2026
@simeng-li simeng-li requested review from a team, simeng-li and wangsijie and removed request for a team May 26, 2026 01:59
Copilot AI review requested due to automatic review settings May 26, 2026 03:32
@cursor cursor Bot force-pushed the fix/issue-8837-l10n-passkey branch from 261235b to 25e3411 Compare May 26, 2026 03:32
@cursor cursor Bot requested a review from gao-sun as a code owner May 26, 2026 03:32
@github-actions github-actions Bot added size/s and removed size/s labels May 26, 2026
@cursor cursor Bot changed the title fix(l10n): correct Chinese translation of Passkey fix(phrases): correct Chinese translation of Passkey May 26, 2026
@github-actions github-actions Bot removed the size/s label May 26, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comment thread .changeset/fix-passkey-zh-translation.md
Align zh-CN, zh-HK, and zh-TW MFA passkey wording with 通行密钥/通行密鑰.

Fixes logto-io#8837

Co-authored-by: Rotem <rotem.paharel1@gmail.com>
@cursor cursor Bot force-pushed the fix/issue-8837-l10n-passkey branch from 25e3411 to c4572ca Compare May 26, 2026 05:56
@github-actions github-actions Bot added size/s and removed size/s labels May 26, 2026
@charIeszhao charIeszhao merged commit 6b9944d into logto-io:master May 27, 2026
33 checks passed
@charIeszhao
Copy link
Copy Markdown
Member

@rotempasharel1 Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

bug(l10n): Incorrect Chinese translation of "Passkey"

6 participants