[etoys-dev] Etoys: GetText-Richo.9.mcz

commits at source.squeak.org commits at source.squeak.org
Thu May 27 17:34:36 EDT 2010

Ricardo Moran uploaded a new version of GetText to project Etoys:

==================== Summary ====================

Name: GetText-Richo.9
Author: Richo
Time: 27 May 2010, 6:34:46 pm
UUID: d15d7b2c-583b-7c48-8866-03cc2627b3ed
Ancestors: GetText-KR.8

* Changed #translated to return self if the current locale is English.

=============== Diff against GetText-KR.8 ===============

Item was changed:
  ----- Method: String>>translated (in category '*gettext') -----
  	"answer the receiver translated to the default language"
  	| translation |
+ 	Locale current isoLanguage ~= 'en' ifTrue: [^self].
  	translation := self
  		translatedTo: LocaleID current
  		inDomain: (TextDomainManager domainOfMethod: thisContext sender method).
  	self == translation ifTrue: [^self translatedInAllDomains].

More information about the etoys-dev mailing list