Pārlūkot izejas kodu

wxGUI: explain better quit/close dialog

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67226 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 9 gadi atpakaļ
vecāks
revīzija
e726c1d9f4
1 mainītis faili ar 5 papildinājumiem un 2 dzēšanām
  1. 5 2
      gui/wxpython/lmgr/frame.py

+ 5 - 2
gui/wxpython/lmgr/frame.py

@@ -2211,8 +2211,11 @@ class GMFrame(wx.Frame):
         Ask user also to quit GRASS including terminal
         """
         dlg = wx.MessageDialog(self,
-                               message = _("Do you want to quit GRASS GIS?"),
-                               caption = _("Quit GRASS GIS"),
+                               message = _("Do you want to quit GRASS GIS?\n\n"
+                                           "Press 'Yes' to quit GRASS GUI and shell.\n"
+                                           "Press 'No' to close only GRASS GUI.\n"
+                                           "Press 'Cancel' to cancel this operation."),
+                               caption = _("Quit GRASS GIS?"),
                                style = wx.YES_NO | wx.YES_DEFAULT |
                                wx.CANCEL | wx.ICON_QUESTION | wx.CENTRE)
         ret = dlg.ShowModal()