gnome-games r7993 - trunk/gnome-sudoku/src/lib



Author: thomashpa
Date: Fri Oct 10 10:57:19 2008
New Revision: 7993
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7993&view=rev

Log:
Correct typo in error message that led to an exception. Patch by Zhang Sen in bug #530380

Modified:
   trunk/gnome-sudoku/src/lib/saver.py

Modified: trunk/gnome-sudoku/src/lib/saver.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/saver.py	(original)
+++ trunk/gnome-sudoku/src/lib/saver.py	Fri Oct 10 10:57:19 2008
@@ -164,7 +164,7 @@
                 title=_('Sudoku unable to mark game as finished.'),
                 label=_('Sudoku unable to mark game as finished.'),
                 message_type=gtk.MESSAGE_ERROR,
-                sublabel=(_('Unable to save file %(filename)s.'%locals) + '\n' +
+                sublabel=(_('Unable to save file %(filename)s.')%locals() + '\n' +
                           _('Error %(errno)s: %(error)s')%{
                 'errno':e.errno,
                 'error':e.strerror
@@ -182,7 +182,7 @@
                 title=_('Sudoku unable to mark game as finished.'),
                 label=_('Sudoku unable to mark game as finished.'),
                 message_type=gtk.MESSAGE_ERROR,
-                sublabel=(_('Unable to save file %(filename)s.'%locals) + '\n' +
+                sublabel=(_('Unable to save file %(filename)s.')%locals() + '\n' +
                           _('Error %(errno)s: %(error)s')%{
                 'errno':e.errno,
                 'error':e.strerror



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