rhythmbox r5693 - in trunk: . plugins/lyrics/lyrics
- From: jmatthew svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r5693 - in trunk: . plugins/lyrics/lyrics
- Date: Wed, 30 Apr 2008 11:08:47 +0100 (BST)
Author: jmatthew
Date: Wed Apr 30 10:08:47 2008
New Revision: 5693
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5693&view=rev
Log:
2008-04-30 Jonathan Matthew <jonathan d14n org>
* plugins/lyrics/lyrics/__init__.py:
Localise a few strings that need it. Fixes #530157.
Modified:
trunk/ChangeLog
trunk/plugins/lyrics/lyrics/__init__.py
Modified: trunk/plugins/lyrics/lyrics/__init__.py
==============================================================================
--- trunk/plugins/lyrics/lyrics/__init__.py (original)
+++ trunk/plugins/lyrics/lyrics/__init__.py Wed Apr 30 10:08:47 2008
@@ -174,12 +174,12 @@
def edit_callback(widget):
if self.edit.get_active() == 1:
self.tview.set_editable(True)
- self.edit.set_label("_Save")
+ self.edit.set_label(_("_Save"))
else:
if self.cache_path is not None:
save_callback()
self.tview.set_editable(False)
- self.edit.set_label("_Edit")
+ self.edit.set_label(_("_Edit"))
def discard_callback(widget):
if self.cache_path is not None and os.path.exists(self.cache_path):
@@ -192,9 +192,9 @@
self.get_lyrics()
- self.edit = gtk.ToggleButton("_Edit")
+ self.edit = gtk.ToggleButton(_("_Edit"))
self.edit.connect('toggled', edit_callback)
- self.discard = gtk.Button("_Search again")
+ self.discard = gtk.Button(_("_Search again"))
self.discard.connect('clicked', discard_callback)
self.clear = gtk.Button(stock=gtk.STOCK_CLEAR)
self.clear.connect('clicked', clear_callback)
@@ -278,7 +278,7 @@
self.show_all()
def s_title(self, title, artist):
- self.set_title(title + " - " + artist + " - Lyrics")
+ self.set_title(title + " - " + artist + " - " + _("Lyrics")
class LyricsDisplayPlugin(rb.Plugin):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]