Conversation
… zh translations - Rename 'Homelab inventory' key to 'Self-hosted IT asset inventory' in base, all locales, and Sidebar - Fix machine-translated zh strings, unify CJK/Latin spacing and ellipsis - Allowlist zh for technical and demo labels intentionally kept in English (access, trunk, ifIndex, U |, ID, Markdown, Home-Main, Cloud Key Gen2 Plus)
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
Homelab inventory→Self-hosted IT asset inventoryinsrc/i18n/base.ts, theSidebarcomponent, and all 23 locale files, each with a proper per-language translation. Reflects the product's positioning as a self-hosted IT asset inventory.Resume简历→恢复,Save X节省/拯救→保存,Parent家长→父级), normalize CJK↔Latin/digit spacing, unify ellipses (...→…), and remove leftover double commas / duplicate keys.zhfor technical and demo labels intentionally kept in English per product terminology (access,trunk,ifIndex,(ifIndex,U |,ID,Markdown,Home-Main,Cloud Key Gen2 Plus), with reasons recorded.Motivation
The Simplified Chinese strings contained obvious machine-translation errors and inconsistent spacing that degraded the UI. The subtitle also still read "Homelab", which no longer matches where the product is heading. This PR fixes both while keeping product/demo names (
access,trunk,Home-Main,Cloud Key Gen2 Plus, etc.) in English to match seed data and SNMP/switchport terminology.Validation
npm run check:i18n— passes (keys sync, allowlist, values rules)npm run typecheck— client/server/tests passnpm run build— passesnpm run lint— passesScope
27 files changed, +271 / −236. No functional or UI behavior change beyond the tagline string and zh text; no API/schema/security impact.