Bug #21381
Description of the bool option formatter shouldn't translate the values
Difficulty:
trivial
Triaged:
No
Pull request:
Description
Description of the bool option formatter now includes possible values in the translated string:
_("One of true/false, yes/no, 1/0.")
I've seen it translated into spanish. To prevent accidental translation to other languages, we should extract the values:
_("One of %s.") % ['true/false', 'yes/no', '1/0'].join(', ')
Associated revisions
History
#1
Updated by Oleh Fedorenko over 1 year ago
- Triaged set to No
- Assignee set to Oleh Fedorenko
- Status changed from New to Assigned
#2
Updated by Oleh Fedorenko over 1 year ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli/pull/279 added
#3
Updated by Oleh Fedorenko over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset 0350ccbb89a35d06ba1c02ced894f39fbc9f4d98.
#4
Updated by The Foreman Bot over 1 year ago
- Pull request https://github.com/theforeman/hammer-cli/pull/280 added
#5
Updated by Martin Bacovsky over 1 year ago
- Pull request deleted (
https://github.com/theforeman/hammer-cli/pull/280)
#6
Updated by Tomer Brisker over 1 year ago
- Fixed in Releases hammer-cli 0.14.0 added
Fixes #21381 - Shouldn't translate the bool values in description