[etoys-dev] Etoys: Etoys-bf.142.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Jun 24 12:22:22 EDT 2012


Bert Freudenberg uploaded a new version of Etoys to project Etoys:
http://source.squeak.org/etoys/Etoys-bf.142.mcz

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

Name: Etoys-bf.142
Author: bf
Time: 24 June 2012, 6:21:40 pm
UUID: 0845c664-b30b-44d0-8343-1e8e8de27097
Ancestors: Etoys-bf.141

CalendarMorph: use 'Week dayNames' instead of listing the week days. This avoids exporting them for translation again.

=============== Diff against Etoys-bf.141 ===============

Item was changed:
  ----- Method: CalendarMorph>>dayInitialsRow (in category 'building') -----
  dayInitialsRow
  	| newRow |
  	newRow := self newRow.
+ 	Week dayNames
- 	{#Sunday translated. 
- 	#Monday translated. 
- 	#Tuesday translated. 
- 	#Wednesday translated. 
- 	#Thursday translated. 
- 	#Friday translated. 
- 	#Saturday translated}
  		do: [:dayName|
  			newRow addMorphBack: (TextMorph new 
+ 				contentsWrapped: dayName translated first asString;
+ 				textColor: self labelsDefaultColor;
+ 				autoFit: false;
+ 				width: 30;
+ 				centered;
+ 				lock)]
- 											contentsWrapped: dayName first asString;
- 											textColor: self labelsDefaultColor;
- 											autoFit: false;
- 											width: 30;
- 											centered;
- 											lock)]
  		separatedBy: [newRow addMorphBack: AlignmentMorph newVariableTransparentSpacer].
  	^newRow !



More information about the etoys-dev mailing list