[Sugar-devel] Add translation of summary info to pootle potgenerator

Gonzalo Odiard gonzalo at laptop.org
Tue Sep 25 10:34:30 EDT 2012


Hi Aleksey,
Attached is a patch to add summary field in activity.info to the strings to
be translated
in the pot file generated by pogenerator.py

I have tried modify the code as little as possible,
then created another method _get_summary_name() and the activity.info file
is readed two times. This is not optimum, then if you prefer, I can modify
the _get_activity_name
and return a dict. If you have other comment tell me.

Gonzalo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120925/a79b2b6b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-summary-in-activity.info-to-the-generated-pot.patch
Type: application/octet-stream
Size: 1807 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120925/a79b2b6b/attachment.obj>


More information about the Sugar-devel mailing list