From 704d61941ef67cf7333f0d5f11eae3b7b60369d2 Mon Sep 17 00:00:00 2001 From: daid303 Date: Wed, 3 Oct 2012 15:24:35 +0200 Subject: [PATCH] Remove the reference to slicing from the popup message. --- Cura/gui/mainWindow.py | 4 ++-- Cura/gui/simpleMode.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cura/gui/mainWindow.py b/Cura/gui/mainWindow.py index 925cced9..08afb556 100644 --- a/Cura/gui/mainWindow.py +++ b/Cura/gui/mainWindow.py @@ -386,7 +386,7 @@ class mainWindow(configBase.configWindowBase): def OnSlice(self, e): if len(self.filelist) < 1: - wx.MessageBox('You need to load a file before you can slice it.', 'Print error', wx.OK | wx.ICON_INFORMATION) + wx.MessageBox('You need to load a file before you can prepare it.', 'Print error', wx.OK | wx.ICON_INFORMATION) return #Create a progress panel and add it to the window. The progress panel will start the Skein operation. spp = sliceProgessPanel.sliceProgessPanel(self, self, self.filelist) @@ -399,7 +399,7 @@ class mainWindow(configBase.configWindowBase): def OnPrint(self, e): if len(self.filelist) < 1: - wx.MessageBox('You need to load a file and prepare it before you can print it.', 'Print error', wx.OK | wx.ICON_INFORMATION) + wx.MessageBox('You need to load a file and prepare it before you can print.', 'Print error', wx.OK | wx.ICON_INFORMATION) return if not os.path.exists(sliceRun.getExportFilename(self.filelist[0])): wx.MessageBox('You need to prepare a print before you can run the actual print.', 'Print error', wx.OK | wx.ICON_INFORMATION) diff --git a/Cura/gui/simpleMode.py b/Cura/gui/simpleMode.py index 8e5b4823..71eace9e 100644 --- a/Cura/gui/simpleMode.py +++ b/Cura/gui/simpleMode.py @@ -161,7 +161,7 @@ class simpleModeWindow(configBase.configWindowBase): def OnSlice(self, e): if len(self.filelist) < 1: - wx.MessageBox('You need to load a file before you can slice it.', 'Print error', wx.OK | wx.ICON_INFORMATION) + wx.MessageBox('You need to load a file before you can prepare it.', 'Print error', wx.OK | wx.ICON_INFORMATION) return #save the current profile so we can put it back latter oldProfile = profile.getGlobalProfileString() @@ -275,10 +275,10 @@ class simpleModeWindow(configBase.configWindowBase): def OnPrint(self, e): if len(self.filelist) < 1: - wx.MessageBox('You need to load a file and slice it before you can print it.', 'Print error', wx.OK | wx.ICON_INFORMATION) + wx.MessageBox('You need to load a file and prepare it before you can print.', 'Print error', wx.OK | wx.ICON_INFORMATION) return if not os.path.exists(sliceRun.getExportFilename(self.filelist[0])): - wx.MessageBox('You need to slice the file to GCode before you can print it.', 'Print error', wx.OK | wx.ICON_INFORMATION) + wx.MessageBox('You need to prepare the file before you can print.', 'Print error', wx.OK | wx.ICON_INFORMATION) return printWindow.printFile(sliceRun.getExportFilename(self.filelist[0])) -- 2.30.2