Georg, all,

is this a proper use of to_ascii?

Michael


Index: qt4/GuiWorkArea.C
===================================================================
--- qt4/GuiWorkArea.C   (Revision 15938)
+++ qt4/GuiWorkArea.C   (Arbeitskopie)
@@ -18,6 +18,7 @@
#include "QLyXKeySym.h"
#include "qt_helpers.h"

+#include "gettext.h"
#include "LyXView.h"

#include "BufferView.h"
@@ -529,7 +530,7 @@
       //      return;
       lyxerr << "show banner: " << lyxrc.show_banner << endl;
       /// The text to be written on top of the pixmap
-       string const text = lyx_version ? lyx_version : "unknown";
+ string const text = lyx_version ? lyx_version : to_ascii(_("version unknown")); string const file = support::libFileSearch("images", "banner", "ppm");
       if (file.empty())
               return;

Reply via email to