feat: add get_txt helper method for localized string retrieval

This commit is contained in:
Martin Tranberg
2026-04-01 10:25:44 +02:00
parent ad6055963d
commit f11f487ba3

View File

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