Explorar el Código

wxGUI/startup: assure user that location was created

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@56353 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová hace 12 años
padre
commit
ac5a6a72b4
Se han modificado 1 ficheros con 6 adiciones y 3 borrados
  1. 6 3
      gui/wxpython/gis_set.py

+ 6 - 3
gui/wxpython/gis_set.py

@@ -444,10 +444,13 @@ class GRASSStartup(wx.Frame):
 
     def SetDefaultRegion(self, location):
         """!Asks to set default region."""
+        caption = _("Location <%s> created") % location
+        message = _("Do you want to set the default "
+                    "region extents and resolution now?")
         dlg = wx.MessageDialog(parent = self,
-                               message = _("Do you want to set the default "
-                                           "region extents and resolution now?"),
-                               caption = _("Location <%s> created") % location,
+                               message = "%(caption)s.\n\n%(extent)s" % ({'caption': caption,
+                                                                          'extent': message}),
+                               caption = caption,
                                style = wx.YES_NO | wx.NO_DEFAULT | wx.ICON_QUESTION)
         dlg.CenterOnScreen()
         if dlg.ShowModal() == wx.ID_YES: