Skip to content

Commit 0de68b8

Browse files
CZDanol-prusadanopernis
authored andcommitted
Translate FooterItemFinda values
BFW-5373
1 parent 3d0b8cf commit 0de68b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/gui/footer/footer_item_multitool.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ string_view_utf8 FooterItemFinda::static_makeView(int value) {
2525
//@@TODO there is a strange comment in FooterItemFSensor::static_makeView about the last character not being rendered
2626
// Not sure why but using the same workaround.
2727
// Another funny thing is that the LED in FINDA shows the exact opposite - this needs to be discussed with Content ;)
28-
static const char on[] = "ON "; // filament present
29-
static const char off[] = "OFF "; // filament NOT present
30-
return string_view_utf8::MakeCPUFLASH((const uint8_t *)(value ? on : off));
28+
static const char on[] = N_("ON "); // filament present
29+
static const char off[] = N_("OFF "); // filament NOT present
30+
return _(value ? on : off);
3131
}
3232

3333
FooterItemCurrentTool::FooterItemCurrentTool(window_t *parent)

0 commit comments

Comments
 (0)