[etoys-dev] Etoys Inbox: Multilingual-Richo.4.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon May 17 22:48:47 EDT 2010
A new version of Multilingual was added to project Etoys Inbox:
http://source.squeak.org/etoysinbox/Multilingual-Richo.4.mcz
==================== Summary ====================
Name: Multilingual-Richo.4
Author: Richo
Time: 17 May 2010, 11:48:54 pm
UUID: a0498631-47e4-eb4f-9c47-ba3b9fdd12a7
Ancestors: Multilingual-Richo.3
* Hardcoded GetTextExporter2 to export all tiles translations in the 'Etoys-Tiles' domain
=============== Diff against Multilingual-Richo.3 ===============
Item was changed:
----- Method: GetTextExporter2>>appendVocabularies: (in category 'private') -----
appendVocabularies: domains
| literalsForDomain references domainName methodReference |
EToyVocabulary allPhrasesWithContextToTranslate do: [ :r |
methodReference := (MethodReference new setStandardClass: (r second) methodSymbol: (r third)).
+ "domainName _ self getTextDomainForPackage: (PackageOrganizer default packageOfMethod: methodReference)".
+ domainName := 'Etoys-Tiles'.
- domainName _ self getTextDomainForPackage: (PackageOrganizer default packageOfMethod: methodReference).
literalsForDomain _ domains at: domainName ifAbsentPut: [Dictionary new].
r fourth do: [ :literal |
references _ literalsForDomain at: literal ifAbsentPut: [OrderedCollection new].
references add: methodReference.
].
].
!
More information about the etoys-dev
mailing list