Localize current version label in auto-update dialog
Replaced hardcoded current version label with a localized string using the translation function in the AutoUpdateSettingsDialog.
This commit is contained in:
@@ -573,7 +573,7 @@ class AutoUpdateSettingsDialog(QDialog):
|
|||||||
|
|
||||||
# Update status labels
|
# Update status labels
|
||||||
current_version = get_ytdlp_version()
|
current_version = get_ytdlp_version()
|
||||||
self.current_version_label.setText(f"Current yt-dlp version: {current_version}")
|
self.current_version_label.setText(_("auto_update.current_version", version=current_version))
|
||||||
|
|
||||||
last_check = settings["last_check"]
|
last_check = settings["last_check"]
|
||||||
if last_check > 0:
|
if last_check > 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user