[gnome-music] Mark two strings as translatable



commit ee9eaf6e2c6d3ee0cbbcd6cce030b1df84443616
Author: Yosef Or Boczko <yoseforb src gnome org>
Date:   Tue Aug 12 12:22:28 2014 +0300

    Mark two strings as translatable

 gnomemusic/widgets.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index 31f58fa..f894d5b 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -270,7 +270,7 @@ class AlbumWidget(Gtk.EventBox):
                             '', '', None, track, NOW_PLAYING_ICON_NAME,
                             False])
             self.ui.get_object('running_length_label_info').set_text(
-                '%d min' % (int(self.duration / 60) + 1))
+                _("%d min") % (int(self.duration / 60) + 1))
 
     @log
     def _on_look_up(self, pixbuf, path, data=None):
@@ -308,7 +308,7 @@ class AlbumWidget(Gtk.EventBox):
                 playlist.set_value(_iter, 9, iconVisible)
             _iter = playlist.iter_next(_iter)
             self.ui.get_object('running_length_label_info').set_text(
-                '%d min' % (int(self.duration / 60) + 1))
+                _("%d min") % (int(self.duration / 60) + 1))
         return False
 
 


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