Don't include palette in translations

Added in 6e89ef6, I assume for translating overrides?

I no longer think that would be wortwhile, so removing.
This commit is contained in:
tjvr 2016-04-15 23:52:04 +01:00
parent 56a365faa0
commit b758185c42

View file

@ -191,13 +191,6 @@ for lang in LANGUAGES:
blocks_list.append(translation)
palette = dict((x, blocks.get(x) or editor.get(x)) for x in [
"Motion", "Looks", "Sound", "Pen", "Data", "variables", "variable",
"lists", "list", "Events", "Control", "Sensing", "Operators",
"More Blocks",
])
palette['Tips'] = editor.get('Tips')
language = {
'code': lang,
'aliases': extra_aliases,
@ -206,7 +199,6 @@ for lang in LANGUAGES:
'math': map(editor.get, ["abs", "floor", "ceiling", "sqrt", "sin",
"cos", "tan", "asin", "acos", "atan", "ln",
"log", "e ^", "10 ^"]),
'palette': palette,
'osis': [editor.get('other scripts in sprite', '')],
'blocks': blocks_list,
}