[etoys-dev] Formatting translated text

Bert Freudenberg bert at freudenbergs.de
Tue Aug 18 20:44:57 EDT 2009


I just noticed these translatable strings in SketchMorph>>collapse :

collapsedVersion setBalloonText: 'A collapsed version of ' translated,  
self externalName, '.  Click to open it back up.' translated.

This creates two separate translation entries, which do not  
necessarily appear next to each other in a translation tool. The  
canonical way would have been

collapsedVersion setBalloonText: ('A collapsed version of {1}.  Click  
to open it back up.' translated format: {self externalName}).

We should stick to this kind of formatting.

- Bert -




More information about the etoys-dev mailing list