i18n/zh_CN: add more UI translation

This commit is contained in:
zhaoweny
2020-06-20 17:42:52 +08:00
parent d28665f172
commit a05e7dbad1
6 changed files with 103 additions and 69 deletions

View File

@@ -24,7 +24,7 @@ from gui.bitmap_loader import BitmapLoader
from gui.utils import color as color_utils, draw, fonts
from service.fit import Fit
_ = wx.GetTranslation
_PageChanging, EVT_NOTEBOOK_PAGE_CHANGING = wx.lib.newevent.NewEvent()
_PageChanged, EVT_NOTEBOOK_PAGE_CHANGED = wx.lib.newevent.NewEvent()
_PageAdding, EVT_NOTEBOOK_PAGE_ADDING = wx.lib.newevent.NewEvent()
@@ -227,7 +227,7 @@ class ChromeNotebook(wx.Panel):
self.page_container.Layout()
self._pages.append(win)
self.tabs_container.AddTab(title, image, closeable)
self.tabs_container.AddTab(_(title), image, closeable)
self._active_page = win
self.ShowActive(True)