@@ -834,7 +834,7 @@ Blockly.Blocks['get_value'] = {
834
834
// Is the block connected to a trigger?
835
835
const block = this . getParent ( ) ;
836
836
if ( block && Blockly . System . WARNING_PARENTS . includes ( block . type ) ) {
837
- this . setWarningText ( Blockly . Translate ( 'false_connection_to_trigger_warning ' ) , this . id ) ;
837
+ this . setWarningText ( Blockly . Translate ( 'false_connection_trigger_warning ' ) , this . id ) ;
838
838
} else {
839
839
this . setWarningText ( null , this . id ) ;
840
840
}
@@ -907,7 +907,7 @@ Blockly.Blocks['get_value_var'] = {
907
907
// Is the block connected to a trigger?
908
908
const block = this . getParent ( ) ;
909
909
if ( block && Blockly . System . WARNING_PARENTS . includes ( block . type ) ) {
910
- this . setWarningText ( Blockly . Translate ( 'false_connection_to_trigger_warning ' ) , this . id ) ;
910
+ this . setWarningText ( Blockly . Translate ( 'false_connection_trigger_warning ' ) , this . id ) ;
911
911
} else {
912
912
this . setWarningText ( null , this . id ) ;
913
913
}
@@ -1026,7 +1026,7 @@ Blockly.Blocks['get_object'] = {
1026
1026
// Is the block connected to a trigger?
1027
1027
const block = this . getParent ( ) ;
1028
1028
if ( block && Blockly . System . WARNING_PARENTS . includes ( block . type ) ) {
1029
- this . setWarningText ( Blockly . Translate ( 'false_connection_to_trigger_warning ' ) , this . id ) ;
1029
+ this . setWarningText ( Blockly . Translate ( 'false_connection_trigger_warning ' ) , this . id ) ;
1030
1030
} else {
1031
1031
this . setWarningText ( null , this . id ) ;
1032
1032
}
0 commit comments