Re: [PATCH] Gettext save: be sure that comment lines start with #
Nicolas Goutte <[email protected]> Fri, 28 Oct 2005 22:09:00 +0200
| Newsgroups | gmane.comp.kde.devel.kbabel |
|---|---|
| Message-ID | <[email protected]> |
On Friday 28 October 2005 20:33, Nicolas Goutte wrote: > 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). Well, as I have seen that empty lines should be cared too, I have not committed it (even if probably it would have worked nevertheless). > > Have a nice day! > > _______________________________________________ > kbabel mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/kbabel