feat: add get_txt helper method for localized string retrieval
This commit is contained in:
@@ -546,6 +546,9 @@ class StartGuideDialog(wx.Dialog):
|
|||||||
self.InitUI()
|
self.InitUI()
|
||||||
self.Center()
|
self.Center()
|
||||||
|
|
||||||
|
def get_txt(self, key):
|
||||||
|
return STRINGS[self.lang].get(key, key)
|
||||||
|
|
||||||
def InitUI(self):
|
def InitUI(self):
|
||||||
panel = wx.Panel(self)
|
panel = wx.Panel(self)
|
||||||
vbox = wx.BoxSizer(wx.VERTICAL)
|
vbox = wx.BoxSizer(wx.VERTICAL)
|
||||||
|
|||||||
Reference in New Issue
Block a user