# HG changeset patch # User Andrey Skvortsov # Date 1505215337 -10800 # Node ID 9fd7bbf6ec454c74916293d107d920e628246f74 # Parent 7ec48bdc7a57dff4c2911a349fb34e445246ec19 make default caption for PouNameDialog translatable diff -r 7ec48bdc7a57 -r 9fd7bbf6ec45 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)