Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Bubnik <bubnikv@gmail.com>2022-01-31 13:27:32 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2022-01-31 13:27:32 +0300
commit56e189943f2161acc5a95708949cf234e72f2c51 (patch)
tree022d50bffc05975ff99d223efe4b3b702a032377
parent3e7a4d4648904b64c9f2d1c2948d81878f2a5eeb (diff)
Follow-up to 3e7a4d4648904b64c9f2d1c2948d81878f2a5eeb
Allowed for localization of error messages.
-rw-r--r--src/libslic3r/Print.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libslic3r/Print.cpp b/src/libslic3r/Print.cpp
index ebd2e8f66..dc47b382d 100644
--- a/src/libslic3r/Print.cpp
+++ b/src/libslic3r/Print.cpp
@@ -660,11 +660,11 @@ std::string Print::validate(std::string* warning) const
if (m_config.use_relative_e_distances) {
// See GH issues #6336 #5073
if (! before_layer_gcode_resets_extruder && ! layer_gcode_resets_extruder)
- return "Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add \"G92 E0\" to layer_gcode.";
+ return L("Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add \"G92 E0\" to layer_gcode.");
} else if (before_layer_gcode_resets_extruder)
- return "\"G92 E0\" was found in before_layer_gcode, which is incompatible with absolute extruder addressing.";
+ return L("\"G92 E0\" was found in before_layer_gcode, which is incompatible with absolute extruder addressing.");
else if (layer_gcode_resets_extruder)
- return "\"G92 E0\" was found in layer_gcode, which is incompatible with absolute extruder addressing.";
+ return L("\"G92 E0\" was found in layer_gcode, which is incompatible with absolute extruder addressing.");
}
return std::string();