FIX: the info cannot displayed in Chinese language

jira: STUDIO-12985
Change-Id: Ic2d52bc94129c2c568ebc4b3dc2b0a3fe5a65907
(cherry picked from commit 209c29400ca203e4ccd26863d2b78d5802275131)
This commit is contained in:
zhimin.zeng 2025-06-30 20:12:07 +08:00 committed by Noisyfox
parent fcbad94b91
commit ba4cc19e6c

View file

@ -316,7 +316,7 @@ bool check_filaments_printable(const std::string &tag_vendor, const std::string
if (filament_info.has_value() && !(filament_info->filament_printable >> extruder_idx & 1)) {
wxString extruder_name = extruder_idx == 0 ? _L("left") : _L("right");
ac = "prohibition";
info = (wxString::Format(_L("%s is not supported by %s extruder."), tag_type, extruder_name)).ToUTF8().data();
info = wxString::Format(_L("%s is not supported by %s extruder."), tag_type, extruder_name);
in_blacklist = true;
return false;
}