More localization
This commit is contained in:
@@ -49,7 +49,7 @@ class UpdateDialog(wx.Dialog):
|
||||
|
||||
def __init__(self, parent, release, version):
|
||||
super().__init__(
|
||||
parent, id=wx.ID_ANY, title="pyfa Update Available", pos=wx.DefaultPosition,
|
||||
parent, id=wx.ID_ANY, title=_"pyfa "+_("Update Available"), pos=wx.DefaultPosition,
|
||||
size=wx.Size(550, 450), style=wx.DEFAULT_DIALOG_STYLE)
|
||||
|
||||
self.UpdateSettings = svc_UpdateSettings.getInstance()
|
||||
@@ -97,7 +97,7 @@ class UpdateDialog(wx.Dialog):
|
||||
notesSizer.Add(self.browser, 1, wx.EXPAND | wx.LEFT | wx.RIGHT | wx.TOP, 5)
|
||||
mainSizer.Add(notesSizer, 1, wx.EXPAND, 5)
|
||||
|
||||
self.supressCheckbox = wx.CheckBox(self, wx.ID_ANY, "Don't remind me again for this release",
|
||||
self.supressCheckbox = wx.CheckBox(self, wx.ID_ANY, _("Don't remind me again for this release"),
|
||||
wx.DefaultPosition, wx.DefaultSize, 0)
|
||||
self.supressCheckbox.Bind(wx.EVT_CHECKBOX, self.SuppressChange)
|
||||
|
||||
@@ -108,7 +108,7 @@ class UpdateDialog(wx.Dialog):
|
||||
actionSizer = wx.BoxSizer(wx.HORIZONTAL)
|
||||
|
||||
goSizer = wx.BoxSizer(wx.VERTICAL)
|
||||
self.downloadButton = wx.Button(self, wx.ID_ANY, "Download", wx.DefaultPosition, wx.DefaultSize, 0)
|
||||
self.downloadButton = wx.Button(self, wx.ID_ANY, _("Download"), wx.DefaultPosition, wx.DefaultSize, 0)
|
||||
self.downloadButton.Bind(wx.EVT_BUTTON, self.OnDownload)
|
||||
goSizer.Add(self.downloadButton, 0, wx.ALL, 5)
|
||||
actionSizer.Add(goSizer, 1, wx.EXPAND, 5)
|
||||
|
||||
Reference in New Issue
Block a user