i18n: disambiguate Computer Use Type and Key labels - #2530
Open
YspritanHyzygy wants to merge 1 commit into
Open
Conversation
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
The Computer Use diagnostics panel reused the generic
TypeandKeylocalization keys. In Simplified Chinese, those generic terms correctly refer to a category and a credential elsewhere, but they produced类型and密钥in this action inspector.This change gives the typing action and keyboard-key field dedicated localization keys, so each label can be translated for its actual context without changing unrelated uses. It also clarifies the Simplified Chinese
Press keyaction as按下按键.New German, Korean, and Russian entries remain marked
needs_reviewfor native review.Changes
TypeandKeytranslations in unrelated contextsPress keyaction as按下按键Test Plan
Tested source:
f3b3b8b8bash scripts/i18n/check.shLocalizable.xcstringsforen,de,zh-Hans,zh-Hant,ko, andruwithxcstringstoolb52ddf1Typeaction displays输入按键Press keyaction displays按下按键Model bundle, generation defaults, and eval scores are not applicable to this localization-only change.
Screenshots
Not attached; the labels were verified in an isolated local Release build.
Checklist
CONTRIBUTING.md