#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Thu, 16 Aug 2018 21:16:47 +0200
changeset 4171 82f53dd7304a
parent 4170 b150f3f83b13
child 4172 60e21342c412
#FEATURE by cg class: ApplicationModel added: #translateString:with:with:with:
ApplicationModel.st
--- a/ApplicationModel.st	Thu Aug 16 21:16:19 2018 +0200
+++ b/ApplicationModel.st	Thu Aug 16 21:16:47 2018 +0200
@@ -4140,6 +4140,16 @@
     "Modified: / 09-08-2018 / 18:09:30 / Claus Gittinger"
 !
 
+translateString:aString with:argument1 with:argument2 with:argument3
+    "translate aString to the current language.
+     We use the resources as default.
+     Subclasses may redefine this to use another mechanism"
+
+    ^ self resources stringWithCRs:aString asString with:argument1 with:argument2 with:argument3
+
+    "Created: / 16-08-2018 / 21:16:40 / Claus Gittinger"
+!
+
 translateString:aString withArguments:anArgumentVector
     "translate aString to the current language.
      We use the resources as default.