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: add localization for Udemy login with cookies and related instructions

Tonhobe12a05b64b1
diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json
index 8624fd4e..dc926b39 100644
--- a/src/lib/i18n/en.json
+++ b/src/lib/i18n/en.json
@@ -95,7 +95,14 @@
"choose_folder": "Choose download folder",
"refresh": "Refresh",
"unknown_error": "Unknown error",
- "lectures": "{{count}} lectures"
+ "lectures": "{{count}} lectures",
+ "login_email_tab": "Email (Udemy.com)",
+ "login_cookies_tab": "Cookies (Enterprise)",
+ "cookies_instructions": "For Udemy Business/Enterprise accounts (e.g. company.udemy.com), export your cookies from the browser using an extension like \"Get cookies.txt locally\" in JSON format, then paste or load the file here.",
+ "cookies_placeholder": "Paste cookie JSON here...",
+ "cookies_load_file": "Load JSON file",
+ "cookies_login": "Sign in with Cookies",
+ "logged_as_enterprise": "Logged in as {{email}} ({{portal}}.udemy.com)"
},
"telegram": {
"title": "Telegram",
diff --git a/src/lib/i18n/pt.json b/src/lib/i18n/pt.json
index 7fe43e6c..65fe14d0 100644
--- a/src/lib/i18n/pt.json
+++ b/src/lib/i18n/pt.json
@@ -95,7 +95,14 @@
"choose_folder": "Escolher pasta de download",
"refresh": "Atualizar",
"unknown_error": "Erro desconhecido",
- "lectures": "{{count}} aulas"
+ "lectures": "{{count}} aulas",
+ "login_email_tab": "Email (Udemy.com)",
+ "login_cookies_tab": "Cookies (Empresa)",
+ "cookies_instructions": "Para contas Udemy Business/Enterprise (ex: empresa.udemy.com), exporte seus cookies do navegador usando uma extensão como \"Get cookies.txt locally\" no formato JSON, depois cole ou carregue o arquivo aqui.",
+ "cookies_placeholder": "Cole o JSON de cookies aqui...",
+ "cookies_load_file": "Carregar arquivo JSON",
+ "cookies_login": "Entrar com Cookies",
+ "logged_as_enterprise": "Logado como {{email}} ({{portal}}.udemy.com)"
},
"telegram": {
"title": "Telegram",