summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2004-07-10 11:07:56 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2004-07-10 11:07:56 +0000
commit6311bf3a42325244726ac0bc11f79fbcb83a3219 (patch)
treeda61934ad87737038fdf0913d226d0c421b13866
parent5cdfcf6e92c73cb08e282cbed50775d964513d82 (diff)
downloadmdk-6311bf3a42325244726ac0bc11f79fbcb83a3219.tar.gz
mdk-6311bf3a42325244726ac0bc11f79fbcb83a3219.tar.bz2
use intltool to allow glade file string translations.
-rw-r--r--Makefile.am11
-rwxr-xr-xautogen.sh3
-rw-r--r--configure.in3
-rw-r--r--po/POTFILES.in1
4 files changed, 12 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index 047fb1d..3f60d07 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,16 +1,17 @@
## Process this file with automake to produce Makefile.in
-# Copyright (C) 2000, 2001 Free Software Foundation, Inc.
-#
+# Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc.
+#
# This file is free software; as a special exception the author gives
-# unlimited permission to copy and/or distribute it, with or without
+# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
-#
+#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-EXTRA_DIST = config.rpath ABOUT-NLS
+EXTRA_DIST = config.rpath ABOUT-NLS intltool-extract.in intltool-merge.in \
+ intltool-update.in
SUBDIRS = po intl doc lib mixlib mixguile mixutils mixgtk misc samples
docdir = $(top_builddir)/doc
diff --git a/autogen.sh b/autogen.sh
index 8f3c83b..d76540d 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -61,6 +61,9 @@ esac
echo "Running gettext's autopoint..."
autopoint --force
+echo "Running intltoolize"
+intltoolize --copy --force --automake
+
ACLOCAL_FLAGS="-I m4"
echo "Running aclocal ..."
aclocal $ACLOCAL_FLAGS
diff --git a/configure.in b/configure.in
index 2c6ffc2..95ac72a 100644
--- a/configure.in
+++ b/configure.in
@@ -1,6 +1,6 @@
# Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
#
-# $Id: configure.in,v 1.32 2004/06/23 10:40:50 jao Exp $
+# $Id: configure.in,v 1.33 2004/07/10 11:07:56 jao Exp $
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
@@ -27,6 +27,7 @@ AC_PROG_RANLIB
dnl i18n stuff
AM_GNU_GETTEXT_VERSION(0.11.5)
AM_GNU_GETTEXT
+AC_PROG_INTLTOOL(0.30)
test "x$prefix" = xNONE && prefix=$ac_default_prefix
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 2ffad37..c8a1a0a 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -20,6 +20,7 @@ mixgtk/mixgtk_mixal.c
mixgtk/mixgtk_mixvm.c
mixgtk/gmixvm.c
mixgtk/mixgtk.c
+mixgtk/mixgtk.glade
mixguile/mixguile.c
mixguile/mixguile_cmd_dispatcher.c