deskbar-applet r1833 - in trunk: . deskbar po



Author: sebp
Date: Fri Jan 11 21:23:55 2008
New Revision: 1833
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=1833&view=rev

Log:
Fixed bug #508326: The window title is not translatable

Modified:
   trunk/ChangeLog
   trunk/deskbar/deskbar-applet.py
   trunk/po/POTFILES.in

Modified: trunk/deskbar/deskbar-applet.py
==============================================================================
--- trunk/deskbar/deskbar-applet.py	(original)
+++ trunk/deskbar/deskbar-applet.py	Fri Jan 11 21:23:55 2008
@@ -4,13 +4,15 @@
 from os.path import abspath, join, dirname, exists
 import logging
 import gettext, locale
+from gettext import gettext as _
 import gnomeapplet
 from optparse import OptionParser
 
 # Return a standalone window that holds the applet
 def build_window():
     app = gtk.Window(gtk.WINDOW_TOPLEVEL)
-    app.set_title("Deskbar Applet")
+    # translators: This is the window title.
+    app.set_title(_("Deskbar Applet"))
     app.connect("destroy", gtk.main_quit)
     
     applet = gnomeapplet.Applet()

Modified: trunk/po/POTFILES.in
==============================================================================
--- trunk/po/POTFILES.in	(original)
+++ trunk/po/POTFILES.in	Fri Jan 11 21:23:55 2008
@@ -9,6 +9,7 @@
 deskbar/core/Categories.py
 deskbar/core/DeskbarHistory.py
 deskbar/core/Utils.py
+deskbar/deskbar-applet.py
 deskbar/gtkexcepthook.py
 deskbar/handlers/beagle-live.py
 deskbar/handlers/beagle-static.py



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