[etoys-dev] Etoys Inbox: Protocols-Richo.2.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon May 17 22:52:46 EDT 2010
A new version of Protocols was added to project Etoys Inbox:
http://source.squeak.org/etoysinbox/Protocols-Richo.2.mcz
==================== Summary ====================
Name: Protocols-Richo.2
Author: Richo
Time: 17 May 2010, 11:53:10 pm
UUID: 5572f53d-62c6-8241-891c-9ca956d09fe2
Ancestors: Protocols-bf.1
This change is probably wrong. But I'm experimenting anyway :).
I made ObjectWithDocumentation>>#wording return the translated value using 'Etoys-Tiles' domain.
=============== Diff against Protocols-bf.1 ===============
Item was changed:
----- Method: ObjectWithDocumentation>>wording (in category 'accessing') -----
wording
"Answer the receiver's wording"
| wording |
(wording := self propertyAt: #wording ifAbsent: [nil])
+ ifNotNil: [^wording translatedInDomain: 'Etoys-Tiles'].
- ifNotNil: [^wording translated].
self initWordingAndDocumentation.
^self propertyAt: #wording ifAbsent: ['']!
Item was removed:
- ----- Method: ElementCategory>>translated (in category 'translation') -----
- translated
- "answer the receiver translated to the current language"
-
- ^ self class new categoryName: categoryName asString translated asSymbol!
More information about the etoys-dev
mailing list