[etoys-dev] Etoys Inbox: Morphic-bf.64.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Jun 12 19:15:39 EDT 2011


A new version of Morphic was added to project Etoys Inbox:
http://source.squeak.org/etoysinbox/Morphic-bf.64.mcz

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

Name: Morphic-bf.64
Author: bf
Time: 12 June 2011, 4:11:59 pm
UUID: 20809589-aa04-4209-93d9-5e889ee9be3e
Ancestors: Morphic-kfr.63

remove spaces from translated labels (SQ-681)

=============== Diff against Morphic-kfr.63 ===============

Item was changed:
  ----- Method: ChessMorph>>addButtonRow (in category 'initialize') -----
  addButtonRow
  
  	| r m |
  	r _ AlignmentMorph newRow hResizing: #shrinkWrap; vResizing: #shrinkWrap; color: Color transparent.
+ 	r addMorphBack: (self buttonName: 'New' translated action: #newGame).
+ 	r addMorphBack: (self buttonName: 'Help' translated action: #findBestMove).
+ 	r addMorphBack: (self buttonName: 'Play' translated action: #thinkAndMove).
+ 	r addMorphBack: (self buttonName: 'Auto' translated action: #autoPlay).
+ 	r addMorphBack: (self buttonName: 'Undo' translated action: #undoMove).
+ 	r addMorphBack: (self buttonName: 'Redo' translated action: #redoMove).
+ 	r addMorphBack: (self buttonName: 'Quit' translated action: #delete).
- 	r addMorphBack: (self buttonName: '  New  ' translated action: #newGame).
- 	r addMorphBack: (self buttonName: '  Help  ' translated action: #findBestMove).
- 	r addMorphBack: (self buttonName: '  Play  ' translated action: #thinkAndMove).
- 	r addMorphBack: (self buttonName: '  Auto  ' translated action: #autoPlay).
- 	r addMorphBack: (self buttonName: '  Undo  ' translated action: #undoMove).
- 	r addMorphBack: (self buttonName: '  Redo  ' translated action: #redoMove).
- 	r addMorphBack: (self buttonName: '  Quit  ' translated action: #delete).
  	r disableTableLayout: true.
  	r align: r bounds topLeft with: self layoutBounds topLeft.
  	self addMorphFront: r.
  	m _ UpdatingStringMorph on: self selector: #statusString.
  	m useStringFormat.
  	m disableTableLayout: true.
  	m align: m bounds topLeft with: r fullBounds bottomLeft.
  	self addMorphFront: m.!

Item was changed:
  ----- Method: ChessMorph>>buttonName:action: (in category 'initialize') -----
  buttonName: aString action: aSymbol
  
  	^ SimpleButtonMorph new
  		target: self;
+ 		label: ' ', aString, ' ';
- 		label: aString;
  		actionSelector: aSymbol;
  		color: (Color gray: 0.8);  "old color"
  		fillStyle: self buttonFillStyle;
  		borderWidth: 0;
  		borderColor: #raised.
  !



More information about the etoys-dev mailing list