diff options
Diffstat (limited to 'ep_colorconstraint_none.py')
-rw-r--r-- | ep_colorconstraint_none.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ep_colorconstraint_none.py b/ep_colorconstraint_none.py index dc6cddd..753f865 100644 --- a/ep_colorconstraint_none.py +++ b/ep_colorconstraint_none.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 @@ -64,8 +64,8 @@ class NoneColorConstraint(model_locus.Locus): pre: len(rgba) == 4 """ if alpha: - return '%d%% red, %d%% green, %d%% blue, %d%% opaque' \ + return _('%d%% red, %d%% green, %d%% blue, %d%% opaque') \ % (100*rgba[0], 100*rgba[1], 100*rgba[2], 100*rgba[3]) else: - return '%d%% red, %d%% green, %d%% blue' \ + return _('%d%% red, %d%% green, %d%% blue') \ % (100*rgba[0], 100*rgba[1], 100*rgba[2]) |