Code

screen: use print_hotkey() for the output screen tab
authorMax Kellermann <max@duempel.org>
Wed, 10 Dec 2008 18:47:21 +0000 (19:47 +0100)
committerMax Kellermann <max@duempel.org>
Wed, 10 Dec 2008 18:47:21 +0000 (19:47 +0100)
Don't use markup in the translated string; use print_hotkey() as a
simple wrapper.

src/screen.c

index a697fdfd69afd2a80049a107dfc0212b86a06cba..03e50faabd7e8cc478570c09508f702460e432c2 100644 (file)
@@ -160,10 +160,7 @@ paint_top_window2(const char *header, mpdclient_t *c)
                print_hotkey(w, CMD_SCREEN_LYRICS, _("Lyrics"));
 #endif
 #ifdef ENABLE_OUTPUTS_SCREEN
-               colors_use(w, COLOR_TITLE_BOLD);
-               waddstr(w, get_key_names(CMD_SCREEN_OUTPUTS, FALSE));
-               colors_use(w, COLOR_TITLE);
-               waddstr(w, _(":Outputs  "));
+               print_hotkey(w, CMD_SCREEN_OUTPUTS, _("Outputs"));
 #endif
 #endif
        }