[Pkg-lyx-devel] Bug#274100: lyx-qt + russian locale + math symbols display

Nikita V. Youshchenko "Nikita V. Youshchenko" <yoush@cs.msu.su>, 274100@bugs.debian.org
Tue, 5 Oct 2004 17:00:21 +0400


> Unfortunately, today one of our users reported that lyx-qt (installed
> from debian binary package 1.3.4-2) crashes every other minute for him,
> until restarted with LC_ALL=C.

Ok, we found it. It crashes on each autosave, because of error in ru.po, 
which causes exception from boost. And really, this does not happen if not 
running in russian locale.

In debian version, this should be applied:

--- ru.po.orig  2004-02-19 13:18:47.000000000 +0300
+++ ru.po       2004-10-05 16:55:47.000000000 +0400
@@ -11642,7 +11642,7 @@
 #: src/lyx_cb.C:273
 #, c-format
 msgid "Auto-saving %1$s"
-msgstr "Автоматическое сохранение %1$1"
+msgstr "Автоматическое сохранение %1$s"

 #: src/lyx_cb.C:275
 msgid "Auto-saving "


In current CVS, this is (probably) needed:

--- ru.po.cvs.orig      2004-10-05 16:57:46.000000000 +0400
+++ ru.po.cvs   2004-10-05 16:58:20.000000000 +0400
@@ -13723,7 +13723,7 @@
 #: src/lyx_cb.C:245
 #, fuzzy, c-format
 msgid "Auto-saving %1$s"
-msgstr "Автосохранение"
+msgstr "Автосохранение %1$s"

 #: src/lyx_cb.C:284
 msgid "Autosave failed!"