From a91937a7f810dbc99a0771bef298b5a92df16b0c 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 (cherry picked from commit f858d6c7a8509d3b798bca40cb07eb63ab6efcc0) --- 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 5e6c9fa80f..9b507f421c 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 982656ebae..b8758b8717 100644 --- a/src/slic3r/GUI/Preferences.cpp +++ b/src/slic3r/GUI/Preferences.cpp @@ -1275,9 +1275,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_develop_mode = create_item_title(_L("Develop mode"), page, _L("Develop mode")); auto item_develop_mode = create_item_checkbox(_L("Develop mode"), page, _L("Develop mode"), 50, "developer_mode"); diff --git a/src/slic3r/Utils/CalibUtils.cpp b/src/slic3r/Utils/CalibUtils.cpp index 7c4e2468db..9199d3e0b7 100644 --- a/src/slic3r/Utils/CalibUtils.cpp +++ b/src/slic3r/Utils/CalibUtils.cpp @@ -1109,7 +1109,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; } @@ -1118,8 +1118,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; } }