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

Gonzalo Odiard gonzalo at laptop.org
Thu Sep 27 15:13:14 EDT 2012


Great!
The comment to the translators is a good addition.

Gonzalo

On Thu, Sep 27, 2012 at 4:05 PM, Aleksey Lim <alsroot at sugarlabs.org> wrote:

> On Tue, Sep 25, 2012 at 11:34:30AM -0300, Gonzalo Odiard wrote:
> > 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.infofile
> > 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
>
> I did another change (and updated .pot files, thouh, onle few of them
> were changed),
>
>
> http://git.sugarlabs.org/pootle-helpers/mainline/commit/e64ce283a58bc7e19076bd7ef3110d0a53f78e7f
>
> It adds support also for "description" option. "summary" (one line string)
> and "description" (multilined text) fit well to package spec files and
> ASLO strings.
>
> Multilined text should be converted by `.replace('\n', ' ')`
>
> --
> Aleksey
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120927/6f1e1f4c/attachment.html>


More information about the Sugar-devel mailing list