GNOME Bugzilla – Bug 778089
Untranslated app name on the panel
Last modified: 2017-08-03 12:23:17 UTC
Created attachment 344794 [details] Screenshot of the issue "Keyboard Layout" on the GNOME Shell panel is in English, even though it is translated in the .po files. libgnomekbd-3.22.0.1-1.fc25.x86_64
/usr/share/applications/gkbd-keyboard-display.desktop on my system has no translations in it. Maybe .desktop generation is somehow not hooked up properly? https://git.gnome.org/browse/libgnomekbd/tree/libgnomekbd/Makefile.am#n106
I’m adding Javier to CC, who wrote the rule to create the .desktop files. Javier, could you please take a look to why it doesn’t work?
Created attachment 356756 [details] [review] data: Fix desktop file generation After a ridiculous amount of time spent messing with Autotools, I’ve finally found <https://git.gnome.org/browse/rygel/commit/?id=a4a1aa967d793a4366cae8967cdbdd978d7ba950>. Making the same change in libgnomekbd fixes the issue of .desktop file without translations. Please review the patch.
Created attachment 356757 [details] [review] build: Fix desktop file generation Previous patch had inaccurate subject.
Jens, could I borrow your expertise here? You’re the author of the fix that I want to port from Rygel to libgnomekbd.
Uh. Let me reconstruct what I did there, I don't remember exactly, but I think the basic key was to switch the order of execution of msgfmt and sed. (might be copy-pasta from somewhere else as well)
So no one knows anything, and everything just gets copied around. Sounds like Autotools. :) Anyway, thank you. Based on your comment, and the fact that the same fix has been applied to Rygel and GUPnP-tools, I’m going to commit it.
Comment on attachment 356757 [details] [review] build: Fix desktop file generation https://git.gnome.org/browse/libgnomekbd/commit/?id=b218bb838a806accfc67cdf44fccc1041bb4ad31