Add Keys for update and error messages

Replaces hardcoded update and error strings in ytsage_dialogs_update.py with internationalized messages. Adds new translation keys for update success, already latest, network error, general error, pip update errors, and pip update failed in all supported languages.
This commit is contained in:
oop7
2025-10-13 15:15:27 +03:00
parent 0530f86a4c
commit 3c8fa38a94
15 changed files with 105 additions and 21 deletions
+7 -1
View File
@@ -210,7 +210,13 @@
"pip_completed": "✅ Pip-Update erfolgreich abgeschlossen!",
"pip_failed": "❌ Pip-Update fehlgeschlagen: {error}",
"already_up_to_date": "✅ yt-dlp ist bereits auf dem neuesten Stand!",
"pip_timeout": "❌ Pip-Update nach 5 Minuten abgelaufen"
"pip_timeout": "❌ Pip-Update nach 5 Minuten abgelaufen",
"update_success": "✅ yt-dlp wurde erfolgreich aktualisiert!",
"already_latest": "yt-dlp ist auf dem neuesten Stand (Version {version})",
"network_error": "❌ Netzwerkfehler während des Updates: {error}",
"general_error": "❌ Update fehlgeschlagen: {error}",
"error_pip_update": "❌ Fehler während des Pip-Updates: {error}",
"pip_update_failed": "❌ Pip-Update fehlgeschlagen: {error}"
},
"about": {
"title": "Über YTSage",