X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xengineoutput.c;h=980b639a68c4b7e251fca622168b2dddf88d1b0b;hb=34e7a4b058c8ee6691dea2b5776459d58569840d;hp=f1ab45297e51b0b997fadf58e97b55684a72ed34;hpb=3830e6aea9b487049e7e1ca9961a848f64ba98eb;p=xboard.git diff --git a/xengineoutput.c b/xengineoutput.c index f1ab452..980b639 100644 --- a/xengineoutput.c +++ b/xengineoutput.c @@ -5,7 +5,7 @@ * * Copyright 2005 Alessandro Scotti * - * Enhancements Copyright 2009, 2010 Free Software Foundation, Inc. + * Enhancements Copyright 2009, 2010, 2011 Free Software Foundation, Inc. * * ------------------------------------------------------------------------ * @@ -540,11 +540,11 @@ EngineOutputPopUp() 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 ) { @@ -561,8 +561,8 @@ EngineOutputPopUp() 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); } @@ -571,7 +571,7 @@ EngineOutputPopUp() 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; @@ -599,7 +599,7 @@ void EngineOutputPopDown() 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;