diff --git a/LunaTranslator/LunaTranslator/metadata/bangumi.py b/LunaTranslator/LunaTranslator/metadata/bangumi.py index 312d05be..87579451 100644 --- a/LunaTranslator/LunaTranslator/metadata/bangumi.py +++ b/LunaTranslator/LunaTranslator/metadata/bangumi.py @@ -127,7 +127,7 @@ class bgmsettings(QDialog): super().__init__(parent, Qt.WindowType.WindowCloseButtonHint) self._ref = _ref self.resize(QSize(800, 10)) - self.setWindowTitle("vndb") + self.setWindowTitle(self._ref.config_all["name"]) fl = QFormLayout(self) fl.addRow("access-token", getlineedit(_ref.config, "access-token")) btn = QPushButton(_TR("上传游戏")) diff --git a/LunaTranslator/LunaTranslator/metadata/vndb.py b/LunaTranslator/LunaTranslator/metadata/vndb.py index 145df059..052211c5 100644 --- a/LunaTranslator/LunaTranslator/metadata/vndb.py +++ b/LunaTranslator/LunaTranslator/metadata/vndb.py @@ -281,7 +281,7 @@ class vndbsettings(QDialog): super().__init__(parent, Qt.WindowType.WindowCloseButtonHint) self._ref = _ref self.resize(QSize(800, 10)) - self.setWindowTitle("vndb") + self.setWindowTitle(self._ref.config_all["name"]) fl = QFormLayout(self) fl.addRow("Token", getlineedit(_ref.config, "Token")) btn = QPushButton(_TR("上传游戏"))