From 5cdc0a9143041a61a8fd0a8a89aab271892a9513 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Thu, 19 Oct 2023 13:10:57 +0200 Subject: [PATCH] Updated icons. + Fix for phrase --- resources/icons/custom-gcode_object-info.svg | 2 +- resources/icons/custom-gcode_stats.svg | 2 +- resources/icons/custom-gcode_vector.svg | 2 +- src/slic3r/GUI/UpdateDialogs.cpp | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/icons/custom-gcode_object-info.svg b/resources/icons/custom-gcode_object-info.svg index 03904c3fc6..aa51310d9a 100644 --- a/resources/icons/custom-gcode_object-info.svg +++ b/resources/icons/custom-gcode_object-info.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/resources/icons/custom-gcode_stats.svg b/resources/icons/custom-gcode_stats.svg index e663965d80..fde8fec16e 100644 --- a/resources/icons/custom-gcode_stats.svg +++ b/resources/icons/custom-gcode_stats.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/resources/icons/custom-gcode_vector.svg b/resources/icons/custom-gcode_vector.svg index 396f0e7b82..4ac1ab9ef9 100644 --- a/resources/icons/custom-gcode_vector.svg +++ b/resources/icons/custom-gcode_vector.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/slic3r/GUI/UpdateDialogs.cpp b/src/slic3r/GUI/UpdateDialogs.cpp index 6ccd875b28..ac6bf58009 100644 --- a/src/slic3r/GUI/UpdateDialogs.cpp +++ b/src/slic3r/GUI/UpdateDialogs.cpp @@ -306,7 +306,7 @@ MsgUpdateConfig::MsgUpdateConfig(const std::vector &updates, bool force_ } if (! update.new_printers.empty()) { - flex->Add(new wxStaticText(this, wxID_ANY, _L_PLURAL("New printer:", "New printers:", update.new_printers.find(',') == std::string::npos ? 1 : 2)), 0, wxALIGN_RIGHT); + flex->Add(new wxStaticText(this, wxID_ANY, _L_PLURAL("New printer", "New printers", update.new_printers.find(',') == std::string::npos ? 1 : 2) + ":"), 0, wxALIGN_RIGHT); auto* update_printer = new wxStaticText(this, wxID_ANY, from_u8(update.new_printers)); update_printer->Wrap(CONTENT_WIDTH * wxGetApp().em_unit()); flex->Add(update_printer); @@ -373,7 +373,7 @@ MsgUpdateForced::MsgUpdateForced(const std::vector& updates) : } if (!update.new_printers.empty()) { - versions->Add(new wxStaticText(this, wxID_ANY, _L_PLURAL("New printer:", "New printers:", update.new_printers.find(',') == std::string::npos ? 1 : 2))/*, 0, wxALIGN_RIGHT*/); + versions->Add(new wxStaticText(this, wxID_ANY, _L_PLURAL("New printer", "New printers", update.new_printers.find(',') == std::string::npos ? 1 : 2)+":")/*, 0, wxALIGN_RIGHT*/); auto* update_printer = new wxStaticText(this, wxID_ANY, from_u8(update.new_printers)); update_printer->Wrap(CONTENT_WIDTH * wxGetApp().em_unit()); versions->Add(update_printer);