feat: localize Shopee GUI wording
This commit is contained in:
@@ -101,7 +101,7 @@ class MainWindow(QMainWindow):
|
||||
self.tabs.currentChanged.connect(self._on_tab_changed)
|
||||
for title in TAB_TITLES:
|
||||
self.tabs.addTab(self._build_tab(title), title)
|
||||
self.tabs.setTabIcon(TAB_TITLES.index("③ 更新shopee"), _warning_dot_icon())
|
||||
self.tabs.setTabIcon(TAB_TITLES.index("③ 更新蝦皮"), _warning_dot_icon())
|
||||
self.setCentralWidget(self.tabs)
|
||||
self.statusBar().showMessage("就绪")
|
||||
|
||||
@@ -130,7 +130,7 @@ class MainWindow(QMainWindow):
|
||||
cover_prompts_dir=appconfig.cover_prompts_dir(self.config),
|
||||
open_accounts_callback=lambda: self.open_accounts_tab(),
|
||||
)
|
||||
if title == "③ 更新shopee":
|
||||
if title == "③ 更新蝦皮":
|
||||
return ApplyTab(
|
||||
db_path=self.db_path,
|
||||
config=self.config,
|
||||
|
||||
Reference in New Issue
Block a user