[gnome-clocks] Extract additional strings from .desktop



commit 470a175d74d56f8697296ed8094ba6d18ad7065f
Author: Daiki Ueno <dueno src gnome org>
Date:   Thu Aug 18 18:40:51 2016 +0200

    Extract additional strings from .desktop
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770080

 Makefile.am |    4 +++-
 po/Makevars |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 7f7956a..8334198 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,9 +2,11 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 
 SUBDIRS = help po
 
+MSGFMT_DESKTOP_OPTIONS = --keyword=X-Geoclue-Reason
+
 # desktop file
 %.desktop: %.desktop.in
-       $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+       $(AM_V_GEN) $(MSGFMT) $(MSGFMT_DESKTOP_OPTIONS) --desktop --template $< -d $(top_srcdir)/po -o $@
 applicationsdir = $(datadir)/applications
 applications_DATA = data/org.gnome.clocks.desktop
 dist_noinst_DATA = data/org.gnome.clocks.desktop.in
diff --git a/po/Makevars b/po/Makevars
index eb89ac2..23db032 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -8,7 +8,7 @@ subdir = po
 top_builddir = ..
 
 # These options get passed to xgettext.
-XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
+XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=X-Geoclue-Reason
 
 # This is the copyright holder that gets inserted into the header of the
 # $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]