Skip to content

Commit

Permalink
Translate FooterItemFinda values
Browse files Browse the repository at this point in the history
BFW-5373
  • Loading branch information
CZDanol-prusa authored and danopernis committed Apr 16, 2024
1 parent 3d0b8cf commit 0de68b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gui/footer/footer_item_multitool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ string_view_utf8 FooterItemFinda::static_makeView(int value) {
//@@TODO there is a strange comment in FooterItemFSensor::static_makeView about the last character not being rendered
// Not sure why but using the same workaround.
// Another funny thing is that the LED in FINDA shows the exact opposite - this needs to be discussed with Content ;)
static const char on[] = "ON "; // filament present
static const char off[] = "OFF "; // filament NOT present
return string_view_utf8::MakeCPUFLASH((const uint8_t *)(value ? on : off));
static const char on[] = N_("ON "); // filament present
static const char off[] = N_("OFF "); // filament NOT present
return _(value ? on : off);
}

FooterItemCurrentTool::FooterItemCurrentTool(window_t *parent)
Expand Down

0 comments on commit 0de68b8

Please sign in to comment.