[etoys-dev] Etoys Inbox: Collections-Richo.4.mcz
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.
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:
> ==================== 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') -----
> "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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the etoys-dev