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について",