Explorar o código

wxGUI: use less cryptic dialog caption if workspace file exits (sync'ed with develbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@31199 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa %!s(int64=17) %!d(string=hai) anos
pai
achega
5f58832e9d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      gui/wxpython/wxgui.py

+ 2 - 2
gui/wxpython/wxgui.py

@@ -765,7 +765,7 @@ class GMFrame(wx.Frame):
         if os.path.exists(filename):
             dlg = wx.MessageDialog(self, message=_("Workspace file <%s> already exists. "
                                                    "Do you want to overwrite this file?") % filename,
-                                   caption=_("Warning"), style=wx.YES_NO | wx.YES_DEFAULT | wx.ICON_QUESTION)
+                                   caption=_("Save workspace"), style=wx.YES_NO | wx.YES_DEFAULT | wx.ICON_QUESTION)
             if dlg.ShowModal() != wx.ID_YES:
                 dlg.Destroy()
                 return False
@@ -783,7 +783,7 @@ class GMFrame(wx.Frame):
             dlg = wx.MessageDialog(self, message=_("Workspace file <%s> already exists. "
                                                    "Do you want to overwrite this file?") % \
                                        self.workspaceFile,
-                                   caption=_("Warning"), style=wx.YES_NO | wx.YES_DEFAULT | wx.ICON_QUESTION)
+                                   caption=_("Save workspace"), style=wx.YES_NO | wx.YES_DEFAULT | wx.ICON_QUESTION)
             if dlg.ShowModal() == wx.ID_NO:
                 dlg.Destroy()
             else: