From f858d6c7a8509d3b798bca40cb07eb63ab6efcc0 Mon Sep 17 00:00:00 2001 From: "xun.zhang" Date: Tue, 24 Dec 2024 20:16:36 +0800 Subject: [PATCH] ENH: modify some sentences for translate jira:NONE Signed-off-by: xun.zhang Change-Id: I6ba3de47566c73ee8d6f8f5f24c854b9599dc073 --- src/slic3r/GUI/FilamentMapDialog.cpp | 2 +- src/slic3r/GUI/Preferences.cpp | 6 +++--- src/slic3r/Utils/CalibUtils.cpp | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/slic3r/GUI/FilamentMapDialog.cpp b/src/slic3r/GUI/FilamentMapDialog.cpp index 5e6c9fa80..9b507f421 100644 --- a/src/slic3r/GUI/FilamentMapDialog.cpp +++ b/src/slic3r/GUI/FilamentMapDialog.cpp @@ -43,7 +43,7 @@ FilamentMapDialog::FilamentMapDialog(wxWindow *parent, const std::vector &filaments, const FilamentMapMode mode, bool show_default) - : wxDialog(parent, wxID_ANY, _L("Filament arrangement method of plate"), wxDefaultPosition, wxSize(2000, 1500)) + : wxDialog(parent, wxID_ANY, _L("Filament arrangement method"), wxDefaultPosition, wxSize(2000, 1500)) , m_filament_color(filament_color) , m_filament_map(filament_map) { diff --git a/src/slic3r/GUI/Preferences.cpp b/src/slic3r/GUI/Preferences.cpp index 0c8e0d8cb..e10a9ed07 100644 --- a/src/slic3r/GUI/Preferences.cpp +++ b/src/slic3r/GUI/Preferences.cpp @@ -1242,9 +1242,9 @@ wxWindow* PreferencesDialog::create_general_page() auto item_darkmode = create_item_darkmode_checkbox(_L("Enable dark mode"), page,_L("Enable dark mode"), 50, "dark_color_mode"); #endif - auto title_filament_group = create_item_title(_L("Filament Group"), page, _L("Filament Group")); - auto item_ignore_ext_filament = create_item_checkbox(_L("Ignore ext filament when auto grouping."), page, _L("Ignore ext filament when auto grouping"), 50, "ignore_ext_filament_when_group"); - auto item_pop_filament_group_mode = create_item_checkbox(_L("Pop up to select filament map mode."), page, _L("Pop up to select filament map mode"), 50, "pop_up_filament_map_mode"); + auto title_filament_group = create_item_title(_L("Filament Arrange"), page, _L("Filament Arrange")); + auto item_ignore_ext_filament = create_item_checkbox(_L("Ignore ext filament when auto grouping"), page, _L("Ignore ext filament when auto grouping"), 50, "ignore_ext_filament_when_group"); + auto item_pop_filament_group_mode = create_item_checkbox(_L("Pop up to select filament map mode"), page, _L("Pop up to select filament map mode"), 50, "pop_up_filament_map_mode"); auto title_user_experience = create_item_title(_L("User Experience"), page, _L("User Experience")); auto item_priv_policy = create_item_checkbox(_L("Join Customer Experience Improvement Program."), page, "", 50, "privacyuse"); diff --git a/src/slic3r/Utils/CalibUtils.cpp b/src/slic3r/Utils/CalibUtils.cpp index b3c6fdf22..b2ea93751 100644 --- a/src/slic3r/Utils/CalibUtils.cpp +++ b/src/slic3r/Utils/CalibUtils.cpp @@ -1149,7 +1149,7 @@ bool CalibUtils::check_printable_status_before_cali(const MachineObject *obj, co if (cali_info.extruder_id == 0) { name = _L("right"); } - error_message = wxString::Format("The nozzle type of the %s extruder is not set. Please set it first and then start calibration.", name); + error_message = wxString::Format(_L("The nozzle type of the %s extruder is not set. Please set it first and then start calibration."), name); return false; } @@ -1158,8 +1158,8 @@ bool CalibUtils::check_printable_status_before_cali(const MachineObject *obj, co if (cali_info.extruder_id == 0) { name = _L("right"); } - error_message = wxString::Format("The selected nozzle type of %s extruder is inconsistent with the actual nozzle type of the printer.\n" - "Please synchronize the printer information first and then start calibration.", name); + error_message = wxString::Format(_L("The selected nozzle type of %s extruder is inconsistent with the actual nozzle type of the printer.\n" + "Please synchronize the printer information first and then start calibration."), name); return false; } }