[etoys-dev] Etoys: System-Richo.17.mcz

commits at source.squeak.org commits at source.squeak.org
Tue May 25 21:51:22 EDT 2010


Ricardo Moran uploaded a new version of System to project Etoys:
http://source.squeak.org/etoys/System-Richo.17.mcz

==================== Summary ====================

Name: System-Richo.17
Author: Richo
Time: 25 May 2010, 10:50:29 pm
UUID: e14ff4c1-8f5c-d341-a966-30db01cb92b2
Ancestors: System-bf.16

* Fixed LocaleID>>#displayName

=============== Diff against System-bf.16 ===============

Item was changed:
  ----- Method: LocaleID>>displayName (in category 'accessing') -----
  displayName
  	"Answer a proper name to represent the receiver in GUI. 
  	 
  	The wording is provided by translations of the magic value 
  	'<language display name>'. 
  	 
  	'English' -> 'English'  
  	'German' -> 'Deutsch'  
  	"
  	| magicPhrase translatedMagicPhrase |
+ 	magicPhrase := 'Language-Name'.
- 	magicPhrase := '<language display name>'.
  	translatedMagicPhrase := NaturalLanguageTranslator translateWithoutLoading: magicPhrase toLocaleID: self.
  	^ translatedMagicPhrase = magicPhrase
  		ifTrue: [self displayLanguage]
  		ifFalse: [translatedMagicPhrase]!



More information about the etoys-dev mailing list