GNOME Bugzilla – Bug 787857
Migrate from Intltool to Gettext
Last modified: 2018-01-08 21:29:28 UTC
Recent versions of Gettext are able to translate several formats that are used in GNOME applications, so there is really no need anymore to use intltool or GLib’s dated gettext glue.
Created attachment 360010 [details] [review] Migrate from Intltool to Gettext This patch migrates translations from intltool to gettext. It depends on meson build port patch as it uses meson's i18n module.
Review of attachment 360010 [details] [review]: Can you also mention why you removed the "Icon=" line? Otherwise looks good.
Created attachment 363919 [details] [review] build: Migrate from Intltool to Gettext (In reply to Bastien Nocera from comment #2) > Review of attachment 360010 [details] [review] [review]: > > Can you also mention why you removed the "Icon=" line? Otherwise looks good. Finally I've set it to gnome-session's namespace, following what other gnome's application do. I've also extended the commit description with the reason of the change, which is that gettext does not handle properly the empty values, because it ends joining the key with the following line.
we don't actually use the Icon= key and don't ship an icon called org.gnome.SessionManager.png so I think the first cut was more right.
Attachment 363919 [details] pushed as 145ef74 - build: Migrate from Intltool to Gettext