[gnome-tweak-tool] Add support for localization



commit 6a51d95247f68bad5563e09b184fd84c63ab9633
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Thu Mar 17 18:18:10 2011 +0100

    Add support for localization
    
    https://bugzilla.gnome.org/show_bug.cgi?id=646058

 Makefile.am                      |    6 +++++-
 configure.ac                     |    4 +++-
 data/gnome-tweak-tool.desktop.in |    9 +++++++++
 3 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 292f760..f28c0c9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,7 +15,7 @@ gui_DATA = \
 desktopdir = $(datadir)/applications
 desktop_DATA = data/gnome-tweak-tool.desktop
 
-EXTRA_DIST = \
+EXTRA_DIST = config.rpath m4/ChangeLog  \
 	$(bin_SCRIPTS) \
 	$(gui_DATA) \
 	$(desktop_DATA)
@@ -26,3 +26,7 @@ CLEANFILES = \
 
 DISTCLEANFILES = \
 	gtweak/defs.py
+
+SUBDIRS = po
+
+ACLOCAL_AMFLAGS = -I m4
diff --git a/configure.ac b/configure.ac
index b46baca..6ad4ac7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,12 +16,14 @@ if test "$GCONFTOOL" = no ; then
 	AC_MSG_ERROR(Cannot find gconftool-2)
 fi
 
+IT_PROG_INTLTOOL
+
 AS_AC_EXPAND(DATADIR, "${datadir}")
 AS_AC_EXPAND(PKGDATADIR, "${datadir}/${PACKAGE}")
 AS_AC_EXPAND(GSETTINGSSCHEMADIR, "${gsettingsschemadir}")
 AS_AC_EXPAND(TWEAKDIR, "${pythondir}/gtweak/tweaks")
 
-AC_CONFIG_FILES([
+AC_CONFIG_FILES([ po/Makefile.in
 Makefile
 gtweak/defs.py
 ])
diff --git a/data/gnome-tweak-tool.desktop.in b/data/gnome-tweak-tool.desktop.in
new file mode 100644
index 0000000..4ca8c53
--- /dev/null
+++ b/data/gnome-tweak-tool.desktop.in
@@ -0,0 +1,9 @@
+[Desktop Entry]
+_Name=Tweak Advanced Settings
+Icon=preferences-system
+Exec=gnome-tweak-tool
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=GNOME;GTK;Settings;
+OnlyShowIn=GNOME;



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