[gnome-music] Correctly use gettext call



commit b4f8914f45d7b1e39c974348df436c53d39212fc
Author: Friedel Wolff <friedel translate org za>
Date:   Wed Oct 23 21:31:08 2013 +0200

    Correctly use gettext call
    
    Variable interpolation must happen on the result of the gettext call.

 gnomemusic/view.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index 217def6..2a3a926 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -291,7 +291,7 @@ class Empty(Stack):
         music_folder_path = GLib.get_user_special_dir(GLib.USER_DIRECTORY_MUSIC)
         widget = builder.get_object('container')
         label = builder.get_object('label1')
-        label.set_label(_("No Music found!\n Put some files into the folder %s" %music_folder_path))
+        label.set_label(_("No Music found!\n Put some files into the folder %s") % music_folder_path)
         self.add(widget)
         self.show_all()
 


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