Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2018-05-02 14:20:36 +0300
committerYuSanka <yusanka@gmail.com>2018-05-02 17:06:35 +0300
commit16d5faac2000fc6f210e61e18d225ecf4db84c83 (patch)
tree1e3bdf1c413751c778a2fcd501769d17f07dbf09 /xs/src/slic3r/GUI/RammingChart.cpp
parent4758b68e55e072b10dfc77413e11d01ba64af600 (diff)
Preparations to the localization update & new Slic3rPE.pot
Diffstat (limited to 'xs/src/slic3r/GUI/RammingChart.cpp')
-rw-r--r--xs/src/slic3r/GUI/RammingChart.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xs/src/slic3r/GUI/RammingChart.cpp b/xs/src/slic3r/GUI/RammingChart.cpp
index 1ef43be02..97a6b7712 100644
--- a/xs/src/slic3r/GUI/RammingChart.cpp
+++ b/xs/src/slic3r/GUI/RammingChart.cpp
@@ -25,7 +25,7 @@ void Chart::draw() {
dc.DrawRectangle(m_rect);
if (visible_area.m_width < 0.499) {
- dc.DrawText("NO RAMMING AT ALL",wxPoint(m_rect.GetLeft()+m_rect.GetWidth()/2-50,m_rect.GetBottom()-m_rect.GetHeight()/2));
+ dc.DrawText(_(L("NO RAMMING AT ALL")),wxPoint(m_rect.GetLeft()+m_rect.GetWidth()/2-50,m_rect.GetBottom()-m_rect.GetHeight()/2));
return;
}
@@ -78,12 +78,12 @@ void Chart::draw() {
}
// axis labels:
- wxString label = L("Time (s)");
+ wxString label = _(L("Time")) + " ("+_(L("s"))+")";
int text_width = 0;
int text_height = 0;
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()+25));
- label = L("Volumetric speed (mm\u00B3/s)");
+ label = _(L("Volumetric speed")) + " (" + _(L("mm")) + "\u00B3/" + _(L("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);
}