mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-27 04:42:33 +00:00
ENH: refine translations
Signed-off-by: Stone Li <stone.li@bambulab.com> Change-Id: I352176fad29c0afc298bb5f9e591b4102521497e
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user