[rhythmbox] context: fix a couple of translatable strings
- From: Jonathan Matthew <jmatthew src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rhythmbox] context: fix a couple of translatable strings
- Date: Mon, 2 Nov 2009 12:00:34 +0000 (UTC)
commit bbaf9a229c8c7f9db9f3d89f5ecc608a1928a371
Author: Jonathan Matthew <jonathan d14n org>
Date: Mon Nov 2 21:59:52 2009 +1000
context: fix a couple of translatable strings
plugins/context/context/ContextView.py | 2 +-
plugins/context/tmpl/album-tmpl.html | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/context/context/ContextView.py b/plugins/context/context/ContextView.py
index 003b739..3cf62fa 100644
--- a/plugins/context/context/ContextView.py
+++ b/plugins/context/context/ContextView.py
@@ -182,7 +182,7 @@ class ContextView (gobject.GObject):
if self.current_artist != playing_artist:
self.current_artist = playing_artist.replace ('&', '&')
- self.label.set_markup(_('Top songs by <i>%s</i>' % self.current_artist))
+ self.label.set_markup(_('Top songs by %s') % ('<i>' + self.current_artist + '</i>'))
self.ds['artist'].fetch_top_tracks (self.current_artist)
self.tab[self.current].reload()
diff --git a/plugins/context/tmpl/album-tmpl.html b/plugins/context/tmpl/album-tmpl.html
index 8338f62..c542e6f 100644
--- a/plugins/context/tmpl/album-tmpl.html
+++ b/plugins/context/tmpl/album-tmpl.html
@@ -28,8 +28,8 @@
}
function toggle_vis (element) {
swapClass(element, 'hidden', 'shown');
- hide = "${ _("Hide all tracks") }";
- show = "${ _("Show all tracks") }";
+ hide = ${ '"' + _("Hide all tracks") + '"' };
+ show = ${ '"' + _("Show all tracks") + '"' };
swapText('btn_'+element, hide, show);
}
</script>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]