ImageEditView.st
changeset 4249 fc26253d9d4b
parent 4233 06183a48f783
child 4264 6e31e342f38c
--- a/ImageEditView.st	Tue Jun 25 23:23:20 2013 +0200
+++ b/ImageEditView.st	Wed Jun 26 00:22:31 2013 +0200
@@ -968,7 +968,7 @@
             stillCrobbing ifTrue:[
                 xMinNew := xMinNew + 1.
                 xMinNew >= image width ifTrue:[
-                    self warn:'Image is all the same color - no crob.'.
+                    self warn:(resources string:'Image is all the same color - no crob.').
                     ^ self
                 ]
             ].
@@ -2397,7 +2397,7 @@
     "save the image or the mask only (if what == #mask)"
 
     image isNil ifTrue:[
-        Dialog warn: 'No image to save!!'.
+        Dialog warn:(resources string:'No image to save!!').
         ^ self.
     ].
     self save:image imageOrMask:what as:image fileName.
@@ -2506,7 +2506,7 @@
     aFileName isNil ifTrue: [^nil].
 
     image isNil ifTrue:[
-        self warn: 'No image or image mask detected!!'.
+        self warn:(resources string:'No image or image mask to save!!').
         ^ self.
     ].
 
@@ -2538,7 +2538,7 @@
     image notNil ifTrue:[
         self save:image imageOrMask:#image as:aFileName.
     ] ifFalse:[
-        self warn: 'No image for saving!!'
+        self warn:(resources string:'No image for saving!!')
     ]
 
     "Modified: / 30.9.1998 / 23:04:55 / cg"
@@ -2562,7 +2562,7 @@
     (image notNil and:[image mask notNil]) ifTrue:[
         self save:image imageOrMask:#mask as:aFileName.
     ] ifFalse:[
-        self warn: 'No image or image mask detected!!'
+        self warn:(resources string:'No image or image mask to save!!')
     ]
 
     "Modified: / 30.9.1998 / 23:06:24 / cg"
@@ -2667,12 +2667,12 @@
     image isNil ifTrue:[^ self].
 
     Printer supportsPostscript ifFalse:[
-        ^ self warn:'No postscript printer configured !!'
+        ^ self warn:(resources string:'No postscript printer configured !!')
     ].
 
     stream := Printer newNative.
     stream isNil ifTrue:[
-        ^ self warn:'Cannot open printer stream !!'
+        ^ self warn:(resources string:'Cannot open printer stream !!')
     ].
 
     self withWaitCursorDo:[
@@ -2776,11 +2776,11 @@
 !ImageEditView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/ImageEditView.st,v 1.255 2013-06-05 13:23:47 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/ImageEditView.st,v 1.256 2013-06-25 22:22:31 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libwidg2/ImageEditView.st,v 1.255 2013-06-05 13:23:47 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/ImageEditView.st,v 1.256 2013-06-25 22:22:31 cg Exp $'
 ! !