diff options
author | Walter Bender <walter@sugarlabs.org> | 2010-04-28 15:59:22 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2010-04-28 15:59:22 (GMT) |
commit | a1bc5432ade43b03b19d90e03e458bb5ffbc2932 (patch) | |
tree | 8041c24629983491f8029cad9f00895f00f0d00b /taconstants.py | |
parent | 881a064cb0235b4676166dd4c0c175305b04baad (diff) |
clean up
Diffstat (limited to 'taconstants.py')
-rw-r--r-- | taconstants.py | 172 |
1 files changed, 86 insertions, 86 deletions
diff --git a/taconstants.py b/taconstants.py index eabce05..3561655 100644 --- a/taconstants.py +++ b/taconstants.py @@ -246,21 +246,21 @@ PYTHON_SKIN = ['nop', 'userdefined', 'userdefined2args', 'userdefined3args'] # BLOCK_NAMES = { 'addturtle':[_('turtle')], - 'and2':[_('and')], + 'and2':[' '], 'arc':[_('arc'), _('angle'), _('radius')], 'audio':[' '], 'back':[_('back')], 'blue':[_('blue')+' = 70'], - 'bottompos':[_('bottom')], - 'bottomy':[_('picture bottom')], + 'bottompos':[' '], + 'bottomy':[' '], 'box':[_('box')], - 'box1':[_('box 1')], - 'box2':[_('box 2')], + 'box1':[' '], + 'box2':[' '], 'cartesian':[_('Cartesian')], 'clean':[_(' clean ')], - 'clearheap':[_('empty heap')], + 'clearheap':[' '], 'color':[_('color')], - 'comment':[_('comment')], + 'comment':[' '], 'cyan':[_('cyan')+' = 50'], 'decription':[' '], 'division2':['/'], @@ -269,38 +269,38 @@ BLOCK_NAMES = { 'fillscreen':[_('fill screen'), _('color'), _('shade')], 'forever':[_('forever')], 'forward':[_('forward')], - 'fullscreen':[_('full screen')], + 'fullscreen':[' '], 'greater2':[">"], 'green':[_('green')+' = 30'], 'hat':[_('action')], - 'hat1':[_('action 1')], - 'hat2':[_('action 2')], + 'hat1':[' '], + 'hat2':[' '], 'heading':[_('heading')], - 'height':[_('height')], + 'height':[' '], 'hideblocks':[_('hide blocks')], 'hspace':[' '], 'identity2':['←'], 'if':[' ', _('if'), _('then')], - 'ifelse':[' ', _('if'), _('then else')], + 'ifelse':[' ', ' ', ' '], 'image':[_('show')], 'journal':[' '], - 'kbinput':[_('query keyboard')], - 'keyboard':[_('keyboard')], - 'left':[_('left')], - 'leftpos':[_('left')], - 'leftx':[_('picture left')], + 'kbinput':[' '], + 'keyboard':[' '], + 'left':[' '], + 'leftpos':[' '], + 'leftx':[' '], 'less2':['<'], 'list':['list'], 'minus2':['–'], - 'myfunc':[_('Python'), 'f(x)', 'x'], - 'myfunc1arg':[_('Python'), 'f(x)', 'x'], - 'myfunc2arg':[_('Python'), 'f(x,y)', ' '], - 'myfunc3arg':[_('Python'), 'f(x,y,z)', ' '], - 'nop':[_(' ')], - 'not':[_('not')], + 'myfunc':[' ', 'f(x)', 'x'], + 'myfunc1arg':[' ', 'f(x)', 'x'], + 'myfunc2arg':[' ', 'f(x,y)', ' '], + 'myfunc3arg':[' ', 'f(x,y,z)', ' '], + 'nop':[' '], + 'not':[' '], 'number':['100'], 'orange':[_('orange')+' = 10'], - 'or2':[_('or')], + 'or2':[' '], 'pendown':[_('pen down')], 'pensize':[_('pen size')], 'penup':[_('pen up')], @@ -323,42 +323,42 @@ BLOCK_NAMES = { 'red':[_('red')+' = 0'], 'remainder2':[_('mod')], 'repeat':[' ',_('repeat')], - 'resistance':[_('resistance')], - 'restore':[_('restore last')], - 'restoreall':[_('restore all')], - 'right':[_('right')], - 'rightpos':[_('right')], - 'rightx':[_('picture right')], - 'savepix':[_('save picture')], - 'savesvg':[_('save SVG')], + 'resistance':[' '], + 'restore':[' '], + 'restoreall':[' '], + 'right':[' '], + 'rightpos':[' '], + 'rightx':[' '], + 'savepix':[' '], + 'savesvg':[' '], 'sandwichbottom':[' '], - 'sandwichcollapsed':[_('click to open')], - 'sandwichtop':[_('top of stack')], - 'sandwichtop2':[_('top of stack')], + 'sandwichcollapsed':[' '], + 'sandwichtop':[' '], + 'sandwichtop2':[' '], 'scale':[_('scale')], 'setcolor':[_('set color')], 'seth':[_('set heading')], 'setpensize':[_('set pen size')], 'setscale':[_('set scale')], 'setshade':[_('set shade')], - 'settextcolor':[_('set text color')], - 'settextsize':[_('set text size')], + 'settextcolor':[' '], + 'settextsize':[' '], 'setxy':[_('set xy'), _('x'), _('y')], 'shade':[_('shade')], 'show':[_('show')], - 'showblocks':[_('show blocks')], - 'showaligned':[_('show aligned')], + 'showblocks':[' '], + 'showaligned':[' '], 'sqrt':['√'], 'stack':[_('action')], - 'stack1':[_('action 1')], - 'stack2':[_('action 2')], + 'stack1':[' '], + 'stack2':[' '], 'start':[_('start')], 'startfill':[_('start fill')], 'stopfill':[_('end fill')], 'stopstack':[_('stop action')], 'storein':[_('store in'), _('box'), _('value')], - 'storeinbox1':[_('store in box 1')], - 'storeinbox2':[_('store in box 2')], + 'storeinbox1':[' '], + 'storeinbox2':[' '], 'string':[_('text')], 'template1x1':[' '], 'template1x1a':[' '], @@ -366,24 +366,24 @@ BLOCK_NAMES = { 'template2x1':[' '], 'template2x2':[' '], 'templatelist':[' '], - 'textsize':[_('text size')], - 'titlex':[_('title x')], - 'titley':[_('title y')], - 'toppos':[_('top')], - 'topy':[_('picture top')], - 'turtle':[_('turtle')], - 'until':[_('until')], - 'userdefined':[_(' ')], - 'userdefined2args':[_(' ')], - 'userdefined3args':[_(' ')], - 'voltage':[_('voltage')], - 'volume':[_('volume')], + 'textsize':[' '], + 'titlex':[' '], + 'titley':[' '], + 'toppos':[' '], + 'topy':[' '], + 'turtle':[' '], + 'until':[' '], + 'userdefined':[' '], + 'userdefined2args':[' '], + 'userdefined3args':[' '], + 'voltage':[' '], + 'volume':[' '], 'vspace':[' '], 'wait':[_('wait')], 'while':[_('while')], 'while2':[_('while')], - 'width':[_('width')], - 'write':[_('write')], + 'width':[' '], + 'write':[' '], 'xcor':[_('xcor')], 'ycor':[_('ycor')], 'yellow':[_('yellow')+' = 20']} @@ -569,12 +569,12 @@ DEFAULTS = { 'storeinbox2':[100], 'storein':[_('my box'), 100], 'string':[_('text')], - 'template1x1':[_('Title'), 'None'], - 'template1x1a':[_('Title'), 'None'], - 'template1x2':[_('Title'), 'None', 'None'], - 'template2x1':[_('Title'), 'None', 'None'], - 'template2x2':[_('Title'), 'None', 'None', 'None', 'None'], - 'templatelist':[_('Title'), '∙ '], + 'template1x1':[' ', 'None'], + 'template1x1a':[' ', 'None'], + 'template1x2':[' ', 'None', 'None'], + 'template2x1':[' ', 'None', 'None'], + 'template2x2':[' ', 'None', 'None', 'None', 'None'], + 'templatelist':[' ', '∙ '], 'userdefined':[100], 'userdefined2args':[100,100], 'userdefined3args':[100,100,100], @@ -651,29 +651,29 @@ TEMPLATES = {'t1x1': (0.5, 0.5, 0.0625, 0.125, 1.05, 0), # Names for blocks without names for popup help # SPECIAL_NAMES = { - 'audio':_('audio'), + 'audio':' ', 'division2':_('divide'), 'equal2':_('equal'), 'greater2':_('greater than'), - 'hspace':_('horizontal space'), + 'hspace':' ', 'identity2':_('identity'), 'if':_('if then'), - 'ifelse':_('if then else'), + 'ifelse':' ', 'journal':_('journal'), 'less2':_('less than'), 'minus2':_('minus'), - 'nop':_('Python code'), + 'nop':' ', 'number':_('number'), 'plus2':_('plus'), 'product2':_('multiply'), 'sqrt':_('square root'), - 'template1x1':_('presentation 1x1'), - 'template1x1a':_('presentation 1x1'), - 'template1x2':_('presentation 1x2'), - 'template2x1':_('presentation 2x1'), - 'template2x2':_('presentation 2x2'), - 'templatelist':_('presentation bulleted list'), - 'textsize':_('text size'), + 'template1x1':' ', + 'template1x1a':' ', + 'template1x2':' ', + 'template2x1':' ', + 'template2x2':' ', + 'templatelist':' ', + 'textsize':' ', 'vspace':_('vertical space')} # @@ -738,14 +738,14 @@ MACROS = { [10, ['number', '1'], 0, 0, [9, None]]], 'picturelist': [[0, 'sandwichtop', 0, 0, [None, 1, 2]], - [1, ['string', _('bulleted list')], 0, 0, [0, None]], + [1, ['string', ' '], 0, 0, [0, None]], [2, 'setxy', 0, 0, [0, 3, 4, 5]], [3, 'titlex', 0, 0, [2, None]], [4, 'titley', 0, 0, [2, None]], [5, 'setscale', 0, 0, [2, 6, 7]], [6, ['number', '100'], 0, 0, [5, None]], [7, 'show', 0, 0, [5, 8, 9]], - [8, ['string',_('Title')], 0, 0, [7, None]], + [8, ['string',' '], 0, 0, [7, None]], [9, 'setxy', 0, 0, [7, 10, 11, 12]], [10, 'leftx', 0, 0, [9, None]], [11, 'topy', 0, 0, [9, None]], @@ -757,14 +757,14 @@ MACROS = { [17, 'sandwichbottom', 0, 0, [14, None]]], 'picture1x1a': [[0, 'sandwichtop', 0, 0, [None, 1, 2]], - [1, ['string', _('picture')], 0, 0, [0, None]], + [1, ['string', ' '], 0, 0, [0, None]], [2, 'setxy', 0, 0, [0, 3, 4, 5]], [3, 'titlex', 0, 0, [2, None]], [4, 'titley', 0, 0, [2, None]], [5, 'setscale', 0, 0, [2, 6, 7]], [6, ['number', '100'], 0, 0, [5, None]], [7, 'show', 0, 0, [5, 8, 9]], - [8, ['string',_('Title')], 0, 0, [7, None]], + [8, ['string',' '], 0, 0, [7, None]], [9, 'setscale', 0, 0, [7, 10, 11]], [10, ['number', '90'], 0, 0, [9, None]], [11, 'setxy', 0, 0, [9, 12, 13, 14]], @@ -775,14 +775,14 @@ MACROS = { [16, 'sandwichbottom', 0, 0, [14, None]]], 'picture2x2': [[0, 'sandwichtop', 0, 0, [None, 1, 2]], - [1, ['string', _('2×2 pictures')], 0, 0, [0, None]], + [1, ['string', ' '], 0, 0, [0, None]], [2, 'setxy', 0, 0, [0, 3, 4, 5]], [3, 'titlex', 0, 0, [2, None]], [4, 'titley', 0, 0, [2, None]], [5, 'setscale', 0, 0, [2, 6, 7]], [6, ['number', '100'], 0, 0, [5, None]], [7, 'show', 0, 0, [5, 8, 9]], - [8, ['string',_('Title')], 0, 0, [7, None]], + [8, ['string',' '], 0, 0, [7, None]], [9, 'setscale', 0, 0, [7, 10, 11]], [10, ['number', '35'], 0, 0, [9, None]], [11, 'setxy', 0, 0, [9, 12, 13, 14]], @@ -808,14 +808,14 @@ MACROS = { [31, 'sandwichbottom', 0, 0, [29, None]]], 'picture2x1': [[0, 'sandwichtop', 0, 0, [None, 1, 2]], - [1, ['string', _('2×1 pictures')], 0, 0, [0, None]], + [1, ['string', ' '], 0, 0, [0, None]], [2, 'setxy', 0, 0, [0, 3, 4, 5]], [3, 'titlex', 0, 0, [2, None]], [4, 'titley', 0, 0, [2, None]], [5, 'setscale', 0, 0, [2, 6, 7]], [6, ['number', '100'], 0, 0, [5, None]], [7, 'show', 0, 0, [5, 8, 9]], - [8, ['string',_('Title')], 0, 0, [7, None]], + [8, ['string',' '], 0, 0, [7, None]], [9, 'setscale', 0, 0, [7, 10, 11]], [10, ['number', '35'], 0, 0, [9, None]], [11, 'setxy', 0, 0, [9, 12, 13, 14]], @@ -841,14 +841,14 @@ MACROS = { [31, 'sandwichbottom', 0, 0, [29, None]]], 'picture1x2': [[0, 'sandwichtop', 0, 0, [None, 1, 2]], - [1, ['string', _('1×2 pictures')], 0, 0, [0, None]], + [1, ['string', ' '], 0, 0, [0, None]], [2, 'setxy', 0, 0, [0, 3, 4, 5]], [3, 'titlex', 0, 0, [2, None]], [4, 'titley', 0, 0, [2, None]], [5, 'setscale', 0, 0, [2, 6, 7]], [6, ['number', '100'], 0, 0, [5, None]], [7, 'show', 0, 0, [5, 8, 9]], - [8, ['string',_('Title')], 0, 0, [7, None]], + [8, ['string',' '], 0, 0, [7, None]], [9, 'setscale', 0, 0, [7, 10, 11]], [10, ['number', '35'], 0, 0, [9, None]], [11, 'setxy', 0, 0, [9, 12, 13, 14]], @@ -874,14 +874,14 @@ MACROS = { [31, 'sandwichbottom', 0, 0, [29, None]]], 'picture1x1': [[0, 'sandwichtop', 0, 0, [None, 1, 2]], - [1, ['string', _('1×1 pictures')], 0, 0, [0, None]], + [1, ['string', ' '], 0, 0, [0, None]], [2, 'setxy', 0, 0, [0, 3, 4, 5]], [3, 'titlex', 0, 0, [2, None]], [4, 'titley', 0, 0, [2, None]], [5, 'setscale', 0, 0, [2, 6, 7]], [6, ['number', '100'], 0, 0, [5, None]], [7, 'show', 0, 0, [5, 8, 9]], - [8, ['string',_('Title')], 0, 0, [7, None]], + [8, ['string',' '], 0, 0, [7, None]], [9, 'setscale', 0, 0, [7, 10, 11]], [10, ['number', '35'], 0, 0, [9, None]], [11, 'setxy', 0, 0, [9, 12, 13, 14]], |