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 793658 - Plug-in descriptions are not translated
Plug-in descriptions are not translated
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: general
3.27.x
Other All
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-02-20 14:55 UTC by Piotr Drąg
Modified: 2018-02-20 20:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Piotr Drąg 2018-02-20 14:55:15 UTC
“Description” fields in .plugin.desktop files are not extracted for translation, as can be seen at the bottom of https://l10n.gnome.org/POT/eog.master/eog.master.pl.po
Comment 1 Iñigo Martínez 2018-02-20 15:06:15 UTC
Would something like what has been done for Totem[0] be useful here?

Please, keep in mind that it's a workaround.

[0] https://bugzilla.gnome.org/show_bug.cgi?id=793627#c13
Comment 2 Piotr Drąg 2018-02-20 19:59:23 UTC
It would work for building eog, but unfortunately not for Damned Lies. And if translators work on .po files without the strings, then it doesn’t really matter if they are extracted when building.

Seems like we need to push for fixing gettext after all. :(
Comment 3 Felix Riemann 2018-02-20 20:04:16 UTC
This adapts the Makevars workaround we used with autoconf to meson and makes it work on eog's side (ninja eog-pot or ninja eog-update-po seem to do the right thing).

commit 956e8239723fc8bc4a043dc268e5a2a64a7a9817
Author: Felix Riemann <>
Date:   Tue Feb 20 20:44:56 2018 +0100

    po: Re-add workaround for plugin file translations
    
    gettext doesn't recognize the 'Description' key in plugin files by default
    and needs an additional commandline parameter to do so.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=793658

Regarding Damned Lies, it seems that it parses the meson.build file already: https://git.gnome.org/browse/damned-lies/tree/stats/models.py?id=99942846b8ea5cef500c99a8b2a6ae5a2dbc9b48#n840
Maybe it could extract the 'args' parameter as well. It would probably need some sort of parameter sanitation though, so that nothing bad gets executed on the server.
---
This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.