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.Center()
|
||||
|
||||
def get_txt(self, key):
|
||||
return STRINGS[self.lang].get(key, key)
|
||||
|
||||
def InitUI(self):
|
||||
panel = wx.Panel(self)
|
||||
vbox = wx.BoxSizer(wx.VERTICAL)
|
||||
|
||||
Reference in New Issue
Block a user