[Pkg] The Trunk: System-mt.877.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Aug 11 06:52:18 UTC 2016


Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.877.mcz

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

Name: System-mt.877
Author: mt
Time: 11 August 2016, 8:51:55.609217 am
UUID: 6401282c-0ac4-7743-bacf-1d57f8bd2755
Ancestors: System-cmm.876

Fixes two bugs in language translation. One prevents an infinite loop, the other avoids the creation of instances of the abstract class NaturalLanguageTranslator. Fall-back to the internal translator instead. Thanks to Tim (F.) !

=============== Diff against System-cmm.876 ===============

Item was changed:
  ----- Method: Locale class>>localeChangedGently (in category 'notification') -----
  localeChangedGently
+ 	SystemNavigation default allBehaviorsDo: [:b | b == self ifFalse: [b localeChangedGently]].!
- 	self class environment allBehaviorsDo: [:b | b localeChangedGently].!

Item was changed:
  ----- Method: NaturalLanguageTranslator class>>default (in category 'accessing') -----
  default
  	"Answer translator for backstop"
  	"self default translate: 'test'"
+ 	^ (self == NaturalLanguageTranslator ifTrue: [InternalTranslator] ifFalse: [self]) new
- 	^ self new
  		localeID: (LocaleID isoLanguage: 'en')!



More information about the Packages mailing list