[etoys-dev] Formatting translated text
Scott Wallace
scott.wallace at squeakland.org
Tue Aug 18 22:12:13 EDT 2009
On Aug 18, 2009, at 5:44 PM, Bert Freudenberg wrote:
> 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 -
Oops, sorry -- my bad.
I've now fixed up the method in question so that it uses the proper
idiom, as per Bert's suggestion, and published the revised version as
update 2248collapseTweak-sw.
-- Scott
More information about the etoys-dev
mailing list