ENH: modify some sentences for translate

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I6ba3de47566c73ee8d6f8f5f24c854b9599dc073
This commit is contained in:
xun.zhang 2024-12-24 20:16:36 +08:00 committed by lane.wei
parent 05383187e0
commit f858d6c7a8
3 changed files with 7 additions and 7 deletions

View File

@ -43,7 +43,7 @@ FilamentMapDialog::FilamentMapDialog(wxWindow *parent,
const std::vector<int> &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)
{

View File

@ -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");

View File

@ -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;
}
}