Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

feat: translate error message for ongoing download to English

Tonhob943ea2f0456
diff --git a/src-tauri/src/commands/telegram.rs b/src-tauri/src/commands/telegram.rs
index 12920251..ef1c3716 100644
--- a/src-tauri/src/commands/telegram.rs
+++ b/src-tauri/src/commands/telegram.rs
@@ -190,7 +190,7 @@ pub async fn telegram_download_media(
let mut active = state.active_generic_downloads.lock().await;
let key = format!("tg:{}:{}", chat_id, message_id);
if active.values().any(|(u, _)| u == &key) {
- return Err("Download já em andamento para esta mídia".to_string());
+ return Err("Download already in progress for this media".to_string());
}
active.insert(download_id, (key, cancel_token.clone()));
}