summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4ca0f66)
raw | patch | inline | side by side (parent: 4ca0f66)
author | Max Kellermann <max@duempel.org> | |
Fri, 3 Oct 2008 09:57:00 +0000 (11:57 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Fri, 3 Oct 2008 09:57:00 +0000 (11:57 +0200) |
The artist screen shouldn't be marked "experimental" anymore.
Describe the current state of the screen in the title, instead of
always writing "Artist".
Describe the current state of the screen in the title, instead of
always writing "Artist".
src/screen_artist.c | patch | blob | history |
diff --git a/src/screen_artist.c b/src/screen_artist.c
index e488a3a08e5512610725a560713e2512a5fda420..86291d87de633712542f7459a5a329d682ba919b 100644 (file)
--- a/src/screen_artist.c
+++ b/src/screen_artist.c
switch(mode) {
case LIST_ARTISTS:
- g_snprintf(str, size, _("Artist: [db browser - EXPERIMENTAL]"));
+ g_snprintf(str, size, _("All artists"));
break;
+
case LIST_ALBUMS:
s1 = utf8_to_locale(artist);
- g_snprintf(str, size, _("Artist: %s"), s1);
+ g_snprintf(str, size, _("Albums of artist: %s"), s1);
g_free(s1);
break;
+
case LIST_SONGS:
s1 = utf8_to_locale(artist);
- s2 = *album == 0
- ? g_strdup(_("All tracks"))
- : utf8_to_locale(album);
- g_snprintf(str, size, _("Artist: %s - %s"), s1, s2);
+ if (*album != 0) {
+ s2 = utf8_to_locale(album);
+ g_snprintf(str, size,
+ _("Album: %s - %s"), s1, s2);
+ g_free(s2);
+ } else
+ g_snprintf(str, size,
+ _("All tracks of artist: %s"), s1);
g_free(s1);
- g_free(s2);
break;
}
+
return str;
}