ResourcePack.st
changeset 4036 4978ac9fbe27
parent 4035 a785efbbc5c9
child 4037 63eda0e11dca
--- a/ResourcePack.st	Tue Feb 24 14:52:55 2004 +0100
+++ b/ResourcePack.st	Tue Feb 24 14:54:20 2004 +0100
@@ -359,12 +359,13 @@
     "translate a string.
      Some special 'intelligence' has been added:
         if no value for aKey is found,
-        and aKey ends with a ':', then lookup aKey without ':' and append ':' to the result.
-        or aKey ends with a '=', then lookup aKey without '=' and append '=' to the result.
-        or aKey ends with a ' ', then lookup aKey without ' '.
-        or aKey ends with a ' ...', then lookup aKey without ' ...' and append '...' to the result.
-        or aKey ends with a '...', then lookup aKey without '...' and append '...' to the result.
-        or aKey includes '&', then lookup aKey without '&'.
+          lookup aKey with first character caseChanged and change the results first characters case.
+          or aKey ends with a ':', then lookup aKey without ':' and append ':' to the result.
+          or aKey ends with a '=', then lookup aKey without '=' and append '=' to the result.
+          or aKey ends with a ' ', then lookup aKey without ' '.
+          or aKey ends with a ' ...', then lookup aKey without ' ...' and append '...' to the result.
+          or aKey ends with a '...', then lookup aKey without '...' and append '...' to the result.
+          or aKey includes '&', then lookup aKey without '&'.
 
      This means, that only a single translation is required to provide local translations for
      things like 
@@ -954,7 +955,7 @@
 !ResourcePack class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/ResourcePack.st,v 1.88 2004-02-24 13:52:55 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/ResourcePack.st,v 1.89 2004-02-24 13:54:20 cg Exp $'
 ! !
 
 ResourcePack initialize!