mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 09:13:04 +00:00
Use Gettext 0.11.1.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2002-03-14 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
Use Gettext 0.11.1.
|
||||||
|
|
||||||
2002-03-09 Robert Anisko <robert@lrde.epita.fr>
|
2002-03-09 Robert Anisko <robert@lrde.epita.fr>
|
||||||
|
|
||||||
* data/bison.c++: Make the user able to add members to the generated
|
* data/bison.c++: Make the user able to add members to the generated
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ ACLOCAL_AMFLAGS = -I m4
|
|||||||
|
|
||||||
SUBDIRS = config intl po lib data src doc m4 tests
|
SUBDIRS = config intl po lib data src doc m4 tests
|
||||||
|
|
||||||
EXTRA_DIST = REFERENCES configure.bat OChangeLog Makefile.maint GNUmakefile
|
EXTRA_DIST = config/config.rpath REFERENCES configure.bat OChangeLog Makefile.maint GNUmakefile
|
||||||
|
|
||||||
DISTCLEANFILES = intl/libintl.h
|
DISTCLEANFILES = intl/libintl.h
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,16 @@ if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
|||||||
fi
|
fi
|
||||||
# `libtool' can also be set to `yes' or `no'.
|
# `libtool' can also be set to `yes' or `no'.
|
||||||
|
|
||||||
depfile=${depfile-`echo "$object" | sed 's,\([^/]*\)$,.deps/\1,;s/\.\([^.]*\)$/.P\1/'`}
|
if test -z "$depfile"; then
|
||||||
|
base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
|
||||||
|
dir=`echo "$object" | sed 's,/.*$,/,'`
|
||||||
|
if test "$dir" = "$object"; then
|
||||||
|
dir=
|
||||||
|
fi
|
||||||
|
# FIXME: should be _deps on DOS.
|
||||||
|
depfile="$dir.deps/$base"
|
||||||
|
fi
|
||||||
|
|
||||||
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
||||||
|
|
||||||
rm -f "$tmpdepfile"
|
rm -f "$tmpdepfile"
|
||||||
@@ -204,8 +213,9 @@ tru64)
|
|||||||
# dependencies in `foo.d' instead, so we check for that too.
|
# dependencies in `foo.d' instead, so we check for that too.
|
||||||
# Subdirectories are respected.
|
# Subdirectories are respected.
|
||||||
|
|
||||||
tmpdepfile1="$object.d"
|
base=`echo "$object" | sed -e 's/\.o$/.d/' -e 's/\.lo$/.d/'`
|
||||||
tmpdepfile2=`echo "$object" | sed -e 's/.o$/.d/'`
|
tmpdepfile1="$base.o.d"
|
||||||
|
tmpdepfile2="$base.d"
|
||||||
if test "$libtool" = yes; then
|
if test "$libtool" = yes; then
|
||||||
"$@" -Wc,-MD
|
"$@" -Wc,-MD
|
||||||
else
|
else
|
||||||
@@ -314,7 +324,7 @@ makedepend)
|
|||||||
if test "$stat" != 0; then exit $stat; fi
|
if test "$stat" != 0; then exit $stat; fi
|
||||||
rm -f "$depfile"
|
rm -f "$depfile"
|
||||||
cat < "$tmpdepfile" > "$depfile"
|
cat < "$tmpdepfile" > "$depfile"
|
||||||
tail +3 "$tmpdepfile" | tr ' ' '
|
sed '1,2d' "$tmpdepfile" | tr ' ' '
|
||||||
' | \
|
' | \
|
||||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||||
## correctly. Breaking it into two sed invocations is a workaround.
|
## correctly. Breaking it into two sed invocations is a workaround.
|
||||||
@@ -382,6 +392,21 @@ msvisualcpp)
|
|||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case "$arg" in
|
||||||
|
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
|
||||||
|
set fnord "$@"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
"$@" -E |
|
"$@" -E |
|
||||||
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
|
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
|
||||||
) &
|
) &
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ then
|
|||||||
echo "install: no input file specified"
|
echo "install: no input file specified"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
true
|
:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ x"$dir_arg" != x ]; then
|
if [ x"$dir_arg" != x ]; then
|
||||||
@@ -120,7 +120,7 @@ if [ x"$dir_arg" != x ]; then
|
|||||||
instcmd=:
|
instcmd=:
|
||||||
chmodcmd=""
|
chmodcmd=""
|
||||||
else
|
else
|
||||||
instcmd=mkdir
|
instcmd=$mkdirprog
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
||||||
@@ -130,7 +130,7 @@ else
|
|||||||
|
|
||||||
if [ -f $src -o -d $src ]
|
if [ -f $src -o -d $src ]
|
||||||
then
|
then
|
||||||
true
|
:
|
||||||
else
|
else
|
||||||
echo "install: $src does not exist"
|
echo "install: $src does not exist"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -141,7 +141,7 @@ else
|
|||||||
echo "install: no destination specified"
|
echo "install: no destination specified"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
true
|
:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If destination is a directory, append the input filename; if your system
|
# If destination is a directory, append the input filename; if your system
|
||||||
@@ -151,7 +151,7 @@ else
|
|||||||
then
|
then
|
||||||
dst="$dst"/`basename $src`
|
dst="$dst"/`basename $src`
|
||||||
else
|
else
|
||||||
true
|
:
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -163,8 +163,8 @@ dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
|||||||
|
|
||||||
# Skip lots of stat calls in the usual case.
|
# Skip lots of stat calls in the usual case.
|
||||||
if [ ! -d "$dstdir" ]; then
|
if [ ! -d "$dstdir" ]; then
|
||||||
defaultIFS='
|
defaultIFS='
|
||||||
'
|
'
|
||||||
IFS="${IFS-${defaultIFS}}"
|
IFS="${IFS-${defaultIFS}}"
|
||||||
|
|
||||||
oIFS="${IFS}"
|
oIFS="${IFS}"
|
||||||
@@ -183,7 +183,7 @@ while [ $# -ne 0 ] ; do
|
|||||||
then
|
then
|
||||||
$mkdirprog "${pathcomp}"
|
$mkdirprog "${pathcomp}"
|
||||||
else
|
else
|
||||||
true
|
:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pathcomp="${pathcomp}/"
|
pathcomp="${pathcomp}/"
|
||||||
@@ -194,10 +194,10 @@ if [ x"$dir_arg" != x ]
|
|||||||
then
|
then
|
||||||
$doit $instcmd $dst &&
|
$doit $instcmd $dst &&
|
||||||
|
|
||||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
|
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi &&
|
||||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
|
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi &&
|
||||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
|
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else : ; fi &&
|
||||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
|
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else : ; fi
|
||||||
else
|
else
|
||||||
|
|
||||||
# If we're going to rename the final executable, determine the name now.
|
# If we're going to rename the final executable, determine the name now.
|
||||||
@@ -216,7 +216,7 @@ else
|
|||||||
then
|
then
|
||||||
dstfile=`basename $dst`
|
dstfile=`basename $dst`
|
||||||
else
|
else
|
||||||
true
|
:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Make a temp file name in the proper directory.
|
# Make a temp file name in the proper directory.
|
||||||
@@ -235,10 +235,10 @@ else
|
|||||||
# ignore errors from any of these, just make sure not to ignore
|
# ignore errors from any of these, just make sure not to ignore
|
||||||
# errors from the above "$doit $instcmd $src $dsttmp" command.
|
# errors from the above "$doit $instcmd $src $dsttmp" command.
|
||||||
|
|
||||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
|
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else :;fi &&
|
||||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
|
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else :;fi &&
|
||||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
|
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else :;fi &&
|
||||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
|
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else :;fi &&
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
# Now rename the file to the real destination.
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ INCLUDES = -I$(top_builddir)/intl \
|
|||||||
EXTRA_DIST = malloc.c realloc.c strnlen.c
|
EXTRA_DIST = malloc.c realloc.c strnlen.c
|
||||||
|
|
||||||
libbison_a_SOURCES = \
|
libbison_a_SOURCES = \
|
||||||
|
gettext.h \
|
||||||
basename.c dirname.h dirname.c \
|
basename.c dirname.h dirname.c \
|
||||||
getopt.h getopt.c getopt1.c \
|
getopt.h getopt.c getopt1.c \
|
||||||
hash.h hash.c \
|
hash.h hash.c \
|
||||||
|
|||||||
59
lib/gettext.h
Normal file
59
lib/gettext.h
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
/* Convenience header for conditional use of GNU <libintl.h>.
|
||||||
|
Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify it
|
||||||
|
under the terms of the GNU Library General Public License as published
|
||||||
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Library General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Library General Public
|
||||||
|
License along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
|
#ifndef _LIBGETTEXT_H
|
||||||
|
#define _LIBGETTEXT_H 1
|
||||||
|
|
||||||
|
/* NLS can be disabled through the configure --disable-nls option. */
|
||||||
|
#if ENABLE_NLS
|
||||||
|
|
||||||
|
/* Get declarations of GNU message catalog functions. */
|
||||||
|
# include <libintl.h>
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
/* Disabled NLS.
|
||||||
|
The casts to 'const char *' serve the purpose of producing warnings
|
||||||
|
for invalid uses of the value returned from these functions.
|
||||||
|
On pre-ANSI systems without 'const', the config.h file is supposed to
|
||||||
|
contain "#define const". */
|
||||||
|
# define gettext(Msgid) ((const char *) (Msgid))
|
||||||
|
# define dgettext(Domainname, Msgid) ((const char *) (Msgid))
|
||||||
|
# define dcgettext(Domainname, Msgid, Category) ((const char *) (Msgid))
|
||||||
|
# define ngettext(Msgid1, Msgid2, N) \
|
||||||
|
((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
|
||||||
|
# define dngettext(Domainname, Msgid1, Msgid2, N) \
|
||||||
|
((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
|
||||||
|
# define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \
|
||||||
|
((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
|
||||||
|
# define textdomain(Domainname) ((const char *) (Domainname))
|
||||||
|
# define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname))
|
||||||
|
# define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset))
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* A pseudo function call that serves as a marker for the automated
|
||||||
|
extraction of messages, but does not call gettext(). The run-time
|
||||||
|
translation is done at a different place in the code.
|
||||||
|
The argument, String, should be a literal string. Concatenated strings
|
||||||
|
and other string expressions won't work.
|
||||||
|
The macro's expansion is not parenthesized, so that it is suitable as
|
||||||
|
initializer for static 'char[]' or 'const char[]' variables. */
|
||||||
|
#define gettext_noop(String) String
|
||||||
|
|
||||||
|
#endif /* _LIBGETTEXT_H */
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = lib-ld.m4 lib-link.m4 lib-prefix.m4 \
|
||||||
c-bs-a.m4 \
|
c-bs-a.m4 \
|
||||||
codeset.m4 \
|
codeset.m4 \
|
||||||
dmalloc.m4 \
|
dmalloc.m4 \
|
||||||
|
|||||||
@@ -1,4 +1,10 @@
|
|||||||
#serial AM1
|
# codeset.m4 serial AM1 (gettext-0.10.40)
|
||||||
|
dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
|
||||||
|
dnl This file is free software, distributed under the terms of the GNU
|
||||||
|
dnl General Public License. As a special exception to the GNU General
|
||||||
|
dnl Public License, this file may be distributed as part of a program
|
||||||
|
dnl that contains a configuration script generated by Autoconf, under
|
||||||
|
dnl the same distribution terms as the rest of that program.
|
||||||
|
|
||||||
dnl From Bruno Haible.
|
dnl From Bruno Haible.
|
||||||
|
|
||||||
|
|||||||
721
m4/gettext.m4
721
m4/gettext.m4
@@ -1,27 +1,40 @@
|
|||||||
# Macro to add for using GNU gettext.
|
# gettext.m4 serial 13 (gettext-0.11.1)
|
||||||
# Ulrich Drepper <drepper@cygnus.com>, 1995.
|
dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
|
||||||
#
|
dnl This file is free software, distributed under the terms of the GNU
|
||||||
# This file can be copied and used freely without restrictions. It can
|
dnl General Public License. As a special exception to the GNU General
|
||||||
# be used in projects which are not available under the GNU General Public
|
dnl Public License, this file may be distributed as part of a program
|
||||||
# License or the GNU Library General Public License but which still want
|
dnl that contains a configuration script generated by Autoconf, under
|
||||||
# to provide support for the GNU gettext functionality.
|
dnl the same distribution terms as the rest of that program.
|
||||||
# Please note that the actual code of the GNU gettext library is covered
|
dnl
|
||||||
# by the GNU Library General Public License, and the rest of the GNU
|
dnl This file can can be used in projects which are not available under
|
||||||
# gettext package package is covered by the GNU General Public License.
|
dnl the GNU General Public License or the GNU Library General Public
|
||||||
# They are *not* in the public domain.
|
dnl License but which still want to provide support for the GNU gettext
|
||||||
|
dnl functionality.
|
||||||
|
dnl Please note that the actual code of the GNU gettext library is covered
|
||||||
|
dnl by the GNU Library General Public License, and the rest of the GNU
|
||||||
|
dnl gettext package package is covered by the GNU General Public License.
|
||||||
|
dnl They are *not* in the public domain.
|
||||||
|
|
||||||
# serial 10
|
dnl Authors:
|
||||||
|
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
|
||||||
|
dnl Bruno Haible <haible@clisp.cons.org>, 2000-2002.
|
||||||
|
|
||||||
dnl Usage: AM_WITH_NLS([TOOLSYMBOL], [NEEDSYMBOL], [LIBDIR]).
|
dnl Macro to add for using GNU gettext.
|
||||||
dnl If TOOLSYMBOL is specified and is 'use-libtool', then a libtool library
|
|
||||||
|
dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
|
||||||
|
dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
|
||||||
|
dnl default (if it is not specified or empty) is 'no-libtool'.
|
||||||
|
dnl INTLSYMBOL should be 'external' for packages with no intl directory,
|
||||||
|
dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
|
||||||
|
dnl If INTLSYMBOL is 'use-libtool', then a libtool library
|
||||||
dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
|
dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
|
||||||
dnl depending on --{enable,disable}-{shared,static} and on the presence of
|
dnl depending on --{enable,disable}-{shared,static} and on the presence of
|
||||||
dnl AM-DISABLE-SHARED). Otherwise, a static library
|
dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
|
||||||
dnl $(top_builddir)/intl/libintl.a will be created.
|
dnl $(top_builddir)/intl/libintl.a will be created.
|
||||||
dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
|
dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
|
||||||
dnl implementations (in libc or libintl) without the ngettext() function
|
dnl implementations (in libc or libintl) without the ngettext() function
|
||||||
dnl will be ignored.
|
dnl will be ignored.
|
||||||
dnl LIBDIR is used to find the intl libraries. If empty,
|
dnl INTLDIR is used to find the intl libraries. If empty,
|
||||||
dnl the value `$(top_builddir)/intl/' is used.
|
dnl the value `$(top_builddir)/intl/' is used.
|
||||||
dnl
|
dnl
|
||||||
dnl The result of the configuration is one of three cases:
|
dnl The result of the configuration is one of three cases:
|
||||||
@@ -35,29 +48,53 @@ dnl Catalog extension: .mo after installation, .gmo in source tree
|
|||||||
dnl 3) No internationalization, always use English msgid.
|
dnl 3) No internationalization, always use English msgid.
|
||||||
dnl Catalog format: none
|
dnl Catalog format: none
|
||||||
dnl Catalog extension: none
|
dnl Catalog extension: none
|
||||||
|
dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
|
||||||
dnl The use of .gmo is historical (it was needed to avoid overwriting the
|
dnl The use of .gmo is historical (it was needed to avoid overwriting the
|
||||||
dnl GNU format catalogs when building on a platform with an X/Open gettext),
|
dnl GNU format catalogs when building on a platform with an X/Open gettext),
|
||||||
dnl but we keep it in order not to force irrelevant filename changes on the
|
dnl but we keep it in order not to force irrelevant filename changes on the
|
||||||
dnl maintainers.
|
dnl maintainers.
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN([AM_WITH_NLS],
|
AC_DEFUN([AM_GNU_GETTEXT],
|
||||||
[AC_MSG_CHECKING([whether NLS is requested])
|
[
|
||||||
dnl Default is enabled NLS
|
dnl Argument checking.
|
||||||
AC_ARG_ENABLE(nls,
|
ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
|
||||||
[ --disable-nls do not use Native Language Support],
|
[errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
|
||||||
USE_NLS=$enableval, USE_NLS=yes)
|
])])])])])
|
||||||
AC_MSG_RESULT($USE_NLS)
|
ifelse([$2], [], , [ifelse([$2], [need-ngettext], ,
|
||||||
AC_SUBST(USE_NLS)
|
[errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
|
||||||
|
])])])
|
||||||
|
define(gt_included_intl, ifelse([$1], [external], [no], [yes]))
|
||||||
|
define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], []))
|
||||||
|
|
||||||
|
AC_REQUIRE([AM_PO_SUBDIRS])dnl
|
||||||
|
ifelse(gt_included_intl, yes, [
|
||||||
|
AC_REQUIRE([AM_INTL_SUBDIR])dnl
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
|
||||||
|
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
||||||
|
AC_REQUIRE([AC_LIB_RPATH])
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([whether NLS is requested])
|
||||||
|
dnl Default is enabled NLS
|
||||||
|
AC_ARG_ENABLE(nls,
|
||||||
|
[ --disable-nls do not use Native Language Support],
|
||||||
|
USE_NLS=$enableval, USE_NLS=yes)
|
||||||
|
AC_MSG_RESULT($USE_NLS)
|
||||||
|
AC_SUBST(USE_NLS)
|
||||||
|
|
||||||
|
ifelse(gt_included_intl, yes, [
|
||||||
BUILD_INCLUDED_LIBINTL=no
|
BUILD_INCLUDED_LIBINTL=no
|
||||||
USE_INCLUDED_LIBINTL=no
|
USE_INCLUDED_LIBINTL=no
|
||||||
INTLLIBS=
|
])
|
||||||
|
LIBINTL=
|
||||||
|
LTLIBINTL=
|
||||||
|
POSUB=
|
||||||
|
|
||||||
dnl If we use NLS figure out what method
|
dnl If we use NLS figure out what method
|
||||||
if test "$USE_NLS" = "yes"; then
|
if test "$USE_NLS" = "yes"; then
|
||||||
AC_DEFINE(ENABLE_NLS, 1,
|
gt_use_preinstalled_gnugettext=no
|
||||||
[Define to 1 if translation of program messages to the user's native language
|
ifelse(gt_included_intl, yes, [
|
||||||
is requested.])
|
|
||||||
AC_MSG_CHECKING([whether included gettext is requested])
|
AC_MSG_CHECKING([whether included gettext is requested])
|
||||||
AC_ARG_WITH(included-gettext,
|
AC_ARG_WITH(included-gettext,
|
||||||
[ --with-included-gettext use the GNU gettext library included here],
|
[ --with-included-gettext use the GNU gettext library included here],
|
||||||
@@ -67,214 +104,158 @@ AC_DEFUN([AM_WITH_NLS],
|
|||||||
|
|
||||||
nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
|
nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
|
||||||
if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
|
if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
|
||||||
|
])
|
||||||
dnl User does not insist on using GNU NLS library. Figure out what
|
dnl User does not insist on using GNU NLS library. Figure out what
|
||||||
dnl to use. If GNU gettext is available we use this. Else we have
|
dnl to use. If GNU gettext is available we use this. Else we have
|
||||||
dnl to fall back to GNU NLS library.
|
dnl to fall back to GNU NLS library.
|
||||||
CATOBJEXT=NONE
|
|
||||||
|
|
||||||
dnl Add a version number to the cache macros.
|
dnl Add a version number to the cache macros.
|
||||||
define(gt_cv_func_gnugettext_libc, [gt_cv_func_gnugettext]ifelse([$2], need-ngettext, 2, 1)[_libc])
|
define([gt_api_version], ifelse([$2], [need-ngettext], 2, 1))
|
||||||
define(gt_cv_func_gnugettext_libintl, [gt_cv_func_gnugettext]ifelse([$2], need-ngettext, 2, 1)[_libintl])
|
define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
|
||||||
|
define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
|
||||||
|
|
||||||
AC_CHECK_HEADER(libintl.h,
|
AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
|
||||||
[AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
|
[AC_TRY_LINK([#include <libintl.h>
|
||||||
[AC_TRY_LINK([#include <libintl.h>
|
extern int _nl_msg_cat_cntr;
|
||||||
extern int _nl_msg_cat_cntr;],
|
extern int *_nl_domain_bindings;],
|
||||||
[bindtextdomain ("", "");
|
[bindtextdomain ("", "");
|
||||||
return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr],
|
return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
|
||||||
gt_cv_func_gnugettext_libc=yes,
|
gt_cv_func_gnugettext_libc=yes,
|
||||||
gt_cv_func_gnugettext_libc=no)])
|
gt_cv_func_gnugettext_libc=no)])
|
||||||
|
|
||||||
if test "$gt_cv_func_gnugettext_libc" != "yes"; then
|
if test "$gt_cv_func_gnugettext_libc" != "yes"; then
|
||||||
AC_CACHE_CHECK([for GNU gettext in libintl],
|
dnl Sometimes libintl requires libiconv, so first search for libiconv.
|
||||||
gt_cv_func_gnugettext_libintl,
|
ifelse(gt_included_intl, yes, , [
|
||||||
[gt_save_LIBS="$LIBS"
|
AM_ICONV_LINK
|
||||||
LIBS="$LIBS -lintl $LIBICONV"
|
])
|
||||||
AC_TRY_LINK([#include <libintl.h>
|
dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
|
||||||
extern int _nl_msg_cat_cntr;],
|
dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
|
||||||
[bindtextdomain ("", "");
|
dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
|
||||||
return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr],
|
dnl even if libiconv doesn't exist.
|
||||||
gt_cv_func_gnugettext_libintl=yes,
|
AC_LIB_LINKFLAGS_BODY([intl])
|
||||||
gt_cv_func_gnugettext_libintl=no)
|
AC_CACHE_CHECK([for GNU gettext in libintl],
|
||||||
LIBS="$gt_save_LIBS"])
|
gt_cv_func_gnugettext_libintl,
|
||||||
fi
|
[gt_save_CPPFLAGS="$CPPFLAGS"
|
||||||
|
CPPFLAGS="$CPPFLAGS $INCINTL"
|
||||||
|
gt_save_LIBS="$LIBS"
|
||||||
|
LIBS="$LIBS $LIBINTL"
|
||||||
|
dnl Now see whether libintl exists and does not depend on libiconv.
|
||||||
|
AC_TRY_LINK([#include <libintl.h>
|
||||||
|
extern int _nl_msg_cat_cntr;
|
||||||
|
extern int *_nl_domain_bindings;
|
||||||
|
extern
|
||||||
|
#ifdef __cplusplus
|
||||||
|
"C"
|
||||||
|
#endif
|
||||||
|
const char *_nl_expand_alias ();],
|
||||||
|
[bindtextdomain ("", "");
|
||||||
|
return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)],
|
||||||
|
gt_cv_func_gnugettext_libintl=yes,
|
||||||
|
gt_cv_func_gnugettext_libintl=no)
|
||||||
|
dnl Now see whether libintl exists and depends on libiconv.
|
||||||
|
if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
|
||||||
|
LIBS="$LIBS $LIBICONV"
|
||||||
|
AC_TRY_LINK([#include <libintl.h>
|
||||||
|
extern int _nl_msg_cat_cntr;
|
||||||
|
extern int *_nl_domain_bindings;
|
||||||
|
extern
|
||||||
|
#ifdef __cplusplus
|
||||||
|
"C"
|
||||||
|
#endif
|
||||||
|
const char *_nl_expand_alias ();],
|
||||||
|
[bindtextdomain ("", "");
|
||||||
|
return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)],
|
||||||
|
[LIBINTL="$LIBINTL $LIBICONV"
|
||||||
|
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
|
||||||
|
gt_cv_func_gnugettext_libintl=yes
|
||||||
|
])
|
||||||
|
fi
|
||||||
|
CPPFLAGS="$gt_save_CPPFLAGS"
|
||||||
|
LIBS="$gt_save_LIBS"])
|
||||||
|
fi
|
||||||
|
|
||||||
dnl If an already present or preinstalled GNU gettext() is found,
|
dnl If an already present or preinstalled GNU gettext() is found,
|
||||||
dnl use it. But if this macro is used in GNU gettext, and GNU
|
dnl use it. But if this macro is used in GNU gettext, and GNU
|
||||||
dnl gettext is already preinstalled in libintl, we update this
|
dnl gettext is already preinstalled in libintl, we update this
|
||||||
dnl libintl. (Cf. the install rule in intl/Makefile.in.)
|
dnl libintl. (Cf. the install rule in intl/Makefile.in.)
|
||||||
if test "$gt_cv_func_gnugettext_libc" = "yes" \
|
if test "$gt_cv_func_gnugettext_libc" = "yes" \
|
||||||
|| { test "$gt_cv_func_gnugettext_libintl" = "yes" \
|
|| { test "$gt_cv_func_gnugettext_libintl" = "yes" \
|
||||||
&& test "$PACKAGE" != gettext; }; then
|
&& test "$PACKAGE" != gettext; }; then
|
||||||
AC_DEFINE(HAVE_GETTEXT, 1,
|
gt_use_preinstalled_gnugettext=yes
|
||||||
[Define if the GNU gettext() function is already present or preinstalled.])
|
else
|
||||||
|
dnl Reset the values set by searching for libintl.
|
||||||
|
LIBINTL=
|
||||||
|
LTLIBINTL=
|
||||||
|
INCINTL=
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
|
ifelse(gt_included_intl, yes, [
|
||||||
dnl If iconv() is in a separate libiconv library, then anyone
|
if test "$gt_use_preinstalled_gnugettext" != "yes"; then
|
||||||
dnl linking with libintl{.a,.so} also needs to link with
|
dnl GNU gettext is not found in the C library.
|
||||||
dnl libiconv.
|
dnl Fall back on included GNU gettext library.
|
||||||
INTLLIBS="-lintl $LIBICONV"
|
nls_cv_use_gnu_gettext=yes
|
||||||
fi
|
|
||||||
|
|
||||||
gt_save_LIBS="$LIBS"
|
|
||||||
LIBS="$LIBS $INTLLIBS"
|
|
||||||
AC_CHECK_FUNCS(dcgettext)
|
|
||||||
LIBS="$gt_save_LIBS"
|
|
||||||
|
|
||||||
dnl Search for GNU msgfmt in the PATH.
|
|
||||||
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
|
|
||||||
[$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1], :)
|
|
||||||
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
|
|
||||||
|
|
||||||
dnl Search for GNU xgettext in the PATH.
|
|
||||||
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
|
|
||||||
[$ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1], :)
|
|
||||||
|
|
||||||
CATOBJEXT=.gmo
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
if test "$CATOBJEXT" = "NONE"; then
|
|
||||||
dnl GNU gettext is not found in the C library.
|
|
||||||
dnl Fall back on GNU gettext library.
|
|
||||||
nls_cv_use_gnu_gettext=yes
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$nls_cv_use_gnu_gettext" = "yes"; then
|
if test "$nls_cv_use_gnu_gettext" = "yes"; then
|
||||||
dnl Mark actions used to generate GNU NLS library.
|
dnl Mark actions used to generate GNU NLS library.
|
||||||
INTLOBJS="\$(GETTOBJS)"
|
INTLOBJS="\$(GETTOBJS)"
|
||||||
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
|
BUILD_INCLUDED_LIBINTL=yes
|
||||||
[$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1], :)
|
USE_INCLUDED_LIBINTL=yes
|
||||||
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
|
LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
|
||||||
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
|
LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
|
||||||
[$ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1], :)
|
LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
|
||||||
AC_SUBST(MSGFMT)
|
fi
|
||||||
BUILD_INCLUDED_LIBINTL=yes
|
|
||||||
USE_INCLUDED_LIBINTL=yes
|
if test "$gt_use_preinstalled_gnugettext" = "yes" \
|
||||||
|
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
|
||||||
|
dnl Mark actions to use GNU gettext tools.
|
||||||
CATOBJEXT=.gmo
|
CATOBJEXT=.gmo
|
||||||
INTLLIBS="ifelse([$3],[],\$(top_builddir)/intl,[$3])/libintl.ifelse([$1], use-libtool, [l], [])a $LIBICONV"
|
|
||||||
LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
|
|
||||||
fi
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
|
if test "$gt_use_preinstalled_gnugettext" = "yes" \
|
||||||
dnl Test whether we really found GNU msgfmt.
|
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
|
||||||
if test "$GMSGFMT" != ":"; then
|
AC_DEFINE(ENABLE_NLS, 1,
|
||||||
dnl If it is no GNU msgfmt we define it as : so that the
|
[Define to 1 if translation of program messages to the user's native language
|
||||||
dnl Makefiles still can work.
|
is requested.])
|
||||||
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then
|
else
|
||||||
: ;
|
USE_NLS=no
|
||||||
else
|
|
||||||
AC_MSG_RESULT(
|
|
||||||
[found msgfmt program is not GNU msgfmt; ignore it])
|
|
||||||
GMSGFMT=":"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
|
|
||||||
dnl Test whether we really found GNU xgettext.
|
|
||||||
if test "$XGETTEXT" != ":"; then
|
|
||||||
dnl If it is no GNU xgettext we define it as : so that the
|
|
||||||
dnl Makefiles still can work.
|
|
||||||
if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then
|
|
||||||
: ;
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(
|
|
||||||
[found xgettext program is not GNU xgettext; ignore it])
|
|
||||||
XGETTEXT=":"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl We need to process the po/ directory.
|
|
||||||
POSUB=po
|
|
||||||
fi
|
fi
|
||||||
AC_OUTPUT_COMMANDS(
|
fi
|
||||||
[for ac_file in $CONFIG_FILES; do
|
|
||||||
# Support "outfile[:infile[:infile...]]"
|
|
||||||
case "$ac_file" in
|
|
||||||
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
|
||||||
esac
|
|
||||||
# PO directories have a Makefile.in generated from Makefile.in.in.
|
|
||||||
case "$ac_file" in */Makefile.in)
|
|
||||||
# Adjust a relative srcdir.
|
|
||||||
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
|
|
||||||
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
|
|
||||||
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
|
|
||||||
# In autoconf-2.13 it is called $ac_given_srcdir.
|
|
||||||
# In autoconf-2.50 it is called $srcdir.
|
|
||||||
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
|
|
||||||
case "$ac_given_srcdir" in
|
|
||||||
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
|
|
||||||
/*) top_srcdir="$ac_given_srcdir" ;;
|
|
||||||
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
|
|
||||||
esac
|
|
||||||
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
|
|
||||||
rm -f "$ac_dir/POTFILES"
|
|
||||||
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
|
|
||||||
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
|
|
||||||
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
|
|
||||||
sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done])
|
|
||||||
|
|
||||||
|
if test "$USE_NLS" = "yes"; then
|
||||||
|
|
||||||
|
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
|
||||||
|
if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
|
||||||
|
AC_MSG_CHECKING([how to link with libintl])
|
||||||
|
AC_MSG_RESULT([$LIBINTL])
|
||||||
|
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl For backward compatibility. Some packages may be using this.
|
||||||
|
AC_DEFINE(HAVE_GETTEXT, 1,
|
||||||
|
[Define if the GNU gettext() function is already present or preinstalled.])
|
||||||
|
AC_DEFINE(HAVE_DCGETTEXT, 1,
|
||||||
|
[Define if the GNU dcgettext() function is already present or preinstalled.])
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl We need to process the po/ directory.
|
||||||
|
POSUB=po
|
||||||
|
fi
|
||||||
|
|
||||||
|
ifelse(gt_included_intl, yes, [
|
||||||
dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
|
dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
|
||||||
dnl to 'yes' because some of the testsuite requires it.
|
dnl to 'yes' because some of the testsuite requires it.
|
||||||
if test "$PACKAGE" = gettext; then
|
if test "$PACKAGE" = gettext; then
|
||||||
BUILD_INCLUDED_LIBINTL=yes
|
BUILD_INCLUDED_LIBINTL=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl intl/plural.c is generated from intl/plural.y. It requires bison,
|
|
||||||
dnl because plural.y uses bison specific features. It requires at least
|
|
||||||
dnl bison-1.26 because earlier versions generate a plural.c that doesn't
|
|
||||||
dnl compile.
|
|
||||||
dnl bison is only needed for the maintainer (who touches plural.y). But in
|
|
||||||
dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
|
|
||||||
dnl the rule in general Makefile. Now, some people carelessly touch the
|
|
||||||
dnl files or have a broken "make" program, hence the plural.c rule will
|
|
||||||
dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
|
|
||||||
dnl present or too old.
|
|
||||||
AC_CHECK_PROGS([INTLBISON], [bison])
|
|
||||||
if test -z "$INTLBISON"; then
|
|
||||||
ac_verc_fail=yes
|
|
||||||
else
|
|
||||||
dnl Found it, now check the version.
|
|
||||||
AC_MSG_CHECKING([version of bison])
|
|
||||||
changequote(<<,>>)dnl
|
|
||||||
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
|
||||||
case $ac_prog_version in
|
|
||||||
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
|
||||||
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
|
|
||||||
changequote([,])dnl
|
|
||||||
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
|
|
||||||
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
|
|
||||||
esac
|
|
||||||
AC_MSG_RESULT([$ac_prog_version])
|
|
||||||
fi
|
|
||||||
if test $ac_verc_fail = yes; then
|
|
||||||
INTLBISON=:
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl These rules are solely for the distribution goal. While doing this
|
|
||||||
dnl we only have to keep exactly one list of the available catalogs
|
|
||||||
dnl in configure.in.
|
|
||||||
for lang in $ALL_LINGUAS; do
|
|
||||||
GMOFILES="$GMOFILES $lang.gmo"
|
|
||||||
POFILES="$POFILES $lang.po"
|
|
||||||
done
|
|
||||||
|
|
||||||
dnl Make all variables we use known to autoconf.
|
dnl Make all variables we use known to autoconf.
|
||||||
AC_SUBST(BUILD_INCLUDED_LIBINTL)
|
AC_SUBST(BUILD_INCLUDED_LIBINTL)
|
||||||
AC_SUBST(USE_INCLUDED_LIBINTL)
|
AC_SUBST(USE_INCLUDED_LIBINTL)
|
||||||
AC_SUBST(CATALOGS)
|
|
||||||
AC_SUBST(CATOBJEXT)
|
AC_SUBST(CATOBJEXT)
|
||||||
AC_SUBST(GMOFILES)
|
|
||||||
AC_SUBST(INTLLIBS)
|
|
||||||
AC_SUBST(INTLOBJS)
|
AC_SUBST(INTLOBJS)
|
||||||
AC_SUBST(POFILES)
|
|
||||||
AC_SUBST(POSUB)
|
|
||||||
|
|
||||||
dnl For backward compatibility. Some configure.ins may be using this.
|
dnl For backward compatibility. Some configure.ins may be using this.
|
||||||
nls_cv_header_intl=
|
nls_cv_header_intl=
|
||||||
@@ -291,80 +272,270 @@ changequote([,])dnl
|
|||||||
dnl For backward compatibility. Some Makefiles may be using this.
|
dnl For backward compatibility. Some Makefiles may be using this.
|
||||||
GENCAT=gencat
|
GENCAT=gencat
|
||||||
AC_SUBST(GENCAT)
|
AC_SUBST(GENCAT)
|
||||||
|
|
||||||
|
dnl Enable libtool support if the surrounding package wishes it.
|
||||||
|
INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
|
||||||
|
AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl Usage: Just like AM_WITH_NLS, which see.
|
dnl For backward compatibility. Some Makefiles may be using this.
|
||||||
AC_DEFUN([AM_GNU_GETTEXT],
|
INTLLIBS="$LIBINTL"
|
||||||
[AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
AC_SUBST(INTLLIBS)
|
||||||
AC_REQUIRE([AC_PROG_CC])dnl
|
|
||||||
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
|
||||||
AC_REQUIRE([AC_PROG_RANLIB])dnl
|
|
||||||
AC_REQUIRE([AC_ISC_POSIX])dnl
|
|
||||||
AC_REQUIRE([AC_HEADER_STDC])dnl
|
|
||||||
AC_REQUIRE([AC_C_CONST])dnl
|
|
||||||
AC_REQUIRE([AC_C_INLINE])dnl
|
|
||||||
AC_REQUIRE([AC_TYPE_OFF_T])dnl
|
|
||||||
AC_REQUIRE([AC_TYPE_SIZE_T])dnl
|
|
||||||
AC_REQUIRE([AC_FUNC_ALLOCA])dnl
|
|
||||||
AC_REQUIRE([AC_FUNC_MMAP])dnl
|
|
||||||
AC_REQUIRE([jm_GLIBC21])dnl
|
|
||||||
|
|
||||||
AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
|
dnl Make all documented variables known to autoconf.
|
||||||
|
AC_SUBST(LIBINTL)
|
||||||
|
AC_SUBST(LTLIBINTL)
|
||||||
|
AC_SUBST(POSUB)
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
dnl Checks for all prerequisites of the po subdirectory,
|
||||||
|
dnl except for USE_NLS.
|
||||||
|
AC_DEFUN([AM_PO_SUBDIRS],
|
||||||
|
[
|
||||||
|
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
||||||
|
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||||
|
AC_REQUIRE([AM_MKINSTALLDIRS])dnl
|
||||||
|
|
||||||
|
dnl Perform the following tests also if --disable-nls has been given,
|
||||||
|
dnl because they are needed for "make dist" to work.
|
||||||
|
|
||||||
|
dnl Search for GNU msgfmt in the PATH.
|
||||||
|
dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
|
||||||
|
dnl The second test excludes FreeBSD msgfmt.
|
||||||
|
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
|
||||||
|
[$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
|
||||||
|
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
|
||||||
|
:)
|
||||||
|
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
|
||||||
|
|
||||||
|
dnl Search for GNU xgettext 0.11 or newer in the PATH.
|
||||||
|
dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
|
||||||
|
dnl The second test excludes FreeBSD xgettext.
|
||||||
|
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
|
||||||
|
[$ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
|
||||||
|
(if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
|
||||||
|
:)
|
||||||
|
dnl Remove leftover from FreeBSD xgettext call.
|
||||||
|
rm -f messages.po
|
||||||
|
|
||||||
|
dnl Search for GNU msgmerge 0.11 or newer in the PATH.
|
||||||
|
AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
|
||||||
|
[$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :)
|
||||||
|
|
||||||
|
dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
|
||||||
|
dnl Test whether we really found GNU msgfmt.
|
||||||
|
if test "$GMSGFMT" != ":"; then
|
||||||
|
dnl If it is no GNU msgfmt we define it as : so that the
|
||||||
|
dnl Makefiles still can work.
|
||||||
|
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
|
||||||
|
(if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
|
||||||
|
: ;
|
||||||
|
else
|
||||||
|
GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
|
||||||
|
AC_MSG_RESULT(
|
||||||
|
[found $GMSGFMT program is not GNU msgfmt; ignore it])
|
||||||
|
GMSGFMT=":"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
|
||||||
|
dnl Test whether we really found GNU xgettext.
|
||||||
|
if test "$XGETTEXT" != ":"; then
|
||||||
|
dnl If it is no GNU xgettext we define it as : so that the
|
||||||
|
dnl Makefiles still can work.
|
||||||
|
if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
|
||||||
|
(if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
|
||||||
|
: ;
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(
|
||||||
|
[found xgettext program is not GNU xgettext; ignore it])
|
||||||
|
XGETTEXT=":"
|
||||||
|
fi
|
||||||
|
dnl Remove leftover from FreeBSD xgettext call.
|
||||||
|
rm -f messages.po
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_OUTPUT_COMMANDS([
|
||||||
|
for ac_file in $CONFIG_FILES; do
|
||||||
|
# Support "outfile[:infile[:infile...]]"
|
||||||
|
case "$ac_file" in
|
||||||
|
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
||||||
|
esac
|
||||||
|
# PO directories have a Makefile.in generated from Makefile.in.in.
|
||||||
|
case "$ac_file" in */Makefile.in)
|
||||||
|
# Adjust a relative srcdir.
|
||||||
|
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
|
||||||
|
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
|
||||||
|
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
|
||||||
|
# In autoconf-2.13 it is called $ac_given_srcdir.
|
||||||
|
# In autoconf-2.50 it is called $srcdir.
|
||||||
|
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
|
||||||
|
case "$ac_given_srcdir" in
|
||||||
|
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
|
||||||
|
/*) top_srcdir="$ac_given_srcdir" ;;
|
||||||
|
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
|
||||||
|
esac
|
||||||
|
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
|
||||||
|
rm -f "$ac_dir/POTFILES"
|
||||||
|
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
|
||||||
|
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
|
||||||
|
# ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
|
||||||
|
# on $ac_dir but don't depend on user-specified configuration
|
||||||
|
# parameters.
|
||||||
|
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
|
||||||
|
# The LINGUAS file contains the set of available languages.
|
||||||
|
if test -n "$ALL_LINGUAS"; then
|
||||||
|
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
|
||||||
|
fi
|
||||||
|
ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
|
||||||
|
# Hide the ALL_LINGUAS assigment from automake.
|
||||||
|
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
|
||||||
|
fi
|
||||||
|
case "$ac_given_srcdir" in
|
||||||
|
.) srcdirpre= ;;
|
||||||
|
*) srcdirpre='$(srcdir)/' ;;
|
||||||
|
esac
|
||||||
|
POFILES=
|
||||||
|
GMOFILES=
|
||||||
|
UPDATEPOFILES=
|
||||||
|
DUMMYPOFILES=
|
||||||
|
for lang in $ALL_LINGUAS; do
|
||||||
|
POFILES="$POFILES $srcdirpre$lang.po"
|
||||||
|
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
|
||||||
|
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
|
||||||
|
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
|
||||||
|
done
|
||||||
|
# CATALOGS depends on both $ac_dir and the user's LINGUAS
|
||||||
|
# environment variable.
|
||||||
|
INST_LINGUAS=
|
||||||
|
if test -n "$ALL_LINGUAS"; then
|
||||||
|
for presentlang in $ALL_LINGUAS; do
|
||||||
|
useit=no
|
||||||
|
if test "%UNSET%" != "$LINGUAS"; then
|
||||||
|
desiredlanguages="$LINGUAS"
|
||||||
|
else
|
||||||
|
desiredlanguages="$ALL_LINGUAS"
|
||||||
|
fi
|
||||||
|
for desiredlang in $desiredlanguages; do
|
||||||
|
# Use the presentlang catalog if desiredlang is
|
||||||
|
# a. equal to presentlang, or
|
||||||
|
# b. a variant of presentlang (because in this case,
|
||||||
|
# presentlang can be used as a fallback for messages
|
||||||
|
# which are not translated in the desiredlang catalog).
|
||||||
|
case "$desiredlang" in
|
||||||
|
"$presentlang"*) useit=yes;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
if test $useit = yes; then
|
||||||
|
INST_LINGUAS="$INST_LINGUAS $presentlang"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
CATALOGS=
|
||||||
|
if test -n "$INST_LINGUAS"; then
|
||||||
|
for lang in $INST_LINGUAS; do
|
||||||
|
CATALOGS="$CATALOGS $lang.gmo"
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
|
||||||
|
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
|
||||||
|
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
|
||||||
|
if test -f "$f"; then
|
||||||
|
case "$f" in
|
||||||
|
*.orig | *.bak | *~) ;;
|
||||||
|
*) cat "$f" >> "$ac_dir/Makefile" ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done],
|
||||||
|
[# Capture the value of obsolete $ALL_LINGUAS because we need it to compute
|
||||||
|
# POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
|
||||||
|
# from automake.
|
||||||
|
eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
|
||||||
|
# Capture the value of LINGUAS because we need it to compute CATALOGS.
|
||||||
|
LINGUAS="${LINGUAS-%UNSET%}"
|
||||||
|
])
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
dnl Checks for all prerequisites of the intl subdirectory,
|
||||||
|
dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
|
||||||
|
dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
|
||||||
|
AC_DEFUN([AM_INTL_SUBDIR],
|
||||||
|
[
|
||||||
|
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||||
|
AC_REQUIRE([AM_MKINSTALLDIRS])dnl
|
||||||
|
AC_REQUIRE([AC_PROG_CC])dnl
|
||||||
|
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||||
|
AC_REQUIRE([AC_PROG_RANLIB])dnl
|
||||||
|
AC_REQUIRE([AC_ISC_POSIX])dnl
|
||||||
|
AC_REQUIRE([AC_HEADER_STDC])dnl
|
||||||
|
AC_REQUIRE([AC_C_CONST])dnl
|
||||||
|
AC_REQUIRE([AC_C_INLINE])dnl
|
||||||
|
AC_REQUIRE([AC_TYPE_OFF_T])dnl
|
||||||
|
AC_REQUIRE([AC_TYPE_SIZE_T])dnl
|
||||||
|
AC_REQUIRE([AC_FUNC_ALLOCA])dnl
|
||||||
|
AC_REQUIRE([AC_FUNC_MMAP])dnl
|
||||||
|
AC_REQUIRE([jm_GLIBC21])dnl
|
||||||
|
|
||||||
|
AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
|
||||||
stdlib.h string.h unistd.h sys/param.h])
|
stdlib.h string.h unistd.h sys/param.h])
|
||||||
AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getcwd getegid geteuid \
|
AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
|
||||||
getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
|
geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
|
||||||
strdup strtoul tsearch __argz_count __argz_stringify __argz_next])
|
strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next])
|
||||||
|
|
||||||
AM_ICONV
|
AM_ICONV
|
||||||
AM_LANGINFO_CODESET
|
AM_LANGINFO_CODESET
|
||||||
AM_LC_MESSAGES
|
AM_LC_MESSAGES
|
||||||
AM_WITH_NLS([$1],[$2],[$3])
|
|
||||||
|
|
||||||
if test "x$CATOBJEXT" != "x"; then
|
dnl intl/plural.c is generated from intl/plural.y. It requires bison,
|
||||||
if test "x$ALL_LINGUAS" = "x"; then
|
dnl because plural.y uses bison specific features. It requires at least
|
||||||
LINGUAS=
|
dnl bison-1.26 because earlier versions generate a plural.c that doesn't
|
||||||
else
|
dnl compile.
|
||||||
AC_MSG_CHECKING(for catalogs to be installed)
|
dnl bison is only needed for the maintainer (who touches plural.y). But in
|
||||||
NEW_LINGUAS=
|
dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
|
||||||
for presentlang in $ALL_LINGUAS; do
|
dnl the rule in general Makefile. Now, some people carelessly touch the
|
||||||
useit=no
|
dnl files or have a broken "make" program, hence the plural.c rule will
|
||||||
for desiredlang in ${LINGUAS-$ALL_LINGUAS}; do
|
dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
|
||||||
# Use the presentlang catalog if desiredlang is
|
dnl present or too old.
|
||||||
# a. equal to presentlang, or
|
AC_CHECK_PROGS([INTLBISON], [bison])
|
||||||
# b. a variant of presentlang (because in this case,
|
if test -z "$INTLBISON"; then
|
||||||
# presentlang can be used as a fallback for messages
|
ac_verc_fail=yes
|
||||||
# which are not translated in the desiredlang catalog).
|
else
|
||||||
case "$desiredlang" in
|
dnl Found it, now check the version.
|
||||||
"$presentlang"*) useit=yes;;
|
AC_MSG_CHECKING([version of bison])
|
||||||
esac
|
changequote(<<,>>)dnl
|
||||||
done
|
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
||||||
if test $useit = yes; then
|
case $ac_prog_version in
|
||||||
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
||||||
fi
|
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
|
||||||
done
|
changequote([,])dnl
|
||||||
LINGUAS=$NEW_LINGUAS
|
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
|
||||||
AC_MSG_RESULT($LINGUAS)
|
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
|
||||||
fi
|
esac
|
||||||
|
AC_MSG_RESULT([$ac_prog_version])
|
||||||
|
fi
|
||||||
|
if test $ac_verc_fail = yes; then
|
||||||
|
INTLBISON=:
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
dnl Construct list of names of catalog files to be constructed.
|
|
||||||
if test -n "$LINGUAS"; then
|
|
||||||
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
|
AC_DEFUN([AM_MKINSTALLDIRS],
|
||||||
dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
|
[
|
||||||
dnl Try to locate is.
|
dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
|
||||||
MKINSTALLDIRS=
|
dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
|
||||||
if test -n "$ac_aux_dir"; then
|
dnl Try to locate is.
|
||||||
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
|
MKINSTALLDIRS=
|
||||||
fi
|
if test -n "$ac_aux_dir"; then
|
||||||
if test -z "$MKINSTALLDIRS"; then
|
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
|
||||||
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
|
fi
|
||||||
fi
|
if test -z "$MKINSTALLDIRS"; then
|
||||||
AC_SUBST(MKINSTALLDIRS)
|
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
|
||||||
|
fi
|
||||||
dnl Enable libtool support if the surrounding package wishes it.
|
AC_SUBST(MKINSTALLDIRS)
|
||||||
INTL_LIBTOOL_SUFFIX_PREFIX=ifelse([$1], use-libtool, [l], [])
|
])
|
||||||
AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
|
|
||||||
])
|
|
||||||
|
|||||||
@@ -1,4 +1,10 @@
|
|||||||
#serial 2
|
# glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40)
|
||||||
|
dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
|
||||||
|
dnl This file is free software, distributed under the terms of the GNU
|
||||||
|
dnl General Public License. As a special exception to the GNU General
|
||||||
|
dnl Public License, this file may be distributed as part of a program
|
||||||
|
dnl that contains a configuration script generated by Autoconf, under
|
||||||
|
dnl the same distribution terms as the rest of that program.
|
||||||
|
|
||||||
# Test for the GNU C Library, version 2.1 or newer.
|
# Test for the GNU C Library, version 2.1 or newer.
|
||||||
# From Bruno Haible.
|
# From Bruno Haible.
|
||||||
|
|||||||
57
m4/iconv.m4
57
m4/iconv.m4
@@ -1,19 +1,32 @@
|
|||||||
#serial AM2
|
# iconv.m4 serial AM3 (gettext-0.11)
|
||||||
|
dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
|
||||||
|
dnl This file is free software, distributed under the terms of the GNU
|
||||||
|
dnl General Public License. As a special exception to the GNU General
|
||||||
|
dnl Public License, this file may be distributed as part of a program
|
||||||
|
dnl that contains a configuration script generated by Autoconf, under
|
||||||
|
dnl the same distribution terms as the rest of that program.
|
||||||
|
|
||||||
dnl From Bruno Haible.
|
dnl From Bruno Haible.
|
||||||
|
|
||||||
AC_DEFUN([AM_ICONV],
|
AC_DEFUN([AM_ICONV_LINK],
|
||||||
[
|
[
|
||||||
dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
|
dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
|
||||||
dnl those with the standalone portable GNU libiconv installed).
|
dnl those with the standalone portable GNU libiconv installed).
|
||||||
|
|
||||||
AC_ARG_WITH([libiconv-prefix],
|
dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
|
||||||
[ --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib], [
|
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
||||||
for dir in `echo "$withval" | tr : ' '`; do
|
AC_REQUIRE([AC_LIB_RPATH])
|
||||||
if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
|
|
||||||
if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
|
dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
|
||||||
done
|
dnl accordingly.
|
||||||
])
|
AC_LIB_LINKFLAGS_BODY([iconv])
|
||||||
|
|
||||||
|
dnl Add $INCICONV to CPPFLAGS before performing the following checks,
|
||||||
|
dnl because if the user has installed libiconv and not disabled its use
|
||||||
|
dnl via --without-libiconv-prefix, he wants to use it. The first
|
||||||
|
dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
|
||||||
|
am_save_CPPFLAGS="$CPPFLAGS"
|
||||||
|
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
|
||||||
|
|
||||||
AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
|
AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
|
||||||
am_cv_func_iconv="no, consider installing GNU libiconv"
|
am_cv_func_iconv="no, consider installing GNU libiconv"
|
||||||
@@ -26,7 +39,7 @@ AC_DEFUN([AM_ICONV],
|
|||||||
am_cv_func_iconv=yes)
|
am_cv_func_iconv=yes)
|
||||||
if test "$am_cv_func_iconv" != yes; then
|
if test "$am_cv_func_iconv" != yes; then
|
||||||
am_save_LIBS="$LIBS"
|
am_save_LIBS="$LIBS"
|
||||||
LIBS="$LIBS -liconv"
|
LIBS="$LIBS $LIBICONV"
|
||||||
AC_TRY_LINK([#include <stdlib.h>
|
AC_TRY_LINK([#include <stdlib.h>
|
||||||
#include <iconv.h>],
|
#include <iconv.h>],
|
||||||
[iconv_t cd = iconv_open("","");
|
[iconv_t cd = iconv_open("","");
|
||||||
@@ -39,6 +52,25 @@ AC_DEFUN([AM_ICONV],
|
|||||||
])
|
])
|
||||||
if test "$am_cv_func_iconv" = yes; then
|
if test "$am_cv_func_iconv" = yes; then
|
||||||
AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
|
AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
|
||||||
|
fi
|
||||||
|
if test "$am_cv_lib_iconv" = yes; then
|
||||||
|
AC_MSG_CHECKING([how to link with libiconv])
|
||||||
|
AC_MSG_RESULT([$LIBICONV])
|
||||||
|
else
|
||||||
|
dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
|
||||||
|
dnl either.
|
||||||
|
CPPFLAGS="$am_save_CPPFLAGS"
|
||||||
|
LIBICONV=
|
||||||
|
LTLIBICONV=
|
||||||
|
fi
|
||||||
|
AC_SUBST(LIBICONV)
|
||||||
|
AC_SUBST(LTLIBICONV)
|
||||||
|
])
|
||||||
|
|
||||||
|
AC_DEFUN([AM_ICONV],
|
||||||
|
[
|
||||||
|
AC_REQUIRE([AM_ICONV_LINK])
|
||||||
|
if test "$am_cv_func_iconv" = yes; then
|
||||||
AC_MSG_CHECKING([for iconv declaration])
|
AC_MSG_CHECKING([for iconv declaration])
|
||||||
AC_CACHE_VAL(am_cv_proto_iconv, [
|
AC_CACHE_VAL(am_cv_proto_iconv, [
|
||||||
AC_TRY_COMPILE([
|
AC_TRY_COMPILE([
|
||||||
@@ -61,9 +93,4 @@ size_t iconv();
|
|||||||
AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
|
AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
|
||||||
[Define as const if the declaration of iconv() needs const.])
|
[Define as const if the declaration of iconv() needs const.])
|
||||||
fi
|
fi
|
||||||
LIBICONV=
|
|
||||||
if test "$am_cv_lib_iconv" = yes; then
|
|
||||||
LIBICONV="-liconv"
|
|
||||||
fi
|
|
||||||
AC_SUBST(LIBICONV)
|
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
#serial 1
|
# isc-posix.m4 serial 1 (gettext-0.10.40)
|
||||||
|
dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
|
||||||
|
dnl This file is free software, distributed under the terms of the GNU
|
||||||
|
dnl General Public License. As a special exception to the GNU General
|
||||||
|
dnl Public License, this file may be distributed as part of a program
|
||||||
|
dnl that contains a configuration script generated by Autoconf, under
|
||||||
|
dnl the same distribution terms as the rest of that program.
|
||||||
|
|
||||||
# This test replaces the one in autoconf.
|
# This test replaces the one in autoconf.
|
||||||
# Currently this macro should have the same name as the autoconf macro
|
# Currently this macro should have the same name as the autoconf macro
|
||||||
# because gettext's gettext.m4 (distributed in the automake package)
|
# because gettext's gettext.m4 (distributed in the automake package)
|
||||||
|
|||||||
@@ -1,16 +1,24 @@
|
|||||||
# Check whether LC_MESSAGES is available in <locale.h>.
|
# lcmessage.m4 serial 2 (gettext-0.10.40)
|
||||||
# Ulrich Drepper <drepper@cygnus.com>, 1995.
|
dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
|
||||||
#
|
dnl This file is free software, distributed under the terms of the GNU
|
||||||
# This file can be copied and used freely without restrictions. It can
|
dnl General Public License. As a special exception to the GNU General
|
||||||
# be used in projects which are not available under the GNU General Public
|
dnl Public License, this file may be distributed as part of a program
|
||||||
# License or the GNU Library General Public License but which still want
|
dnl that contains a configuration script generated by Autoconf, under
|
||||||
# to provide support for the GNU gettext functionality.
|
dnl the same distribution terms as the rest of that program.
|
||||||
# Please note that the actual code of the GNU gettext library is covered
|
dnl
|
||||||
# by the GNU Library General Public License, and the rest of the GNU
|
dnl This file can can be used in projects which are not available under
|
||||||
# gettext package package is covered by the GNU General Public License.
|
dnl the GNU General Public License or the GNU Library General Public
|
||||||
# They are *not* in the public domain.
|
dnl License but which still want to provide support for the GNU gettext
|
||||||
|
dnl functionality.
|
||||||
|
dnl Please note that the actual code of the GNU gettext library is covered
|
||||||
|
dnl by the GNU Library General Public License, and the rest of the GNU
|
||||||
|
dnl gettext package package is covered by the GNU General Public License.
|
||||||
|
dnl They are *not* in the public domain.
|
||||||
|
|
||||||
# serial 2
|
dnl Authors:
|
||||||
|
dnl Ulrich Drepper <drepper@cygnus.com>, 1995.
|
||||||
|
|
||||||
|
# Check whether LC_MESSAGES is available in <locale.h>.
|
||||||
|
|
||||||
AC_DEFUN([AM_LC_MESSAGES],
|
AC_DEFUN([AM_LC_MESSAGES],
|
||||||
[if test $ac_cv_header_locale_h = yes; then
|
[if test $ac_cv_header_locale_h = yes; then
|
||||||
|
|||||||
@@ -1,16 +1,24 @@
|
|||||||
# Search path for a program which passes the given test.
|
# progtest.m4 serial 2 (gettext-0.10.40)
|
||||||
# Ulrich Drepper <drepper@cygnus.com>, 1996.
|
dnl Copyright (C) 1996-2002 Free Software Foundation, Inc.
|
||||||
#
|
dnl This file is free software, distributed under the terms of the GNU
|
||||||
# This file can be copied and used freely without restrictions. It can
|
dnl General Public License. As a special exception to the GNU General
|
||||||
# be used in projects which are not available under the GNU General Public
|
dnl Public License, this file may be distributed as part of a program
|
||||||
# License or the GNU Library General Public License but which still want
|
dnl that contains a configuration script generated by Autoconf, under
|
||||||
# to provide support for the GNU gettext functionality.
|
dnl the same distribution terms as the rest of that program.
|
||||||
# Please note that the actual code of the GNU gettext library is covered
|
dnl
|
||||||
# by the GNU Library General Public License, and the rest of the GNU
|
dnl This file can can be used in projects which are not available under
|
||||||
# gettext package package is covered by the GNU General Public License.
|
dnl the GNU General Public License or the GNU Library General Public
|
||||||
# They are *not* in the public domain.
|
dnl License but which still want to provide support for the GNU gettext
|
||||||
|
dnl functionality.
|
||||||
|
dnl Please note that the actual code of the GNU gettext library is covered
|
||||||
|
dnl by the GNU Library General Public License, and the rest of the GNU
|
||||||
|
dnl gettext package package is covered by the GNU General Public License.
|
||||||
|
dnl They are *not* in the public domain.
|
||||||
|
|
||||||
# serial 2
|
dnl Authors:
|
||||||
|
dnl Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
|
# Search path for a program which passes the given test.
|
||||||
|
|
||||||
dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
|
dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
|
||||||
dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
|
dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
|
||||||
|
|||||||
@@ -1,18 +1,16 @@
|
|||||||
# Makefile for program source directory in GNU NLS utilities package.
|
# Makefile for PO directory in any package using GNU gettext.
|
||||||
# Copyright (C) 1995-1997, 2000, 2001 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
|
# Copyright (C) 1995-1997, 2000-2002 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
|
||||||
#
|
#
|
||||||
# This file file be copied and used freely without restrictions. It can
|
# This file can be copied and used freely without restrictions. It can
|
||||||
# be used in projects which are not available under the GNU General Public License
|
# be used in projects which are not available under the GNU General Public
|
||||||
# but which still want to provide support for the GNU gettext functionality.
|
# License but which still want to provide support for the GNU gettext
|
||||||
# Please note that the actual code is *not* freely available.
|
# functionality.
|
||||||
|
# Please note that the actual code of GNU gettext is covered by the GNU
|
||||||
|
# General Public License and is *not* in the public domain.
|
||||||
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
|
|
||||||
# These two variables depend on the location of this directory.
|
|
||||||
subdir = po
|
|
||||||
top_builddir = ..
|
|
||||||
|
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
|
|
||||||
@@ -31,45 +29,47 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||||
mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac`
|
mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac`
|
||||||
|
|
||||||
CC = @CC@
|
|
||||||
GMSGFMT = @GMSGFMT@
|
GMSGFMT = @GMSGFMT@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
XGETTEXT = @XGETTEXT@
|
XGETTEXT = @XGETTEXT@
|
||||||
MSGMERGE = msgmerge
|
MSGMERGE = msgmerge
|
||||||
|
MSGMERGE_UPDATE = @MSGMERGE@ --update
|
||||||
DEFS = @DEFS@
|
MSGINIT = msginit
|
||||||
CFLAGS = @CFLAGS@
|
MSGCONV = msgconv
|
||||||
CPPFLAGS = @CPPFLAGS@
|
MSGFILTER = msgfilter
|
||||||
|
|
||||||
INCLUDES = -I.. -I$(top_srcdir)/intl
|
|
||||||
|
|
||||||
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
|
|
||||||
|
|
||||||
POFILES = @POFILES@
|
POFILES = @POFILES@
|
||||||
GMOFILES = @GMOFILES@
|
GMOFILES = @GMOFILES@
|
||||||
DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(PACKAGE).pot \
|
UPDATEPOFILES = @UPDATEPOFILES@
|
||||||
$(POFILES) $(GMOFILES)
|
DUMMYPOFILES = @DUMMYPOFILES@
|
||||||
|
DISTFILES.common = Makefile.in.in Makevars remove-potcdate.sin \
|
||||||
|
$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
|
||||||
|
DISTFILES = $(DISTFILES.common) POTFILES.in $(DOMAIN).pot \
|
||||||
|
$(POFILES) $(GMOFILES) \
|
||||||
|
$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
|
||||||
|
|
||||||
POTFILES = \
|
POTFILES = \
|
||||||
|
|
||||||
CATALOGS = @CATALOGS@
|
CATALOGS = @CATALOGS@
|
||||||
|
|
||||||
|
# Makevars gets inserted here. (Don't remove this line!)
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .c .o .po .pox .gmo .mo
|
.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-update
|
||||||
|
|
||||||
.c.o:
|
|
||||||
$(COMPILE) $<
|
|
||||||
|
|
||||||
.po.pox:
|
|
||||||
$(MAKE) $(PACKAGE).pot
|
|
||||||
$(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox
|
|
||||||
|
|
||||||
.po.mo:
|
.po.mo:
|
||||||
$(MSGFMT) -o $@ $<
|
@echo "$(MSGFMT) -c -o $@ $<"; \
|
||||||
|
$(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
|
||||||
|
|
||||||
.po.gmo:
|
.po.gmo:
|
||||||
file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
|
@lang=`echo $* | sed -e 's,.*/,,'`; \
|
||||||
&& rm -f $$file && $(GMSGFMT) --statistics -o $$file $<
|
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
|
||||||
|
echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \
|
||||||
|
cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
|
||||||
|
|
||||||
|
.sin.sed:
|
||||||
|
sed -e '/^#/d' $< > t-$@
|
||||||
|
mv t-$@ $@
|
||||||
|
|
||||||
|
|
||||||
all: all-@USE_NLS@
|
all: all-@USE_NLS@
|
||||||
@@ -77,17 +77,38 @@ all: all-@USE_NLS@
|
|||||||
all-yes: $(CATALOGS)
|
all-yes: $(CATALOGS)
|
||||||
all-no:
|
all-no:
|
||||||
|
|
||||||
# Note: Target 'all' must not depend on target '$(srcdir)/$(PACKAGE).pot',
|
# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
|
||||||
# otherwise packages like GCC can not be built if only parts of the source
|
# otherwise packages like GCC can not be built if only parts of the source
|
||||||
# have been downloaded.
|
# have been downloaded.
|
||||||
|
|
||||||
$(srcdir)/$(PACKAGE).pot: $(POTFILES) $(srcdir)/POTFILES.in
|
$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
|
||||||
$(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
|
$(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
|
||||||
--add-comments --keyword=_ --keyword=N_ \
|
--add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
|
||||||
--files-from=$(srcdir)/POTFILES.in \
|
--files-from=$(srcdir)/POTFILES.in \
|
||||||
&& test ! -f $(PACKAGE).po \
|
--copyright-holder='$(COPYRIGHT_HOLDER)'
|
||||||
|| ( rm -f $(srcdir)/$(PACKAGE).pot \
|
test ! -f $(DOMAIN).po || { \
|
||||||
&& mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )
|
if test -f $(srcdir)/$(DOMAIN).pot; then \
|
||||||
|
sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
|
||||||
|
sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
|
||||||
|
if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
|
||||||
|
rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
|
||||||
|
else \
|
||||||
|
rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
|
||||||
|
mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
|
||||||
|
fi; \
|
||||||
|
else \
|
||||||
|
mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
|
||||||
|
fi; \
|
||||||
|
}
|
||||||
|
|
||||||
|
$(srcdir)/$(DOMAIN).pot:
|
||||||
|
$(MAKE) $(DOMAIN).pot-update
|
||||||
|
|
||||||
|
$(POFILES): $(srcdir)/$(DOMAIN).pot
|
||||||
|
@lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
|
||||||
|
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
|
||||||
|
echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
|
||||||
|
cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot
|
||||||
|
|
||||||
|
|
||||||
install: install-exec install-data
|
install: install-exec install-data
|
||||||
@@ -95,8 +116,10 @@ install-exec:
|
|||||||
install-data: install-data-@USE_NLS@
|
install-data: install-data-@USE_NLS@
|
||||||
if test "$(PACKAGE)" = "gettext"; then \
|
if test "$(PACKAGE)" = "gettext"; then \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
|
$(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
|
||||||
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
|
for file in $(DISTFILES.common); do \
|
||||||
$(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
|
$(INSTALL_DATA) $(srcdir)/$$file \
|
||||||
|
$(DESTDIR)$(gettextsrcdir)/$$file; \
|
||||||
|
done; \
|
||||||
else \
|
else \
|
||||||
: ; \
|
: ; \
|
||||||
fi
|
fi
|
||||||
@@ -106,41 +129,117 @@ install-data-yes: all
|
|||||||
@catalogs='$(CATALOGS)'; \
|
@catalogs='$(CATALOGS)'; \
|
||||||
for cat in $$catalogs; do \
|
for cat in $$catalogs; do \
|
||||||
cat=`basename $$cat`; \
|
cat=`basename $$cat`; \
|
||||||
lang=`echo $$cat | sed 's/\.gmo$$//'`; \
|
lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
|
||||||
dir=$(localedir)/$$lang/LC_MESSAGES; \
|
dir=$(localedir)/$$lang/LC_MESSAGES; \
|
||||||
$(mkinstalldirs) $(DESTDIR)$$dir; \
|
$(mkinstalldirs) $(DESTDIR)$$dir; \
|
||||||
if test -r $$cat; then \
|
if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
|
||||||
$(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \
|
$(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
|
||||||
echo "installing $$cat as $(DESTDIR)$$dir/$(PACKAGE).mo"; \
|
echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
|
||||||
else \
|
for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
|
||||||
$(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \
|
if test -n "$$lc"; then \
|
||||||
echo "installing $(srcdir)/$$cat as" \
|
if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
|
||||||
"$(DESTDIR)$$dir/$(PACKAGE).mo"; \
|
link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
|
||||||
fi; \
|
mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
|
||||||
|
mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
|
||||||
|
(cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
|
||||||
|
for file in *; do \
|
||||||
|
if test -f $$file; then \
|
||||||
|
ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
|
||||||
|
fi; \
|
||||||
|
done); \
|
||||||
|
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
|
||||||
|
else \
|
||||||
|
if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
|
||||||
|
:; \
|
||||||
|
else \
|
||||||
|
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
|
||||||
|
mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
|
||||||
|
fi; \
|
||||||
|
fi; \
|
||||||
|
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
|
||||||
|
ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
|
||||||
|
ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
|
||||||
|
cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
|
||||||
|
echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
|
||||||
|
fi; \
|
||||||
|
done; \
|
||||||
|
done
|
||||||
|
|
||||||
|
install-strip: install
|
||||||
|
|
||||||
|
installdirs: installdirs-exec installdirs-data
|
||||||
|
installdirs-exec:
|
||||||
|
installdirs-data: installdirs-data-@USE_NLS@
|
||||||
|
if test "$(PACKAGE)" = "gettext"; then \
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
|
||||||
|
else \
|
||||||
|
: ; \
|
||||||
|
fi
|
||||||
|
installdirs-data-no:
|
||||||
|
installdirs-data-yes:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(datadir)
|
||||||
|
@catalogs='$(CATALOGS)'; \
|
||||||
|
for cat in $$catalogs; do \
|
||||||
|
cat=`basename $$cat`; \
|
||||||
|
lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
|
||||||
|
dir=$(localedir)/$$lang/LC_MESSAGES; \
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$$dir; \
|
||||||
|
for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
|
||||||
|
if test -n "$$lc"; then \
|
||||||
|
if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
|
||||||
|
link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
|
||||||
|
mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
|
||||||
|
mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
|
||||||
|
(cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
|
||||||
|
for file in *; do \
|
||||||
|
if test -f $$file; then \
|
||||||
|
ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
|
||||||
|
fi; \
|
||||||
|
done); \
|
||||||
|
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
|
||||||
|
else \
|
||||||
|
if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
|
||||||
|
:; \
|
||||||
|
else \
|
||||||
|
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
|
||||||
|
mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
|
||||||
|
fi; \
|
||||||
|
fi; \
|
||||||
|
fi; \
|
||||||
|
done; \
|
||||||
done
|
done
|
||||||
|
|
||||||
# Define this as empty until I found a useful application.
|
# Define this as empty until I found a useful application.
|
||||||
installcheck:
|
installcheck:
|
||||||
|
|
||||||
uninstall:
|
uninstall: uninstall-exec uninstall-data
|
||||||
catalogs='$(CATALOGS)'; \
|
uninstall-exec:
|
||||||
for cat in $$catalogs; do \
|
uninstall-data: uninstall-data-@USE_NLS@
|
||||||
cat=`basename $$cat`; \
|
|
||||||
lang=`echo $$cat | sed 's/\.gmo$$//'`; \
|
|
||||||
rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
|
|
||||||
done
|
|
||||||
if test "$(PACKAGE)" = "gettext"; then \
|
if test "$(PACKAGE)" = "gettext"; then \
|
||||||
rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
|
for file in $(DISTFILES.common); do \
|
||||||
|
rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
|
||||||
|
done; \
|
||||||
else \
|
else \
|
||||||
: ; \
|
: ; \
|
||||||
fi
|
fi
|
||||||
|
uninstall-data-no:
|
||||||
|
uninstall-data-yes:
|
||||||
|
catalogs='$(CATALOGS)'; \
|
||||||
|
for cat in $$catalogs; do \
|
||||||
|
cat=`basename $$cat`; \
|
||||||
|
lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
|
||||||
|
for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
|
||||||
|
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
|
||||||
|
done; \
|
||||||
|
done
|
||||||
|
|
||||||
check: all
|
check: all
|
||||||
|
|
||||||
dvi info tags TAGS ID:
|
dvi info tags TAGS ID:
|
||||||
|
|
||||||
mostlyclean:
|
mostlyclean:
|
||||||
rm -f core core.* *.pox $(PACKAGE).po *.new.po
|
rm -f remove-potcdate.sed
|
||||||
|
rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
|
||||||
rm -fr *.o
|
rm -fr *.o
|
||||||
|
|
||||||
clean: mostlyclean
|
clean: mostlyclean
|
||||||
@@ -160,29 +259,49 @@ dist distdir:
|
|||||||
# This is a separate target because 'update-po' must be executed before.
|
# This is a separate target because 'update-po' must be executed before.
|
||||||
dist2: $(DISTFILES)
|
dist2: $(DISTFILES)
|
||||||
dists="$(DISTFILES)"; \
|
dists="$(DISTFILES)"; \
|
||||||
|
if test -f $(srcdir)/ChangeLog; then dists="$$dists ChangeLog"; fi; \
|
||||||
|
if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \
|
||||||
for file in $$dists; do \
|
for file in $$dists; do \
|
||||||
if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
|
if test -f $$file; then \
|
||||||
cp -p $$dir/$$file $(distdir); \
|
cp -p $$file $(distdir); \
|
||||||
|
else \
|
||||||
|
cp -p $(srcdir)/$$file $(distdir); \
|
||||||
|
fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
update-po: Makefile
|
update-po: Makefile
|
||||||
$(MAKE) $(PACKAGE).pot
|
$(MAKE) $(DOMAIN).pot-update
|
||||||
if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; fi; \
|
$(MAKE) $(UPDATEPOFILES)
|
||||||
cd $(srcdir); \
|
|
||||||
catalogs='$(GMOFILES)'; \
|
|
||||||
for cat in $$catalogs; do \
|
|
||||||
cat=`basename $$cat`; \
|
|
||||||
lang=`echo $$cat | sed 's/\.gmo$$//'`; \
|
|
||||||
echo "$$lang:"; \
|
|
||||||
if $(MSGMERGE) $$lang.po $(PACKAGE).pot -o $$lang.new.po; then \
|
|
||||||
mv -f $$lang.new.po $$lang.po; \
|
|
||||||
else \
|
|
||||||
echo "msgmerge for $$cat failed!"; \
|
|
||||||
rm -f $$lang.new.po; \
|
|
||||||
fi; \
|
|
||||||
done
|
|
||||||
$(MAKE) update-gmo
|
$(MAKE) update-gmo
|
||||||
|
|
||||||
|
# General rule for updating PO files.
|
||||||
|
|
||||||
|
.nop.po-update:
|
||||||
|
@lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
|
||||||
|
if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; fi; \
|
||||||
|
tmpdir=`pwd`; \
|
||||||
|
echo "$$lang:"; \
|
||||||
|
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
|
||||||
|
echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
|
||||||
|
cd $(srcdir); \
|
||||||
|
if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
|
||||||
|
if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
|
||||||
|
rm -f $$tmpdir/$$lang.new.po; \
|
||||||
|
else \
|
||||||
|
if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
|
||||||
|
:; \
|
||||||
|
else \
|
||||||
|
echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
|
||||||
|
exit 1; \
|
||||||
|
fi; \
|
||||||
|
fi; \
|
||||||
|
else \
|
||||||
|
echo "msgmerge for $$lang.po failed!" 1>&2; \
|
||||||
|
rm -f $$tmpdir/$$lang.new.po; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
$(DUMMYPOFILES):
|
||||||
|
|
||||||
update-gmo: Makefile $(GMOFILES)
|
update-gmo: Makefile $(GMOFILES)
|
||||||
@:
|
@:
|
||||||
|
|
||||||
@@ -191,6 +310,8 @@ Makefile: Makefile.in.in $(top_builddir)/config.status POTFILES.in
|
|||||||
&& CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \
|
&& CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \
|
||||||
$(SHELL) ./config.status
|
$(SHELL) ./config.status
|
||||||
|
|
||||||
|
force:
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make not to export all variables.
|
# Tell versions [3.59,3.63) of GNU make not to export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|||||||
25
po/Makevars
Normal file
25
po/Makevars
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
# Makefile variables for PO directory in any package using GNU gettext.
|
||||||
|
|
||||||
|
# Usually the message domain is the same as the package name.
|
||||||
|
DOMAIN = $(PACKAGE)
|
||||||
|
|
||||||
|
# These two variables depend on the location of this directory.
|
||||||
|
subdir = po
|
||||||
|
top_builddir = ..
|
||||||
|
|
||||||
|
# These options get passed to xgettext.
|
||||||
|
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
|
||||||
|
|
||||||
|
# This is the copyright holder that gets inserted into the header of the
|
||||||
|
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
|
||||||
|
# package. (Note that the msgstr strings, extracted from the package's
|
||||||
|
# sources, belong to the copyright holder of the package.) Translators are
|
||||||
|
# expected to transfer the copyright for their translations to this person
|
||||||
|
# or entity, or to disclaim their copyright. The empty string stands for
|
||||||
|
# the public domain; in this case the translators are expected to disclaim
|
||||||
|
# their copyright.
|
||||||
|
COPYRIGHT_HOLDER = Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This is the list of locale categories, beyond LC_MESSAGES, for which the
|
||||||
|
# message catalogs shall be used. It is usually empty.
|
||||||
|
EXTRA_LOCALE_CATEGORIES =
|
||||||
32
po/de.po
32
po/de.po
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.25\n"
|
"Project-Id-Version: bison 1.25\n"
|
||||||
"POT-Creation-Date: 2002-03-06 17:59+0100\n"
|
"POT-Creation-Date: 2002-03-14 19:33+0100\n"
|
||||||
"PO-Revision-Date: 1996-10-10 17:54 MET DST\n"
|
"PO-Revision-Date: 1996-10-10 17:54 MET DST\n"
|
||||||
"Last-Translator: Ulrich Drepper <drepper@gnu.ai.mit.edu>\n"
|
"Last-Translator: Ulrich Drepper <drepper@gnu.ai.mit.edu>\n"
|
||||||
"Language-Team: German <de@li.org>\n"
|
"Language-Team: German <de@li.org>\n"
|
||||||
@@ -18,7 +18,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/error.c:128 lib/error.c:156 src/complain.c:99
|
#: src/complain.c:99 lib/error.c:128 lib/error.c:156
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -70,8 +70,6 @@ msgstr[0] " %d Reduziere/Reduziere Konflikte"
|
|||||||
msgid "State %d contains "
|
msgid "State %d contains "
|
||||||
msgstr "Zustand %d enthält"
|
msgstr "Zustand %d enthält"
|
||||||
|
|
||||||
#. If invoked with `--yacc', use the output format specified by
|
|
||||||
#. POSIX.
|
|
||||||
#: src/conflicts.c:365
|
#: src/conflicts.c:365
|
||||||
msgid "conflicts: "
|
msgid "conflicts: "
|
||||||
msgstr "Konflikte: "
|
msgstr "Konflikte: "
|
||||||
@@ -106,8 +104,6 @@ msgstr ""
|
|||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:56
|
#: src/getargs.c:56
|
||||||
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -158,8 +154,6 @@ msgstr ""
|
|||||||
msgid "Report bugs to <bug-bison@gnu.org>.\n"
|
msgid "Report bugs to <bug-bison@gnu.org>.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:113
|
#: src/getargs.c:113
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
@@ -331,7 +325,6 @@ msgstr ""
|
|||||||
"Zustand %d\n"
|
"Zustand %d\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
||||||
#. rule # : LHS -> RHS
|
|
||||||
#: src/print.c:366
|
#: src/print.c:366
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Grammar"
|
msgid "Grammar"
|
||||||
@@ -352,7 +345,6 @@ msgstr "Regel %-4d %s ->"
|
|||||||
msgid "empty"
|
msgid "empty"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. TERMINAL (type #) : rule #s terminal is on RHS
|
|
||||||
#: src/print.c:386
|
#: src/print.c:386
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Terminals, with rules where they appear"
|
msgid "Terminals, with rules where they appear"
|
||||||
@@ -686,19 +678,16 @@ msgstr "%s: die Option
|
|||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: die Option »%s« erfordert ein Argument\n"
|
msgstr "%s: die Option »%s« erfordert ein Argument\n"
|
||||||
|
|
||||||
#. --option
|
|
||||||
#: lib/getopt.c:771
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: unbekannte Option »--%s«\n"
|
msgstr "%s: unbekannte Option »--%s«\n"
|
||||||
|
|
||||||
#. +option or -option
|
|
||||||
#: lib/getopt.c:775
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: unbekannte Option »%c%s«\n"
|
msgstr "%s: unbekannte Option »%c%s«\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:801
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
@@ -709,7 +698,6 @@ msgstr "%s: die Option ist nicht erlaubt -- %c\n"
|
|||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: ungültige Option -- %c\n"
|
msgstr "%s: ungültige Option -- %c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:834 lib/getopt.c:964
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
@@ -725,27 +713,11 @@ msgstr "%s: die Option
|
|||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: die Option »--%s« erlaubt kein Argument\n"
|
msgstr "%s: die Option »--%s« erlaubt kein Argument\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
|
||||||
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "%s: Hauptspeicher erschöpft\n"
|
msgstr "%s: Hauptspeicher erschöpft\n"
|
||||||
|
|
||||||
#. Get translations for open and closing quotation marks.
|
|
||||||
#.
|
|
||||||
#. The message catalog should translate "`" to a left
|
|
||||||
#. quotation mark suitable for the locale, and similarly for
|
|
||||||
#. "'". If the catalog has no translation,
|
|
||||||
#. locale_quoting_style quotes `like this', and
|
|
||||||
#. clocale_quoting_style quotes "like this".
|
|
||||||
#.
|
|
||||||
#. For example, an American English Unicode locale should
|
|
||||||
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
|
|
||||||
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
|
|
||||||
#. MARK). A British English Unicode locale should instead
|
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
|
||||||
#: lib/quotearg.c:274
|
#: lib/quotearg.c:274
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|||||||
36
po/es.po
36
po/es.po
@@ -30,8 +30,8 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: GNU bison 1.25\n"
|
"Project-Id-Version: GNU bison 1.25\n"
|
||||||
"POT-Creation-Date: 2002-03-06 17:59+0100\n"
|
"POT-Creation-Date: 2002-03-14 19:33+0100\n"
|
||||||
"PO-Revision-Date: 1998-09-21 10:19+0200\n"
|
"PO-Revision-Date: 2002-03-14 19:34+0100\n"
|
||||||
"Last-Translator: Nicolás García-Pedrajas <ngarcia-pedrajas@acm.org>\n"
|
"Last-Translator: Nicolás García-Pedrajas <ngarcia-pedrajas@acm.org>\n"
|
||||||
"Language-Team: Spanish <es@li.org>\n"
|
"Language-Team: Spanish <es@li.org>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@@ -43,7 +43,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/error.c:128 lib/error.c:156 src/complain.c:99
|
#: src/complain.c:99 lib/error.c:128 lib/error.c:156
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -67,7 +67,7 @@ msgstr "error grave: %s\n"
|
|||||||
#, c-format
|
#, c-format
|
||||||
msgid "Conflict in state %d between rule %d and token %s resolved as %s.\n"
|
msgid "Conflict in state %d between rule %d and token %s resolved as %s.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"El conflicto en el estado %s entre la regla %d y el terminal %s se resuelve "
|
"El conflicto en el estado %d entre la regla %d y el terminal %s se resuelve "
|
||||||
"como %s.\n"
|
"como %s.\n"
|
||||||
|
|
||||||
#: src/conflicts.c:112 src/conflicts.c:134
|
#: src/conflicts.c:112 src/conflicts.c:134
|
||||||
@@ -104,8 +104,6 @@ msgstr[0] " %d conflictos reducci
|
|||||||
msgid "State %d contains "
|
msgid "State %d contains "
|
||||||
msgstr "El estado %d contiene"
|
msgstr "El estado %d contiene"
|
||||||
|
|
||||||
#. If invoked with `--yacc', use the output format specified by
|
|
||||||
#. POSIX.
|
|
||||||
#: src/conflicts.c:365
|
#: src/conflicts.c:365
|
||||||
msgid "conflicts: "
|
msgid "conflicts: "
|
||||||
msgstr "conflictos: "
|
msgstr "conflictos: "
|
||||||
@@ -164,8 +162,6 @@ msgstr ""
|
|||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:56
|
#: src/getargs.c:56
|
||||||
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -216,8 +212,6 @@ msgstr ""
|
|||||||
msgid "Report bugs to <bug-bison@gnu.org>.\n"
|
msgid "Report bugs to <bug-bison@gnu.org>.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:113
|
#: src/getargs.c:113
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
@@ -399,7 +393,6 @@ msgstr ""
|
|||||||
"estado %d\n"
|
"estado %d\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
||||||
#. rule # : LHS -> RHS
|
|
||||||
#: src/print.c:366
|
#: src/print.c:366
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Grammar"
|
msgid "Grammar"
|
||||||
@@ -420,7 +413,6 @@ msgstr "regla %-4d %s ->"
|
|||||||
msgid "empty"
|
msgid "empty"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. TERMINAL (type #) : rule #s terminal is on RHS
|
|
||||||
#: src/print.c:386
|
#: src/print.c:386
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Terminals, with rules where they appear"
|
msgid "Terminals, with rules where they appear"
|
||||||
@@ -772,13 +764,11 @@ msgstr "%s: la opci
|
|||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: la opción `%s' requiere un argumento\n"
|
msgstr "%s: la opción `%s' requiere un argumento\n"
|
||||||
|
|
||||||
#. --option
|
|
||||||
#: lib/getopt.c:771
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: opción `--%s' no reconocida\n"
|
msgstr "%s: opción `--%s' no reconocida\n"
|
||||||
|
|
||||||
#. +option or -option
|
|
||||||
#: lib/getopt.c:775
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
@@ -801,7 +791,6 @@ msgstr "%s: opci
|
|||||||
# haber opciones ilegales, digo yo, y no por eso las CPUs van
|
# haber opciones ilegales, digo yo, y no por eso las CPUs van
|
||||||
# a la cárcel (como mucho se cuelgan, je, je, 0ff0 :-). sv
|
# a la cárcel (como mucho se cuelgan, je, je, 0ff0 :-). sv
|
||||||
#
|
#
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:801
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
@@ -817,7 +806,6 @@ msgstr "%s: opci
|
|||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: opción -- %c inválida\n"
|
msgstr "%s: opción -- %c inválida\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:834 lib/getopt.c:964
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
@@ -834,27 +822,11 @@ msgstr "%s: la opci
|
|||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: la opción `--%s' no admite ningún argumento\n"
|
msgstr "%s: la opción `--%s' no admite ningún argumento\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
|
||||||
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "%s: memoria agotada\n"
|
msgstr "%s: memoria agotada\n"
|
||||||
|
|
||||||
#. Get translations for open and closing quotation marks.
|
|
||||||
#.
|
|
||||||
#. The message catalog should translate "`" to a left
|
|
||||||
#. quotation mark suitable for the locale, and similarly for
|
|
||||||
#. "'". If the catalog has no translation,
|
|
||||||
#. locale_quoting_style quotes `like this', and
|
|
||||||
#. clocale_quoting_style quotes "like this".
|
|
||||||
#.
|
|
||||||
#. For example, an American English Unicode locale should
|
|
||||||
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
|
|
||||||
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
|
|
||||||
#. MARK). A British English Unicode locale should instead
|
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
|
||||||
#: lib/quotearg.c:274
|
#: lib/quotearg.c:274
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|||||||
32
po/et.po
32
po/et.po
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.28d\n"
|
"Project-Id-Version: bison 1.28d\n"
|
||||||
"POT-Creation-Date: 2002-03-06 17:59+0100\n"
|
"POT-Creation-Date: 2002-03-14 19:33+0100\n"
|
||||||
"PO-Revision-Date: 2001-08-29 17:06+02:00\n"
|
"PO-Revision-Date: 2001-08-29 17:06+02:00\n"
|
||||||
"Last-Translator: Toomas Soome <tsoome@ut.ee>\n"
|
"Last-Translator: Toomas Soome <tsoome@ut.ee>\n"
|
||||||
"Language-Team: Estonian <et@li.org>\n"
|
"Language-Team: Estonian <et@li.org>\n"
|
||||||
@@ -18,7 +18,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr "liiga palju olekuid (maks %d)"
|
msgstr "liiga palju olekuid (maks %d)"
|
||||||
|
|
||||||
#: lib/error.c:128 lib/error.c:156 src/complain.c:99
|
#: src/complain.c:99 lib/error.c:128 lib/error.c:156
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr "Tundmatu süsteemi viga"
|
msgstr "Tundmatu süsteemi viga"
|
||||||
|
|
||||||
@@ -69,8 +69,6 @@ msgstr[0] " %d redutseerimine/redutseerimine konflikti"
|
|||||||
msgid "State %d contains "
|
msgid "State %d contains "
|
||||||
msgstr "Olek %d sisaldab"
|
msgstr "Olek %d sisaldab"
|
||||||
|
|
||||||
#. If invoked with `--yacc', use the output format specified by
|
|
||||||
#. POSIX.
|
|
||||||
#: src/conflicts.c:365
|
#: src/conflicts.c:365
|
||||||
msgid "conflicts: "
|
msgid "conflicts: "
|
||||||
msgstr "konfliktid: "
|
msgstr "konfliktid: "
|
||||||
@@ -105,8 +103,6 @@ msgstr "faili `%s' ei saa avada"
|
|||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr "faili ei õnnestu sulgeda"
|
msgstr "faili ei õnnestu sulgeda"
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:56
|
#: src/getargs.c:56
|
||||||
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
||||||
msgstr "GNU bison genereerib parsereid LALR(1) grammatikatele.\n"
|
msgstr "GNU bison genereerib parsereid LALR(1) grammatikatele.\n"
|
||||||
@@ -178,8 +174,6 @@ msgstr ""
|
|||||||
msgid "Report bugs to <bug-bison@gnu.org>.\n"
|
msgid "Report bugs to <bug-bison@gnu.org>.\n"
|
||||||
msgstr "Teatage palun vigadest aadressil <bug-bison@gnu.org>.\n"
|
msgstr "Teatage palun vigadest aadressil <bug-bison@gnu.org>.\n"
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:113
|
#: src/getargs.c:113
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
@@ -349,7 +343,6 @@ msgstr " TEGEVUSI POLE\n"
|
|||||||
msgid "state %d"
|
msgid "state %d"
|
||||||
msgstr "olek %d"
|
msgstr "olek %d"
|
||||||
|
|
||||||
#. rule # : LHS -> RHS
|
|
||||||
#: src/print.c:366
|
#: src/print.c:366
|
||||||
msgid "Grammar"
|
msgid "Grammar"
|
||||||
msgstr "Grammatika"
|
msgstr "Grammatika"
|
||||||
@@ -367,7 +360,6 @@ msgstr "reegel %-4d %s ->"
|
|||||||
msgid "empty"
|
msgid "empty"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. TERMINAL (type #) : rule #s terminal is on RHS
|
|
||||||
#: src/print.c:386
|
#: src/print.c:386
|
||||||
msgid "Terminals, with rules where they appear"
|
msgid "Terminals, with rules where they appear"
|
||||||
msgstr "Terminalid, koos reeglitega, kus nad ilmuvad"
|
msgstr "Terminalid, koos reeglitega, kus nad ilmuvad"
|
||||||
@@ -677,19 +669,16 @@ msgstr "%s: v
|
|||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: võti `%s' nõuab argumenti\n"
|
msgstr "%s: võti `%s' nõuab argumenti\n"
|
||||||
|
|
||||||
#. --option
|
|
||||||
#: lib/getopt.c:771
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: tundmatu võti `--%s'\n"
|
msgstr "%s: tundmatu võti `--%s'\n"
|
||||||
|
|
||||||
#. +option or -option
|
|
||||||
#: lib/getopt.c:775
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: tundmatu võti `%c%s'\n"
|
msgstr "%s: tundmatu võti `%c%s'\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:801
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
@@ -700,7 +689,6 @@ msgstr "%s: lubamatu v
|
|||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: vigane võti -- %c\n"
|
msgstr "%s: vigane võti -- %c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:834 lib/getopt.c:964
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
@@ -716,26 +704,10 @@ msgstr "%s: v
|
|||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: võti `-W %s' ei luba argumenti\n"
|
msgstr "%s: võti `-W %s' ei luba argumenti\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
|
||||||
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "mälu on otsas"
|
msgstr "mälu on otsas"
|
||||||
|
|
||||||
#. Get translations for open and closing quotation marks.
|
|
||||||
#.
|
|
||||||
#. The message catalog should translate "`" to a left
|
|
||||||
#. quotation mark suitable for the locale, and similarly for
|
|
||||||
#. "'". If the catalog has no translation,
|
|
||||||
#. locale_quoting_style quotes `like this', and
|
|
||||||
#. clocale_quoting_style quotes "like this".
|
|
||||||
#.
|
|
||||||
#. For example, an American English Unicode locale should
|
|
||||||
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
|
|
||||||
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
|
|
||||||
#. MARK). A British English Unicode locale should instead
|
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
|
||||||
#: lib/quotearg.c:274
|
#: lib/quotearg.c:274
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr "`"
|
msgstr "`"
|
||||||
|
|||||||
32
po/fr.po
32
po/fr.po
@@ -6,7 +6,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: GNU bison 1.28d\n"
|
"Project-Id-Version: GNU bison 1.28d\n"
|
||||||
"POT-Creation-Date: 2002-03-06 17:59+0100\n"
|
"POT-Creation-Date: 2002-03-14 19:33+0100\n"
|
||||||
"PO-Revision-Date: 2001-08-29 20:00-0500\n"
|
"PO-Revision-Date: 2001-08-29 20:00-0500\n"
|
||||||
"Last-Translator: Michel Robitaille <robitail@IRO.UMontreal.CA>\n"
|
"Last-Translator: Michel Robitaille <robitail@IRO.UMontreal.CA>\n"
|
||||||
"Language-Team: French <traduc@traduc.org>\n"
|
"Language-Team: French <traduc@traduc.org>\n"
|
||||||
@@ -19,7 +19,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr "nombre trop grand d'états (max %d)"
|
msgstr "nombre trop grand d'états (max %d)"
|
||||||
|
|
||||||
#: lib/error.c:128 lib/error.c:156 src/complain.c:99
|
#: src/complain.c:99 lib/error.c:128 lib/error.c:156
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr "Erreur système inconnue"
|
msgstr "Erreur système inconnue"
|
||||||
|
|
||||||
@@ -71,8 +71,6 @@ msgstr[0] " %d conflits r
|
|||||||
msgid "State %d contains "
|
msgid "State %d contains "
|
||||||
msgstr "L'état %d contient"
|
msgstr "L'état %d contient"
|
||||||
|
|
||||||
#. If invoked with `--yacc', use the output format specified by
|
|
||||||
#. POSIX.
|
|
||||||
#: src/conflicts.c:365
|
#: src/conflicts.c:365
|
||||||
msgid "conflicts: "
|
msgid "conflicts: "
|
||||||
msgstr "conflits: "
|
msgstr "conflits: "
|
||||||
@@ -107,8 +105,6 @@ msgstr "ne peut ouvrir le fichier `%s'"
|
|||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr "ne peut fermer le fichier"
|
msgstr "ne peut fermer le fichier"
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:56
|
#: src/getargs.c:56
|
||||||
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
||||||
msgstr "GNU bison génère des analyseurs pour les grammaires de type LALR(1).\n"
|
msgstr "GNU bison génère des analyseurs pour les grammaires de type LALR(1).\n"
|
||||||
@@ -184,8 +180,6 @@ msgstr ""
|
|||||||
msgid "Report bugs to <bug-bison@gnu.org>.\n"
|
msgid "Report bugs to <bug-bison@gnu.org>.\n"
|
||||||
msgstr "Rapporter toutes anomalies à <bug-bison@gnu.org>.\n"
|
msgstr "Rapporter toutes anomalies à <bug-bison@gnu.org>.\n"
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:113
|
#: src/getargs.c:113
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
@@ -355,7 +349,6 @@ msgstr " PAS D'ACTION\n"
|
|||||||
msgid "state %d"
|
msgid "state %d"
|
||||||
msgstr "état %d"
|
msgstr "état %d"
|
||||||
|
|
||||||
#. rule # : LHS -> RHS
|
|
||||||
#: src/print.c:366
|
#: src/print.c:366
|
||||||
msgid "Grammar"
|
msgid "Grammar"
|
||||||
msgstr "Grammaire"
|
msgstr "Grammaire"
|
||||||
@@ -373,7 +366,6 @@ msgstr "r
|
|||||||
msgid "empty"
|
msgid "empty"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. TERMINAL (type #) : rule #s terminal is on RHS
|
|
||||||
#: src/print.c:386
|
#: src/print.c:386
|
||||||
msgid "Terminals, with rules where they appear"
|
msgid "Terminals, with rules where they appear"
|
||||||
msgstr "Terminaux, suivis des règles où ils apparaissent"
|
msgstr "Terminaux, suivis des règles où ils apparaissent"
|
||||||
@@ -684,19 +676,16 @@ msgstr "%s: l'option %c%s n'admet pas de param
|
|||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: l'option %s requiert un paramètre\n"
|
msgstr "%s: l'option %s requiert un paramètre\n"
|
||||||
|
|
||||||
#. --option
|
|
||||||
#: lib/getopt.c:771
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: l'option --%s est inconnue\n"
|
msgstr "%s: l'option --%s est inconnue\n"
|
||||||
|
|
||||||
#. +option or -option
|
|
||||||
#: lib/getopt.c:775
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: l'option %c%s est inconnue\n"
|
msgstr "%s: l'option %c%s est inconnue\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:801
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
@@ -707,7 +696,6 @@ msgstr "%s: option ill
|
|||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: option non valide -- %c\n"
|
msgstr "%s: option non valide -- %c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:834 lib/getopt.c:964
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
@@ -723,26 +711,10 @@ msgstr "%s: l'option `-W %s' est ambigu
|
|||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: l'option `-W %s' n'admet pas de paramètre\n"
|
msgstr "%s: l'option `-W %s' n'admet pas de paramètre\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
|
||||||
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "mémoire épuisée"
|
msgstr "mémoire épuisée"
|
||||||
|
|
||||||
#. Get translations for open and closing quotation marks.
|
|
||||||
#.
|
|
||||||
#. The message catalog should translate "`" to a left
|
|
||||||
#. quotation mark suitable for the locale, and similarly for
|
|
||||||
#. "'". If the catalog has no translation,
|
|
||||||
#. locale_quoting_style quotes `like this', and
|
|
||||||
#. clocale_quoting_style quotes "like this".
|
|
||||||
#.
|
|
||||||
#. For example, an American English Unicode locale should
|
|
||||||
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
|
|
||||||
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
|
|
||||||
#. MARK). A British English Unicode locale should instead
|
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
|
||||||
#: lib/quotearg.c:274
|
#: lib/quotearg.c:274
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr "`"
|
msgstr "`"
|
||||||
|
|||||||
32
po/it.po
32
po/it.po
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.31\n"
|
"Project-Id-Version: bison 1.31\n"
|
||||||
"POT-Creation-Date: 2002-03-06 17:59+0100\n"
|
"POT-Creation-Date: 2002-03-14 19:33+0100\n"
|
||||||
"PO-Revision-Date: 2002-01-18 12:40 CET\n"
|
"PO-Revision-Date: 2002-01-18 12:40 CET\n"
|
||||||
"Last-Translator: Paolo Bonzini <bonzini@gnu.org>\n"
|
"Last-Translator: Paolo Bonzini <bonzini@gnu.org>\n"
|
||||||
"Language-Team: Italian <it@li.org>\n"
|
"Language-Team: Italian <it@li.org>\n"
|
||||||
@@ -19,7 +19,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr "troppi stati (massimo %d)"
|
msgstr "troppi stati (massimo %d)"
|
||||||
|
|
||||||
#: lib/error.c:128 lib/error.c:156 src/complain.c:99
|
#: src/complain.c:99 lib/error.c:128 lib/error.c:156
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr "Errore di sistema sconosciuto"
|
msgstr "Errore di sistema sconosciuto"
|
||||||
|
|
||||||
@@ -72,8 +72,6 @@ msgstr[1] "%d conflitti riduzione/riduzione"
|
|||||||
msgid "State %d contains "
|
msgid "State %d contains "
|
||||||
msgstr "Lo stato %d contiene"
|
msgstr "Lo stato %d contiene"
|
||||||
|
|
||||||
#. If invoked with `--yacc', use the output format specified by
|
|
||||||
#. POSIX.
|
|
||||||
#: src/conflicts.c:365
|
#: src/conflicts.c:365
|
||||||
msgid "conflicts: "
|
msgid "conflicts: "
|
||||||
msgstr "conflitti: "
|
msgstr "conflitti: "
|
||||||
@@ -109,8 +107,6 @@ msgstr "impossibile aprire il file `%s'"
|
|||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr "impossibile chiudere il file `%s'"
|
msgstr "impossibile chiudere il file `%s'"
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:56
|
#: src/getargs.c:56
|
||||||
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
||||||
msgstr "GNU bison genera parser per grammatiche LALR(1).\n"
|
msgstr "GNU bison genera parser per grammatiche LALR(1).\n"
|
||||||
@@ -181,8 +177,6 @@ msgstr ""
|
|||||||
msgid "Report bugs to <bug-bison@gnu.org>.\n"
|
msgid "Report bugs to <bug-bison@gnu.org>.\n"
|
||||||
msgstr "Segnalare eventuali bug a <bug-bison@gnu.org>.\n"
|
msgstr "Segnalare eventuali bug a <bug-bison@gnu.org>.\n"
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:113
|
#: src/getargs.c:113
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
@@ -353,7 +347,6 @@ msgstr " NESSUNA AZIONE\n"
|
|||||||
msgid "state %d"
|
msgid "state %d"
|
||||||
msgstr "stato %d"
|
msgstr "stato %d"
|
||||||
|
|
||||||
#. rule # : LHS -> RHS
|
|
||||||
#: src/print.c:366
|
#: src/print.c:366
|
||||||
msgid "Grammar"
|
msgid "Grammar"
|
||||||
msgstr "Grammatica"
|
msgstr "Grammatica"
|
||||||
@@ -371,7 +364,6 @@ msgstr " %3d %3d %s ->"
|
|||||||
msgid "empty"
|
msgid "empty"
|
||||||
msgstr "vuoto"
|
msgstr "vuoto"
|
||||||
|
|
||||||
#. TERMINAL (type #) : rule #s terminal is on RHS
|
|
||||||
#: src/print.c:386
|
#: src/print.c:386
|
||||||
msgid "Terminals, with rules where they appear"
|
msgid "Terminals, with rules where they appear"
|
||||||
msgstr "Simboli terminali e regole in cui appaiono"
|
msgstr "Simboli terminali e regole in cui appaiono"
|
||||||
@@ -682,19 +674,16 @@ msgstr "%s: l'opzione `%c%s' non ammette argomenti\n"
|
|||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: l'opzione `%s' richiede un argomento\n"
|
msgstr "%s: l'opzione `%s' richiede un argomento\n"
|
||||||
|
|
||||||
#. --option
|
|
||||||
#: lib/getopt.c:771
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: opzione sconosciuta `--%s'\n"
|
msgstr "%s: opzione sconosciuta `--%s'\n"
|
||||||
|
|
||||||
#. +option or -option
|
|
||||||
#: lib/getopt.c:775
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: opzione sconosciuta `%c%s'\n"
|
msgstr "%s: opzione sconosciuta `%c%s'\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:801
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
@@ -705,7 +694,6 @@ msgstr "%s: opzione non valida -- %c\n"
|
|||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: opzione non valida -- %c\n"
|
msgstr "%s: opzione non valida -- %c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:834 lib/getopt.c:964
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
@@ -721,26 +709,10 @@ msgstr "%s: l'opzione `-W %s'
|
|||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: l'opzione `-W %s' non ammette un argomento\n"
|
msgstr "%s: l'opzione `-W %s' non ammette un argomento\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
|
||||||
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "memoria esaurita"
|
msgstr "memoria esaurita"
|
||||||
|
|
||||||
#. Get translations for open and closing quotation marks.
|
|
||||||
#.
|
|
||||||
#. The message catalog should translate "`" to a left
|
|
||||||
#. quotation mark suitable for the locale, and similarly for
|
|
||||||
#. "'". If the catalog has no translation,
|
|
||||||
#. locale_quoting_style quotes `like this', and
|
|
||||||
#. clocale_quoting_style quotes "like this".
|
|
||||||
#.
|
|
||||||
#. For example, an American English Unicode locale should
|
|
||||||
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
|
|
||||||
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
|
|
||||||
#. MARK). A British English Unicode locale should instead
|
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
|
||||||
#: lib/quotearg.c:274
|
#: lib/quotearg.c:274
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr "`"
|
msgstr "`"
|
||||||
|
|||||||
32
po/ja.po
32
po/ja.po
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: GNU bison 1.28\n"
|
"Project-Id-Version: GNU bison 1.28\n"
|
||||||
"POT-Creation-Date: 2002-03-06 17:59+0100\n"
|
"POT-Creation-Date: 2002-03-14 19:33+0100\n"
|
||||||
"PO-Revision-Date: 1999-09-28 21:10+0900\n"
|
"PO-Revision-Date: 1999-09-28 21:10+0900\n"
|
||||||
"Last-Translator: Daisuke Yamashita <yamad@mb.infoweb.ne.jp>\n"
|
"Last-Translator: Daisuke Yamashita <yamad@mb.infoweb.ne.jp>\n"
|
||||||
"Language-Team: Japanese <ja@li.org>\n"
|
"Language-Team: Japanese <ja@li.org>\n"
|
||||||
@@ -18,7 +18,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr "%s の数が多すぎます (最大 %d)"
|
msgstr "%s の数が多すぎます (最大 %d)"
|
||||||
|
|
||||||
#: lib/error.c:128 lib/error.c:156 src/complain.c:99
|
#: src/complain.c:99 lib/error.c:128 lib/error.c:156
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -70,8 +70,6 @@ msgstr[0] " %d
|
|||||||
msgid "State %d contains "
|
msgid "State %d contains "
|
||||||
msgstr "状態 %d が含むのは"
|
msgstr "状態 %d が含むのは"
|
||||||
|
|
||||||
#. If invoked with `--yacc', use the output format specified by
|
|
||||||
#. POSIX.
|
|
||||||
#: src/conflicts.c:365
|
#: src/conflicts.c:365
|
||||||
msgid "conflicts: "
|
msgid "conflicts: "
|
||||||
msgstr "衝突: "
|
msgstr "衝突: "
|
||||||
@@ -106,8 +104,6 @@ msgstr ""
|
|||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:56
|
#: src/getargs.c:56
|
||||||
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -158,8 +154,6 @@ msgstr ""
|
|||||||
msgid "Report bugs to <bug-bison@gnu.org>.\n"
|
msgid "Report bugs to <bug-bison@gnu.org>.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:113
|
#: src/getargs.c:113
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
@@ -330,7 +324,6 @@ msgstr ""
|
|||||||
"状態 %d\n"
|
"状態 %d\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
||||||
#. rule # : LHS -> RHS
|
|
||||||
#: src/print.c:366
|
#: src/print.c:366
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Grammar"
|
msgid "Grammar"
|
||||||
@@ -351,7 +344,6 @@ msgstr "
|
|||||||
msgid "empty"
|
msgid "empty"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. TERMINAL (type #) : rule #s terminal is on RHS
|
|
||||||
#: src/print.c:386
|
#: src/print.c:386
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Terminals, with rules where they appear"
|
msgid "Terminals, with rules where they appear"
|
||||||
@@ -682,19 +674,16 @@ msgstr "%s:
|
|||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: オプション `%s' は引数を要求します\n"
|
msgstr "%s: オプション `%s' は引数を要求します\n"
|
||||||
|
|
||||||
#. --option
|
|
||||||
#: lib/getopt.c:771
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: 認識できないオプション `--%s' です\n"
|
msgstr "%s: 認識できないオプション `--%s' です\n"
|
||||||
|
|
||||||
#. +option or -option
|
|
||||||
#: lib/getopt.c:775
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: 認識できないオプション `%c%s' です\n"
|
msgstr "%s: 認識できないオプション `%c%s' です\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:801
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
@@ -705,7 +694,6 @@ msgstr "%s:
|
|||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: 無効なオプション -- %c\n"
|
msgstr "%s: 無効なオプション -- %c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:834 lib/getopt.c:964
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
@@ -721,27 +709,11 @@ msgstr "%s:
|
|||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: オプション `-W %s' は引数を許しません\n"
|
msgstr "%s: オプション `-W %s' は引数を許しません\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
|
||||||
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "%s: メモリを使い果たしました\n"
|
msgstr "%s: メモリを使い果たしました\n"
|
||||||
|
|
||||||
#. Get translations for open and closing quotation marks.
|
|
||||||
#.
|
|
||||||
#. The message catalog should translate "`" to a left
|
|
||||||
#. quotation mark suitable for the locale, and similarly for
|
|
||||||
#. "'". If the catalog has no translation,
|
|
||||||
#. locale_quoting_style quotes `like this', and
|
|
||||||
#. clocale_quoting_style quotes "like this".
|
|
||||||
#.
|
|
||||||
#. For example, an American English Unicode locale should
|
|
||||||
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
|
|
||||||
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
|
|
||||||
#. MARK). A British English Unicode locale should instead
|
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
|
||||||
#: lib/quotearg.c:274
|
#: lib/quotearg.c:274
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|||||||
32
po/nl.po
32
po/nl.po
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.25\n"
|
"Project-Id-Version: bison 1.25\n"
|
||||||
"POT-Creation-Date: 2002-03-06 17:59+0100\n"
|
"POT-Creation-Date: 2002-03-14 19:33+0100\n"
|
||||||
"PO-Revision-Date: 1996-08-27 15:34 MET DST\n"
|
"PO-Revision-Date: 1996-08-27 15:34 MET DST\n"
|
||||||
"Last-Translator: Erick Branderhorst <branderh@debian.org>\n"
|
"Last-Translator: Erick Branderhorst <branderh@debian.org>\n"
|
||||||
"Language-Team: Dutch <nl@li.org>\n"
|
"Language-Team: Dutch <nl@li.org>\n"
|
||||||
@@ -18,7 +18,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/error.c:128 lib/error.c:156 src/complain.c:99
|
#: src/complain.c:99 lib/error.c:128 lib/error.c:156
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -70,8 +70,6 @@ msgstr[0] " %d reduceer/reduceer conflicten"
|
|||||||
msgid "State %d contains "
|
msgid "State %d contains "
|
||||||
msgstr "Stadium %d bevat"
|
msgstr "Stadium %d bevat"
|
||||||
|
|
||||||
#. If invoked with `--yacc', use the output format specified by
|
|
||||||
#. POSIX.
|
|
||||||
#: src/conflicts.c:365
|
#: src/conflicts.c:365
|
||||||
msgid "conflicts: "
|
msgid "conflicts: "
|
||||||
msgstr "conflictueerd: "
|
msgstr "conflictueerd: "
|
||||||
@@ -106,8 +104,6 @@ msgstr ""
|
|||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:56
|
#: src/getargs.c:56
|
||||||
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -158,8 +154,6 @@ msgstr ""
|
|||||||
msgid "Report bugs to <bug-bison@gnu.org>.\n"
|
msgid "Report bugs to <bug-bison@gnu.org>.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:113
|
#: src/getargs.c:113
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
@@ -330,7 +324,6 @@ msgstr ""
|
|||||||
"stadium %d\n"
|
"stadium %d\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
||||||
#. rule # : LHS -> RHS
|
|
||||||
#: src/print.c:366
|
#: src/print.c:366
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Grammar"
|
msgid "Grammar"
|
||||||
@@ -351,7 +344,6 @@ msgstr "regel %-4d %s ->"
|
|||||||
msgid "empty"
|
msgid "empty"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. TERMINAL (type #) : rule #s terminal is on RHS
|
|
||||||
#: src/print.c:386
|
#: src/print.c:386
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Terminals, with rules where they appear"
|
msgid "Terminals, with rules where they appear"
|
||||||
@@ -683,19 +675,16 @@ msgstr "%s: optie `%c%s' staat geen argument toe\n"
|
|||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: optie `%s' vereist een argument\n"
|
msgstr "%s: optie `%s' vereist een argument\n"
|
||||||
|
|
||||||
#. --option
|
|
||||||
#: lib/getopt.c:771
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: onbekende optie `--%s'\n"
|
msgstr "%s: onbekende optie `--%s'\n"
|
||||||
|
|
||||||
#. +option or -option
|
|
||||||
#: lib/getopt.c:775
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: onbekende optie `%c%s'\n"
|
msgstr "%s: onbekende optie `%c%s'\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:801
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
@@ -706,7 +695,6 @@ msgstr "%s: ongeldige optie -- %c\n"
|
|||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: onjuiste optie -- %c\n"
|
msgstr "%s: onjuiste optie -- %c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:834 lib/getopt.c:964
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
@@ -722,27 +710,11 @@ msgstr "%s: optie `%s' is niet eenduidig\n"
|
|||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: optie `--%s' staat geen argument toe\n"
|
msgstr "%s: optie `--%s' staat geen argument toe\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
|
||||||
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "%s: geen geheugen meer beschikbaar\n"
|
msgstr "%s: geen geheugen meer beschikbaar\n"
|
||||||
|
|
||||||
#. Get translations for open and closing quotation marks.
|
|
||||||
#.
|
|
||||||
#. The message catalog should translate "`" to a left
|
|
||||||
#. quotation mark suitable for the locale, and similarly for
|
|
||||||
#. "'". If the catalog has no translation,
|
|
||||||
#. locale_quoting_style quotes `like this', and
|
|
||||||
#. clocale_quoting_style quotes "like this".
|
|
||||||
#.
|
|
||||||
#. For example, an American English Unicode locale should
|
|
||||||
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
|
|
||||||
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
|
|
||||||
#. MARK). A British English Unicode locale should instead
|
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
|
||||||
#: lib/quotearg.c:274
|
#: lib/quotearg.c:274
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|||||||
32
po/ru.po
32
po/ru.po
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.29\n"
|
"Project-Id-Version: bison 1.29\n"
|
||||||
"POT-Creation-Date: 2002-03-06 17:59+0100\n"
|
"POT-Creation-Date: 2002-03-14 19:33+0100\n"
|
||||||
"PO-Revision-Date: 2001-09-09 13:49+04:00\n"
|
"PO-Revision-Date: 2001-09-09 13:49+04:00\n"
|
||||||
"Last-Translator: Dmitry S. Sivachenko <dima@Chg.RU>\n"
|
"Last-Translator: Dmitry S. Sivachenko <dima@Chg.RU>\n"
|
||||||
"Language-Team: Russian <ru@li.org>\n"
|
"Language-Team: Russian <ru@li.org>\n"
|
||||||
@@ -18,7 +18,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr "ÓÌÉÛËÏÍ ÍÎÏÇÏ ÓÏÓÔÏÑÎÉÊ (ÍÁËÓÉÍÁÌØÎÏ %d)"
|
msgstr "ÓÌÉÛËÏÍ ÍÎÏÇÏ ÓÏÓÔÏÑÎÉÊ (ÍÁËÓÉÍÁÌØÎÏ %d)"
|
||||||
|
|
||||||
#: lib/error.c:128 lib/error.c:156 src/complain.c:99
|
#: src/complain.c:99 lib/error.c:128 lib/error.c:156
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr "îÅÉÚ×ÅÓÔÎÁÑ ÓÉÓÔÅÍÎÁÑ ÏÛÉÂËÁ"
|
msgstr "îÅÉÚ×ÅÓÔÎÁÑ ÓÉÓÔÅÍÎÁÑ ÏÛÉÂËÁ"
|
||||||
|
|
||||||
@@ -70,8 +70,6 @@ msgstr[0] " %d
|
|||||||
msgid "State %d contains "
|
msgid "State %d contains "
|
||||||
msgstr "óÏÓÔÏÑÎÉÅ %d ÓÏÄÅÒÖÉÔ"
|
msgstr "óÏÓÔÏÑÎÉÅ %d ÓÏÄÅÒÖÉÔ"
|
||||||
|
|
||||||
#. If invoked with `--yacc', use the output format specified by
|
|
||||||
#. POSIX.
|
|
||||||
#: src/conflicts.c:365
|
#: src/conflicts.c:365
|
||||||
msgid "conflicts: "
|
msgid "conflicts: "
|
||||||
msgstr "ËÏÎÆÌÉËÔÙ: "
|
msgstr "ËÏÎÆÌÉËÔÙ: "
|
||||||
@@ -106,8 +104,6 @@ msgstr "
|
|||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr "ÎÅ ÕÄÁÅÔÓÑ ÚÁËÒÙÔØ ÆÁÊÌ"
|
msgstr "ÎÅ ÕÄÁÅÔÓÑ ÚÁËÒÙÔØ ÆÁÊÌ"
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:56
|
#: src/getargs.c:56
|
||||||
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
||||||
msgstr "GNU bison ÇÅÎÅÒÉÒÕÅÔ ÁÎÁÌÉÚÁÔÏÒÙ ÄÌÑ ÇÒÁÍÍÁÔÉË LALR(1).\n"
|
msgstr "GNU bison ÇÅÎÅÒÉÒÕÅÔ ÁÎÁÌÉÚÁÔÏÒÙ ÄÌÑ ÇÒÁÍÍÁÔÉË LALR(1).\n"
|
||||||
@@ -181,8 +177,6 @@ msgstr ""
|
|||||||
msgid "Report bugs to <bug-bison@gnu.org>.\n"
|
msgid "Report bugs to <bug-bison@gnu.org>.\n"
|
||||||
msgstr "ïÛÉÂËÉ ÓÏÏÂÝÁÊÔÅ ÐÏ ÁÄÒÅÓÕ <bug-bison@gnu.org>.\n"
|
msgstr "ïÛÉÂËÉ ÓÏÏÂÝÁÊÔÅ ÐÏ ÁÄÒÅÓÕ <bug-bison@gnu.org>.\n"
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:113
|
#: src/getargs.c:113
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
@@ -354,7 +348,6 @@ msgstr "
|
|||||||
msgid "state %d"
|
msgid "state %d"
|
||||||
msgstr "ÓÏÓÔÏÑÎÉÅ %d"
|
msgstr "ÓÏÓÔÏÑÎÉÅ %d"
|
||||||
|
|
||||||
#. rule # : LHS -> RHS
|
|
||||||
#: src/print.c:366
|
#: src/print.c:366
|
||||||
msgid "Grammar"
|
msgid "Grammar"
|
||||||
msgstr "çÒÁÍÍÁÔÉËÁ"
|
msgstr "çÒÁÍÍÁÔÉËÁ"
|
||||||
@@ -372,7 +365,6 @@ msgstr "
|
|||||||
msgid "empty"
|
msgid "empty"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. TERMINAL (type #) : rule #s terminal is on RHS
|
|
||||||
#: src/print.c:386
|
#: src/print.c:386
|
||||||
msgid "Terminals, with rules where they appear"
|
msgid "Terminals, with rules where they appear"
|
||||||
msgstr "ôÅÒÍÉÎÁÌØÎÙÅ ÓÉÍ×ÏÌÙ Ó ÐÒÁ×ÉÌÁÍÉ, × ËÏÔÏÒÙÈ ÏÎÉ ÐÏÑ×ÌÑÀÔÓÑ"
|
msgstr "ôÅÒÍÉÎÁÌØÎÙÅ ÓÉÍ×ÏÌÙ Ó ÐÒÁ×ÉÌÁÍÉ, × ËÏÔÏÒÙÈ ÏÎÉ ÐÏÑ×ÌÑÀÔÓÑ"
|
||||||
@@ -681,19 +673,16 @@ msgstr "%s:
|
|||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: ËÌÀÞ `%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ Ó ÁÒÇÕÍÅÎÔÏÍ\n"
|
msgstr "%s: ËÌÀÞ `%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ Ó ÁÒÇÕÍÅÎÔÏÍ\n"
|
||||||
|
|
||||||
#. --option
|
|
||||||
#: lib/getopt.c:771
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: ÎÅÉÚ×ÅÓÔÎÙÊ ËÌÀÞ `--%s'\n"
|
msgstr "%s: ÎÅÉÚ×ÅÓÔÎÙÊ ËÌÀÞ `--%s'\n"
|
||||||
|
|
||||||
#. +option or -option
|
|
||||||
#: lib/getopt.c:775
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: ÎÅÉÚ×ÅÓÔÎÙÊ ËÌÀÞ `%c%s'\n"
|
msgstr "%s: ÎÅÉÚ×ÅÓÔÎÙÊ ËÌÀÞ `%c%s'\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:801
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
@@ -704,7 +693,6 @@ msgstr "%s:
|
|||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: ÎÅ×ÅÒÎÙÊ ËÌÀÞ -- %c\n"
|
msgstr "%s: ÎÅ×ÅÒÎÙÊ ËÌÀÞ -- %c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:834 lib/getopt.c:964
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
@@ -720,26 +708,10 @@ msgstr "%s:
|
|||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: ËÌÀÞ `-W %s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n"
|
msgstr "%s: ËÌÀÞ `-W %s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
|
||||||
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "ÐÁÍÑÔØ ÉÓÞÅÒÐÁÎÁ"
|
msgstr "ÐÁÍÑÔØ ÉÓÞÅÒÐÁÎÁ"
|
||||||
|
|
||||||
#. Get translations for open and closing quotation marks.
|
|
||||||
#.
|
|
||||||
#. The message catalog should translate "`" to a left
|
|
||||||
#. quotation mark suitable for the locale, and similarly for
|
|
||||||
#. "'". If the catalog has no translation,
|
|
||||||
#. locale_quoting_style quotes `like this', and
|
|
||||||
#. clocale_quoting_style quotes "like this".
|
|
||||||
#.
|
|
||||||
#. For example, an American English Unicode locale should
|
|
||||||
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
|
|
||||||
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
|
|
||||||
#. MARK). A British English Unicode locale should instead
|
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
|
||||||
#: lib/quotearg.c:274
|
#: lib/quotearg.c:274
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr "`"
|
msgstr "`"
|
||||||
|
|||||||
32
po/sv.po
32
po/sv.po
@@ -6,7 +6,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.30c\n"
|
"Project-Id-Version: bison 1.30c\n"
|
||||||
"POT-Creation-Date: 2002-03-06 17:59+0100\n"
|
"POT-Creation-Date: 2002-03-14 19:33+0100\n"
|
||||||
"PO-Revision-Date: 2001-11-18 15:17+0100\n"
|
"PO-Revision-Date: 2001-11-18 15:17+0100\n"
|
||||||
"Last-Translator: Göran Uddeborg <goeran@uddeborg.pp.se>\n"
|
"Last-Translator: Göran Uddeborg <goeran@uddeborg.pp.se>\n"
|
||||||
"Language-Team: Swedish <sv@li.org>\n"
|
"Language-Team: Swedish <sv@li.org>\n"
|
||||||
@@ -20,7 +20,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr "för många tillstånd (max %d)"
|
msgstr "för många tillstånd (max %d)"
|
||||||
|
|
||||||
#: lib/error.c:128 lib/error.c:156 src/complain.c:99
|
#: src/complain.c:99 lib/error.c:128 lib/error.c:156
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr "Okänt systemfel"
|
msgstr "Okänt systemfel"
|
||||||
|
|
||||||
@@ -73,8 +73,6 @@ msgstr[1] "%d reducera/reducerakonflikter"
|
|||||||
msgid "State %d contains "
|
msgid "State %d contains "
|
||||||
msgstr "Tillstånd %d innehåller "
|
msgstr "Tillstånd %d innehåller "
|
||||||
|
|
||||||
#. If invoked with `--yacc', use the output format specified by
|
|
||||||
#. POSIX.
|
|
||||||
#: src/conflicts.c:365
|
#: src/conflicts.c:365
|
||||||
msgid "conflicts: "
|
msgid "conflicts: "
|
||||||
msgstr "konflikter: "
|
msgstr "konflikter: "
|
||||||
@@ -110,8 +108,6 @@ msgstr "kan inte
|
|||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr "kan inte stänga fil"
|
msgstr "kan inte stänga fil"
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:56
|
#: src/getargs.c:56
|
||||||
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
||||||
msgstr "GNU bison genererar parsrar för LALR(1)-grammatiker.\n"
|
msgstr "GNU bison genererar parsrar för LALR(1)-grammatiker.\n"
|
||||||
@@ -185,8 +181,6 @@ msgstr ""
|
|||||||
"Rapportera fel till <bug-bison@gnu.org>.\n"
|
"Rapportera fel till <bug-bison@gnu.org>.\n"
|
||||||
"Rapportera anmärkningar på översättningen till <sv@li.org>.\n"
|
"Rapportera anmärkningar på översättningen till <sv@li.org>.\n"
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:113
|
#: src/getargs.c:113
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
@@ -356,7 +350,6 @@ msgstr " INGA
|
|||||||
msgid "state %d"
|
msgid "state %d"
|
||||||
msgstr "tillstånd %d"
|
msgstr "tillstånd %d"
|
||||||
|
|
||||||
#. rule # : LHS -> RHS
|
|
||||||
#: src/print.c:366
|
#: src/print.c:366
|
||||||
msgid "Grammar"
|
msgid "Grammar"
|
||||||
msgstr "Grammatik"
|
msgstr "Grammatik"
|
||||||
@@ -374,7 +367,6 @@ msgstr "regel %-4d %s ->"
|
|||||||
msgid "empty"
|
msgid "empty"
|
||||||
msgstr "tom"
|
msgstr "tom"
|
||||||
|
|
||||||
#. TERMINAL (type #) : rule #s terminal is on RHS
|
|
||||||
#: src/print.c:386
|
#: src/print.c:386
|
||||||
msgid "Terminals, with rules where they appear"
|
msgid "Terminals, with rules where they appear"
|
||||||
msgstr "Terminaler, med regler där de förekommer"
|
msgstr "Terminaler, med regler där de förekommer"
|
||||||
@@ -687,19 +679,16 @@ msgstr "%s: flaggan \"%c%s\" tar inget argument\n"
|
|||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: flaggan \"%s\" behöver ett argument\n"
|
msgstr "%s: flaggan \"%s\" behöver ett argument\n"
|
||||||
|
|
||||||
#. --option
|
|
||||||
#: lib/getopt.c:771
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: okänd flagga \"--%s\"\n"
|
msgstr "%s: okänd flagga \"--%s\"\n"
|
||||||
|
|
||||||
#. +option or -option
|
|
||||||
#: lib/getopt.c:775
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: okänd flagga \"%c%s\"\n"
|
msgstr "%s: okänd flagga \"%c%s\"\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:801
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
@@ -710,7 +699,6 @@ msgstr "%s: otill
|
|||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: ogiltig flagga --%c\n"
|
msgstr "%s: ogiltig flagga --%c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:834 lib/getopt.c:964
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
@@ -726,8 +714,6 @@ msgstr "%s: flaggan \"-W %s\"
|
|||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: flaggan \"-W %s\" tar inget argument\n"
|
msgstr "%s: flaggan \"-W %s\" tar inget argument\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
|
||||||
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "minnet slut"
|
msgstr "minnet slut"
|
||||||
@@ -735,20 +721,6 @@ msgstr "minnet slut"
|
|||||||
# När vi går över till Unicode mer allmänt kanske vi bör översätta båda dessa
|
# När vi går över till Unicode mer allmänt kanske vi bör översätta båda dessa
|
||||||
# med U+201D (RIGHT DOUBLE QUOTATION MARK) på svenska. Eller?
|
# med U+201D (RIGHT DOUBLE QUOTATION MARK) på svenska. Eller?
|
||||||
#
|
#
|
||||||
#. Get translations for open and closing quotation marks.
|
|
||||||
#.
|
|
||||||
#. The message catalog should translate "`" to a left
|
|
||||||
#. quotation mark suitable for the locale, and similarly for
|
|
||||||
#. "'". If the catalog has no translation,
|
|
||||||
#. locale_quoting_style quotes `like this', and
|
|
||||||
#. clocale_quoting_style quotes "like this".
|
|
||||||
#.
|
|
||||||
#. For example, an American English Unicode locale should
|
|
||||||
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
|
|
||||||
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
|
|
||||||
#. MARK). A British English Unicode locale should instead
|
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
|
||||||
#: lib/quotearg.c:274
|
#: lib/quotearg.c:274
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr "\""
|
msgstr "\""
|
||||||
|
|||||||
32
po/tr.po
32
po/tr.po
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.28c\n"
|
"Project-Id-Version: bison 1.28c\n"
|
||||||
"POT-Creation-Date: 2002-03-06 17:59+0100\n"
|
"POT-Creation-Date: 2002-03-14 19:33+0100\n"
|
||||||
"PO-Revision-Date: 2001-09-10 10:54GMT\n"
|
"PO-Revision-Date: 2001-09-10 10:54GMT\n"
|
||||||
"Last-Translator: Altug Bayram <altugbayram_2000@yahoo.com>\n"
|
"Last-Translator: Altug Bayram <altugbayram_2000@yahoo.com>\n"
|
||||||
"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
|
"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
|
||||||
@@ -19,7 +19,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr "çok fazla durum (en fazla %d)"
|
msgstr "çok fazla durum (en fazla %d)"
|
||||||
|
|
||||||
#: lib/error.c:128 lib/error.c:156 src/complain.c:99
|
#: src/complain.c:99 lib/error.c:128 lib/error.c:156
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr "Bilinmeyen sistem hatasý"
|
msgstr "Bilinmeyen sistem hatasý"
|
||||||
|
|
||||||
@@ -72,8 +72,6 @@ msgstr[0] " %d indirgeme/indirgeme
|
|||||||
msgid "State %d contains "
|
msgid "State %d contains "
|
||||||
msgstr "%d durumu içerir"
|
msgstr "%d durumu içerir"
|
||||||
|
|
||||||
#. If invoked with `--yacc', use the output format specified by
|
|
||||||
#. POSIX.
|
|
||||||
#: src/conflicts.c:365
|
#: src/conflicts.c:365
|
||||||
msgid "conflicts: "
|
msgid "conflicts: "
|
||||||
msgstr "çeliþkiler: "
|
msgstr "çeliþkiler: "
|
||||||
@@ -108,8 +106,6 @@ msgstr "`%s' dosyas
|
|||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr "dosya kapatýlamýyor"
|
msgstr "dosya kapatýlamýyor"
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:56
|
#: src/getargs.c:56
|
||||||
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
msgid "GNU bison generates parsers for LALR(1) grammars.\n"
|
||||||
msgstr "GNU bison LALR(1) gramerler için ayrýþtýrýcýlar üretir.\n"
|
msgstr "GNU bison LALR(1) gramerler için ayrýþtýrýcýlar üretir.\n"
|
||||||
@@ -183,8 +179,6 @@ msgstr ""
|
|||||||
"Hatalarý <bug-bison@gnu.org>'a,\n"
|
"Hatalarý <bug-bison@gnu.org>'a,\n"
|
||||||
"çeviri hatalarýný <gnu-tr-u12a@lists.sourceforge.net>'e bildir.\n"
|
"çeviri hatalarýný <gnu-tr-u12a@lists.sourceforge.net>'e bildir.\n"
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
|
||||||
#. continue.
|
|
||||||
#: src/getargs.c:113
|
#: src/getargs.c:113
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
@@ -355,7 +349,6 @@ msgstr " EYLEM YOK\n"
|
|||||||
msgid "state %d"
|
msgid "state %d"
|
||||||
msgstr "durum %d"
|
msgstr "durum %d"
|
||||||
|
|
||||||
#. rule # : LHS -> RHS
|
|
||||||
#: src/print.c:366
|
#: src/print.c:366
|
||||||
msgid "Grammar"
|
msgid "Grammar"
|
||||||
msgstr "Gramer"
|
msgstr "Gramer"
|
||||||
@@ -373,7 +366,6 @@ msgstr "kural %-4d %s ->"
|
|||||||
msgid "empty"
|
msgid "empty"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. TERMINAL (type #) : rule #s terminal is on RHS
|
|
||||||
#: src/print.c:386
|
#: src/print.c:386
|
||||||
msgid "Terminals, with rules where they appear"
|
msgid "Terminals, with rules where they appear"
|
||||||
msgstr "Sabit simgeler, kurallarýnýn bulunduklarý yerde"
|
msgstr "Sabit simgeler, kurallarýnýn bulunduklarý yerde"
|
||||||
@@ -682,19 +674,16 @@ msgstr "%s: se
|
|||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: `%s' seçeneði bir argümanla kullanýlýr\n"
|
msgstr "%s: `%s' seçeneði bir argümanla kullanýlýr\n"
|
||||||
|
|
||||||
#. --option
|
|
||||||
#: lib/getopt.c:771
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: `--%s' seçeneði bilinmiyor\n"
|
msgstr "%s: `--%s' seçeneði bilinmiyor\n"
|
||||||
|
|
||||||
#. +option or -option
|
|
||||||
#: lib/getopt.c:775
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: `%c%s' seçeneði bilinmiyor\n"
|
msgstr "%s: `%c%s' seçeneði bilinmiyor\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:801
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
@@ -705,7 +694,6 @@ msgstr "%s: kurald
|
|||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: geçersiz seçenek -- %c\n"
|
msgstr "%s: geçersiz seçenek -- %c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
|
||||||
#: lib/getopt.c:834 lib/getopt.c:964
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
@@ -721,26 +709,10 @@ msgstr "%s: `-W %s' se
|
|||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: `-W %s' seçeneði argümansýz kullanýlýr\n"
|
msgstr "%s: `-W %s' seçeneði argümansýz kullanýlýr\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
|
||||||
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "bellek tükendi"
|
msgstr "bellek tükendi"
|
||||||
|
|
||||||
#. Get translations for open and closing quotation marks.
|
|
||||||
#.
|
|
||||||
#. The message catalog should translate "`" to a left
|
|
||||||
#. quotation mark suitable for the locale, and similarly for
|
|
||||||
#. "'". If the catalog has no translation,
|
|
||||||
#. locale_quoting_style quotes `like this', and
|
|
||||||
#. clocale_quoting_style quotes "like this".
|
|
||||||
#.
|
|
||||||
#. For example, an American English Unicode locale should
|
|
||||||
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
|
|
||||||
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
|
|
||||||
#. MARK). A British English Unicode locale should instead
|
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
|
||||||
#: lib/quotearg.c:274
|
#: lib/quotearg.c:274
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr "`"
|
msgstr "`"
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ void *memrchr PARAMS ((const void *s, int c, size_t n));
|
|||||||
# define setlocale(Category, Locale)
|
# define setlocale(Category, Locale)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "libgettext.h"
|
#include "gettext.h"
|
||||||
#define _(Msgid) gettext (Msgid)
|
#define _(Msgid) gettext (Msgid)
|
||||||
#define N_(Msgid) (Msgid)
|
#define N_(Msgid) (Msgid)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user