Repository navigation
Add translator context for resource lifecycle command labels - #22632
Adam Ratzman (adamint) wants to merge 1 commit into
Conversation
Co-authored-by: Copilot App <[email protected]>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 22632Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 22632" |
Tests selector53 / 101 PR test projects · 4 PR jobs, from 14 changed files. Selected PR test projects (53 / 101)
Selected PR jobs (4)
How these were chosen — grouped by what changed
🔧 show 50
📦 affected project 📦 affected project Job reasons
Selection computed for commit |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the translator-context updates to resource lifecycle command labels.
No open issues 🎉
What changed in this PR
Adds translator context to Aspire.Hosting’s resource lifecycle command labels, preparing translation corrections related to #22441. This does not change displayed strings or address the dashboard’s separate language-selection behavior.
Changes:
- Clarifies that
Start,Stop,Restart, andRebuildare action labels rather than nouns. - Propagates the notes to 13 generated XLF files and marks the affected translations
needs-review-translation. - Preserves all English values and existing translation text pending the next OneLoc sync.
| File | Description |
|---|---|
src/Aspire.Hosting/Resources/xlf/CommandStrings.zh-Hant.xlf |
Updates Traditional Chinese translator notes and review states. |
src/Aspire.Hosting/Resources/xlf/CommandStrings.zh-Hans.xlf |
Updates Simplified Chinese translator notes and review states. |
src/Aspire.Hosting/Resources/xlf/CommandStrings.tr.xlf |
Updates Turkish translator notes and review states. |
src/Aspire.Hosting/Resources/xlf/CommandStrings.ru.xlf |
Updates Russian translator notes and review states. |
src/Aspire.Hosting/Resources/xlf/CommandStrings.pt-BR.xlf |
Updates Brazilian Portuguese translator notes and review states. |
src/Aspire.Hosting/Resources/xlf/CommandStrings.pl.xlf |
Updates Polish translator notes and review states. |
src/Aspire.Hosting/Resources/xlf/CommandStrings.ko.xlf |
Updates Korean translator notes and review states. |
src/Aspire.Hosting/Resources/xlf/CommandStrings.ja.xlf |
Updates Japanese translator notes and review states. |
src/Aspire.Hosting/Resources/xlf/CommandStrings.it.xlf |
Updates Italian translator notes and review states. |
src/Aspire.Hosting/Resources/xlf/CommandStrings.fr.xlf |
Updates French translator notes and review states. |
src/Aspire.Hosting/Resources/xlf/CommandStrings.es.xlf |
Updates Spanish translator notes and review states. |
src/Aspire.Hosting/Resources/xlf/CommandStrings.de.xlf |
Updates German translator notes and review states. |
src/Aspire.Hosting/Resources/xlf/CommandStrings.cs.xlf |
Updates Czech translator notes and review states. |
src/Aspire.Hosting/Resources/CommandStrings.resx |
Adds source translator comments for the four lifecycle labels. |
Review effort: Balanced
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
dace96cab03f8dc00cc0179ac9125f9965928daf↑ English strings and translation text are unchanged.
↓ Translation corrections depend on the next OneLoc sync.
↓ Does not address the separate dashboard language-selection behavior.
Description
Resource lifecycle command labels need verb context: Polish currently translates
StartasPoczątek(beginning). Add translator comments identifyingStart,Stop,Restart, andRebuildas imperative button labels.Regenerate the 13
CommandStringsXLF files using the normal XLIFF target. The generated notes mark these entriesneeds-review-translationfor the next OneLoc sync; no translations or English string values were edited. Other labels in this file and the nearby browser command resources already describe their actions unambiguously and are unchanged.Relates to #22441. This prepares translation corrections, not a fix for the issue's separate language-selection behavior. No new dependencies.
Validation:
dotnet build src\Aspire.Hosting\Aspire.Hosting.csproj /t:UpdateXlf --no-restore --verbosity quiet— passed after restoring the project, and passed again on repeat generation.git diff --check -- src\Aspire.Hosting\Resources— passed.Checklist
<remarks />and<code />elements on your triple slash comments?