mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-27 04:42:33 +00:00
Improve the language on some strings (#13553)
Co-authored-by: Ian Bassi <ian.bassi@outlook.com>
This commit is contained in:
committed by
GitHub
parent
1c7022f4c8
commit
e90e22ae82
@@ -876,7 +876,7 @@ void CaliPASaveManualPanel::set_pa_cali_method(ManualPaCaliMethod method)
|
||||
m_complete_text->SetLabel(_L("Please find the best line on your plate"));
|
||||
set_save_img();
|
||||
} else if (method == ManualPaCaliMethod::PA_PATTERN) {
|
||||
m_complete_text->SetLabel(_L("Please find the corner with perfect degree of extrusion"));
|
||||
m_complete_text->SetLabel(_L("Please find the corner with the perfect degree of extrusion"));
|
||||
if (wxGetApp().app_config->get_language_code() == "zh-cn") {
|
||||
m_picture_panel->set_bmp(ScalableBitmap(this, "fd_pattern_manual_result_CN", 350));
|
||||
} else {
|
||||
@@ -1065,7 +1065,7 @@ void CaliPASaveP1PPanel::set_pa_cali_method(ManualPaCaliMethod method)
|
||||
set_save_img();
|
||||
}
|
||||
else if (method == ManualPaCaliMethod::PA_PATTERN) {
|
||||
m_complete_text->SetLabel(_L("Please find the corner with perfect degree of extrusion"));
|
||||
m_complete_text->SetLabel(_L("Please find the corner with the perfect degree of extrusion"));
|
||||
if (wxGetApp().app_config->get_language_code() == "zh-cn") {
|
||||
m_picture_panel->set_bmp(ScalableBitmap(this, "fd_pattern_manual_result_CN", 350));
|
||||
} else {
|
||||
|
||||
@@ -1058,7 +1058,7 @@ wxWindow *CreateFilamentPresetDialog::create_dialog_buttons()
|
||||
}
|
||||
} else {
|
||||
if (m_filament_custom_vendor_input->GetTextCtrl()->GetValue().empty()) {
|
||||
MessageDialog dlg(this, _L("Custom vendor is not input, please input custom vendor."), wxString(SLIC3R_APP_FULL_NAME) + " - " + _L("Info"),
|
||||
MessageDialog dlg(this, _L("Custom vendor is missing, please input custom vendor."), wxString(SLIC3R_APP_FULL_NAME) + " - " + _L("Info"),
|
||||
wxYES | wxYES_DEFAULT | wxCENTRE);
|
||||
dlg.ShowModal();
|
||||
return;
|
||||
@@ -1130,7 +1130,7 @@ wxWindow *CreateFilamentPresetDialog::create_dialog_buttons()
|
||||
if (preset_bundle->filaments.is_alias_exist(filament_preset_name)) {
|
||||
MessageDialog dlg(this,
|
||||
wxString::Format(_L("The Filament name %s you created already exists.\n"
|
||||
"If you continue creating, the preset created will be displayed with its full name. Do you want to continue?"),
|
||||
"If you continue, the preset created will be displayed with its full name. Do you want to continue?"),
|
||||
from_u8(filament_preset_name)),
|
||||
wxString(SLIC3R_APP_FULL_NAME) + " - " + _L("Info"), wxYES_NO | wxYES_DEFAULT | wxCENTRE);
|
||||
if (wxID_YES != dlg.ShowModal()) { return; }
|
||||
|
||||
@@ -2843,7 +2843,7 @@ bool GUI_App::on_init_inner()
|
||||
wxString tips = wxString::Format(_L("Click to download new version in default browser: %s"), version_str);
|
||||
DownloadDialog dialog(this->mainframe,
|
||||
tips,
|
||||
_L("The Orca Slicer needs an upgrade"),
|
||||
_L("OrcaSlicer needs an update"),
|
||||
false,
|
||||
wxCENTER | wxICON_INFORMATION);
|
||||
dialog.SetExtendedMessage(description_text);
|
||||
|
||||
@@ -1233,7 +1233,7 @@ void MenuFactory::append_menu_items_convert_unit(wxMenu* menu)
|
||||
|
||||
void MenuFactory::append_menu_item_merge_to_multipart_object(wxMenu* menu)
|
||||
{
|
||||
append_menu_item(menu, wxID_ANY, _L("Assemble"), _L("Assemble the selected objects to an object with multiple parts"),
|
||||
append_menu_item(menu, wxID_ANY, _L("Assemble"), _L("Assemble the selected objects into an object with multiple parts"),
|
||||
[](wxCommandEvent&) { obj_list()->merge(true); }, "", menu,
|
||||
[]() { return obj_list()->can_merge_to_multipart_object(); }, m_parent);
|
||||
}
|
||||
@@ -1241,7 +1241,7 @@ void MenuFactory::append_menu_item_merge_to_multipart_object(wxMenu* menu)
|
||||
void MenuFactory::append_menu_item_merge_to_single_object(wxMenu* menu)
|
||||
{
|
||||
menu->AppendSeparator();
|
||||
append_menu_item(menu, wxID_ANY, _L("Assemble"), _L("Assemble the selected objects to an object with single part"),
|
||||
append_menu_item(menu, wxID_ANY, _L("Assemble"), _L("Assemble the selected objects into an object with single part"),
|
||||
[](wxCommandEvent&) { obj_list()->merge(false); }, "", menu,
|
||||
[]() { return obj_list()->can_merge_to_single_object(); }, m_parent);
|
||||
}
|
||||
|
||||
@@ -2539,7 +2539,7 @@ static wxMenu* generate_help_menu()
|
||||
wxMenu* helpMenu = new wxMenu();
|
||||
|
||||
// shortcut key
|
||||
append_menu_item(helpMenu, wxID_ANY, _L("Keyboard Shortcuts") + sep + "&?", _L("Show the list of the keyboard shortcuts"),
|
||||
append_menu_item(helpMenu, wxID_ANY, _L("Keyboard Shortcuts") + sep + "&?", _L("Show the list of keyboard shortcuts"),
|
||||
[](wxCommandEvent&) { wxGetApp().keyboard_shortcuts(); });
|
||||
// Show Beginner's Tutorial
|
||||
append_menu_item(helpMenu, wxID_ANY, _L("Setup Wizard"), _L("Setup Wizard"), [](wxCommandEvent &) {wxGetApp().ShowUserGuide();});
|
||||
|
||||
@@ -1784,7 +1784,7 @@ void PreferencesDialog::create_items()
|
||||
//// DEVELOPER > Settings
|
||||
g_sizer->Add(create_item_title(_L("Settings")), 1, wxEXPAND);
|
||||
|
||||
auto item_develop_mode = create_item_checkbox(_L("Develop mode"), "", "developer_mode");
|
||||
auto item_develop_mode = create_item_checkbox(_L("Developer mode"), "", "developer_mode");
|
||||
g_sizer->Add(item_develop_mode);
|
||||
|
||||
auto item_ams_blacklist = create_item_checkbox(_L("Skip AMS blacklist check"), "", "skip_ams_blacklist_check");
|
||||
|
||||
Reference in New Issue
Block a user