[Sugar-devel] [PATCH 5/5] sl#3149: Localization fixes.
Chris Leonard
cjlhomeaddress at gmail.com
Fri Jan 20 20:26:51 EST 2012
On Fri, Jan 20, 2012 at 5:31 PM, Ajay Garg <ajay at activitycentral.com> wrote:
> Thanks Chris.
>
> Perhaps, if I could know the following, I would have a translation label in
> translations-with-format-specifiers.
> Else, I use a one-line-only translation label by default :-)
>
> Can the "TRANS" label string span multiple lines?
> That is, is something like ::
>
> # TRANS: first line text
> # second line text
> # third line text
> correct?
I know it is possible to have multiple consecutive comment lines in a
PO file. As for how to get gettext to parse it out of the Python for
you, I would have thought it would be something like
/* first line text */
/* second line text */
/* third line text */
To appear in the PO file as
#. first line text
#. second line text
#. third line text
More information about the Sugar-devel
mailing list