Version: (using KDE KDE 3.5.1KDE 3.4.3) Installed from: Debian testing/unstable PackagesDebian testing/unstable Packages xml2pot creates files with a content type like this: Content-Type: application/x-xml2pot; charset=UTF-8 Normal POT files have headers like this: Content-Type: text/plain; charset=UTF-8 This confuses PO editing tools such as the the emacs gettext mode. If xml2pot creates real POT files, which I assume it does, it should use the right content type. If the result is not a real POT file, there is no point in calling it xml2pot.
Thank you for confirming that this mime type is a bad idea. I had planned to find an idea how to change this in KDE4. Unfortunately for KDE3, this is more like a "feature". A few KDE tools, including KBabel, knows about this and reacts in consequence (e.g. for KBabel: filling the translators' placeholders). Have a nice day!
Any news about it?
Any reaction?
SVN commit 1223417 by ltoscano: Use the correct mimetype for pot files. CCBUG: 121798 M +1 -1 xml2pot.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1223417
SVN commit 1223428 by ltoscano: Backport r1223417: Use the correct mimetype for pot files. BUG: 121798 FIXED-IN: 4.6.2 M +1 -1 xml2pot.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1223428