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: hardcoded errors to english

Tonhod1049d7426ea
diff --git a/src-tauri/src/platforms/hotmart/parser.rs b/src-tauri/src/platforms/hotmart/parser.rs
index 9665fe6d..10fd2e84 100644
--- a/src-tauri/src/platforms/hotmart/parser.rs
+++ b/src-tauri/src/platforms/hotmart/parser.rs
@@ -89,7 +89,7 @@ pub async fn fetch_player_media_assets(
let script_el = doc
.select(&sel)
.next()
- .ok_or_else(|| anyhow::anyhow!("__NEXT_DATA__ não encontrado no HTML do player"))?;
+ .ok_or_else(|| anyhow::anyhow!("__NEXT_DATA__ not found in player HTML"))?;
let json_text = script_el.text().collect::<String>();
let data: serde_json::Value = serde_json::from_str(&json_text)?;