diff options
author | William Hua <william.hua@canonical.com> | 2013-05-30 15:26:41 -0400 |
---|---|---|
committer | William Hua <william.hua@canonical.com> | 2013-05-30 15:26:41 -0400 |
commit | 5871583b77f83a06cf88facfaa823d8d10264464 (patch) | |
tree | 4bc113a20efa68e1330104bd2020dbab0bb46c97 | |
parent | ebcc1f94c19a278bdbbd49949d869069c8735b12 (diff) | |
download | ayatana-indicator-keyboard-5871583b77f83a06cf88facfaa823d8d10264464.tar.gz ayatana-indicator-keyboard-5871583b77f83a06cf88facfaa823d8d10264464.tar.bz2 ayatana-indicator-keyboard-5871583b77f83a06cf88facfaa823d8d10264464.zip |
GLib gettext support.
-rw-r--r-- | .bzrignore | 2 | ||||
-rw-r--r-- | Makefile.am | 2 | ||||
-rwxr-xr-x | autogen.sh | 1 | ||||
-rw-r--r-- | configure.ac | 5 | ||||
-rw-r--r-- | po/POTFILES.in | 3 |
5 files changed, 11 insertions, 2 deletions
@@ -7,6 +7,8 @@ .libs Makefile Makefile.in +Makefile.in.in +POTFILES autom4te.cache build-aux config.log diff --git a/Makefile.am b/Makefile.am index 35836b13..b19f3988 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,3 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = lib data +SUBDIRS = po lib data @@ -2,4 +2,5 @@ mkdir -p m4 autoreconf -i +glib-gettextize -c -f test -n "$NOCONFIGURE" || ./configure "$@" diff --git a/configure.ac b/configure.ac index ff10aa29..18110c04 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,8 @@ AC_ARG_WITH([indicator-dir], [AS_HELP_STRING([--with-indicator-dir=DIR], [Indica AC_SUBST([DBUS_SERVICE_DIR], [$with_dbus_service_dir]) AC_SUBST([INDICATOR_DIR], [$with_indicator_dir]) +AM_GLIB_GNU_GETTEXT + GLIB_GSETTINGS PKG_CHECK_MODULES([GTK], [gtk+-3.0]) @@ -55,6 +57,7 @@ AC_SUBST([IBUS_LIBS]) AC_CONFIG_FILES([Makefile data/Makefile - lib/Makefile]) + lib/Makefile + po/Makefile.in]) AC_OUTPUT diff --git a/po/POTFILES.in b/po/POTFILES.in new file mode 100644 index 00000000..dced8247 --- /dev/null +++ b/po/POTFILES.in @@ -0,0 +1,3 @@ +# List of source files which contain translatable strings. + +lib/main.vala |