[etoys-dev] Etoys Inbox: Collections-Richo.4.mcz
Ricardo Moran
richi.moran at gmail.com
Thu May 13 16:16:07 EDT 2010
In order to test this, I made some mo files and uploaded here
http://tecnodacta.com.ar/gira/gsoc/locale.rar. These are incomplete, though.
And I think they only work for spanish. I don't know why. I also think the
tiles are not being translated and I don't know why either. Anyway, if you
want to test it you can replace the old locale with this one.
Cheers
Richo
On Thu, May 13, 2010 at 4:55 PM, <commits at source.squeak.org> wrote:
> A new version of Collections was added to project Etoys Inbox:
> http://source.squeak.org/etoysinbox/Collections-Richo.4.mcz
>
> ==================== Summary ====================
>
> Name: Collections-Richo.4
> Author: Richo
> Time: 13 May 2010, 4:55:53 pm
> UUID: 7abb1f7a-70b4-184c-ba0d-c40455c50904
> Ancestors: Collections-bf.3
>
> * Modified String>>#translated
>
> =============== Diff against Collections-bf.3 ===============
>
> Item was changed:
> ----- Method: String>>translatedTo: (in category 'translating') -----
> translatedTo: localeID
> "answer the receiver translated to the given locale id"
> + ^ self translatedTo: localeID inDomain: (TextDomainManager
> domainOfMethod: thisContext sender method).!
> - | domain |
> - domain := TextDomainManager domainForClass: thisContext sender
> receiver class.
> - ^ self translatedTo: localeID inDomain: domain!
>
> Item was changed:
> ----- Method: String>>translated (in category 'translating') -----
> translated
> "answer the receiver translated to the default language"
> + ^ self
> + translatedTo: LocaleID current
> + inDomain: (TextDomainManager domainOfMethod: thisContext
> sender method) !
> -
> - | context class domain |
> - context := thisContext sender.
> - class := context mclass.
> - "Can we get rid of Text>>translated? It appears to be an abandoned
> experiment to translate the QuickGuides."
> - (class == Text and: [context method == (Text>>#translated)])
> - ifTrue: [class := context sender mclass].
> - domain := TextDomainManager domainForClass: class.
> - ^ self translatedTo: LocaleID current inDomain: domain!
>
> _______________________________________________
> 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/20100513/0c0e6f8d/attachment.html
More information about the etoys-dev
mailing list