[gnome-music] Use 'Untitled' for undecoded titles



commit 2504c837d53c244db210336e151b5c17c54e237e
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Mon Mar 3 11:05:21 2014 +0100

    Use 'Untitled' for undecoded titles

 gnomemusic/albumArtCache.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/albumArtCache.py b/gnomemusic/albumArtCache.py
index 292aa8c..df3462a 100644
--- a/gnomemusic/albumArtCache.py
+++ b/gnomemusic/albumArtCache.py
@@ -240,7 +240,7 @@ class AlbumArtCache:
         try:
             title = GLib.uri_unescape_string(basename, '')
         except:
-            title = "Filename could not be decoded..."
+            title = _("Untitled")
             pass
         if escaped:
             return GLib.markup_escape_text(title)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]