FIX: add translation flag

jira: [STUDIO-9148]
Change-Id: Idd50664e0f9c55fe5e8d7e0a840948fd82dafc15
(cherry picked from commit b79f6243474e5d96cf51719001564d38abf0f5a7)
This commit is contained in:
xin.zhang
2025-02-17 16:07:02 +08:00
committed by Noisyfox
parent f54f6e3b21
commit b50df3588a

View File

@@ -1566,6 +1566,7 @@ wxBoxSizer *StatusBasePanel::create_misc_control(wxWindow *parent)
m_switch_fan->SetBorderWidth(0);
m_switch_fan->SetCornerRadius(0);
m_switch_fan->SetFont(::Label::Body_10);
m_switch_fan->SetLabel(_L("panel"));
m_switch_fan->SetTextColor(
StateColor(std::make_pair(DISCONNECT_TEXT_COL, (int)StateColor::Disabled), std::make_pair(NORMAL_FAN_TEXT_COL, (int)StateColor::Normal)));