[Kbabel] [PATCH] Gettext save: be sure that comment lines start with #
Chusslove Illich
caslav.ilic at gmx.net
Fri Oct 28 20:19:34 CEST 2005
> [: 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...
--
Chusslove Illich (Часлав Илић)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kbabel/attachments/20051028/f2848980/attachment.pgp
More information about the kbabel
mailing list