[squeak-dev] The Trunk: GetText-edc.16.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Mar 14 09:49:00 UTC 2012


Edgar J. De Cleene uploaded a new version of GetText to project The Trunk:
http://source.squeak.org/trunk/GetText-edc.16.mcz

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

Name: GetText-edc.16
Author: edc
Time: 13 March 2012, 11:00:14.979 am
UUID: ef3a08b3-0cb4-4cc2-8133-a09290cea682
Ancestors: GetText-edc.15

Fix for use Flaps makeNavigatorFlapResembleGoldenBar

=============== Diff against GetText-edc.15 ===============

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 display name>'.
+ 	translatedMagicPhrase := GetTextTranslator translateWithoutLoading: magicPhrase toLocaleID: self.
- 	translatedMagicPhrase := NaturalLanguageTranslator translateWithoutLoading: magicPhrase toLocaleID: self.
  	^ translatedMagicPhrase = magicPhrase
  		ifTrue: [self displayLanguage]
  		ifFalse: [translatedMagicPhrase]!



More information about the Squeak-dev mailing list