You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/i18n/locales/en/translation.json
+26-1Lines changed: 26 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,10 @@
57
57
"DISPLAY_GROUP": "Display Group",
58
58
"PRINT": "print",
59
59
"NO_MECHANISM_CONTENTS": "No Mechanism Contents",
60
+
"CALL": "call",
61
+
"ROBOT": "robot",
62
+
"CREATE": "create",
63
+
"FIRE": "fire",
60
64
"TOOLTIP":{
61
65
"EVALUATE_BUT_IGNORE_RESULT": "Executes the connected block and ignores the result. Allows you to call a function and ignore the return value.",
62
66
"NONE": "Returns None.",
@@ -65,7 +69,18 @@
65
69
"OPMODE_NAME": "The name shown on the Driver Station. If blank will use the class name.",
66
70
"OPMODE_GROUP": "An optional group to group OpModes on Driver Station",
67
71
"COMPONENTS": "These components are visible in this mechanism, the robot, and all opmodes.",
68
-
"PRIVATE_COMPONENTS": "These components will not be visible in the robot or opmodes. They are only accessible within this mechanism."
72
+
"PRIVATE_COMPONENTS": "These components will not be visible in the robot or opmodes. They are only accessible within this mechanism.",
73
+
"CALL_BUILTIN_FUNCTION": "Calls the builtin function {{functionName}}.",
74
+
"CALL_MODULE_FUNCTION": "Calls the module function {{moduleName}}.{{functionName}}.",
75
+
"CALL_STATIC_METHOD": "Calls the static method {{className}}.{{functionName}}.",
76
+
"CALL_CONSTRUCTOR": "Constructs an instance of the class {{className}}.",
77
+
"CALL_INSTANCE_METHOD": "Calls the instance method {{className}}.{{functionName}}.",
78
+
"CALL_INSTANCE_METHOD_WITHIN": "Calls the instance method {{functionName}}.",
79
+
"FIRE_EVENT": "Fires the event named {{eventName}}.",
80
+
"CALL_MECHANISM_COMPONENT_INSTANCE_METHOD": "Calls the instance method {{className}}.{{functionName}} on the component named {{componentName}} in the mechanism named {{mechanismName}}.",
81
+
"CALL_COMPONENT_INSTANCE_METHOD": "Calls the instance method {{className}}.{{functionName}} on the component named {{componentName}}.",
82
+
"CALL_ROBOT_INSTANCE_METHOD": "Calls the robot method {{functionName}}.",
83
+
"CALL_MECHANISM_INSTANCE_METHOD": "Calls the instance method {{className}}.{{functionName}} on the mechanism named {{mechanismName}}."
69
84
},
70
85
"CATEGORY":{
71
86
"LISTS": "Lists",
@@ -84,6 +99,16 @@
84
99
"ADD_MECHANISM": "+ Mechanism",
85
100
"ADD_COMPONENT": "+ Component",
86
101
"TEST": "Test"
102
+
},
103
+
"WARNING":{
104
+
"CALL_COMPONENT_INSTANCE_METHOD_PRIVATE_COMPONENT": "This blocks calls a method on a private component in the {{mechanismClassName}} mechanism.",
105
+
"CALL_COMPONENT_INSTANCE_METHOD_MISSING_COMPONENT": "This block calls a method on a component that no longer exists.",
106
+
"CALL_MECHANISM_COMPONENT_INSTANCE_METHOD_MISSING_MECHANISM": "This block calls a method on a component that belongs to a mechanism that no longer exists.",
107
+
"CALL_ROBOT_INSTANCE_METHOD_INSIDE_MECHANISM": "This block is not allowed to be used inside a mechanism.",
108
+
"CALL_ROBOT_INSTANCE_METHOD_MISSING_METHOD": "This block calls a method that no longer exists in the robot.",
109
+
"CALL_MECHANISM_INSTANCE_METHOD_INSIDE_MECHANISM": "This block is not allowed to be used inside a mechanism.",
110
+
"CALL_MECHANISM_INSTANCE_METHOD_MISSING_METHOD": "This block calls a method that no longer exists in the mechanism.",
111
+
"CALL_MECHANISM_INSTANCE_METHOD_MISSING_MECHANISM": "This block calls a method in a mechanism that no longer exists."
0 commit comments