make default caption for PouNameDialog translatable
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Tue, 12 Sep 2017 14:22:17 +0300
changeset 1799 9fd7bbf6ec45
parent 1798 7ec48bdc7a57
child 1800 1711339585ce
make default caption for PouNameDialog translatable
dialogs/PouNameDialog.py
--- a/dialogs/PouNameDialog.py	Tue Sep 12 14:18:50 2017 +0300
+++ b/dialogs/PouNameDialog.py	Tue Sep 12 14:22:17 2017 +0300
@@ -31,7 +31,7 @@
 
 class PouNameDialog(wx.TextEntryDialog):
 
-    def __init__(self, parent, message, caption="Please enter text", defaultValue="",
+    def __init__(self, parent, message, caption=_("Please enter text"), defaultValue="",
                  style=wx.OK | wx.CANCEL | wx.CENTRE, pos=wx.DefaultPosition):
         wx.TextEntryDialog.__init__(self, parent, message, caption, defaultValue, style, pos)