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:
+7
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user