beremiz

9fd7bbf6ec45
Parents 7ec48bdc7a57
Children 1711339585ce
make default caption for PouNameDialog translatable
--- 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)