totem r5572 - in trunk: . src/plugins/pythonconsole
- From: tkaroonb svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5572 - in trunk: . src/plugins/pythonconsole
- Date: Tue, 19 Aug 2008 10:14:08 +0000 (UTC)
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]