dialogs/PouNameDialog.py
changeset 1799 9fd7bbf6ec45
parent 1782 5b6ad7a7fd9d
child 1872 866fb3ab8778
equal deleted inserted replaced
1798:7ec48bdc7a57 1799:9fd7bbf6ec45
    29 # -------------------------------------------------------------------------------
    29 # -------------------------------------------------------------------------------
    30 
    30 
    31 
    31 
    32 class PouNameDialog(wx.TextEntryDialog):
    32 class PouNameDialog(wx.TextEntryDialog):
    33 
    33 
    34     def __init__(self, parent, message, caption="Please enter text", defaultValue="",
    34     def __init__(self, parent, message, caption=_("Please enter text"), defaultValue="",
    35                  style=wx.OK | wx.CANCEL | wx.CENTRE, pos=wx.DefaultPosition):
    35                  style=wx.OK | wx.CANCEL | wx.CENTRE, pos=wx.DefaultPosition):
    36         wx.TextEntryDialog.__init__(self, parent, message, caption, defaultValue, style, pos)
    36         wx.TextEntryDialog.__init__(self, parent, message, caption, defaultValue, style, pos)
    37 
    37 
    38         self.PouNames = []
    38         self.PouNames = []
    39 
    39