Code

screen_help: translate section names
authorMax Kellermann <max@duempel.org>
Thu, 15 Oct 2009 13:38:22 +0000 (15:38 +0200)
committerMax Kellermann <max@duempel.org>
Thu, 15 Oct 2009 13:38:22 +0000 (15:38 +0200)
The _() call was missing.

src/screen_help.c

index a501aad045281cf818ab23c6e516c704879354aa..c24d04db398493625d2cb63751e67b32003aee21 100644 (file)
@@ -242,7 +242,7 @@ screen_help_paint_callback(WINDOW *w, unsigned i,
 
        if (row->command == CMD_NONE) {
                if (row->text != NULL)
-                       mvwaddstr(w, y, 6, row->text);
+                       mvwaddstr(w, y, 6, _(row->text));
                else if (row->highlight == 2)
                        mvwhline(w, y, 3, '-', width - 6);
        } else {