Add speed and ETA translations; localize status message

Added 'speed' and 'eta' translation keys to all language files for download status. Updated ytsage_downloader.py to use localized labels for speed and ETA in the status message.
This commit is contained in:
Your Name
2025-10-04 13:10:56 +03:00
parent 720c315d33
commit d48a474e00
15 changed files with 40 additions and 17 deletions
+1 -1
View File
@@ -657,7 +657,7 @@ class DownloadThread(QThread):
eta_str = eta_match.group(1) if eta_match else "N/A"
# Simplify status message to only show the speed and ETA
status = f"Speed: {speed_str} | ETA: {eta_str}"
status = f"{_('download.speed')}: {speed_str} | {_('download.eta')}: {eta_str}"
self.update_details.emit(status)
except Exception as e:
# If parsing fails, just show basic status (maybe log the error)