[Kbabel] Fwd: gettext and contexts

Nicolas Goutte nicolasg at snafu.de
Thu Oct 20 20:46:36 CEST 2005


On Thursday 20 October 2005 20:26, Chusslove Illich wrote:
> This is probably because, following Nicolas' message, I asked Bruno when
> the new Gettext would be released :)
>
> ----------  Прослеђена порука  ----------
>
> Subject: gettext and contexts
> Date: четвртак 20. октобар 2005. 20.08
> From: Bruno Haible <bruno at clisp.org>
> To: Thomas Diehl <thd at kde.org>
> Cc: Chusslove Illich <caslav.ilic at gmx.net>, Stanislav Visnovsky
> <visnovsky at kde.org>
(...)
>
> Also I'd like to make a minimal support of this syntax in kbabel. Simply
> changing the PO file import and export filters, to transform
>     msgctxt "Help"
> into
>     #. Context: Help

I had a similar idea. 

There is just the problem that contexts can be quite long (see the one of the 
message for selecting left-to-right or right-to-left). So perhaps the hacked 
context should still be quoted. (A \n cannot appear, as it is currently the 
end of context.)

> for kbabel's internal use would be enough. (The export filter would have
> to convert it back to msgctxt syntax.) 

> Just to make sure kbabel doesn't
> spit on the translator when such a PO file is encountered.
>
> Bruno
>
>
>
> -------------------------------------------------------



More information about the kbabel mailing list