Fix the spelling/grammar on the original english strings (#9487)

* Fix the spelling/grammar on english strings

* Fix the spelling/grammar on english strings, part 2
This commit is contained in:
Alexandre Folle de Menezes
2025-06-01 08:32:36 -03:00
committed by GitHub
parent a2f87dc980
commit b8c5ddd0ee
52 changed files with 2421 additions and 2488 deletions

View File

@@ -555,11 +555,11 @@ bool BackgroundSlicingProcess::stop()
m_print->cancel();
// Wait until the background processing stops by being canceled.
m_condition.wait(lck, [this](){ return m_state == STATE_CANCELED; });
// In the "Canceled" state. Reset the state to "Idle".
// In the "Cancelled" state. Reset the state to "Idle".
m_state = STATE_IDLE;
m_print->set_cancel_callback([](){});
} else if (m_state == STATE_FINISHED || m_state == STATE_CANCELED) {
// In the "Finished" or "Canceled" state. Reset the state to "Idle".
// In the "Finished" or "Cancelled" state. Reset the state to "Idle".
m_state = STATE_IDLE;
m_print->set_cancel_callback([](){});
}
@@ -605,7 +605,7 @@ void BackgroundSlicingProcess::stop_internal()
// Lock it back to be in a consistent state.
m_print->state_mutex().lock();
}
// In the "Canceled" state. Reset the state to "Idle".
// In the "Cancelled" state. Reset the state to "Idle".
m_state = STATE_IDLE;
m_print->set_cancel_callback([](){});
BOOST_LOG_TRIVIAL(info) << __FUNCTION__<< ", exit"<<std::endl;
@@ -865,7 +865,7 @@ void BackgroundSlicingProcess::export_gcode()
}
catch (...)
{
throw Slic3r::ExportError(_utf8(L("Unknown error when export G-code.")));
throw Slic3r::ExportError(_utf8(L("Unknown error when exporting G-code.")));
}
switch (copy_ret_val) {
case CopyFileResult::SUCCESS: break; // no error
@@ -887,7 +887,7 @@ void BackgroundSlicingProcess::export_gcode()
default:
BOOST_LOG_TRIVIAL(error) << "Fail code(" << (int)copy_ret_val << ") when copy "<<output_path<<" to " << export_path << ".";
throw Slic3r::ExportError((boost::format(_utf8(L("Failed to save G-code file.\nError message: %1%.\nSource file %2%."))) % error_message % output_path).str());
//throw Slic3r::ExportError(_utf8(L("Unknown error when export G-code.")));
//throw Slic3r::ExportError(_utf8(L("Unknown error when exporting G-code.")));
break;
}