[etoys-dev] Etoys Inbox: Protocols-Richo.2.mcz
Ricardo Moran
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?
Richo
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:
> 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!
>
> _______________________________________________
> etoys-dev mailing list
> etoys-dev at squeakland.org
> http://lists.squeakland.org/mailman/listinfo/etoys-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakland.org/pipermail/etoys-dev/attachments/20100518/0d10e1ad/attachment-0001.html
More information about the etoys-dev
mailing list