diff options
Diffstat (limited to 'constants.py')
-rw-r--r-- | constants.py | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/constants.py b/constants.py index 321389a..938a32a 100644 --- a/constants.py +++ b/constants.py @@ -206,15 +206,6 @@ BLOCK_NAMES = { 'yellow':[_('yellow')]} # -# Legacy names -# -OLD_NAMES = {'product':'product2', 'storeinbox':'storein', - 'division':'division2', 'plus':'plus2', - 'remainder':'remainder2', 'identity':'identity2', - 'division':'division2', 'if else':'if', 'audiooff':'audio', - 'descriptionoff':'description'} - -# # Logo primitives # @@ -279,7 +270,7 @@ PRIMITIVES = { 'setcolor':'setcolor', 'seth':'seth', 'setpensize':'setpensize', - 'set scale':'setscale', + 'setscale':'setscale', 'setshade':'setshade', 'settextsize':'settextsize', 'setxy':'setxy', @@ -313,6 +304,7 @@ DEFAULTS = { 'audio':[None], 'back':[100], 'box':[_('my box')], + 'description':[None], 'fillscreen':[60,80], 'forward':[100], 'hat':[_('action')], @@ -357,6 +349,15 @@ STATUS_SHAPES = ['status', 'info', 'nostack', 'noinput', 'emptyheap', 'syntaxerror'] # +# Legacy names +# +OLD_NAMES = {'product':'product2', 'storeinbox':'storein', + 'division':'division2', 'plus':'plus2', + 'remainder':'remainder2', 'identity':'identity2', + 'division':'division2', 'if else':'if', 'audiooff':'audio', + 'descriptionoff':'description'} + +# # 'dead key' Unicode dictionaries # |