[gnome-sudoku] Mark gsettings options for translation



commit 613c0cfce9cafe4c8bb2760372c6b6b1795ac006
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Sep 30 19:42:55 2013 -0500

    Mark gsettings options for translation
    
    Also, modernize the build process for the translation

 configure.ac                                       |    2 +-
 data/Makefile.am                                   |   12 +++---------
 ...a.xml.in => org.gnome.gnome-sudoku.gschema.xml} |    0
 po/POTFILES.in                                     |    2 +-
 4 files changed, 5 insertions(+), 11 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index dcf616d..66eae20 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@ dnl ###########################################################################
 dnl Internationalization
 dnl ###########################################################################
 
-IT_PROG_INTLTOOL([0.35.0])
+IT_PROG_INTLTOOL([0.50])
 AC_SUBST(GETTEXT_PACKAGE, gnome-sudoku)
 
 dnl ###########################################################################
diff --git a/data/Makefile.am b/data/Makefile.am
index 2e4cb9a..8147db8 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,8 +1,6 @@
 SUBDIRS = icons
 
-gsettings_in_file = org.gnome.gnome-sudoku.gschema.xml.in
-gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
- INTLTOOL_XML_NOMERGE_RULE@
+gsettings_SCHEMAS = org.gnome.gnome-sudoku.gschema.xml
 @GSETTINGS_RULES@
 
 desktopdir = $(datadir)/applications
@@ -37,14 +35,10 @@ EXTRA_DIST = \
        $(appdata_DATA) \
        $(puzzle_DATA)  \
        $(ui_DATA)      \
-       $(gsettings_in_file) \
+       $(gsettings_SCHEMAS) \
        $(man_MANS)
 
 CLEANFILES = \
-       $(desktop_DATA) \
-       $(gsettings_SCHEMAS)
-
-DISTCLEANFILES = \
-       $(gsettings_SCHEMAS)
+       $(desktop_DATA)
 
 -include $(top_srcdir)/git.mk
diff --git a/data/org.gnome.gnome-sudoku.gschema.xml.in b/data/org.gnome.gnome-sudoku.gschema.xml
similarity index 100%
rename from data/org.gnome.gnome-sudoku.gschema.xml.in
rename to data/org.gnome.gnome-sudoku.gschema.xml
diff --git a/po/POTFILES.in b/po/POTFILES.in
index a1bdfbe..cbb0d21 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,7 +2,7 @@
 # Please keep this file in alphabetical order.
 [encoding: UTF-8]
 data/gnome-sudoku.desktop.in
-data/org.gnome.gnome-sudoku.gschema.xml.in
+data/org.gnome.gnome-sudoku.gschema.xml
 [type: gettext/glade]data/print_games.ui
 [type: gettext/glade]data/select_game.ui
 [type: gettext/glade]data/tracker.ui


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