diff --git a/EditorFlow/src/index.tsx b/EditorFlow/src/index.tsx index d8aa2f02e58515e735be7365e0b8c5a7ea2d32ea..29ca776c2b38251883c2c932059ddf519148e8ea 100644 --- a/EditorFlow/src/index.tsx +++ b/EditorFlow/src/index.tsx @@ -8,12 +8,18 @@ import { FlowItemPanel } from './components/EditorItemPanel'; import { FlowDetailPanel } from './components/EditorDetailPanel'; import styles from './index.less'; import PageHeaderWrapper from './components/PageHeaderWrapper'; +import { formatMessage } from 'umi-plugin-react/locale'; GGEditor.setTrackable(false); export default () => { return ( - + diff --git a/EditorFlow/src/locales/en-US.ts b/EditorFlow/src/locales/en-US.ts new file mode 100644 index 0000000000000000000000000000000000000000..cd6e46fdd4292b6b8760d16497087b5184b1494f --- /dev/null +++ b/EditorFlow/src/locales/en-US.ts @@ -0,0 +1,4 @@ +export default { + 'BLOCK_NAME.description': + 'The flow chart is an excellent way to represent the idea of the algorithm', +}; diff --git a/EditorFlow/src/locales/zh-CN.ts b/EditorFlow/src/locales/zh-CN.ts new file mode 100644 index 0000000000000000000000000000000000000000..b48bbf34fc7202f78ec41a6253821acf083b2d99 --- /dev/null +++ b/EditorFlow/src/locales/zh-CN.ts @@ -0,0 +1,3 @@ +export default { + 'BLOCK_NAME.description': '千言万语不如一张图,流程图是表示算法思路的好方法', +}; diff --git a/EditorKoni/src/index.tsx b/EditorKoni/src/index.tsx index 8bb77d4ade01064120bf307e738de70e5e212cab..09390c5e971a5382aaaf8ada2d0aeb5163d0f8d0 100644 --- a/EditorKoni/src/index.tsx +++ b/EditorKoni/src/index.tsx @@ -8,12 +8,18 @@ import { KoniItemPanel } from './components/EditorItemPanel'; import { KoniDetailPanel } from './components/EditorDetailPanel'; import styles from './index.less'; import PageHeaderWrapper from './components/PageHeaderWrapper'; +import { formatMessage } from 'umi-plugin-react/locale'; GGEditor.setTrackable(false); export default () => { return ( - + diff --git a/EditorKoni/src/locales/en-US.ts b/EditorKoni/src/locales/en-US.ts new file mode 100644 index 0000000000000000000000000000000000000000..bd36a33d6a56c02256db965c66e456c02faffbd2 --- /dev/null +++ b/EditorKoni/src/locales/en-US.ts @@ -0,0 +1,4 @@ +export default { + 'BLOCK_NAME.description': + 'The topology diagram refers to the network structure diagram composed of network node devices and communication media', +}; diff --git a/EditorKoni/src/locales/zh-CN.ts b/EditorKoni/src/locales/zh-CN.ts new file mode 100644 index 0000000000000000000000000000000000000000..da4715233c09612a3751d0714c1c21064dbb6cc0 --- /dev/null +++ b/EditorKoni/src/locales/zh-CN.ts @@ -0,0 +1,3 @@ +export default { + 'BLOCK_NAME.description': '拓扑结构图是指由网络节点设备和通信介质构成的网络结构图', +}; diff --git a/EditorMind/src/index.tsx b/EditorMind/src/index.tsx index 95624309bb42f33907dee41795981c39d879819d..ef085858c3053ee9b2b2e39727da8fe0cdd1c096 100644 --- a/EditorMind/src/index.tsx +++ b/EditorMind/src/index.tsx @@ -8,12 +8,18 @@ import { MindDetailPanel } from './components/EditorDetailPanel'; import data from './worldCup2018.json'; import styles from './index.less'; import PageHeaderWrapper from './components/PageHeaderWrapper'; +import { formatMessage } from 'umi-plugin-react/locale'; GGEditor.setTrackable(false); export default () => { return ( - + diff --git a/EditorMind/src/locales/en-US.ts b/EditorMind/src/locales/en-US.ts new file mode 100644 index 0000000000000000000000000000000000000000..847614c36188b0e1bb1d0d4ed94d16a5eb78a6b5 --- /dev/null +++ b/EditorMind/src/locales/en-US.ts @@ -0,0 +1,4 @@ +export default { + 'BLOCK_NAME.description': + 'The brain map is an effective graphical thinking tool for expressing divergent thinking. It is simple but effective and is a practical thinking tool', +}; diff --git a/EditorMind/src/locales/zh-CN.ts b/EditorMind/src/locales/zh-CN.ts new file mode 100644 index 0000000000000000000000000000000000000000..7c5cc2ba7c0e2670eb44f2b031d1051b1e27edf5 --- /dev/null +++ b/EditorMind/src/locales/zh-CN.ts @@ -0,0 +1,4 @@ +export default { + 'BLOCK_NAME.description': + '脑图是表达发散性思维的有效图形思维工具 ,它简单却又很有效,是一种实用性的思维工具', +};