Fix some missing references

This commit is contained in:
blitzmann
2020-06-19 21:54:30 -04:00
parent 8e83adf7db
commit 31fd480fb0
2 changed files with 5 additions and 1 deletions

View File

@@ -19,7 +19,9 @@
from gui.chrome_tabs import ChromeNotebook
import gui.builtinViews.emptyView
import wx
_ = wx.GetTranslation
class MultiSwitch(ChromeNotebook):
def __init__(self, parent):

View File

@@ -27,6 +27,8 @@ import webbrowser
import re
import markdown2
_ = wx.GetTranslation
# HTML template. We link to a bootstrap cdn for quick and easy css, and include some additional teaks.
html_tmpl = """
<link href='https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css' rel='stylesheet' />
@@ -49,7 +51,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()