#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Thu, 09 Aug 2018 15:09:30 +0200
changeset 4156 956b7cf8c1be
parent 4155 406dd6f034d6
child 4157 703a5fd557ca
#REFACTORING by cg class: ApplicationModel changed: #translateString:
ApplicationModel.st
--- a/ApplicationModel.st	Thu Aug 09 15:09:11 2018 +0200
+++ b/ApplicationModel.st	Thu Aug 09 15:09:30 2018 +0200
@@ -4111,12 +4111,11 @@
      We use the resources as default.
      Subclasses may redefine this to use another mechanism"
 
-    aString isNil ifTrue:[^ nil]. 
-    aString isEmpty ifTrue:[^ '']. 
+    aString size == 0 ifTrue:[^ nil]. 
     ^ self resources stringWithCRs:aString
 
     "Modified: / 27-02-2017 / 13:50:46 / cg"
-    "Modified: / 09-08-2018 / 15:09:00 / Claus Gittinger"
+    "Modified: / 09-08-2018 / 15:09:21 / Claus Gittinger"
 !
 
 translateString:aString with:anArgument