Lars Gullik Bjønnes wrote:
> Does this patch fix the problem?
No. But the attached one does (I'm sure I've overlooked some cases).
Jürgen
Index: src/text3.C
===================================================================
--- src/text3.C (Revision 15012)
+++ src/text3.C (Arbeitskopie)
@@ -767,7 +767,7 @@ void LyXText::dispatch(LCursor & cur, Fu
break;
case LFUN_PASTE:
- cur.message(_("Paste"));
+ cur.message(lyx::from_utf8(N_("Paste")));
lyx::cap::replaceSelection(cur);
if (isStrUnsignedInt(lyx::to_utf8(cmd.argument())))
pasteSelection(cur, bv->buffer()->errorList("Paste"),
@@ -783,12 +783,12 @@ void LyXText::dispatch(LCursor & cur, Fu
case LFUN_CUT:
cutSelection(cur, true, true);
- cur.message(_("Cut"));
+ cur.message(lyx::from_utf8(N_("Cut")));
break;
case LFUN_COPY:
copySelection(cur);
- cur.message(_("Copy"));
+ cur.message(lyx::from_utf8(N_("Copy")));
break;
case LFUN_SERVER_GET_XY:
@@ -1311,7 +1311,7 @@ void LyXText::dispatch(LCursor & cur, Fu
case LFUN_FONT_FREE_APPLY:
toggleAndShow(cur, this, freefont, toggleall);
- cur.message(_("Character set"));
+ cur.message(lyx::from_utf8(N_("Character set")));
break;
// Set the freefont using the contents of \param data dispatched from
@@ -1323,7 +1323,7 @@ void LyXText::dispatch(LCursor & cur, Fu
freefont = font;
toggleall = toggle;
toggleAndShow(cur, this, freefont, toggleall);
- cur.message(_("Character set"));
+ cur.message(lyx::from_utf8(N_("Character set")));
}
break;
}
@@ -1456,7 +1456,7 @@ void LyXText::dispatch(LCursor & cur, Fu
params.align(),
params.labelWidthString(),
params.noindent());
- cur.message(_("Paragraph layout set"));
+ cur.message(lyx::from_utf8(N_("Paragraph layout set")));
break;
}