Skip to content

Commit 386ceee

Browse files
committed
eslint
1 parent 8fd1a12 commit 386ceee

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

src/public/google-blockly/own/blocks_system.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ Blockly.Blocks['get_value'] = {
834834
// Is the block connected to a trigger?
835835
const block = this.getParent();
836836
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);
838838
} else {
839839
this.setWarningText(null, this.id);
840840
}
@@ -907,7 +907,7 @@ Blockly.Blocks['get_value_var'] = {
907907
// Is the block connected to a trigger?
908908
const block = this.getParent();
909909
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);
911911
} else {
912912
this.setWarningText(null, this.id);
913913
}
@@ -1026,7 +1026,7 @@ Blockly.Blocks['get_object'] = {
10261026
// Is the block connected to a trigger?
10271027
const block = this.getParent();
10281028
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);
10301030
} else {
10311031
this.setWarningText(null, this.id);
10321032
}

0 commit comments

Comments
 (0)