mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
clean-up gettext support code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9710 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fc71ca3447
commit
208c57fad7
@ -1,3 +1,10 @@
|
||||
2005-03-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* configure.ac: remove hack when GNU gettext utilities are not
|
||||
available; remove calls to AC_C_CONST and AC_C_INLINE (already
|
||||
required by AM_INTL_SUBDIR; remove ALL_LINGUAS variable (see
|
||||
po/LINGUAS instead); do not AC_SUBST LINGUAS.
|
||||
|
||||
2005-03-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* autogen.sh: remove autom4te.cache directories
|
||||
|
15
configure.ac
15
configure.ac
@ -22,10 +22,6 @@ LYX_VERSION_SUFFIX
|
||||
|
||||
AM_INIT_AUTOMAKE($lyxname, $VERSION)
|
||||
|
||||
# The list of languages known to LyX
|
||||
# This is needed by GNU gettext
|
||||
ALL_LINGUAS="bg ca cs da de es eu fi fr he hu it nl nn no pl pt ro ru sk sl sv tr wa"
|
||||
|
||||
### Set the execute permissions of the various scripts correctly
|
||||
for file in config/install-sh config/mkinstalldirs lib/configure ; do
|
||||
chmod 755 ${srcdir}/${file}
|
||||
@ -240,18 +236,7 @@ fi
|
||||
### Setup GNU gettext
|
||||
dnl GNU gettext is written in C
|
||||
AC_LANG_PUSH(C)
|
||||
# Some tests that may be useful for gettext
|
||||
AC_C_CONST
|
||||
AC_C_INLINE
|
||||
# Do the real setup now
|
||||
AM_GNU_GETTEXT
|
||||
# a hack for those who try to change LyX, but do not have gettext installed
|
||||
case "${XGETTEXT}" in
|
||||
*:) XGETTEXT='cp ${srcdir}/lyx.pot ./${PACKAGE}.po ; :'
|
||||
esac
|
||||
|
||||
AC_SUBST(LINGUAS)
|
||||
|
||||
AC_LANG_POP(C)
|
||||
|
||||
# some standard header files
|
||||
|
@ -1,3 +1,7 @@
|
||||
2005-03-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* LINGUAS: new file. Lists the languages known to LyX.
|
||||
|
||||
2005-02-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* *.po: remerge with gettext 0.13
|
||||
|
3
po/LINGUAS
Normal file
3
po/LINGUAS
Normal file
@ -0,0 +1,3 @@
|
||||
# The list of languages known to LyX
|
||||
bg ca cs da de es eu fi fr he hu it nl nn no pl pt ro ru sk sl sv tr wa
|
||||
|
@ -39,6 +39,7 @@ src/frontends/gtk/GBC.h
|
||||
src/frontends/gtk/GBox.C
|
||||
src/frontends/gtk/GChanges.C
|
||||
src/frontends/gtk/GCharacter.C
|
||||
src/frontends/gtk/GDocument.C
|
||||
src/frontends/gtk/GERT.C
|
||||
src/frontends/gtk/GErrorList.C
|
||||
src/frontends/gtk/GFloat.C
|
||||
|
Loading…
Reference in New Issue
Block a user