[etoys-dev] Etoys Inbox: Protocols-Richo.2.mcz
richi.moran at gmail.com
Mon May 17 23:17:41 EDT 2010
I accidentally removed ElementCategory>>#translated and nothing seems to
happen (I thought I would get a lot of DNUs).
Is this method useful?
On Mon, May 17, 2010 at 11:52 PM, <commits at source.squeak.org> wrote:
> A new version of Protocols was added to project Etoys Inbox:
> ==================== 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')
> "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
> etoys-dev mailing list
> etoys-dev at squeakland.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the etoys-dev