From e54991880f58ed4538b08dafbedd43703fc85830 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 19 Jan 2013 15:41:29 +0000 Subject: print color vector when printing color block --- (limited to 'plugins') 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: -- cgit v0.9.1