Mercurial > audlegacy
changeset 1502:bf9374436d1d trunk
[svn] - make Unknown Track, Unknown Artist, Unknown Album translatable.
- Display Unknown Track if the tuple is that horribly incomplete.
author | nenolod |
---|---|
date | Fri, 04 Aug 2006 12:18:23 -0700 |
parents | 8f3c0c773c92 |
children | 5679777b7a3f |
files | ChangeLog Plugins/General/notify/notify.c |
diffstat | 2 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Aug 04 11:54:26 2006 -0700 +++ b/ChangeLog Fri Aug 04 12:18:23 2006 -0700 @@ -1,3 +1,12 @@ +2006-08-04 18:54:26 +0000 William Pitcock <nenolod@nenolod.net> + revision [1916] + - more leak fixes + + + Changes: Modified: + +5 -0 trunk/libaudacious/beepctrl.c + + 2006-08-04 18:38:37 +0000 William Pitcock <nenolod@nenolod.net> revision [1914] - leak fix
--- a/Plugins/General/notify/notify.c Fri Aug 04 11:54:26 2006 -0700 +++ b/Plugins/General/notify/notify.c Fri Aug 04 12:18:23 2006 -0700 @@ -76,9 +76,9 @@ return TRUE; tmpbuf = g_strdup_printf("<b>%s</b>\n<i>%s</i>\n%s", - (tuple->performer ? tuple->performer : "Unknown Artist"), - (tuple->album_name ? tuple->album_name : "Unknown Album"), - tuple->track_name); + (tuple->performer ? tuple->performer : _("Unknown Artist")), + (tuple->album_name ? tuple->album_name : _("Unknown Album")), + (tuple->track_name ? tuple->track_name : _("Unknown Track"))); do_notification("Audacious", tmpbuf, DATA_DIR "/pixmaps/audacious.png"); g_free(tmpbuf);