Standard units don't need translation (#9965)

This commit is contained in:
Alexandre Folle de Menezes
2025-06-22 04:10:40 -03:00
committed by GitHub
parent bd1281954d
commit fa70582ed1
35 changed files with 434 additions and 429 deletions

View File

@@ -89,10 +89,10 @@ void Chart::draw() {
}
// axis labels:
wxString label = _(L("Time")) + " ("+_(L("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")) + " (" + _(L("mm³/s")) + ")";
label = _(L("Volumetric speed")) + " (" + _("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);
}