mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 00:39:18 +00:00
Fix problem with --disable-nls; fix problem when using -display; add latvian keymap
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/lyx-1_1_5@1153 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ef9b09c177
commit
f42e02fa63
16
ChangeLog
16
ChangeLog
@ -1,3 +1,19 @@
|
||||
2000-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* lib/kbd/latvian.kmap: new file from Janne Pänkälä (epa@iki.fi)
|
||||
|
||||
2000-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* src/insets/figinset.C (GhostscriptMsg): use DisplayString() to
|
||||
open a new display.
|
||||
(runqueue): ditto.
|
||||
|
||||
2000-10-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* src/gettext.h (locale_init): and re-add it here.
|
||||
|
||||
* src/main.C (main): remove call to setlocale
|
||||
|
||||
2000-10-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* src/version.h (LYX_VERSION): reset version to 1.1.5fixcvs
|
||||
|
1
README
1
README
@ -159,6 +159,7 @@ Does LyX have support for non-English speakers/writers/readers?
|
||||
Greek
|
||||
Hebrew
|
||||
Hungarian (Magyar)
|
||||
Latvian
|
||||
Polish
|
||||
Portugese
|
||||
Romanian
|
||||
|
@ -46,7 +46,7 @@
|
||||
|
||||
# ifdef HAVE_LC_MESSAGES
|
||||
// LC_TIME, LC_CTYPE, even LC_ALL
|
||||
# define locale_init() { setlocale (LC_MESSAGES, ""); setlocale (LC_CTYPE, "");}
|
||||
# define locale_init() { setlocale (LC_MESSAGES, ""); setlocale (LC_CTYPE, ""); setlocale (LC_NUMERIC, "C");}
|
||||
# else
|
||||
# define locale_init()
|
||||
# endif
|
||||
|
@ -234,7 +234,7 @@ int GhostscriptMsg(FL_OBJECT *, Window, int, int,
|
||||
addpidwait(forkstat);
|
||||
break;
|
||||
} else { // child
|
||||
tmpdisp = XOpenDisplay(XDisplayName(0));
|
||||
tmpdisp = XOpenDisplay(DisplayString(fl_get_display()));
|
||||
XFlush(tmpdisp);
|
||||
}
|
||||
im = XGetImage(tmpdisp, p->bitmap, 0, 0,
|
||||
@ -517,7 +517,7 @@ void runqueue()
|
||||
if (pid == 0) { // child
|
||||
char ** env;
|
||||
int ne = 0;
|
||||
Display * tempdisp = XOpenDisplay(XDisplayName(0));
|
||||
Display * tempdisp = XOpenDisplay(DisplayString(fl_get_display()));
|
||||
|
||||
// create translation file
|
||||
ofstream ofs;
|
||||
|
@ -66,7 +66,6 @@ int main(int argc, char * argv[])
|
||||
|
||||
// initialize for internationalized version *EK*
|
||||
locale_init();
|
||||
setlocale(LC_NUMERIC, "C");
|
||||
gettext_init();
|
||||
|
||||
#ifdef __EMX__
|
||||
|
Loading…
Reference in New Issue
Block a user