[etoys-dev] Etoys: Etoys-bf.117.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Mar 7 09:56:21 EST 2012
Bert Freudenberg uploaded a new version of Etoys to project Etoys:
http://source.squeak.org/etoys/Etoys-bf.117.mcz
==================== Summary ====================
Name: Etoys-bf.117
Author: bf
Time: 7 March 2012, 3:55:27 pm
UUID: d03d8e60-7b7e-4d81-aa93-d395a939e280
Ancestors: Etoys-kfr.116
Fix translatable strings in variable properties dialog
=============== Diff against Etoys-kfr.116 ===============
Item was changed:
----- Method: ModifyVariableDialogMorph>>title (in category 'accessing') -----
title
+ ^ 'Modify variable' translated!
- ^ 'Modify variable'!
Item was changed:
----- Method: NewVariableDialogMorph>>addDecimalPlaces (in category 'build') -----
addDecimalPlaces
self addARow: {
self inAColumn: {
(self addARow: {
+ self lockedString: 'Decimal places:' translated.
- self lockedString: 'Decimal places: ' translated.
self spacer.
decimalPlacesButton := self buildDecimalPlacesButton
}) cellPositioning: #center.
}
}.
self addSeparator!
Item was changed:
----- Method: NewVariableDialogMorph>>rebuild (in category 'build') -----
rebuild
| buttonColor |
self removeAllMorphs.
self addAColumn: {
+ self lockedString: self title.
- self lockedString: self title translated.
}.
self addSeparator.
self addARow: {
self inAColumn: {
(self addARow: {
+ self lockedString: 'Name:' translated.
- self lockedString: 'Name: ' translated.
self spacer.
varNameText := self newTextMorph
contentsWrapped: self varName;
selectAll;
crAction: (MessageSend
receiver: self
selector: #doAccept);
yourself
}) cellPositioning: #center.
(self addARow: {
+ self lockedString: 'Type:' translated.
- self lockedString: 'Type: ' translated.
self spacer.
varTypeButton := self buildVarTypeButton
}) cellPositioning: #center.
}
}.
ActiveWorld activeHand newKeyboardFocus: varNameText.
self addSeparator.
(#(#Number #Point) includes: self varType)
ifTrue: [self addDecimalPlaces].
buttonColor := self color lighter.
self addARow: {
self inAColumn: {
(self addARow: {
self
buttonNamed: 'Accept' translated action: #doAccept color: buttonColor
help: 'keep changes made and close panel' translated.
self
buttonNamed: 'Cancel' translated action: #doCancel color: buttonColor
help: 'cancel changes made and close panel' translated.
}) listCentering: #center
}
}
!
Item was changed:
----- Method: NewVariableDialogMorph>>title (in category 'accessing') -----
title
+ ^ 'Add new variable' translated!
- ^ 'Add new variable'!
More information about the etoys-dev
mailing list