[GRASS-SVN] r35705 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Feb 1 12:11:00 EST 2009
Author: martinl
Date: 2009-02-01 12:11:00 -0500 (Sun, 01 Feb 2009)
New Revision: 35705
Modified:
grass/trunk/gui/wxpython/wxgui.py
Log:
fix xgettext warning
Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py 2009-02-01 17:08:16 UTC (rev 35704)
+++ grass/trunk/gui/wxpython/wxgui.py 2009-02-01 17:11:00 UTC (rev 35705)
@@ -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