*
* Copyright 2005 Alessandro Scotti
*
- * Enhancements Copyright 2009, 2010 Free Software Foundation, Inc.
+ * Enhancements Copyright 2009, 2010, 2011 Free Software Foundation, Inc.
*
* ------------------------------------------------------------------------
*
int j;
Widget edit;
static int needInit = TRUE;
- static char *title = _("Engine output"), *text = _("This feature is experimental");
+ static char *title = N_("Engine output"), *text = N_("This feature is experimental");
if (engineOutputShell == NULL) {
engineOutputShell =
- EngineOutputCreate(title, text);
+ EngineOutputCreate(_(title), _(text));
XtRealizeWidget(engineOutputShell);
CatchDeleteWindow(engineOutputShell, "EngineOutputPopDown");
if( needInit ) {
XtSetArg(args[j], XtNstring, text); j++;
XtSetValues(edit, args, j);
j = 0;
- XtSetArg(args[j], XtNiconName, (XtArgVal) title); j++;
- XtSetArg(args[j], XtNtitle, (XtArgVal) title); j++;
+ XtSetArg(args[j], XtNiconName, (XtArgVal) _(title)); j++;
+ XtSetArg(args[j], XtNtitle, (XtArgVal) _(title)); j++;
XtSetValues(engineOutputShell, args, j);
}
j=0;
XtSetArg(args[j], XtNleftBitmap, xMarkPixmap); j++;
- XtSetValues(XtNameToWidget(menuBarWidget, "menuMode.Show Engine Output"),
+ XtSetValues(XtNameToWidget(menuBarWidget, "menuView.Show Engine Output"),
args, j);
engineOutputDialogUp = True;
XSync(xDisplay, False);
j=0;
XtSetArg(args[j], XtNleftBitmap, None); j++;
- XtSetValues(XtNameToWidget(menuBarWidget, "menuMode.Show Engine Output"),
+ XtSetValues(XtNameToWidget(menuBarWidget, "menuView.Show Engine Output"),
args, j);
engineOutputDialogUp = False;