ENH: refine translations

Signed-off-by: Stone Li <stone.li@bambulab.com>
Change-Id: I352176fad29c0afc298bb5f9e591b4102521497e
This commit is contained in:
Stone Li 2022-08-05 12:06:18 +08:00 committed by Lane.Wei
parent 11a7fe1f32
commit 98b612bc2e
14 changed files with 322 additions and 185 deletions

View file

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