Fix english strings consistency (#8881)

* "non zero" -> "non-zero"

* "Z hop" -> "Z-hop"

* "works" -> "is working"

* "version at least x" -> "version x or higher"

* "printing job" -> "print job"
"to print on" -> "printing on"

* "is not find" -> "was not found"

* "boundary of plate" -> "plate boundaries"

* "toolchange" -> "tool change"

* "colour" -> "color"

* "cancelled" -> "canceled"

* "can not" -> "cannot"

* "gcode" -> "G-code"
This commit is contained in:
Alexandre Folle de Menezes
2025-04-26 08:59:49 -03:00
committed by GitHub
parent e787666605
commit d37f1b6a81
64 changed files with 6118 additions and 7409 deletions

View File

@@ -3855,7 +3855,7 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
// load_config = false;
// if (!load_model) {
// // only load config case, return directly
// show_info(q, _L("The Config can not be loaded."), _L("Load 3mf"));
// show_info(q, _L("The Config cannot be loaded."), _L("Load 3mf"));
// q->skip_thumbnail_invalid = false;
// return empty_result;
// }
@@ -4038,9 +4038,9 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
for (std::set<std::string>::iterator it=modified_gcodes.begin(); it!=modified_gcodes.end(); ++it)
warning_message += "-" + *it + "\n";
warning_message += "\n";
//show_info(q, _L("The 3mf has following modified G-codes in filament or printer presets:") + warning_message+ _L("Please confirm that these modified G-codes are safe to prevent any damage to the machine!"), _L("Modified G-codes"));
//show_info(q, _L("The 3mf has following modified G-codes in filament or printer presets:") + warning_message+ _L("Please confirm that these modified G-codes are safe to prevent any damage to the machine!"), _L("Modified G-code"));
MessageDialog dlg(q, _L("The 3mf has following modified G-codes in filament or printer presets:") + warning_message+ _L("Please confirm that these modified G-codes are safe to prevent any damage to the machine!"), _L("Modified G-codes"));
MessageDialog dlg(q, _L("The 3mf has following modified G-codes in filament or printer presets:") + warning_message+ _L("Please confirm that these modified G-codes are safe to prevent any damage to the machine!"), _L("Modified G-code"));
dlg.show_dsa_button();
auto res = dlg.ShowModal();
if (dlg.get_checkbox_state())
@@ -7533,7 +7533,7 @@ void Plater::priv::show_install_plugin_hint(wxCommandEvent &event)
void Plater::priv::show_preview_only_hint(wxCommandEvent &event)
{
notification_manager->bbl_show_preview_only_notification(into_u8(_L("Preview only mode:\nThe loaded file contains gcode only, Can not enter the Prepare page")));
notification_manager->bbl_show_preview_only_notification(into_u8(_L("Preview only mode:\nThe loaded file contains G-code only, cannot enter the Prepare page.")));
}
void Plater::priv::on_apple_change_color_mode(wxSysColourChangedEvent& evt) {
@@ -10482,7 +10482,7 @@ void Plater::load_gcode(const wxString& filename)
p->preview->get_canvas3d()->zoom_to_plate(0);
if (p->preview->get_canvas3d()->get_gcode_layers_zs().empty()) {
MessageDialog(this, _L("The selected file") + ":\n" + filename + "\n" + _L("does not contain valid gcode."),
MessageDialog(this, _L("The selected file") + ":\n" + filename + "\n" + _L("does not contain valid G-code."),
wxString(GCODEVIEWER_APP_NAME) + " - " + _L("Error occurs while loading G-code file"), wxCLOSE | wxICON_WARNING | wxCENTRE).ShowModal();
set_project_filename(DEFAULT_PROJECT_NAME);
} else {
@@ -11131,7 +11131,7 @@ bool Plater::load_files(const wxArrayString& filenames)
}
if (!gcode_paths.empty()) {
show_info(this, _L("G-code files can not be loaded with models together!"), _L("G-code loading"));
show_info(this, _L("G-code files cannot be loaded with models together!"), _L("G-code loading"));
return false;
}
@@ -11183,7 +11183,7 @@ bool Plater::load_files(const wxArrayString& filenames)
if (this->m_only_gcode || this->m_exported_file) {
if ((loadfiles_type == LoadFilesType::SingleOther)
|| (loadfiles_type == LoadFilesType::MultipleOther)) {
show_info(this, _L("Can not add models when in preview mode!"), _L("Add Models"));
show_info(this, _L("Cannot add models when in preview mode!"), _L("Add Models"));
return false;
}
}
@@ -14639,7 +14639,8 @@ void Plater::post_process_string_object_exception(StringObjectException &err)
break;
}
}
err.string = format(_L("Plate %d: %s is not suggested to be used to print filament %s(%s). If you still want to do this printing, please set this filament's bed temperature to non-zero."),
err.string = format(_L("Plate %d: %s is not suggested to be used to print filament %s(%s). "
"If you still want to do this print job, please set this filament's bed temperature to non-zero."),
err.params[0], err.params[1], err.params[2], filament_name);
err.string += "\n";
}