[Kbabel] [PATCH] Run msgfmt before processing a file in the catalog manager

Nicolas Goutte nicolasg at snafu.de
Fri Nov 4 23:20:27 CET 2005


The attached patch is for the directory branches/KDE/3.5/kdesdk/kbabel

It is more a proof-of-concept for adding the posibility for the user to the 
select if msgfmt is run or not before a file is processed by the catalog 
manager. (Currently with this patch, Project/Configure crashes.)

Compared to a similar previous patch, now, the lexer is only slightly 
modified:
- for the support of msgctxt
- make an empty explicit rule for . (any character) and for alphabetic 
characters (the info doc of lex tells that it makes the lexer faster).

Probably I have missed something in the configure settting (at least missing 
is how to set the check box to be checked by default if there is no previous 
setting.)

For the PO thumbnail and file info, I have turned off the use of msgfmt, as I 
suppose that here speed is more wanted than precision.

Have a nice day!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: catman_msgfmt.diff
Type: text/x-diff
Size: 7061 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kbabel/attachments/20051104/8f98f03f/catman_msgfmt.bin


More information about the kbabel mailing list