Commit 0db443c4 authored by Guillaume Seguin's avatar Guillaume Seguin

Beautify a few translation strings

parent 240a7c70
...@@ -1308,10 +1308,11 @@ class PronterWindow(MainWindow, pronsole.pronsole): ...@@ -1308,10 +1308,11 @@ class PronterWindow(MainWindow, pronsole.pronsole):
def loadviz(self): def loadviz(self):
gcode = self.fgcode gcode = self.fgcode
print gcode.filament_length, _("mm of filament used in this print\n") print gcode.filament_length, _("mm of filament used in this print")
print _("the print goes from %f mm to %f mm in X\nand is %f mm wide\n") % (gcode.xmin, gcode.xmax, gcode.width) print _("The print goes:")
print _("the print goes from %f mm to %f mm in Y\nand is %f mm wide\n") % (gcode.ymin, gcode.ymax, gcode.depth) print _("- from %.2f mm to %.2f mm in X and is %.2f mm wide") % (gcode.xmin, gcode.xmax, gcode.width)
print _("the print goes from %f mm to %f mm in Z\nand is %f mm high\n") % (gcode.zmin, gcode.zmax, gcode.height) print _("- from %.2f mm to %.2f mm in Y and is %.2f mm deep") % (gcode.ymin, gcode.ymax, gcode.depth)
print _("- from %.2f mm to %.2f mm in Z and is %.2f mm high") % (gcode.zmin, gcode.zmax, gcode.height)
print _("Estimated duration: %s") % gcode.estimate_duration() print _("Estimated duration: %s") % gcode.estimate_duration()
self.gviz.clear() self.gviz.clear()
self.gwindow.p.clear() self.gwindow.p.clear()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment