mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-01 15:22:21 +00:00
Remove markers from strings that don't need to be translated (#8842)
Remove markers from text that does not need to be translated
This commit is contained in:
committed by
GitHub
parent
75dd55fcf6
commit
3e48390cee
@@ -786,7 +786,7 @@ void AMSLib::render_extra_text(wxDC& dc)
|
||||
auto tsize = dc.GetMultiLineTextExtent("?");
|
||||
auto pot = wxPoint(0, 0);
|
||||
pot = wxPoint((libsize.x - tsize.x) / 2 + FromDIP(2), (libsize.y - tsize.y) / 2 - FromDIP(5));
|
||||
dc.DrawText(L("?"), pot);
|
||||
dc.DrawText("?", pot);
|
||||
}
|
||||
else {
|
||||
auto tsize = dc.GetMultiLineTextExtent(m_info.material_name);
|
||||
@@ -830,9 +830,9 @@ void AMSLib::render_extra_text(wxDC& dc)
|
||||
}
|
||||
|
||||
if (m_info.material_state == AMSCanType::AMS_CAN_TYPE_EMPTY) {
|
||||
auto tsize = dc.GetMultiLineTextExtent(_L("/"));
|
||||
auto tsize = dc.GetMultiLineTextExtent("/");
|
||||
auto pot = wxPoint((libsize.x - tsize.x) / 2 + FromDIP(2), (libsize.y - tsize.y) / 2 + FromDIP(3));
|
||||
dc.DrawText(_L("/"), pot);
|
||||
dc.DrawText("/", pot);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -885,7 +885,7 @@ void AMSLib::render_generic_text(wxDC &dc)
|
||||
else {
|
||||
pot = wxPoint((libsize.x - tsize.x) / 2, (libsize.y - tsize.y) / 2 + FromDIP(3));
|
||||
}
|
||||
dc.DrawText(L("?"), pot);
|
||||
dc.DrawText("?", pot);
|
||||
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user