GNOME Bugzilla – Bug 628257
let po-files (gettext) be displayed inline
Last modified: 2010-08-29 19:11:22 UTC
po-files (application/x-gettext) [1] are normal text files and for example gedit is shown as an alternative to open attached ones. Especially for comments on translations it would be helpful if po-files can be displayed inline so replying to the message their content are cited too when selecting those lines beforehand. [1] http://lists.debian.org/debian-l10n-german/2010/08/msg00352.html
Most po-files have a MIME type of "text/x-gettext-translation" which Evolution already handles using the fallback "text/*" handler. Where do "application/x-gettext" files come from?
(In reply to comment #1) > Most po-files have a MIME type of "text/x-gettext-translation" which Evolution > already handles using the fallback "text/*" handler. Where do > "application/x-gettext" files come from? I think Mozilla is handling them this way. The mailer from the referenced message is Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.14eol) Gecko/20070505 Iceape/1.0.9 (Debian-1.0.13~pre080614i-0etch1) (based on SeaMonkey). Looking through my archive, Icedove/Thunderbird does not seem to exhibit this behaviour and usses text/x-gettext-translation. (Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100805 Icedove/3.0.6) and so does Thunderbird 2.x. [1] http://lists.debian.org/debian-i18n/2009/04/msg00002.html
I've requested a new alias for "application/x-gettext" in the shared-mime-info package over at FreeDesktop.org. Once in place, Evolution should be able to resolve the alias back to a type we already know how to handle. https://bugs.freedesktop.org/show_bug.cgi?id=29876