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
* Add mrc_get_python_variable i18n
* Change to use Blockly.Msg
* Add i18n for user visible strings
* Add i18n support
* Add i18n support
* Go away from %1 %2
Copy file name to clipboardExpand all lines: src/i18n/locales/en/translation.json
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -114,6 +114,9 @@
114
114
"ROBOT": "robot",
115
115
"CREATE": "create",
116
116
"FIRE": "fire",
117
+
"GET": "get",
118
+
"SET": "set",
119
+
"TO": "to",
117
120
"CUSTOM_EVENTS_LABEL": "Custom Events",
118
121
"CUSTOM_METHODS_LABEL": "Custom Methods",
119
122
"MORE_ROBOT_METHODS_LABEL": "More Robot Methods",
@@ -139,7 +142,14 @@
139
142
"CALL_MECHANISM_COMPONENT_INSTANCE_METHOD": "Calls the instance method {{className}}.{{functionName}} on the component named {{componentName}} in the mechanism named {{mechanismName}}.",
140
143
"CALL_COMPONENT_INSTANCE_METHOD": "Calls the instance method {{className}}.{{functionName}} on the component named {{componentName}}.",
141
144
"CALL_ROBOT_INSTANCE_METHOD": "Calls the robot method {{functionName}}.",
142
-
"CALL_MECHANISM_INSTANCE_METHOD": "Calls the instance method {{className}}.{{functionName}} on the mechanism named {{mechanismName}}."
145
+
"CALL_MECHANISM_INSTANCE_METHOD": "Calls the instance method {{className}}.{{functionName}} on the mechanism named {{mechanismName}}.",
146
+
"GET_MODULE_VARIABLE": "Gets the variable {{moduleName}}.{{varName}}.",
147
+
"GET_CLASS_VARIABLE": "Gets the variable {{className}}.{{varName}}.",
148
+
"GET_INSTANCE_VARIABLE": "Gets the variable {{varName}} for the given {{className}} object.",
149
+
"GET_ENUM_VALUE": "Gets the enum value {{enumName}}.{{valueName}}.",
150
+
"SET_MODULE_VARIABLE": "Sets the variable {{moduleName}}.{{varName}}.",
151
+
"SET_CLASS_VARIABLE": "Sets the variable {{className}}.{{varName}}.",
152
+
"SET_INSTANCE_VARIABLE": "Sets the variable {{varName}} for the given {{className}} object."
143
153
},
144
154
"CATEGORY":{
145
155
"LISTS": "Lists",
@@ -169,7 +179,11 @@
169
179
"CALL_MECHANISM_INSTANCE_METHOD_INSIDE_MECHANISM": "This block is not allowed to be used inside a mechanism.",
170
180
"CALL_MECHANISM_INSTANCE_METHOD_MISSING_METHOD": "This block calls a method that no longer exists in the mechanism.",
171
181
"CALL_MECHANISM_INSTANCE_METHOD_MISSING_MECHANISM": "This block calls a method in a mechanism that no longer exists.",
172
-
"EVENT_NOT_IN_HOLDER": "This block can only go in the events section of the robot or mechanism."
182
+
"EVENT_NOT_IN_HOLDER": "This block can only go in the events section of the robot or mechanism.",
183
+
"MECHANISM_NOT_FOUND": "This block refers to a mechanism that no longer exists."
184
+
},
185
+
"ERROR":{
186
+
"VAR_KIND_MUST_BE_MODULE_CLASS_OR_INSTANCE": "mrcVarKind must be \"module\", \"class\", or \"instance\"."
Copy file name to clipboardExpand all lines: src/i18n/locales/es/translation.json
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,9 @@
115
115
"ROBOT": "robot",
116
116
"CREATE": "crear",
117
117
"FIRE": "disparar",
118
+
"GET": "obtener",
119
+
"SET": "establecer",
120
+
"TO": "a",
118
121
"CUSTOM_EVENTS_LABEL": "Eventos Personalizados",
119
122
"CUSTOM_METHODS_LABEL": "Métodos Personalizados",
120
123
"MORE_ROBOT_METHODS_LABEL": "Más Métodos del Robot",
@@ -140,7 +143,14 @@
140
143
"CALL_MECHANISM_COMPONENT_INSTANCE_METHOD": "Llama al método de instancia {{className}}.{{functionName}} en el componente llamado {{componentName}} en el mecanismo llamado {{mechanismName}}.",
141
144
"CALL_COMPONENT_INSTANCE_METHOD": "Llama al método de instancia {{className}}.{{functionName}} en el componente llamado {{componentName}}.",
142
145
"CALL_ROBOT_INSTANCE_METHOD": "Llama al método robot {{functionName}}.",
143
-
"CALL_MECHANISM_INSTANCE_METHOD": "Llama al método de instancia {{className}}.{{functionName}} en el mecanismo llamado {{mechanismName}}."
146
+
"CALL_MECHANISM_INSTANCE_METHOD": "Llama al método de instancia {{className}}.{{functionName}} en el mecanismo llamado {{mechanismName}}.",
147
+
"GET_MODULE_VARIABLE": "Obtiene la variable {{moduleName}}.{{varName}}.",
148
+
"GET_CLASS_VARIABLE": "Obtiene la variable {{className}}.{{varName}}.",
149
+
"GET_INSTANCE_VARIABLE": "Obtiene la variable {{varName}} para el objeto {{className}} dado.",
150
+
"GET_ENUM_VALUE": "Obtiene el valor de enumeración {{enumName}}.{{valueName}}.",
151
+
"SET_MODULE_VARIABLE": "Establece la variable {{moduleName}}.{{varName}}.",
152
+
"SET_CLASS_VARIABLE": "Establece la variable {{className}}.{{varName}}.",
153
+
"SET_INSTANCE_VARIABLE": "Establece la variable {{varName}} para el objeto {{className}} dado."
144
154
},
145
155
"CATEGORY": {
146
156
"LISTS": "Listas",
@@ -170,7 +180,11 @@
170
180
"CALL_MECHANISM_INSTANCE_METHOD_INSIDE_MECHANISM": "No se permite utilizar este bloque dentro de un mecanismo.",
171
181
"CALL_MECHANISM_INSTANCE_METHOD_MISSING_METHOD": "Este bloque llama a un método que ya no existe en el mecanismo.",
172
182
"CALL_MECHANISM_INSTANCE_METHOD_MISSING_MECHANISM": "Este bloque llama a un método en un mecanismo que ya no existe.",
173
-
"EVENT_NOT_IN_HOLDER": "Este bloque solo puede ir en la sección de eventos del robot o mecanismo."
183
+
"EVENT_NOT_IN_HOLDER": "Este bloque solo puede ir en la sección de eventos del robot o mecanismo.",
184
+
"MECHANISM_NOT_FOUND": "Este bloque se refiere a un mecanismo que ya no existe."
185
+
},
186
+
"ERROR":{
187
+
"VAR_KIND_MUST_BE_MODULE_CLASS_OR_INSTANCE": "mrcVarKind debe ser \"module\", \"class\" o \"instance\"."
0 commit comments