From 9a70178240875a36c48462890b51619d8a0f6fb4 Mon Sep 17 00:00:00 2001 From: "Gergely POLONKAI (W00d5t0ck)" Date: Wed, 17 Jul 2013 17:02:03 +0200 Subject: [PATCH] Added i18n related files and configuration --- configure.ac | 6 ++++++ po/LINGUAS | 2 ++ po/POTFILES.in | 3 +++ 3 files changed, 11 insertions(+) create mode 100644 po/LINGUAS create mode 100644 po/POTFILES.in diff --git a/configure.ac b/configure.ac index c6cf5ff..8fda6d3 100644 --- a/configure.ac +++ b/configure.ac @@ -11,6 +11,11 @@ AM_PROG_CC_C_O AM_PROG_AR LT_INIT AC_PROG_LIBTOOL +IT_PROG_INTLTOOL([0.35.0]) +GETTEXT_PACKAGE=gradix +AC_SUBST(GETTEXT_PACKAGE) +AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [GETTEXT package name]) +AM_LIB_GNU_GETTEXT AC_CHECK_LIB([m], [sincos]) AC_CHECK_LIB([m], [atan2]) AC_CHECK_LIB([m], [fmod]) @@ -41,5 +46,6 @@ AC_CONFIG_FILES([ Makefile swe/src/Makefile src/Makefile + po/Makefile.in ]) AC_OUTPUT diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 0000000..bc8cbb0 --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1,2 @@ +# please keep this list sorted alphabetically +# diff --git a/po/POTFILES.in b/po/POTFILES.in new file mode 100644 index 0000000..f05a943 --- /dev/null +++ b/po/POTFILES.in @@ -0,0 +1,3 @@ +# List of source files containing traslatable strings. + +src/gradix.c