From 708615687ffff3e45b8f5aced9c114daab59c55a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 18 Nov 2008 21:49:34 +0100 Subject: [PATCH] screen_lyrics: added gettext markers --- src/screen_lyrics.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c index 6d9c6e4..f98e669 100644 --- a/src/screen_lyrics.c +++ b/src/screen_lyrics.c @@ -278,15 +278,18 @@ lyrics_open(mpdclient_t *c) static const char * lyrics_title(char *str, size_t size) { - if (current.loader != NULL) - return "Lyrics (loading)"; - else if (current.artist != NULL && current.title != NULL && - current.lines->len > 0) { - snprintf(str, size, "Lyrics: %s - %s", + if (current.loader != NULL) { + snprintf(str, size, "%s (%s)", + _("Lyrics"), _("loading...")); + return str; + } else if (current.artist != NULL && current.title != NULL && + current.lines->len > 0) { + snprintf(str, size, "%s: %s - %s", + _("Lyrics"), current.artist, current.title); return str; } else - return "Lyrics"; + return _("Lyrics"); } static void -- 2.30.2