]> git.lyx.org Git - features.git/commitdiff
Fix to reLyX configure, to welcome message in minibuffer and to
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 5 Oct 1999 09:17:15 +0000 (09:17 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 5 Oct 1999 09:17:15 +0000 (09:17 +0000)
default document encoding (which is now 'latin1').

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@173 a592a061-630c-0410-9148-cb99ea01b6c8

ChangeLog
configure.in
lib/CREDITS
lib/reLyX/configure.in
src/bufferparams.C
src/minibuffer.C

index 9e715ab57984110cd5b07e6c25b01966b71b4b1d..521514f3bd1660b141ba2be4d9c9c22012250f0c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+1999-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
+       is not overwritten when translated (David Sua'rez de Lis).
+
+       * lib/CREDITS: Added David Sua'rez de Lis
+
+       * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
+
+       * src/bufferparams.C (BufferParams): default input encoding is now
+       "latin1" 
+
 1999-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
        * src/table.C (getDocBookAlign): remove bad default value for
index 6604b426ad0e31b82efacfcda0b77ff243036051..e2d181bf7a19a133c1d8004022bf42cdd60a336e 100644 (file)
@@ -1,4 +1,3 @@
-#! /bin/bash
 dnl Process with autoconf to generate configure script   -*- sh -*-
 
 AC_INIT(src/lyx.C)
index 650aa6817612718808e01fa04a50fb8c7d016905..c94bf5f94c4779739d288725ea6f1d0142812024 100644 (file)
 @bAndre Spiegel
 @iE-mail: spiegel@inf.fu-berlin.de
    vertical spaces
+@bDavid Sua'rez de Lis
+@iE-mail: excalibor@iname.com
+   maintaining es.po since v1.0.0 and other small i18n issues
+   small fixes (some work, others didn't)
 @bPeter Sütterlin
 @iE-mail: pit@uni-sw.gwdg.de
    aapaper support, bug reports
index 8bc3ebd9ef85ab87eb095d614d919e047f69b5a9..f2bffd773fafda8946f064a9e59f3feb63df6a87 100644 (file)
@@ -1,6 +1,7 @@
-dnl Process this file with autoconf to produce a configure script.
+dnl Process with autoconf to generate configure script   -*- sh -*-
 AC_INIT(reLyX.in)
 AC_PREREQ(2.13) dnl We want to use autoconf 2.13
+AC_PREFIX_PROGRAM(reLyX)
 
 PACKAGE=reLyX
 VERSION=2.0
@@ -11,17 +12,10 @@ dnl Checks for programs.
 AC_PROG_INSTALL
 RELYX_CHECK_PERL
 
-dnl Checks for libraries.
-dnl Replace `main' with a function in -lXpm:
-dnl AC_CHECK_LIB(Xpm, main)
-dnl Replace `main' with a function in -lforms:
-dnl AC_CHECK_LIB(forms, main)
-
-dnl Checks for header files.
-
-dnl Checks for typedefs, structures, and compiler characteristics.
-
-dnl Checks for library functions.
+dnl Finish the work
+test $program_suffix = NONE && program_suffix=
+LYX_DIR=`eval "echo \`eval \"echo ${datadir}/lyx${program_suffix}\"\`"`
+AC_SUBST(LYX_DIR)
 
 AC_OUTPUT(Makefile reLyX, chmod 755 reLyX)
 
index d043f6583ab0409d5bda137821a22cc4ce5a5f21..bfe6dcc8a560eceb83e1f2be120a99e65c9666af 100644 (file)
@@ -42,7 +42,7 @@ BufferParams::BufferParams()
        tocdepth = 3;
        language = "default";
        fonts = "default";
-       inputenc = "default";
+       inputenc = "latin1";
        graphicsDriver = "default";
        sides = 1;
        columns = 1;
index 5aff9a4aff236c206739fc1d1cfde934a2cd5238..a05d9c0a49dcd2ffcfd5c68ff7fe37ec37f9cd23 100644 (file)
@@ -184,7 +184,7 @@ void MiniBuffer::Init()
                        if (!owner->currentBuffer()->isLyxClean())
                                text += _(" (Changed)");
        } else {
-               if (text != "Welcome to LyX!") // this is a hack
+               if (text != _("Welcome to LyX!")) // this is a hack
                        text = _("* No document open *");
        }