ResourcePack.st
changeset 4844 38faa6eaaf26
parent 4835 1f64020798d9
child 4848 18a6274df5d1
equal deleted inserted replaced
4843:36621a8aafd5 4844:38faa6eaaf26
   706           lookup aKey with first character caseChanged and change the results first characters case.
   706           lookup aKey with first character caseChanged and change the results first characters case.
   707           or aKey ends with a ':', then lookup aKey without ':' and append ':' to the result.
   707           or aKey ends with a ':', then lookup aKey without ':' and append ':' to the result.
   708           or aKey ends with a '=', then lookup aKey without '=' and append '=' to the result.
   708           or aKey ends with a '=', then lookup aKey without '=' and append '=' to the result.
   709           or aKey ends with a '.', then lookup aKey without '.' and append '.' to the result.
   709           or aKey ends with a '.', then lookup aKey without '.' and append '.' to the result.
   710           or aKey ends with a ',', then lookup aKey without ',' and append ',' to the result.
   710           or aKey ends with a ',', then lookup aKey without ',' and append ',' to the result.
       
   711           or aKey ends with a '?', then lookup aKey without '?' and append '?' to the result.
       
   712           or aKey ends with a '!!', then lookup aKey without '!!' and append '!!' to the result.
   711           or aKey ends with a ' ', then lookup aKey without ' '.
   713           or aKey ends with a ' ', then lookup aKey without ' '.
   712           or aKey ends with a ' ...', then lookup aKey without ' ...' and append '...' to the result.
   714           or aKey ends with a ' ...', then lookup aKey without ' ...' and append '...' to the result.
   713           or aKey ends with a '...', then lookup aKey without '...' and append '...' to the result.
   715           or aKey ends with a '...', then lookup aKey without '...' and append '...' to the result.
   714           or aKey includes '&', then lookup aKey without '&'.
   716           or aKey includes '&', then lookup aKey without '&'.
   715 
   717 
   802 !
   804 !
   803 
   805 
   804 name:aKey default:default
   806 name:aKey default:default
   805     "translate a string.
   807     "translate a string.
   806      Obsolete - use #string:default:"
   808      Obsolete - use #string:default:"
       
   809 
       
   810     <resource: #obsolete>
   807 
   811 
   808     ^ self at:aKey ifAbsent:default
   812     ^ self at:aKey ifAbsent:default
   809 !
   813 !
   810 
   814 
   811 string:s
   815 string:s
  1283 ! !
  1287 ! !
  1284 
  1288 
  1285 !ResourcePack class methodsFor:'documentation'!
  1289 !ResourcePack class methodsFor:'documentation'!
  1286 
  1290 
  1287 version
  1291 version
  1288     ^ '$Header: /cvs/stx/stx/libview/ResourcePack.st,v 1.124 2007-11-02 18:01:48 stefan Exp $'
  1292     ^ '$Header: /cvs/stx/stx/libview/ResourcePack.st,v 1.125 2007-11-23 17:03:30 stefan Exp $'
  1289 ! !
  1293 ! !
  1290 
  1294 
  1291 ResourcePack initialize!
  1295 ResourcePack initialize!