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 अपडेट सफलतापूर्वक पूर्ण!",
"pip_failed": "❌ Pip अपडेट असफल: {error}",
"already_up_to_date": "✅ yt-dlp पहले से अप टू डेट है!",
"pip_timeout": "❌ pip अपडेट 5 मिनट के बाद समय समाप्त हो गया"
"pip_timeout": "❌ pip अपडेट 5 मिनट के बाद समय समाप्त हो गया",
"update_success": "✅ yt-dlp सफलतापूर्वक अपडेट किया गया है!",
"already_latest": "yt-dlp अप टू डेट है (संस्करण {version})",
"network_error": "❌ अपडेट के दौरान नेटवर्क त्रुटि: {error}",
"general_error": "❌ अपडेट असफल: {error}",
"error_pip_update": "❌ pip अपडेट के दौरान त्रुटि: {error}",
"pip_update_failed": "❌ Pip अपडेट असफल: {error}"
},
"about": {
"title": "YTSage के बारे में",