More localization

This commit is contained in:
blitzmann
2020-06-19 11:35:37 -04:00
parent 2490d3de92
commit 7fa638f62b
9 changed files with 113 additions and 108 deletions

View File

@@ -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)