After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 628257 - let po-files (gettext) be displayed inline
let po-files (gettext) be displayed inline
Status: RESOLVED NOTGNOME
Product: evolution
Classification: Applications
Component: Mailer
2.30.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[attachments]
Depends on:
Blocks:
 
 
Reported: 2010-08-29 17:29 UTC by Paul Menzel
Modified: 2010-08-29 19:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Menzel 2010-08-29 17:29:28 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
Comment 1 Matthew Barnes 2010-08-29 17:58:55 UTC
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?
Comment 2 Paul Menzel 2010-08-29 18:37:51 UTC
(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
Comment 3 Matthew Barnes 2010-08-29 19:11:22 UTC
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