File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
java/me/desht/pneumaticcraft/common/drone/progwidgets
resources/assets/pneumaticcraft/lang Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,8 @@ public ProgWidgetType<?> getType() {
135135 @ Override
136136 public void getTooltip (List <Component > curTooltip ) {
137137 super .getTooltip (curTooltip );
138- curTooltip .add (Component .literal ("Condition: \" " + getCondition () + "\" " ));
138+
139+ curTooltip .add (xlate ("pneumaticcraft.gui.progWidget.condition.tooltip" , getCondition ()));
139140 }
140141
141142 @ Override
@@ -148,7 +149,7 @@ public String getCondition() {
148149 return Arrays .stream (Axis .values ())
149150 .filter (axisOptions ::shouldCheck )
150151 .map (axis -> String .format ("%1$s1 %2$s %1$s2" , axis .getName (), operator .toString ()))
151- .collect (Collectors .joining (" and " ));
152+ .collect (Collectors .joining (" & " ));
152153 }
153154
154155 @ Override
Original file line number Diff line number Diff line change 13471347 "pneumaticcraft.gui.progWidget.condition.allBlocks" : " All Blocks" ,
13481348 "pneumaticcraft.gui.progWidget.condition.evaluatedFalse" : " Condition was evaluated false." ,
13491349 "pneumaticcraft.gui.progWidget.condition.evaluatedTrue" : " Condition was evaluated true." ,
1350+ "pneumaticcraft.gui.progWidget.condition.tooltip" : " Condition: \" %s\" " ,
13501351 "pneumaticcraft.gui.progWidget.conditionItem.error.noCheckingItem" : " No checking item. Add at least one Item Filter to the topmost slot." ,
13511352 "pneumaticcraft.gui.progWidget.conditionItem.error.noFilter" : " No item filter. Add at least one Item Filter to the second slot from the top." ,
13521353 "pneumaticcraft.gui.progWidget.coordinate.constant" : " Constant" ,
You can’t perform that action at this time.
0 commit comments