[GRASS-SVN] r35708 - grass/branches/releasebranch_6_4/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 1 12:25:18 EST 2009


Author: martinl
Date: 2009-02-01 12:25:18 -0500 (Sun, 01 Feb 2009)
New Revision: 35708

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


Modified: grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py	2009-02-01 17:19:58 UTC (rev 35707)
+++ grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py	2009-02-01 17:25:18 UTC (rev 35708)
@@ -420,8 +420,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