Add new translation keys for file exists and auto-update dialogs

Introduces new translation keys for file exists and auto-update dialogs in all supported languages. Updates the settings and main GUI to use these i18n strings instead of hardcoded English text, improving localization and user experience.
This commit is contained in:
Your Name
2025-10-04 13:25:17 +03:00
parent d48a474e00
commit a627dfbf64
16 changed files with 255 additions and 42 deletions
+3 -3
View File
@@ -1480,9 +1480,9 @@ class YTSageApp(QMainWindow, FormatTableMixin, VideoInfoMixin): # Inherit from
# Show a simple message dialog
msg_box = QMessageBox()
msg_box.setIcon(QMessageBox.Icon.Information)
msg_box.setWindowTitle("File Already Exists")
msg_box.setText(f"The file already exists:\n{filename}")
msg_box.setInformativeText("This video has already been downloaded.")
msg_box.setWindowTitle(_("file_exists_dialog.title"))
msg_box.setText(_("file_exists_dialog.message", filename=filename))
msg_box.setInformativeText(_("file_exists_dialog.info"))
msg_box.setStandardButtons(QMessageBox.StandardButton.Ok)
# Set the window icon to match the main application