Re: [PATCH] Gettext save: be sure that comment lines start with #
Nicolas Goutte <[email protected]> Fri, 28 Oct 2005 20:33:06 +0200
| Newsgroups | gmane.comp.kde.devel.kbabel |
|---|---|
| Message-ID | <[email protected]> |
On Friday 28 October 2005 20:19, Chusslove Illich wrote: > > [: Nicolas Goutte :] > > The change makes sure that, while saving Gettext, each comment line > > starts with a #, even if the user has not taken care about it. > > Good catch. Just a small change to the patch might be in order: if the user > just puts few leading spaces in front of the hash, thus not breaking the > PO format (as per msgfmt being silent), the patch should not add a hash. > I'd strip the leading spaces, and then check for a hash... Good, then I will commit this first and think about how supporting leading white space (as tabulators are probably allowed too). Have a nice day!