Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ep_colorconstraint_gray.py
diff options
context:
space:
mode:
authorNostalghia <b.vehikel@googlemail.com>2013-07-14 07:16:27 (GMT)
committer Nostalghia <b.vehikel@googlemail.com>2013-07-14 07:16:27 (GMT)
commit9e5932a51d0a4ac0dc110bb0983d5d642dc563fb (patch)
tree25072fe9f3263d8eab8d4fa5dc4df3a6eb806c41 /ep_colorconstraint_gray.py
parent8e6fc02292600152fc955ffbb8c2d8cc9613d025 (diff)
Ticket #3122: 0001-fix-gettext-strings-problem.patch
Diffstat (limited to 'ep_colorconstraint_gray.py')
-rw-r--r--ep_colorconstraint_gray.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ep_colorconstraint_gray.py b/ep_colorconstraint_gray.py
index 78c5902..8e3e48b 100644
--- a/ep_colorconstraint_gray.py
+++ b/ep_colorconstraint_gray.py
@@ -58,6 +58,6 @@ class GrayColorConstraint(model_locus.Locus):
pre: len(rgba) == 4
"""
if alpha:
- return _('%d%% gray, %d%% opaque') % (100*rgba[0], 100*rgba[3])
+ return _('%(gray)d%% gray, %(opaque)d%% opaque') % {'gray': 100*rgba[0], 'opaque': 100*rgba[3]}
else:
return _('Color is reduced to shades of gray, %d%% gray') % (100*rgba[0])