From 0de68b877b7304b770b128e1d8e9c689e4a19492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20=C4=8Cejchan?= Date: Mon, 15 Apr 2024 12:42:08 +0200 Subject: [PATCH] Translate FooterItemFinda values BFW-5373 --- src/gui/footer/footer_item_multitool.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/footer/footer_item_multitool.cpp b/src/gui/footer/footer_item_multitool.cpp index 3c0317f398..f4981e5b73 100644 --- a/src/gui/footer/footer_item_multitool.cpp +++ b/src/gui/footer/footer_item_multitool.cpp @@ -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)