diff options
Diffstat (limited to 'ep_colorconstraint_gray.py')
-rw-r--r-- | ep_colorconstraint_gray.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ep_colorconstraint_gray.py b/ep_colorconstraint_gray.py index b074005..78c5902 100644 --- a/ep_colorconstraint_gray.py +++ b/ep_colorconstraint_gray.py @@ -1,5 +1,5 @@ # coding: UTF-8 -# Copyright 2009 Thomas Jourdan +# Copyright 2009, 2010 Thomas Jourdan # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -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 _('%d%% gray, %d%% opaque') % (100*rgba[0], 100*rgba[3]) else: - return '%d%% gray' % (100*rgba[0]) + return _('Color is reduced to shades of gray, %d%% gray') % (100*rgba[0]) |