[Pkg] The Trunk: Morphic-dtl.633.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Dec 27 20:10:47 UTC 2012

David T. Lewis uploaded a new version of Morphic to project The Trunk:

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

Name: Morphic-dtl.633
Author: dtl
Time: 27 December 2012, 3:09:21.232 pm
UUID: fa1e9d6c-e960-448e-ac9d-befb92b80e94
Ancestors: Morphic-fbs.632

Fix for: Project current chooseNaturalLanguage ==> DNU

=============== Diff against Morphic-fbs.632 ===============

Item was changed:
  ----- Method: MorphicProject>>chooseNaturalLanguage (in category 'language') -----
  	"Put up a menu allowing the user to choose the natural language for the project"
  	| aMenu availableLanguages |
  	aMenu := MenuMorph new defaultTarget: self.
  	aMenu addTitle: 'choose language' translated.
  	aMenu lastItem setBalloonText: 'This controls the human language in which tiles should be viewed.  It is potentially extensible to be a true localization mechanism, but initially it only works in the classic tile scripting system.  Each project has its own private language choice' translated.
  	Preferences noviceMode
  		ifFalse:[aMenu addStayUpItem].
+ 	availableLanguages := InternalTranslator availableLanguageLocaleIDs
- 	availableLanguages := NaturalLanguageTranslator availableLanguageLocaleIDs
  										asSortedCollection:[:x :y | x displayName < y displayName].
  	availableLanguages do:
  		[:localeID |
  			aMenu addUpdating: #stringForLanguageNameIs: target: Locale selector:  #switchAndInstallFontToID: argumentList: {localeID}].
  	aMenu popUpInWorld
  "Project current chooseNaturalLanguage"!

More information about the Packages mailing list