From b4fda7049efe78685f66ac1a4b85eaaf6c9492e9 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Thu, 20 Feb 2003 18:35:32 +0000 Subject: [PATCH] * configure.in: Move list of all translations ... * po/LINGUAS: ... here. --- ChangeLog | 5 +++++ configure.in | 10 ++++++---- po/LINGUAS | 3 +++ 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 po/LINGUAS diff --git a/ChangeLog b/ChangeLog index 578a387b8..3ab720746 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-02-20 Pavel Roskin + + * configure.in: Move list of all translations ... + * po/LINGUAS: ... here. + 2003-02-18 Pavel Roskin * syntax/c.syntax: Highlight C++ comments in preprocessor diff --git a/configure.in b/configure.in index 2b39d778b..c5351b31d 100644 --- a/configure.in +++ b/configure.in @@ -70,9 +70,6 @@ no) esac]) AC_FUNC_MMAP -ALL_LINGUAS="az be bg ca cs da de el es eu fi fr hu it ja ko lv \ -nl no pl pt pt_BR ro ru sk sl sv uk ta tr wa zh_CN zh_TW" - dnl dnl Internationalization dnl @@ -88,7 +85,12 @@ ALL_DOC_LINGUAS="es hu it pl ru" DOC_LINGUAS= if test "x$USE_NLS" = xyes; then - langs="${LINGUAS-$ALL_LINGUAS}" + if test -z "$LINGUAS"; then + langs="`grep -v '^#' $srcdir/po/LINGUAS`" + else + langs="$LINGUAS" + fi + echo srcdir=$srcdir else langs= fi diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 000000000..6c884e578 --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1,3 @@ +# List of available translations. +az be bg ca cs da de el es eu fi fr hu it ja ko lv nl no pl pt pt_BR ro +ru sk sl sv uk ta tr wa zh_CN zh_TW