[gnome-music] Mark two strings as translatable
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Mark two strings as translatable
- Date: Tue, 12 Aug 2014 09:24:12 +0000 (UTC)
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]