[Kbabel] [PATCH] (#2) Gettext save: be sure that comment lines start with #
Nicolas Goutte
nicolasg at snafu.de
Fri Oct 28 22:07:22 CEST 2005
The attached patch is for kdesdk/kbabel/filters/gettext/gettextexport.cpp
The change makes sure that, while saving Gettext, each comment line starts
with a #, even if the user has not taken care about it.
Compared to the previous version of the patch, this one checks the white
space.
(However I have seen that leading spaces and empty lines are removed anyway at
thenext load by KBabel or by processing by Gettext tools.)
Have a nice day!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gettext_comment2.diff
Type: text/x-diff
Size: 1884 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kbabel/attachments/20051028/56238ae7/gettext_comment2.bin
More information about the kbabel
mailing list