totem r5572 - in trunk: . src/plugins/pythonconsole



Author: tkaroonb
Date: Tue Aug 19 10:14:08 2008
New Revision: 5572
URL: http://svn.gnome.org/viewvc/totem?rev=5572&view=rev

Log:
2008-08-19  Theppitak Karoonboonyanan  <thep linux thai net>

	* src/plugins/pythonconsole/pythonconsole.py (show_console):
	Only mark the actual printed string for translation, not the whole
	python statement for eval (Closes: #548004)



Modified:
   trunk/ChangeLog
   trunk/src/plugins/pythonconsole/pythonconsole.py

Modified: trunk/src/plugins/pythonconsole/pythonconsole.py
==============================================================================
--- trunk/src/plugins/pythonconsole/pythonconsole.py	(original)
+++ trunk/src/plugins/pythonconsole/pythonconsole.py	Tue Aug 19 10:14:08 2008
@@ -103,8 +103,9 @@
 						             destroy_cb = self.destroy_console)
 
 			console.set_size_request(600, 400)
-			console.eval(_('print "You can access the totem object through ' \
-				     '\'totem_object\' :\\n%s" % totem_object'), False)
+			console.eval('print "%s" %% totem_object' % _("You can access the totem object through " \
+				     "\'totem_object\' :\\n%s"), False)
+
 	
 			self.window = gtk.Window()
 			self.window.set_title(_('Totem Python Console'))



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