11import * as Blockly from 'blockly/core' ;
2+ import { M } from 'vitest/dist/chunks/reporters.d.BFLkQcL6.js' ;
23
34export const customTokens = ( t : ( key : string ) => string ) : typeof Blockly . Msg => {
45 return {
56 ADD_COMMENT : t ( 'BLOCKLY.ADD_COMMENT' ) ,
67 REMOVE_COMMENT : t ( 'BLOCKLY.REMOVE_COMMENT' ) ,
78 DUPLICATE_COMMENT : t ( 'BLOCKLY.DUPLICATE_COMMENT' ) ,
89 OF_TYPE : t ( 'BLOCKLY.OF_TYPE' ) ,
10+ WITH : t ( 'BLOCKLY.WITH' ) ,
11+ WHEN : t ( 'BLOCKLY.WHEN' ) ,
12+ PARAMETER : t ( 'BLOCKLY.PARAMETER' ) ,
13+ PARAMETERS_CAN_ONLY_GO_IN_THEIR_METHODS_BLOCK : t ( 'BLOCKLY.PARAMETERS_CAN_ONLY_GO_IN_THEIR_METHODS_BLOCK' ) ,
14+ MECHANISMS : t ( 'BLOCKLY.MECHANISMS' ) ,
15+ COMPONENTS : t ( 'BLOCKLY.COMPONENTS' ) ,
16+ EVENTS : t ( 'BLOCKLY.EVENTS' ) ,
17+ EVALUATE_BUT_IGNORE_RESULT : t ( 'BLOCKLY.EVALUATE_BUT_IGNORE_RESULT' ) ,
18+ EVALUATE_BUT_IGNORE_RESULT_TOOLTIP : t ( 'BLOCKLY.EVALUATE_BUT_IGNORE_RESULT_TOOLTIP' ) ,
19+ AUTO : t ( 'BLOCKLY.AUTO' ) ,
20+ TELEOP : t ( 'BLOCKLY.TELEOP' ) ,
21+ TEST : t ( 'BLOCKLY.TEST' ) ,
22+ TYPE : t ( 'BLOCKLY.TYPE' ) ,
23+ ENABLED : t ( 'BLOCKLY.ENABLED' ) ,
24+ DISPLAY_NAME : t ( 'BLOCKLY.DISPLAY_NAME' ) ,
25+ DISPLAY_GROUP : t ( 'BLOCKLY.DISPLAY_GROUP' ) ,
26+ OPMODE_TYPE_TOOLTIP : t ( 'BLOCKLY.TOOLTIP.OPMODE_TYPE_TOOLTIP' ) ,
27+ OPMODE_ENABLED_TOOLTIP : t ( 'BLOCKLY.TOOLTIP.OPMODE_ENABLED_TOOLTIP' ) ,
28+ OPMODE_NAME_TOOLTIP : t ( 'BLOCKLY.TOOLTIP.OPMODE_NAME_TOOLTIP' ) ,
29+ OPMODE_GROUP_TOOLTIP : t ( 'BLOCKLY.TOOLTIP.OPMODE_GROUP_TOOLTIP' ) ,
930 } ;
1031} ;
0 commit comments