Version: 3.5 (using KDE 3.5.0 Level "a" , SUSE 10.0 UNSUPPORTED) Compiler: Target: i586-suse-linux OS: Linux (i686) release 2.6.13-15-smp Hello, Konqueror and FileOpen- and FileSave-Dialogs show a file type descrition of "GNU Gettext Message Catalogue" when a file with suffix "*.pot" was found. Typically this is more often used for MS-PowerPoint-Templates. Maybe you can do a check for the header instead of just comparing to the extension like explorer does... Would be nice for all kind of types to check the file itself instread of trusting the extension. Thanks Andreas
The problem is that a Powerpoint document is an OLE document and Gettext PO files have no fixed header either. However the "magic" patterns in KDE need some fixed fields to recognize a file type. Have a nice day!
It knows the difference between M$ format and GNU format in trunk 20080507.
Works for me in svn trunk r807691 (20080507)
I tested it on 3.5.9: .pot files are recognized as "GNU Gettext..." (I've tried it with a PowerPointTemplate). KDE 4 (r809608) use an icon with a "?" and on the properties dialog, the type field says: "OLE2 compound document storage". Instead, a real gettext template use the standard openoffice icon and the type is "translation template" which is right. It can be closed.