Re: Fwd: gettext and contexts

Bruno Haible <[email protected]> Fri, 21 Oct 2005 23:01:40 +0200
Newsgroups gmane.comp.kde.devel.kbabel
Message-ID <[email protected]>
Nicolas Goutte wrote:
> I have committed the patch (fixing the compile error) and then I have made
> a few change to it:
> - fix saving
> - loading multiline contexts
> - improve code (by using QString::mid and QString:.truncate)

Thanks! That was very quick.

> Also the code still assume that it is the last
> comment. (If the user has added a comment, the context is corrupted.

Yes, that is a problem. I missed that. Probably using
   "#. MsgContext: "
instead of
   "# MsgContext: "
would alleviate that? This might discourage the translator from modifying it.

Bruno