Add open_logs strings to localizations
Add open_logs and logs_tooltip localization entries across multiple language JSON files (ar, de, en, es, fr, hi, id, it, ja, pl, pt, ru, tr, zh) so the About/System Info UI can expose an action to open the application logs folder. Also add an "about" section to ytsage/utils/ytsage_localization.py with default entries (open_logs, logs_tooltip, refresh). This wires the logs-folder UI text into the localization system.
This commit is contained in:
@@ -245,6 +245,8 @@
|
|||||||
"system_info": "معلومات النظام",
|
"system_info": "معلومات النظام",
|
||||||
"loading": "🔄 جاري تحميل معلومات النظام...",
|
"loading": "🔄 جاري تحميل معلومات النظام...",
|
||||||
"refresh": "🔄",
|
"refresh": "🔄",
|
||||||
|
"open_logs": "📂 السجلات",
|
||||||
|
"logs_tooltip": "فتح مجلد سجلات التطبيق",
|
||||||
"refreshing": "🔄 جاري التحديث...",
|
"refreshing": "🔄 جاري التحديث...",
|
||||||
"refresh_failed": "فشل التحديث",
|
"refresh_failed": "فشل التحديث",
|
||||||
"refresh_failed_message": "تعذر تحديث معلومات الإصدار.",
|
"refresh_failed_message": "تعذر تحديث معلومات الإصدار.",
|
||||||
|
|||||||
@@ -245,6 +245,8 @@
|
|||||||
"system_info": "Systeminformationen",
|
"system_info": "Systeminformationen",
|
||||||
"loading": "🔄 Systeminformationen werden geladen...",
|
"loading": "🔄 Systeminformationen werden geladen...",
|
||||||
"refresh": "🔄",
|
"refresh": "🔄",
|
||||||
|
"open_logs": "📂 Logs",
|
||||||
|
"logs_tooltip": "Anwendungs-Protokollordner öffnen",
|
||||||
"refreshing": "🔄 Wird aktualisiert...",
|
"refreshing": "🔄 Wird aktualisiert...",
|
||||||
"refresh_failed": "Aktualisierung fehlgeschlagen",
|
"refresh_failed": "Aktualisierung fehlgeschlagen",
|
||||||
"refresh_failed_message": "Versionsinformationen konnten nicht aktualisiert werden.",
|
"refresh_failed_message": "Versionsinformationen konnten nicht aktualisiert werden.",
|
||||||
|
|||||||
@@ -246,6 +246,8 @@
|
|||||||
"system_info": "System Information",
|
"system_info": "System Information",
|
||||||
"loading": "🔄 Loading system information...",
|
"loading": "🔄 Loading system information...",
|
||||||
"refresh": "🔄",
|
"refresh": "🔄",
|
||||||
|
"open_logs": "📂 Logs",
|
||||||
|
"logs_tooltip": "Open application logs folder",
|
||||||
"refreshing": "🔄 Refreshing...",
|
"refreshing": "🔄 Refreshing...",
|
||||||
"refresh_failed": "Refresh Failed",
|
"refresh_failed": "Refresh Failed",
|
||||||
"refresh_failed_message": "Could not refresh version information.",
|
"refresh_failed_message": "Could not refresh version information.",
|
||||||
|
|||||||
@@ -205,6 +205,8 @@
|
|||||||
"system_info": "Información del Sistema",
|
"system_info": "Información del Sistema",
|
||||||
"loading": "🔄 Cargando información del sistema...",
|
"loading": "🔄 Cargando información del sistema...",
|
||||||
"refresh": "🔄",
|
"refresh": "🔄",
|
||||||
|
"open_logs": "📂 Registros",
|
||||||
|
"logs_tooltip": "Abrir carpeta de registros de la aplicación",
|
||||||
"refreshing": "🔄 Actualizando...",
|
"refreshing": "🔄 Actualizando...",
|
||||||
"refresh_failed": "Actualización Fallida",
|
"refresh_failed": "Actualización Fallida",
|
||||||
"refresh_failed_message": "No se pudo actualizar la información de versión.",
|
"refresh_failed_message": "No se pudo actualizar la información de versión.",
|
||||||
|
|||||||
@@ -245,6 +245,8 @@
|
|||||||
"system_info": "Informations système",
|
"system_info": "Informations système",
|
||||||
"loading": "🔄 Chargement des informations système...",
|
"loading": "🔄 Chargement des informations système...",
|
||||||
"refresh": "🔄",
|
"refresh": "🔄",
|
||||||
|
"open_logs": "📂 Journaux",
|
||||||
|
"logs_tooltip": "Ouvrir le dossier des journaux d'application",
|
||||||
"refreshing": "🔄 Actualisation...",
|
"refreshing": "🔄 Actualisation...",
|
||||||
"refresh_failed": "Échec de l'actualisation",
|
"refresh_failed": "Échec de l'actualisation",
|
||||||
"refresh_failed_message": "Impossible d'actualiser les informations de version.",
|
"refresh_failed_message": "Impossible d'actualiser les informations de version.",
|
||||||
|
|||||||
@@ -245,6 +245,8 @@
|
|||||||
"system_info": "सिस्टम जानकारी",
|
"system_info": "सिस्टम जानकारी",
|
||||||
"loading": "🔄 सिस्टम जानकारी लोड हो रही है...",
|
"loading": "🔄 सिस्टम जानकारी लोड हो रही है...",
|
||||||
"refresh": "🔄",
|
"refresh": "🔄",
|
||||||
|
"open_logs": "📂 लॉग्स",
|
||||||
|
"logs_tooltip": "एप्लिकेशन लॉग फ़ोल्डर खोलें",
|
||||||
"refreshing": "🔄 रिफ्रेश हो रहा है...",
|
"refreshing": "🔄 रिफ्रेश हो रहा है...",
|
||||||
"refresh_failed": "रिफ्रेश असफल",
|
"refresh_failed": "रिफ्रेश असफल",
|
||||||
"refresh_failed_message": "संस्करण जानकारी रिफ्रेश करने में असमर्थ।",
|
"refresh_failed_message": "संस्करण जानकारी रिफ्रेश करने में असमर्थ।",
|
||||||
|
|||||||
@@ -245,6 +245,8 @@
|
|||||||
"system_info": "Informasi sistem",
|
"system_info": "Informasi sistem",
|
||||||
"loading": "🔄 Memuat informasi sistem...",
|
"loading": "🔄 Memuat informasi sistem...",
|
||||||
"refresh": "🔄",
|
"refresh": "🔄",
|
||||||
|
"open_logs": "📂 Log",
|
||||||
|
"logs_tooltip": "Buka folder log aplikasi",
|
||||||
"refreshing": "🔄 Menyegarkan...",
|
"refreshing": "🔄 Menyegarkan...",
|
||||||
"refresh_failed": "Gagal menyegarkan",
|
"refresh_failed": "Gagal menyegarkan",
|
||||||
"refresh_failed_message": "Tidak dapat menyegarkan informasi versi.",
|
"refresh_failed_message": "Tidak dapat menyegarkan informasi versi.",
|
||||||
|
|||||||
@@ -245,6 +245,8 @@
|
|||||||
"system_info": "Informazioni sistema",
|
"system_info": "Informazioni sistema",
|
||||||
"loading": "🔄 Caricamento informazioni sistema...",
|
"loading": "🔄 Caricamento informazioni sistema...",
|
||||||
"refresh": "🔄",
|
"refresh": "🔄",
|
||||||
|
"open_logs": "📂 Log",
|
||||||
|
"logs_tooltip": "Apri cartella log applicazione",
|
||||||
"refreshing": "🔄 Aggiornamento...",
|
"refreshing": "🔄 Aggiornamento...",
|
||||||
"refresh_failed": "Aggiornamento fallito",
|
"refresh_failed": "Aggiornamento fallito",
|
||||||
"refresh_failed_message": "Impossibile aggiornare le informazioni sulla versione.",
|
"refresh_failed_message": "Impossibile aggiornare le informazioni sulla versione.",
|
||||||
|
|||||||
@@ -245,6 +245,8 @@
|
|||||||
"system_info": "システム情報",
|
"system_info": "システム情報",
|
||||||
"loading": "🔄 システム情報を読み込み中...",
|
"loading": "🔄 システム情報を読み込み中...",
|
||||||
"refresh": "🔄",
|
"refresh": "🔄",
|
||||||
|
"open_logs": "📂 ログ",
|
||||||
|
"logs_tooltip": "アプリケーションのログフォルダを開く",
|
||||||
"refreshing": "🔄 更新中...",
|
"refreshing": "🔄 更新中...",
|
||||||
"refresh_failed": "更新に失敗しました",
|
"refresh_failed": "更新に失敗しました",
|
||||||
"refresh_failed_message": "バージョン情報を更新できませんでした。",
|
"refresh_failed_message": "バージョン情報を更新できませんでした。",
|
||||||
|
|||||||
@@ -245,6 +245,8 @@
|
|||||||
"system_info": "Informacje systemowe",
|
"system_info": "Informacje systemowe",
|
||||||
"loading": "🔄 Ładowanie informacji systemowych...",
|
"loading": "🔄 Ładowanie informacji systemowych...",
|
||||||
"refresh": "🔄",
|
"refresh": "🔄",
|
||||||
|
"open_logs": "📂 Logi",
|
||||||
|
"logs_tooltip": "Otwórz folder logów aplikacji",
|
||||||
"refreshing": "🔄 Odświeżanie...",
|
"refreshing": "🔄 Odświeżanie...",
|
||||||
"refresh_failed": "Odświeżanie nie powiodło się",
|
"refresh_failed": "Odświeżanie nie powiodło się",
|
||||||
"refresh_failed_message": "Nie można odświeżyć informacji o wersji.",
|
"refresh_failed_message": "Nie można odświeżyć informacji o wersji.",
|
||||||
|
|||||||
@@ -245,6 +245,8 @@
|
|||||||
"system_info": "Informações do Sistema",
|
"system_info": "Informações do Sistema",
|
||||||
"loading": "🔄 Carregando informações do sistema...",
|
"loading": "🔄 Carregando informações do sistema...",
|
||||||
"refresh": "🔄",
|
"refresh": "🔄",
|
||||||
|
"open_logs": "📂 Logs",
|
||||||
|
"logs_tooltip": "Abrir pasta de logs da aplicação",
|
||||||
"refreshing": "🔄 Atualizando...",
|
"refreshing": "🔄 Atualizando...",
|
||||||
"refresh_failed": "Atualização Falhou",
|
"refresh_failed": "Atualização Falhou",
|
||||||
"refresh_failed_message": "Não foi possível atualizar as informações de versão.",
|
"refresh_failed_message": "Não foi possível atualizar as informações de versão.",
|
||||||
|
|||||||
@@ -245,6 +245,8 @@
|
|||||||
"system_info": "Системная информация",
|
"system_info": "Системная информация",
|
||||||
"loading": "🔄 Загрузка системной информации...",
|
"loading": "🔄 Загрузка системной информации...",
|
||||||
"refresh": "🔄",
|
"refresh": "🔄",
|
||||||
|
"open_logs": "📂 Логи",
|
||||||
|
"logs_tooltip": "Открыть папку с логами приложения",
|
||||||
"refreshing": "🔄 Обновление...",
|
"refreshing": "🔄 Обновление...",
|
||||||
"refresh_failed": "Обновление не удалось",
|
"refresh_failed": "Обновление не удалось",
|
||||||
"refresh_failed_message": "Не удалось обновить информацию о версии.",
|
"refresh_failed_message": "Не удалось обновить информацию о версии.",
|
||||||
|
|||||||
@@ -243,6 +243,8 @@
|
|||||||
"system_info": "Sistem bilgileri",
|
"system_info": "Sistem bilgileri",
|
||||||
"loading": "🔄 Sistem bilgileri yükleniyor...",
|
"loading": "🔄 Sistem bilgileri yükleniyor...",
|
||||||
"refresh": "🔄",
|
"refresh": "🔄",
|
||||||
|
"open_logs": "📂 Kayıtlar",
|
||||||
|
"logs_tooltip": "Uygulama kayıt klasörünü aç",
|
||||||
"refreshing": "🔄 Yenileniyor...",
|
"refreshing": "🔄 Yenileniyor...",
|
||||||
"refresh_failed": "Yenileme başarısız",
|
"refresh_failed": "Yenileme başarısız",
|
||||||
"refresh_failed_message": "Sürüm bilgileri yenilenemedi.",
|
"refresh_failed_message": "Sürüm bilgileri yenilenemedi.",
|
||||||
|
|||||||
@@ -233,6 +233,8 @@
|
|||||||
"system_info": "系统信息",
|
"system_info": "系统信息",
|
||||||
"loading": "🔄 正在加载系统信息...",
|
"loading": "🔄 正在加载系统信息...",
|
||||||
"refresh": "🔄",
|
"refresh": "🔄",
|
||||||
|
"open_logs": "📂 日志",
|
||||||
|
"logs_tooltip": "打开应用程序日志文件夹",
|
||||||
"refreshing": "🔄 正在刷新...",
|
"refreshing": "🔄 正在刷新...",
|
||||||
"refresh_failed": "刷新失败",
|
"refresh_failed": "刷新失败",
|
||||||
"refresh_failed_message": "无法刷新版本信息。",
|
"refresh_failed_message": "无法刷新版本信息。",
|
||||||
|
|||||||
@@ -113,6 +113,11 @@ class LocalizationManager:
|
|||||||
"download_failed_return_code_conflict": "Download failed with return code {return_code}. This may be due to a conflict with multiple yt-dlp installations. Try uninstalling any system-installed yt-dlp (e.g. through snap or apt) and restart the application.",
|
"download_failed_return_code_conflict": "Download failed with return code {return_code}. This may be due to a conflict with multiple yt-dlp installations. Try uninstalling any system-installed yt-dlp (e.g. through snap or apt) and restart the application.",
|
||||||
"download_failed_return_code": "Download failed with return code {return_code}",
|
"download_failed_return_code": "Download failed with return code {return_code}",
|
||||||
"direct_command_error": "Error in direct command: {error}"
|
"direct_command_error": "Error in direct command: {error}"
|
||||||
|
},
|
||||||
|
"about": {
|
||||||
|
"open_logs": "📂 Logs",
|
||||||
|
"logs_tooltip": "Open application logs folder",
|
||||||
|
"refresh": "🔄"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user