[etoys-dev] Etoys: GetText-Richo.10.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu May 27 17:45:59 EDT 2010
Ricardo Moran uploaded a new version of GetText to project Etoys:
http://source.squeak.org/etoys/GetText-Richo.10.mcz
==================== Summary ====================
Name: GetText-Richo.10
Author: Richo
Time: 27 May 2010, 6:46:09 pm
UUID: bb859108-fe0c-0e42-afb0-43d6317ac652
Ancestors: GetText-Richo.9
* Fixed a stupid mistake in my last commit :P
=============== Diff against GetText-Richo.9 ===============
Item was changed:
----- Method: String>>translated (in category '*gettext') -----
translated
"answer the receiver translated to the default language"
| translation |
+ Locale current isoLanguage = 'en' ifTrue: [^self].
- Locale current isoLanguage ~= 'en' ifTrue: [^self].
translation := self
translatedTo: LocaleID current
inDomain: (TextDomainManager domainOfMethod: thisContext sender method).
self == translation ifTrue: [^self translatedInAllDomains].
^translation!
More information about the etoys-dev
mailing list