Project

General

Profile

Actions

Bug #21381

closed

Description of the bool option formatter shouldn't translate the values

Added by Tomáš Strachota almost 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer core
Target version:
-
Difficulty:
trivial
Triaged:
No
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

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(', ')

Actions #1

Updated by Oleh Fedorenko about 6 years ago

  • Status changed from New to Assigned
  • Assignee set to Oleh Fedorenko
  • Triaged set to No
Actions #2

Updated by Oleh Fedorenko about 6 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli/pull/279 added
Actions #3

Updated by Oleh Fedorenko about 6 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by The Foreman Bot almost 6 years ago

  • Pull request https://github.com/theforeman/hammer-cli/pull/280 added
Actions #5

Updated by Martin Bacovsky almost 6 years ago

  • Pull request deleted (https://github.com/theforeman/hammer-cli/pull/280)
Actions #6

Updated by Tomer Brisker almost 6 years ago

  • Fixed in Releases hammer-cli 0.14.0 added
Actions

Also available in: Atom PDF