mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Standard units don't need translation, part 2 (#9974)
* Revert unit change made by mistake, and fix some unit translations * Fix the declaration of untranslated Unicode strings
This commit is contained in:
committed by
GitHub
parent
03d25c97b4
commit
fd0d716f53
@@ -89,10 +89,10 @@ void Chart::draw() {
|
||||
}
|
||||
|
||||
// axis labels:
|
||||
wxString label = _(L("Time")) + " ("+_("s")+")";
|
||||
wxString label = _(L("Time")) + " (" + _("s") + ")";
|
||||
dc.GetTextExtent(label,&text_width,&text_height);
|
||||
dc.DrawText(label,wxPoint(0.5*(m_rect.GetRight()+m_rect.GetLeft())-text_width/2.f, m_rect.GetBottom()+0.6*legend_side));
|
||||
label = _(L("Volumetric speed")) + " (" + _("mm³/s") + ")";
|
||||
label = _(L("Volumetric speed")) + " (" + wxString::FromUTF8("mm³/s") + ")";
|
||||
dc.GetTextExtent(label,&text_width,&text_height);
|
||||
dc.DrawRotatedText(label,wxPoint(0,0.5*(m_rect.GetBottom()+m_rect.GetTop())+text_width/2.f),90);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user