Localize log window title in LogWindow dialog

Replaced the hardcoded log window title with a localized string using the translation function. This improves internationalization support for the dialog.
This commit is contained in:
oop7
2026-01-24 19:50:13 +02:00
parent 53049fc046
commit 1102f7fd4e
@@ -31,7 +31,7 @@ from src.core.ytsage_deno import check_deno_installed, get_deno_path
class LogWindow(QDialog): class LogWindow(QDialog):
def __init__(self, parent=None) -> None: def __init__(self, parent=None) -> None:
super().__init__(parent) super().__init__(parent)
self.setWindowTitle("yt-dlp Log") self.setWindowTitle(_("dialogs.ytdlp_log_title"))
self.setMinimumSize(700, 500) self.setMinimumSize(700, 500)
layout = QVBoxLayout(self) layout = QVBoxLayout(self)