From e3f995ed4b4ea3c8e3fe203fb3e575bba8bd7ab2 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Fri, 22 Apr 2011 21:50:58 -0700 Subject: [PATCH] marked more strings for gettext that were only marked with N_() they need to be marked again with _() when they are used to get the translated string --- xboard.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xboard.c b/xboard.c index 1ec1cd2..0e953f8 100644 --- a/xboard.c +++ b/xboard.c @@ -3797,10 +3797,10 @@ void CreateMenuBarPopup(parent, name, mb) mi = mb->mi; while (mi->string != NULL) { if (strcmp(mi->string, "----") == 0) { - entry = XtCreateManagedWidget(mi->string, smeLineObjectClass, + entry = XtCreateManagedWidget(_(mi->string), smeLineObjectClass, menu, args, j); } else { - XtSetArg(args[j], XtNlabel, XtNewString(mi->string)); + XtSetArg(args[j], XtNlabel, XtNewString(_(mi->string))); entry = XtCreateManagedWidget(mi->ref, smeBSBObjectClass, menu, args, j+1); XtAddCallback(entry, XtNcallback, @@ -3838,7 +3838,7 @@ Widget CreateMenuBar(mb) XtSetArg(args[j], XtNlabel, XtNewString(shortName)); j++; } else { - XtSetArg(args[j], XtNlabel, XtNewString(mb->name)); j++; + XtSetArg(args[j], XtNlabel, XtNewString(_(mb->name))); j++; } XtSetArg(args[j], XtNborderWidth, 0); j++; -- 1.7.0.4