Re: [PATCH] Gettext save: be sure that comment lines start with #

Chusslove Illich <[email protected]> Fri, 28 Oct 2005 20:19:34 +0200
Newsgroups gmane.comp.kde.devel.kbabel
Message-ID <[email protected]>
> [: 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 (Часлав Илић)

_______________________________________________
kbabel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kbabel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBDYmu5MSGXgigGr3ERAjuOAJ4tPHbukP2D2Ui1eHn75Jc/wvsHzwCgqHg7
+9nvXOwErSQKt6TXHWpFSMU=
=ubaH
-----END PGP SIGNATURE-----