Update: 移除python_esp32板卡下附加的多语言支持
This commit is contained in:
@@ -2,15 +2,8 @@ import MicropythonESP32Pins from './blocks/esp32_profile';
|
|||||||
import * as MicropythonESP32PinsBlocks from './blocks/pins';
|
import * as MicropythonESP32PinsBlocks from './blocks/pins';
|
||||||
import * as MicropythonESP32PinsGenerators from './generators/pins';
|
import * as MicropythonESP32PinsGenerators from './generators/pins';
|
||||||
|
|
||||||
import MicropythonESP32ZhHans from './language/zh-hans';
|
|
||||||
import MicropythonESP32ZhHant from './language/zh-hant';
|
|
||||||
import MicropythonESP32En from './language/en';
|
|
||||||
|
|
||||||
export {
|
export {
|
||||||
MicropythonESP32Pins,
|
MicropythonESP32Pins,
|
||||||
MicropythonESP32PinsBlocks,
|
MicropythonESP32PinsBlocks,
|
||||||
MicropythonESP32PinsGenerators,
|
MicropythonESP32PinsGenerators
|
||||||
MicropythonESP32ZhHans,
|
|
||||||
MicropythonESP32ZhHant,
|
|
||||||
MicropythonESP32En
|
|
||||||
};
|
};
|
||||||
@@ -75,10 +75,7 @@ import {
|
|||||||
import {
|
import {
|
||||||
MicropythonESP32Pins,
|
MicropythonESP32Pins,
|
||||||
MicropythonESP32PinsBlocks,
|
MicropythonESP32PinsBlocks,
|
||||||
MicropythonESP32PinsGenerators,
|
MicropythonESP32PinsGenerators
|
||||||
MicropythonESP32ZhHans,
|
|
||||||
MicropythonESP32ZhHant,
|
|
||||||
MicropythonESP32En
|
|
||||||
} from './';
|
} from './';
|
||||||
|
|
||||||
import './css/color_esp32_mixgo.css';
|
import './css/color_esp32_mixgo.css';
|
||||||
@@ -92,10 +89,6 @@ Profile.default = {};
|
|||||||
Object.assign(Profile, MicropythonESP32Pins);
|
Object.assign(Profile, MicropythonESP32Pins);
|
||||||
Object.assign(Profile.default, MicropythonESP32Pins['ESP32 Generic']);
|
Object.assign(Profile.default, MicropythonESP32Pins['ESP32 Generic']);
|
||||||
|
|
||||||
Object.assign(Blockly.Lang.ZhHans, MicropythonESP32ZhHans);
|
|
||||||
Object.assign(Blockly.Lang.ZhHant, MicropythonESP32ZhHant);
|
|
||||||
Object.assign(Blockly.Lang.En, MicropythonESP32En);
|
|
||||||
|
|
||||||
Object.assign(
|
Object.assign(
|
||||||
Blockly.Blocks,
|
Blockly.Blocks,
|
||||||
PythonVariablesBlocks,
|
PythonVariablesBlocks,
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user