diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-02-16 17:25:33 +0100 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-02-16 17:25:33 +0100 |
commit | b18f3f865cb641a07b429543b2bb98305f6308aa (patch) | |
tree | 316ff9a909beba1bece95123acaddf9100782857 | |
parent | 2d5e7bf80f9894254dd227143c58b88ed021234b (diff) | |
download | ayatana-indicator-printers-b18f3f865cb641a07b429543b2bb98305f6308aa.tar.gz ayatana-indicator-printers-b18f3f865cb641a07b429543b2bb98305f6308aa.tar.bz2 ayatana-indicator-printers-b18f3f865cb641a07b429543b2bb98305f6308aa.zip |
Prepare for i18n
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 7 | ||||
-rw-r--r-- | po/POTFILES.in | 6 |
3 files changed, 14 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 753bde1..2c4f34b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,3 @@ -SUBDIRS = src data test +SUBDIRS = src data test po diff --git a/configure.ac b/configure.ac index d19933a..3e4b909 100644 --- a/configure.ac +++ b/configure.ac @@ -10,12 +10,19 @@ AC_PROG_LIBTOOL AM_PROG_CC_C_O AM_SILENT_RULES([yes]) +IT_PROG_INTLTOOL([0.35.0]) +GETTEXT_PACKAGE=indicator-printers +AC_SUBST(GETTEXT_PACKAGE) +AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [gettext package]) +AM_GLIB_GNU_GETTEXT + AC_CONFIG_HEADER(config.h) AC_CONFIG_FILES([ Makefile src/Makefile data/Makefile test/Makefile + po/Makefile.in ]) PKG_CHECK_MODULES(APPLET, gtk+-3.0 >= 3.0 diff --git a/po/POTFILES.in b/po/POTFILES.in new file mode 100644 index 0000000..f865141 --- /dev/null +++ b/po/POTFILES.in @@ -0,0 +1,6 @@ +[encoding: UTF-8] +src/indicator-menu-item.c +src/indicator-printers.c +src/indicator-printers-menu.c +src/indicator-printers-service.c +src/indicator-printer-state-notifier.c |