Skip to content

Update and improve zh-TW Traditional Chinese locale#22423

Merged
stonezdj merged 1 commit intogoharbor:mainfrom
PeterDaveHello:Update_zh-tw
Oct 13, 2025
Merged

Update and improve zh-TW Traditional Chinese locale#22423
stonezdj merged 1 commit intogoharbor:mainfrom
PeterDaveHello:Update_zh-tw

Conversation

@PeterDaveHello
Copy link
Copy Markdown
Contributor

@PeterDaveHello PeterDaveHello commented Oct 5, 2025

Comprehensive Summary of your change

Update and improve zh-TW Traditional Chinese locale

Please indicate you've done the following:

  • Well Written Title and Summary of the PR
  • Label the PR as needed. "release-note/ignore-for-release, release-note/new-feature, release-note/update, release-note/enhancement, release-note/community, release-note/breaking-change, release-note/docs, release-note/infra, release-note/deprecation"
  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Made sure tests are passing and test coverage is added if needed.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed in website repository.

Refs: #18608 #19161

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.87%. Comparing base (c8c11b4) to head (df91302).
⚠️ Report is 575 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main   #22423       +/-   ##
===========================================
+ Coverage   45.36%   65.87%   +20.50%     
===========================================
  Files         244     1073      +829     
  Lines       13333   116036   +102703     
  Branches     2719     2931      +212     
===========================================
+ Hits         6049    76433    +70384     
- Misses       6983    35365    +28382     
- Partials      301     4238     +3937     
Flag Coverage Δ
unittests 65.87% <ø> (+20.50%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 987 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@PeterDaveHello PeterDaveHello force-pushed the Update_zh-tw branch 3 times, most recently from 693b7f3 to d809efa Compare October 5, 2025 17:33
@@ -61,52 +61,54 @@
"DELETED_FAILURE": "刪除失敗或部分失敗",
"SWITCH_SUCCESS": "切換成功",
"SWITCH_FAILURE": "切換失敗",
"REPLICATE_SUCCESS": "複製成功",
"REPLICATE_FAILURE": "複製失敗",
"REPLICATE_SUCCESS": "複製已開始",
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.

Regarding those two terms related to replication, I prefer the existing ones as they are more concise.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The meaning here should be closer to “Replication initiated successfully” rather than “Replication (already) successful”?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

For clarity on replication jobs, the UI only confirms they were initiated, so translating it as “Replication started” highlights the action taken without implying the entire workflow already completed.

"OIDC_VERIFYCERT": "如果您的 OIDC 伺服器是透過自簽章憑證託管的,請取消勾選此核取方塊。",
"OIDC_AUTOONBOARD": "跳過使用者初次設定畫面,使其無法變更使用者名稱。使用者名稱將由 ID Token 提供。",
"OIDC_USER_CLAIM": "ID Token 中用來擷取使用者名稱的宣告名稱。如果未指定,預設為 'name'。",
"NEW_SECRET": "金鑰長度應為 8-128 個字元,且至少包含 1 個大寫字母、1 個小寫字母和 1 個數字。",
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.

maybe 密鑰 is more concise here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It doesn't seem to be a common zh-TW usage in my opinion, though there's a similar term in Microsoft Globalization terminology - "祕密金鑰" for "Secret Key".

"ADMIN_RENAME_TIP": "選取此按鈕以將使用者名稱變更為「admin@harbor.local」。此操作無法復原。",
"RENAME_SUCCESS": "重新命名成功!",
"RENAME_CONFIRM_INFO": "警告:將名稱變更為 admin@harbor.local 後將無法復原。",
"CLI_PASSWORD": "CLI 金鑰",
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.

I’m a bit confused about the meaning of “金鑰.” Can it refer to “password,” “secret,” or “key”?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, they often overlap depending on context. I'd prefer more apparent distinctions, but that's hard in practice.

"NO_VUL": "我們找不到任何弱點",
"INVALID_VALUE": "The CVSS3 score should range between 0 and 10",
"PAGE_TITLE_TOOLTIP": "The comprehensive artifact count comprises the cumulative total of individual artifacts, including artifact accessories, as well as child artifacts associated with the image index and CNAB artifacts"
"NO_VUL": "找不到任何弱點",
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.

Good update. We should avoid having any subject words in the UI components.

@wy65701436 wy65701436 added candidate/2.15.0 release-note/update Update or Fix area/i18n Related to Translation changes. labels Oct 9, 2025
Copy link
Copy Markdown
Contributor

@wy65701436 wy65701436 left a comment

Choose a reason for hiding this comment

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

lgtm

@wy65701436 wy65701436 added the help wanted The issues that is valid but needs help from community label Oct 10, 2025
Copy link
Copy Markdown
Contributor

@stonezdj stonezdj left a comment

Choose a reason for hiding this comment

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

LGTM

@stonezdj stonezdj enabled auto-merge (squash) October 13, 2025 09:09
Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
@stonezdj stonezdj merged commit e706647 into goharbor:main Oct 13, 2025
12 checks passed
@PeterDaveHello PeterDaveHello deleted the Update_zh-tw branch October 16, 2025 19:26
OrlinVasilev pushed a commit to OrlinVasilev/harbor that referenced this pull request Oct 29, 2025
Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/i18n Related to Translation changes. candidate/2.15.0 help wanted The issues that is valid but needs help from community release-note/update Update or Fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants