[GRASS-SVN] r35707 - grass/branches/develbranch_6/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 1 12:19:58 EST 2009


Author: martinl
Date: 2009-02-01 12:19:58 -0500 (Sun, 01 Feb 2009)
New Revision: 35707

Modified:
   grass/branches/develbranch_6/gui/wxpython/wxgui.py
Log:
fix xgettext warning
    (merge from trunk, r35705)


Modified: grass/branches/develbranch_6/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/wxgui.py	2009-02-01 17:17:36 UTC (rev 35706)
+++ grass/branches/develbranch_6/gui/wxpython/wxgui.py	2009-02-01 17:19:58 UTC (rev 35707)
@@ -419,8 +419,10 @@
             # ask user to save current settings
             if maptree.GetCount() > 0:
                 dlg = wx.MessageDialog(self,
-                                       message=_("Do you want to close display %d?\n\n%s") % \
-                                           (self.curr_pagenum + 1, message),
+                                       message=_("Do you want to close display %(display)d?"
+                                                 "\n\n%(message)s") % \
+                                           { 'display' : self.curr_pagenum + 1,
+                                             'message' : message },
                                        caption=_("Close display"),
                                        style=wx.YES_NO | wx.YES_DEFAULT |
                                        wx.CANCEL | wx.ICON_QUESTION | wx.CENTRE)



More information about the grass-commit mailing list