Fixed localization of the "Machine Limits" parameters.

Fixed localization of some other parameters (templating is not supported
inside the PrintConfig.cpp as these strings are translated not inside
PrintConfig.cpp, but by the calling GUI code).
Fixed localization of SLA status bar.
This commit is contained in:
bubnikv 2019-05-09 14:15:56 +02:00
parent 39946ce28c
commit 92ba75ed75
5 changed files with 7362 additions and 7685 deletions
src/slic3r/GUI

View file

@ -619,7 +619,11 @@ void MainFrame::quick_slice(const int qs)
// {
// validate configuration
auto config = wxGetApp().preset_bundle->full_config();
config.validate();
auto valid = config.validate();
if (! valid.empty()) {
show_error(this, valid);
return;
}
// select input file
if (!(qs & qsReslice)) {
@ -783,8 +787,8 @@ void MainFrame::export_config()
auto config = wxGetApp().preset_bundle->full_config();
// Validate the cummulative configuration.
auto valid = config.validate();
if (!valid.empty()) {
// Slic3r::GUI::catch_error(this);
if (! valid.empty()) {
show_error(this, valid);
return;
}
// Ask user for the file name for the config file.