GNOME Bugzilla – Bug 786950
Migrate from intltool
Last modified: 2017-09-16 21:57:01 UTC
Use gettext instead of intltool.
Created attachment 358641 [details] [review] Migrate from intltool
Review of attachment 358641 [details] [review]: Cool. Remember to branch gnome-3-26 before pushing, since this is obviously going to affect translations. ::: Makefile.am @@ +10,3 @@ -include $(top_srcdir)/git.mk + +EXTRA_DIST = config.rpath What, why? What is this? It shouldn't be needed. It's nicer to keep the -include at the bottom IMO. ::: data/lightsoff.desktop.in @@ +5,1 @@ Icon=lightsoff I like to add a comment warning translators not to translate the icon name, since it's going to appear in the .po files now unfortunately. ::: git.mk @@ -205,3 @@ po/Rules-quot \ po/stamp-it \ - po/.intltool-merge-cache \ I wouldn't touch git.mk since we're not upstream.
Pushed to master, with all suggestions implemented: * gnome-3-26 branched before the commit * removed git.mk changes * added translator comment to desktop file Icon field * removed EXTRA_DIST = config.rpath, I'm not sure why it turned up there. For details see commit at https://git.gnome.org/browse/lightsoff/commit/?id=f7d3515d943d76965af22db7455a19780a6b3945 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.