microsoft / microsoft/winget-cli
Help usage string is missing space in localized resources
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Brief description of your issue
The resource with ID Usage, "usage: {0} {1}" is missing a space between {0} and {1} in all translations. For example, in Spanish it is uso: {0}{1}. So, instead of uso: winget install [[-q] <query>...] [<opciones>] we get uso: wingetinstall [[-q] <query>...] [<opciones>].
This happens with all languages despite having {Locked="{0} {1}"} in the comment, so we may be doing the comment wrong.
Steps to reproduce
Set language to Spanish or any supported language but English. Run winget install or any other command that shows help
Expected behavior
Outputs uso: winget install [[-q] <query>...] [<opciones>]
Actual behavior
Outputs uso: wingetinstall [[-q] <query>...] [<opciones>]
Environment
-
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the localized resource with ID Usage and its {Locked="{0} {1}"} comment. Reproduce the issue by setting Spanish or another non-English language and running winget install to inspect the help output. Done means supported translations preserve the space between {0} and {1}.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, localization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100