More _t() conversion

This commit is contained in:
blitzmann
2020-06-20 15:09:42 -04:00
parent 68f7e6c709
commit 339367f730
9 changed files with 51 additions and 51 deletions

View File

@@ -22,13 +22,13 @@ import wx
from gui.preferenceView import PreferenceView
from gui.bitmap_loader import BitmapLoader
_ = wx.GetTranslation
_t = wx.GetTranslation
class PreferenceDialog(wx.Dialog):
def __init__(self, parent):
super().__init__(parent, id=wx.ID_ANY, size=wx.DefaultSize, style=wx.DEFAULT_DIALOG_STYLE)
self.SetTitle("pyfa - " + _("Preferences"))
self.SetTitle("pyfa - " + _t("Preferences"))
i = wx.Icon(BitmapLoader.getBitmap("preferences_small", "gui"))
self.SetIcon(i)
mainSizer = wx.BoxSizer(wx.VERTICAL)