mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 20:19:09 +08:00
Localization: fixes and changes in phrases
This commit is contained in:
parent
6da93f04bf
commit
315a988a8a
@ -111,6 +111,7 @@ src/slic3r/GUI/Tab.cpp
|
|||||||
src/slic3r/GUI/Tab.hpp
|
src/slic3r/GUI/Tab.hpp
|
||||||
src/slic3r/GUI/UnsavedChangesDialog.cpp
|
src/slic3r/GUI/UnsavedChangesDialog.cpp
|
||||||
src/slic3r/GUI/UpdateDialogs.cpp
|
src/slic3r/GUI/UpdateDialogs.cpp
|
||||||
|
src/slic3r/GUI/WifiConfigDialog.cpp
|
||||||
src/slic3r/GUI/WipeTowerDialog.cpp
|
src/slic3r/GUI/WipeTowerDialog.cpp
|
||||||
src/slic3r/GUI/wxExtensions.cpp
|
src/slic3r/GUI/wxExtensions.cpp
|
||||||
src/slic3r/Utils/AppUpdater.cpp
|
src/slic3r/Utils/AppUpdater.cpp
|
||||||
|
@ -5583,16 +5583,16 @@ void Plater::convert_gcode_to_ascii()
|
|||||||
using namespace bgcode::core;
|
using namespace bgcode::core;
|
||||||
EResult res = is_valid_binary_gcode(*in_file.f);
|
EResult res = is_valid_binary_gcode(*in_file.f);
|
||||||
if (res == EResult::InvalidMagicNumber) {
|
if (res == EResult::InvalidMagicNumber) {
|
||||||
MessageDialog msg_dlg(this, _L("The selected file is already in ascii format."), _L("Warning"), wxOK);
|
MessageDialog msg_dlg(this, _L("The selected file is already in ASCII format."), _L("Warning"), wxOK);
|
||||||
msg_dlg.ShowModal();
|
msg_dlg.ShowModal();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
output_file = rename_file(output_file, ".gcode");
|
output_file = rename_file(output_file, ".gcode");
|
||||||
wxString msg = _L("You are trying to convert to ascii a binary file whose extension is '.gcode'.");
|
wxString msg = _L("You are trying to convert to ASCII a binary file whose extension is '.gcode'.");
|
||||||
msg += "\n" + _L("The exported file will be renamed as:");
|
msg += "\n" + _L("The exported file will be renamed as:");
|
||||||
msg += "\n\n" + output_file;
|
msg += "\n\n" + output_file;
|
||||||
msg += "\n\n" + _L("Continue with export ?");
|
msg += "\n\n" + _L("Continue with export?");
|
||||||
MessageDialog msg_dlg(this, msg, _L("Warning"), wxYES_NO);
|
MessageDialog msg_dlg(this, msg, _L("Warning"), wxYES_NO);
|
||||||
if (msg_dlg.ShowModal() != wxID_YES)
|
if (msg_dlg.ShowModal() != wxID_YES)
|
||||||
return;
|
return;
|
||||||
@ -5633,7 +5633,7 @@ void Plater::convert_gcode_to_ascii()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MessageDialog msg_dlg(this, Slic3r::GUI::format_wxstr("%1%\n%2%", _L("Successfully created G-code ascii file"), output_file),
|
MessageDialog msg_dlg(this, Slic3r::GUI::format_wxstr("%1%\n%2%", _L("Successfully created G-code ASCII file"), output_file),
|
||||||
_L("Convert G-code file to ASCII format"), wxICON_ERROR | wxOK);
|
_L("Convert G-code file to ASCII format"), wxICON_ERROR | wxOK);
|
||||||
msg_dlg.ShowModal();
|
msg_dlg.ShowModal();
|
||||||
}
|
}
|
||||||
@ -5669,10 +5669,10 @@ void Plater::convert_gcode_to_binary()
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
output_file = rename_file(output_file, ".bgcode");
|
output_file = rename_file(output_file, ".bgcode");
|
||||||
wxString msg = _L("You are trying to convert to binary an ascii file whose extension is '.bgcode'.");
|
wxString msg = _L("You are trying to convert to binary an ASCII file whose extension is '.bgcode'.");
|
||||||
msg += "\n" + _L("The exported file will be renamed as:");
|
msg += "\n" + _L("The exported file will be renamed as:");
|
||||||
msg += "\n\n" + output_file;
|
msg += "\n\n" + output_file;
|
||||||
msg += "\n\n" + _L("Continue with export ?");
|
msg += "\n\n" + _L("Continue with export?");
|
||||||
MessageDialog msg_dlg(this, msg, _L("Warning"), wxYES_NO);
|
MessageDialog msg_dlg(this, msg, _L("Warning"), wxYES_NO);
|
||||||
if (msg_dlg.ShowModal() != wxID_YES)
|
if (msg_dlg.ShowModal() != wxID_YES)
|
||||||
return;
|
return;
|
||||||
|
@ -42,7 +42,7 @@ WifiConfigDialog::WifiConfigDialog(wxWindow* parent, std::string& file_path, Rem
|
|||||||
wxStaticText* ssid_label = new wxStaticText(panel, wxID_ANY, GUI::format_wxstr("%1%:", _L("SSID")));
|
wxStaticText* ssid_label = new wxStaticText(panel, wxID_ANY, GUI::format_wxstr("%1%:", _L("SSID")));
|
||||||
m_ssid_combo = new wxComboBox(panel, wxID_ANY);
|
m_ssid_combo = new wxComboBox(panel, wxID_ANY);
|
||||||
#if __APPLE__
|
#if __APPLE__
|
||||||
m_ssid_combo->SetToolTip(_L("On some versions of MacOS, this only loads SSID of connencted network."));
|
m_ssid_combo->SetToolTip(_L("On some versions of MacOS, this only loads SSID of connected network."));
|
||||||
#endif // __APPLE__
|
#endif // __APPLE__
|
||||||
rescan_networks(false);
|
rescan_networks(false);
|
||||||
// TRN Text of button to rescan visible networks in Wifi Config dialog.
|
// TRN Text of button to rescan visible networks in Wifi Config dialog.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user