[gnome-music: 3/5] set_label string is translatable



commit 0637f5c42928508007b0af2365ba8948c75e13f4
Author: shivanipoddariiith <shivani poddar92 gmail com>
Date:   Tue Aug 27 16:08:14 2013 +0530

    set_label string is translatable

 gnomemusic/view.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index e9730c5..709e601 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -277,7 +277,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))
         print(label)
         self.add(widget)
         self.show_all()


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