i18n: minor tweaks for easier translation

1. tweaks for characterEditor.py and patternEditor.py according to PR discussion.
2. fix for "Recent Fits" label not translated
This commit is contained in:
zhaoweny
2020-06-21 17:11:58 +08:00
parent 29ec297acb
commit 4eda1a1d66
3 changed files with 14 additions and 14 deletions

View File

@@ -126,14 +126,14 @@ class NavigationPanel(SFItem.SFBrowserItem):
if not toggle:
self.shipBrowser.recentFits = False
self.btnRecent.label = "Recent Fits"
self.btnRecent.label = _t("Recent Fits")
self.btnRecent.normalBmp = self.recentBmpD
if emitEvent:
wx.PostEvent(self.shipBrowser, Stage1Selected())
else:
self.shipBrowser.recentFits = True
self.btnRecent.label = "Hide Recent Fits"
self.btnRecent.label = _t("Hide Recent Fits")
self.btnRecent.normalBmp = self.recentBmp
if emitEvent: