mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
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:
committed by
GitHub
parent
a2f87dc980
commit
b8c5ddd0ee
@@ -4879,7 +4879,7 @@ wxBoxSizer *ScoreDialog::get_button_sizer()
|
||||
m_upload_status_code = StatusCode::UPLOAD_PROGRESS;
|
||||
|
||||
if (m_star_count == 0) {
|
||||
MessageDialog dlg(this, _L("Please click on the star first."), wxString(SLIC3R_APP_FULL_NAME) + " - " + _L("InFo"), wxOK);
|
||||
MessageDialog dlg(this, _L("Please click on the star first."), wxString(SLIC3R_APP_FULL_NAME) + " - " + _L("Info"), wxOK);
|
||||
dlg.ShowModal();
|
||||
return;
|
||||
}
|
||||
@@ -4982,8 +4982,9 @@ wxBoxSizer *ScoreDialog::get_button_sizer()
|
||||
if (!error_info.empty()) { BOOST_LOG_TRIVIAL(info) << error_info; }
|
||||
|
||||
dlg_info = new MessageDialog(this,
|
||||
_L("Your comment result cannot be uploaded due to some reasons. As follows:\n\n error code: ") + std::to_string(http_code) +
|
||||
"\n " + _L("error message: ") + http_error + _L("\n\nWould you like to redirect to the webpage for rating?"),
|
||||
_L("Your comment result cannot be uploaded due to the following reasons:\n\n error code: ") +
|
||||
std::to_string(http_code) + "\n " + _L("error message: ") + http_error +
|
||||
_L("\n\nWould you like to redirect to the webpage to give a rating?"),
|
||||
wxString(_L("info")), wxOK | wxNO | wxCENTER);
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << ": upload rating picture failed and http error" << http_error;
|
||||
if (dlg_info->ShowModal() == wxID_OK) {
|
||||
@@ -4994,7 +4995,8 @@ wxBoxSizer *ScoreDialog::get_button_sizer()
|
||||
break;
|
||||
}
|
||||
} else if (m_upload_status_code == StatusCode::UPLOAD_IMG_FAILED) {
|
||||
MessageDialog *dlg_info = new MessageDialog(this, _L("Some of your images failed to upload. Would you like to redirect to the webpage for rating?"),
|
||||
MessageDialog *dlg_info = new MessageDialog(this,
|
||||
_L("Some of your images failed to upload. Would you like to redirect to the webpage to give a rating?"),
|
||||
wxString(_L("info")), wxOK | wxNO | wxCENTER);
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << ": upload rating picture failed or get oss config failed";
|
||||
if (dlg_info->ShowModal() == wxID_OK) {
|
||||
|
||||
Reference in New Issue
Block a user