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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user