mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH: refine translations
Signed-off-by: Stone Li <stone.li@bambulab.com> Change-Id: I352176fad29c0afc298bb5f9e591b4102521497e
This commit is contained in:
@@ -2834,6 +2834,7 @@ void DeviceManager::clean_user_info()
|
||||
BOOST_LOG_TRIVIAL(trace) << "DeviceManager::clean_user_info";
|
||||
// reset selected_machine
|
||||
selected_machine = "";
|
||||
local_selected_machine = "";
|
||||
|
||||
// clean access code
|
||||
for (auto it = userMachineList.begin(); it != userMachineList.end(); it++) {
|
||||
|
||||
@@ -101,10 +101,10 @@ void PrintJob::process()
|
||||
int curr_percent = 10;
|
||||
|
||||
if (this->connection_type == "lan") {
|
||||
msg = sending_over_lan_str;
|
||||
msg = _L("Sending print job over LAN");
|
||||
}
|
||||
else {
|
||||
msg = sending_over_cloud_str;
|
||||
msg = _L("Sending print job through cloud service");
|
||||
}
|
||||
|
||||
int result = -1;
|
||||
|
||||
@@ -84,7 +84,7 @@ void UpgradeNetworkJob::process()
|
||||
}
|
||||
|
||||
if (result < 0) {
|
||||
update_status(curr_percent, _L("Download failed"));
|
||||
update_status(0, _L("Download failed"));
|
||||
wxCommandEvent event(EVT_UPGRADE_NETWORK_FAILED);
|
||||
event.SetEventObject(m_event_handle);
|
||||
wxPostEvent(m_event_handle, event);
|
||||
@@ -108,7 +108,7 @@ void UpgradeNetworkJob::process()
|
||||
}
|
||||
|
||||
if (result != 0) {
|
||||
update_status(curr_percent, _L("Install failed"));
|
||||
update_status(0, _L("Install failed"));
|
||||
wxCommandEvent event(EVT_UPGRADE_NETWORK_FAILED);
|
||||
event.SetEventObject(m_event_handle);
|
||||
wxPostEvent(m_event_handle, event);
|
||||
|
||||
@@ -88,7 +88,7 @@ wxBoxSizer* PrintOptionsDialog::create_settings_group(wxWindow* parent)
|
||||
auto sizer = new wxBoxSizer(wxVERTICAL);
|
||||
auto line_sizer = new wxBoxSizer(wxHORIZONTAL);
|
||||
m_cb_spaghetti = new CheckBox(parent);
|
||||
auto text_spaghetti = new wxStaticText(parent, wxID_ANY, _L("spaghetti Detection"));
|
||||
auto text_spaghetti = new wxStaticText(parent, wxID_ANY, _L("Spaghetti Detection"));
|
||||
text_spaghetti->SetFont(Label::Body_14);
|
||||
line_sizer->Add(FromDIP(5), 0, 0, 0);
|
||||
line_sizer->Add(m_cb_spaghetti, 0, wxALL | wxALIGN_CENTER_VERTICAL, FromDIP(5));
|
||||
|
||||
Reference in New Issue
Block a user