#REFACTORING by cg
class: ImageEditView
changed: #save:imageOrMask:as:
use warn:with:
--- a/ImageEditView.st Tue Jul 09 20:53:39 2019 +0200
+++ b/ImageEditView.st Wed Jul 10 18:31:50 2019 +0200
@@ -3739,12 +3739,14 @@
fileNameString := fileName name , '.xpm'.
fileName := fileNameString asFilename.
image fileName:fileNameString.
- Dialog warn:(('Don''t know how to write ''.' , suff , '''-files\\Saving in xpm format as ''%1''.')
- withCRs bindWith:fileNameString allBold).
+ Dialog warn:'Don''t know how to write ".%1"-files\\Saving in xpm format as "%2".' withCRs
+ with:suff
+ with:fileNameString allBold.
].
(imageReaderClass canRepresent:image) ifFalse:[
imageReaderClass == XPMReader ifTrue:[
- Dialog warn:('Saving in ''.' , suff , '''-format is not supported (or image cannot be represented in this format).\\Please try another format.') withCRs.
+ Dialog warn:'Saving in ".%1"-format is not supported (or image cannot be represented in this format).\\Please try another format.' withCRs
+ with:suff.
^ self.
].
imageReaderClass := XPMReader.
@@ -3774,6 +3776,7 @@
]
"Modified: / 13-09-2017 / 09:49:46 / cg"
+ "Modified: / 10-07-2019 / 18:30:12 / Claus Gittinger"
!
saveAs