lyx140cvs: internationalization
Here is a little patch for more internationalization. -- Viele Grüße, Hartmut Hungerhilfe: http://www.thehungersite.com Das heutige Motto: Experience is what you get when you didn't get what you wanted. --- lyx_main.C.orig 2005-10-10 19:42:24.0 +0200 +++ lyx_main.C 2005-10-13 18:28:38.086109736 +0200 @@ -346,18 +346,18 @@ switch (err_sig) { #ifdef SIGHUP case SIGHUP: - lyxerr << "\nlyx: SIGHUP signal caught\nBye." << endl; + lyxerr << _("\nlyx: SIGHUP signal caught\nBye.") << endl; break; #endif case SIGFPE: - lyxerr << "\nlyx: SIGFPE signal caught\nBye." << endl; + lyxerr << _("\nlyx: SIGFPE signal caught\nBye.") << endl; break; case SIGSEGV: - lyxerr << "\nlyx: SIGSEGV signal caught\n" + lyxerr << _("\nlyx: SIGSEGV signal caught\n" "Sorry, you have found a bug in LyX. " "Please read the bug-reporting instructions " "in Help->Introduction and send us a bug report, " - "if necessary. Thanks !\nBye." << endl; + "if necessary. Thanks !\nBye.") << endl; break; case SIGINT: case SIGTERM: @@ -734,7 +734,7 @@ LyXLex lex(uitags, ui_last - 1); lex.setFile(ui_path); if (!lex.isOK()) { - lyxerr << "Unable to set LyXLeX for ui file: " << ui_path + lyxerr << _("Unable to set LyXLeX for ui file: ") << ui_path << endl; } @@ -850,8 +850,8 @@ int parse_version(string const &, string const &) { lyxerr << "LyX " << lyx_version - << " of " << lyx_release_date << endl; - lyxerr << "Built on " << __DATE__ << ", " << __TIME__ << endl; + << _(" of ") << lyx_release_date << endl; + lyxerr << _("Built on ") << __DATE__ << ", " << __TIME__ << endl; lyxerr << lyx_version_info << endl; exit(0);
Re: LyX on Windows (MinGW) - Font problem
Jean-Marc Lasgouttes wrote: Michael> That doesn't really explain why LyX 1.3 behaves correctly Michael> where LyX 1.4 does not. What are the values of the font-related preferences? Sorry, I was wrong. The problem occurs with 1.4 and 1.3. It is definitely a Q.../Free problem. I have already informed Christian Ehrlicher about it. Michael
Re: lyx140cvs: internationalization
On Thu, Oct 13, 2005 at 06:34:44PM +0200, Hartmut Haase wrote: > - lyxerr << "\nlyx: SIGHUP signal caught\nBye." << endl; > + lyxerr << _("\nlyx: SIGHUP signal caught\nBye.") << endl; Is the l12n effort worth it for these? > -<< " of " << lyx_release_date << endl; > - lyxerr << "Built on " << __DATE__ << ", " << __TIME__ << endl; > +<< _(" of ") << lyx_release_date << endl; > + lyxerr << _("Built on ") << __DATE__ << ", " << __TIME__ << endl; It doesn't look like this is translatable, it needs to be a full sentence. Look for the use of bformat() elsewhere to see what's needed. regards, john
Bug 2100: Inserting a formula within a table causes LaTeX errors
Hehe, a round number. I feel proud. :P Bug 2100: Inserting a formula within a table causes LaTeX errors Description: Inserting a formula within a table throws up 5 LaTeX errors for each instance of a formula within a table: - Extra } or forgotten $ // two of these - Missing $ inserted // two of these - Missing } inserted // one of these Cheers, Dan
Bug 2101: Any character followed by Right Arrow moves the cursorto the next cell
I have a feeling this is related to the bug which involved pressing Right Arrow twice to move the cursor at all. But I'm not a programmer, so that may not mean much. :P Bug 2101: Any character followed by Right Arrow moves the cursor to the next cell Description: When typing in a cell, if Space is pressed, followed by Right Arrow, the cursor is moved to the next right-hand cell (or the first cell of the next line) rather than to the right of the next character. NB. I have just noticed that it is any character, not just a Space. Cheers, Dan
Re: 1.4.0pre2 on cygwin
Kayvan A. Sylvan <[EMAIL PROTECTED]> writes: > > > > 2) The qt-3 build needs you to use a linker script in the final ld phase. > > > > > > > Is it because there is a missing -lresolv library, or something else? My > > compiling chokes, right on trying to link the binary... > > No, this linker script nonesense is due to a problem with QT-3 on Cygwin > (see http://mail.kde.org/pipermail/kde-cygwin/2004-October/001848.html for > some related discussion). > Checked the link above, and doesn't seem to have anything to do with my (now) previous problem with Cygwin... > > I think you are missing some library. On my Cygwin, I have: > > $ ls -l /usr/lib/libresolv.a > lrwxrwxrwx 1 kayvan Users 25 Apr 27 15:31 /usr/lib/libresolv.a -> /usr/lib/libminires.dll.a > minires solved the problem. LyX now compiles happily on my brand new Cygwin installation... So, this far, I have compiled LyX on cygwin succesfully, both with-xforms and with-qt. However, the xforms frontend works fine, while the Qt version eats up all character: I see only white squares. But I think that deserves another thread... Cheers, Luis.
Re: 1.4.0pre2 on cygwin
On Sat, Oct 15, 2005 at 04:40:28PM +, Luis Rivera wrote: > > minires solved the problem. LyX now compiles happily on my brand new Cygwin > installation... > > So, this far, I have compiled LyX on cygwin succesfully, both with-xforms and > with-qt. Cool. This is with gcc-3.4.4? > However, the xforms frontend works fine, while the Qt version eats up all > character: I see only white squares. Hmmm... What's your QT version? How did you compile it? ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
lyx-1.4.0pre2-qt-cygwin doesn't display characters
Hello, I compiled and use LyX --with-frontend=xforms succesfully on cygwin (version 1.5.18-1, with gcc 3.4.4-1). However, --with-frontend=qt, I can can compile LyX succesfully, but it doesn't display any characters: just plain white squares. Perhaps there is nothing wrong with LyX, and the problem is the qt library; but I have no clue. I'm using the qt3 3.3.4-2 bundled with cygwin. Meanwhile, I'll be testing the xforms version... which looks pretty good, actually. Luis.
Re: 1.4.0pre2 on cygwin
Kayvan A. Sylvan <[EMAIL PROTECTED]> writes: > > On Sat, Oct 15, 2005 at 04:40:28PM +, Luis Rivera wrote: > > So, this far, I have compiled LyX on cygwin succesfully, both with-xforms > > and > > with-qt. > > Cool. This is with gcc-3.4.4? > > Hmmm... What's your QT version? How did you compile it? > Answers to all these questions in a brand new thread... Luis.