FIX: Some translation

Jira: STUDIO-4460

Change-Id: I1fe43a028c86c1008cbae3f0d8908590aaa3cafa
This commit is contained in:
maosheng.wei
2023-09-19 10:13:53 +08:00
committed by Lane.Wei
parent ac876996ce
commit e5dc157970
28 changed files with 5368 additions and 355 deletions

View File

@@ -1816,7 +1816,7 @@ wxBoxSizer *CreatePrinterPresetDialog::create_page2_btns_item(wxWindow *parent)
}
}
if (selected_filament_presets.empty() && !filament_preset_is_exist) {
MessageDialog dlg(this, _L("You need to select at least one filling preset."), wxString(SLIC3R_APP_FULL_NAME) + " - " + _L("Info"),
MessageDialog dlg(this, _L("You need to select at least one filament preset."), wxString(SLIC3R_APP_FULL_NAME) + " - " + _L("Info"),
wxYES | wxYES_DEFAULT | wxCENTRE);
dlg.ShowModal();
return;
@@ -2081,7 +2081,7 @@ void CreatePrinterPresetDialog::update_presets_list()
varient = model_varient.substr(index_at + 3, index_nozzle - index_at - 4);
}
else {
MessageDialog dlg(this, _L("The nozzle_diameter is not fond, place reselect."), wxString(SLIC3R_APP_FULL_NAME) + " - " + _L("Info"), wxYES_NO | wxYES_DEFAULT | wxCENTRE);
MessageDialog dlg(this, _L("The nozzle diameter is not fond, place reselect."), wxString(SLIC3R_APP_FULL_NAME) + " - " + _L("Info"), wxYES_NO | wxYES_DEFAULT | wxCENTRE);
dlg.ShowModal();
return;
}
@@ -2382,9 +2382,9 @@ ExportConfigsDialog::ExportConfigsDialog(wxWindow *parent)
{
m_exprot_type.preset_bundle = _L("Printer config bundle(.bbscfg)");
m_exprot_type.filament_bundle = _L("Filament bundle(.bbsflmt)");
m_exprot_type.printer_preset = _L("Printer presets(.json)");
m_exprot_type.filament_preset = _L("Filament presets(.json)");
m_exprot_type.process_preset = _L("Process presets(.json)");
m_exprot_type.printer_preset = _L("Printer presets(.zip)");
m_exprot_type.filament_preset = _L("Filament presets(.zip)");
m_exprot_type.process_preset = _L("Process presets(.zip)");
this->SetBackgroundColour(*wxWHITE);
this->SetSize(wxSize(FromDIP(600), FromDIP(600)));

View File

@@ -4548,7 +4548,7 @@ wxBoxSizer *ScoreDialog::get_button_sizer()
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 storing?"),
"\n " + _L("error message: ") + http_error + _L("\n\nWould you like to redirect to the webpage for rating?"),
wxString(_L("info")), wxOK | wxNO | wxCENTER);
if (dlg_info->ShowModal() == wxID_OK) {
market_model_scoring_page(m_design_id);
@@ -4558,7 +4558,7 @@ 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 storing?"),
MessageDialog *dlg_info = new MessageDialog(this, _L("Some of your images failed to upload. Would you like to redirect to the webpage for rating?"),
wxString(_L("info")), wxOK | wxNO | wxCENTER);
if (dlg_info->ShowModal() == wxID_OK) {
market_model_scoring_page(m_design_id);
@@ -4608,7 +4608,7 @@ void ScoreDialog::load_photo(const std::vector<std::pair<wxString, std::string>>
}
} else {
MessageDialog *dlg_info_up_to_8 = new MessageDialog(this, _L("You can select up to 5 images."), wxString(_L("info")), wxOK | wxCENTER);
MessageDialog *dlg_info_up_to_8 = new MessageDialog(this, _L("You can select up to 16 images."), wxString(_L("info")), wxOK | wxCENTER);
dlg_info_up_to_8->ShowModal();
break;
}