diff options
author | Walter Bender <walter.bender@gmail.com> | 2013-01-19 15:41:29 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2013-01-19 15:41:29 (GMT) |
commit | e54991880f58ed4538b08dafbedd43703fc85830 (patch) | |
tree | 3f2eefa7ea2ea1db760cbe5e41edaedefa13becb /plugins/turtle_blocks_extras | |
parent | e2b87a1624287207117a04f67f3abd5604f1c4da (diff) |
print color vector when printing color block
Diffstat (limited to 'plugins/turtle_blocks_extras')
-rw-r--r-- | plugins/turtle_blocks_extras/turtle_blocks_extras.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/turtle_blocks_extras/turtle_blocks_extras.py b/plugins/turtle_blocks_extras/turtle_blocks_extras.py index f6223f1..1447b11 100644 --- a/plugins/turtle_blocks_extras/turtle_blocks_extras.py +++ b/plugins/turtle_blocks_extras/turtle_blocks_extras.py @@ -1150,9 +1150,14 @@ bullets')) elif type(n) == str or type(n) == unicode: if n in COLORDICT: if COLORDICT[n][0] is None: - self.tw.showlabel('print', COLORDICT[n][1]) + self.tw.showlabel('print', '%s %d, %s %d' % ( + _('shade'), COLORDICT[n][1], + _('gray'), COLORDICT[n][2])) else: - self.tw.showlabel('print', COLORDICT[n][0]) + self.tw.showlabel('print', '%s %d, %s %d, %s %d' % ( + _('color'), COLORDICT[n][0], + _('shade'), COLORDICT[n][1], + _('gray'), COLORDICT[n][2])) elif n[0:6] == 'media_' and \ n[6:].lower not in media_blocks_dictionary: try: |