summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2126ae2)
raw | patch | inline | side by side (parent: 2126ae2)
author | Max Kellermann <max@duempel.org> | |
Tue, 18 Nov 2008 20:49:34 +0000 (21:49 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 18 Nov 2008 20:49:34 +0000 (21:49 +0100) |
src/screen_lyrics.c | patch | blob | history |
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index 6d9c6e4af03ab96a700c0dc647f9d8ed0d114423..f98e6692b817f192d8f1cbfefa2e311ffad53760 100644 (file)
--- a/src/screen_lyrics.c
+++ b/src/screen_lyrics.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