[Seaside-dev] Seaside-Gettext
Johan Brichau
johan at inceptive.be
Sat May 21 17:27:20 UTC 2011
Great. thanks!
ps: I had bad inspiration for variable naming ;-)
On 21 May 2011, at 17:19, Philippe Marschall wrote:
> 2011/5/21 Johan Brichau <johan at inceptive.be>:
>> Hi,
>>
>> I am using Seaside-GetText and noticed that the 'pot' template exporter was not picking up the strings to which #seasideTranslated is sent.
>> This message is handy for translating attributes, while the #translate: message is targeting the inner text of a markup node. For example:
>>
>> html jQuery this editable
>> ...
>> submit: 'ok' seasideTranslated;
>> cancel: 'cancel' seasideTranslated;
>> ...
>>
>> So, I went ahead and added support to the appropriate method (see code below). Is there any change of seeing this in the distributed package?
>> And if I can help to do that, let me know.
>
> Done, let me know if it works for you. I also integrated the change
> from Panu Suominen (lazy translated strings) and wrote a small bit of
> documentation [1]. Thanks for the fix.
>
> [1] http://code.google.com/p/seaside/wiki/Gettext
>
> Cheers
> Philippe
> _______________________________________________
> seaside-dev mailing list
> seaside-dev at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
More information about the seaside-dev
mailing list