diff options
author | YuSanka <yusanka@gmail.com> | 2020-03-05 09:49:05 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2020-03-05 09:49:05 +0300 |
commit | a85e455934638d7385b258c28a3e21afc7378f55 (patch) | |
tree | 4aac1f28610e0572881f34e665f7631b229ef0b0 /src/slic3r/GUI/Plater.cpp | |
parent | eb3b65d8afcc7026cec0b2054152d78e08673041 (diff) |
Localization:
- Deleted redundant whitespaces before semicolons.
- All "\t" extracted from the phrases (The PhraseApp used to the translations "doesn't see" it, and as a result all translations missed them)
Diffstat (limited to 'src/slic3r/GUI/Plater.cpp')
-rw-r--r-- | src/slic3r/GUI/Plater.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index a57225954..d434ac2d0 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -1188,7 +1188,7 @@ void Sidebar::update_sliced_info_sizer() if (p->plater->printer_technology() == ptSLA) { const SLAPrintStatistics& ps = p->plater->sla_print().print_statistics(); - wxString new_label = _(L("Used Material (ml)")) + " :"; + wxString new_label = _(L("Used Material (ml)")) + ":"; const bool is_supports = ps.support_used_material > 0.0; if (is_supports) new_label += from_u8((boost::format("\n - %s\n - %s") % _utf8(L("object(s)")) % _utf8(L("supports and pad"))).str()); @@ -1213,7 +1213,7 @@ void Sidebar::update_sliced_info_sizer() p->sliced_info->SetTextAndShow(siCost, str_total_cost, "Cost"); wxString t_est = std::isnan(ps.estimated_print_time) ? "N/A" : get_time_dhms(float(ps.estimated_print_time)); - p->sliced_info->SetTextAndShow(siEstimatedTime, t_est, _(L("Estimated printing time")) + " :"); + p->sliced_info->SetTextAndShow(siEstimatedTime, t_est, _(L("Estimated printing time")) + ":"); // Hide non-SLA sliced info parameters p->sliced_info->SetTextAndShow(siFilament_m, "N/A"); @@ -1228,7 +1228,7 @@ void Sidebar::update_sliced_info_sizer() wxString new_label = _(L("Used Filament (m)")); if (is_wipe_tower) - new_label += from_u8((boost::format(" :\n - %1%\n - %2%") % _utf8(L("objects")) % _utf8(L("wipe tower"))).str()); + new_label += from_u8((boost::format(":\n - %1%\n - %2%") % _utf8(L("objects")) % _utf8(L("wipe tower"))).str()); wxString info_text = is_wipe_tower ? wxString::Format("%.2f \n%.2f \n%.2f", ps.total_used_filament / 1000, @@ -1242,7 +1242,7 @@ void Sidebar::update_sliced_info_sizer() new_label = _(L("Cost")); if (is_wipe_tower) - new_label += from_u8((boost::format(" :\n - %1%\n - %2%") % _utf8(L("objects")) % _utf8(L("wipe tower"))).str()); + new_label += from_u8((boost::format(":\n - %1%\n - %2%") % _utf8(L("objects")) % _utf8(L("wipe tower"))).str()); info_text = ps.total_cost == 0.0 ? "N/A" : is_wipe_tower ? @@ -1255,7 +1255,7 @@ void Sidebar::update_sliced_info_sizer() if (ps.estimated_normal_print_time == "N/A" && ps.estimated_silent_print_time == "N/A") p->sliced_info->SetTextAndShow(siEstimatedTime, "N/A"); else { - new_label = _(L("Estimated printing time")) +" :"; + new_label = _(L("Estimated printing time")) +":"; info_text = ""; wxString str_color = _(L("Color")); wxString str_pause = _(L("Pause")); |