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

Also available in: Atom PDF