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 Telegram localization strings for user authentication and chat management

Tonho5898ae344148
diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json
index 8f9483b7..011d35c3 100644
--- a/src/lib/i18n/en.json
+++ b/src/lib/i18n/en.json
@@ -3,6 +3,7 @@
"home": "Home",
"downloads": "Downloads",
"hotmart": "Hotmart",
+ "telegram": "Telegram",
"settings": "Settings",
"about": "About"
},
@@ -60,6 +61,54 @@
"refresh": "Refresh",
"unknown_error": "Unknown error"
},
+ "telegram": {
+ "title": "Telegram",
+ "checking_session": "Checking session...",
+ "login": "Sign in",
+ "logout": "Sign out",
+ "logged_as": "Logged in as {{phone}}",
+ "phone_label": "Phone number",
+ "phone_placeholder": "+1 234 567 8900",
+ "phone_hint": "Include the country code",
+ "send_code": "Send code",
+ "sending_code": "Sending...",
+ "code_label": "Verification code",
+ "code_placeholder": "00000",
+ "code_hint": "We sent a code to your Telegram app",
+ "verify": "Verify",
+ "verifying": "Verifying...",
+ "invalid_code": "Invalid code. Please try again.",
+ "password_label": "Two-factor password",
+ "password_placeholder": "Your 2FA password",
+ "password_hint": "Hint: {{hint}}",
+ "password_submit": "Confirm",
+ "password_verifying": "Verifying...",
+ "invalid_password": "Invalid password. Please try again.",
+ "chats_title": "Your Chats",
+ "loading_chats": "Loading chats...",
+ "chats_error": "Failed to load chats",
+ "no_chats": "No chats found.",
+ "chat_count": "{{count}} chats",
+ "chat_count_one": "{{count}} chat",
+ "chat_type_private": "Private",
+ "chat_type_group": "Group",
+ "chat_type_channel": "Channel",
+ "media_title": "Media",
+ "loading_media": "Loading media...",
+ "no_media": "No media found in this chat.",
+ "media_error": "Failed to load media",
+ "filter_all": "All",
+ "filter_photo": "Photos",
+ "filter_video": "Videos",
+ "filter_document": "Files",
+ "filter_audio": "Audio",
+ "back_to_chats": "Back to chats",
+ "download_btn": "Download",
+ "downloading": "Downloading...",
+ "downloaded": "Downloaded",
+ "choose_folder": "Choose download folder",
+ "unknown_error": "Unknown error"
+ },
"settings": {
"title": "Settings",
"appearance": {
@@ -141,7 +190,7 @@
"star_description": "if you enjoy the project, leave a star!",
"version": "version",
"features_title": "what we've built so far",
- "feature_platforms": "downloads from 9+ platforms: YouTube, Instagram, TikTok, Twitter/X, Reddit, Twitch, Pinterest, Bluesky",
+ "feature_platforms": "downloads from 10+ platforms: YouTube, Instagram, TikTok, Twitter/X, Reddit, Twitch, Pinterest, Bluesky, Telegram",
"feature_hotmart": "Hotmart course downloads with login (videos, attachments, descriptions)",
"feature_progress": "real-time download progress with ETA and speed",
"feature_mascot": "Loop, the mascot that reacts to your downloads",
diff --git a/src/lib/i18n/pt.json b/src/lib/i18n/pt.json
index 0cb5c6f1..bc9c7c23 100644
--- a/src/lib/i18n/pt.json
+++ b/src/lib/i18n/pt.json
@@ -3,6 +3,7 @@
"home": "Início",
"downloads": "Downloads",
"hotmart": "Hotmart",
+ "telegram": "Telegram",
"settings": "Configurações",
"about": "Sobre"
},
@@ -60,6 +61,54 @@
"refresh": "Atualizar",
"unknown_error": "Erro desconhecido"
},
+ "telegram": {
+ "title": "Telegram",
+ "checking_session": "Verificando sessão...",
+ "login": "Entrar",
+ "logout": "Sair",
+ "logged_as": "Logado como {{phone}}",
+ "phone_label": "Número de telefone",
+ "phone_placeholder": "+55 11 91234 5678",
+ "phone_hint": "Inclua o código do país",
+ "send_code": "Enviar código",
+ "sending_code": "Enviando...",
+ "code_label": "Código de verificação",
+ "code_placeholder": "00000",
+ "code_hint": "Enviamos um código para o seu Telegram",
+ "verify": "Verificar",
+ "verifying": "Verificando...",
+ "invalid_code": "Código inválido. Tente novamente.",
+ "password_label": "Senha de dois fatores",
+ "password_placeholder": "Sua senha 2FA",
+ "password_hint": "Dica: {{hint}}",
+ "password_submit": "Confirmar",
+ "password_verifying": "Verificando...",
+ "invalid_password": "Senha inválida. Tente novamente.",
+ "chats_title": "Seus Chats",
+ "loading_chats": "Carregando chats...",
+ "chats_error": "Erro ao carregar chats",
+ "no_chats": "Nenhum chat encontrado.",
+ "chat_count": "{{count}} chats",
+ "chat_count_one": "{{count}} chat",
+ "chat_type_private": "Privado",
+ "chat_type_group": "Grupo",
+ "chat_type_channel": "Canal",
+ "media_title": "Mídia",
+ "loading_media": "Carregando mídia...",
+ "no_media": "Nenhuma mídia encontrada neste chat.",
+ "media_error": "Erro ao carregar mídia",
+ "filter_all": "Tudo",
+ "filter_photo": "Fotos",
+ "filter_video": "Vídeos",
+ "filter_document": "Arquivos",
+ "filter_audio": "Áudio",
+ "back_to_chats": "Voltar aos chats",
+ "download_btn": "Baixar",
+ "downloading": "Baixando...",
+ "downloaded": "Baixado",
+ "choose_folder": "Escolher pasta de download",
+ "unknown_error": "Erro desconhecido"
+ },
"settings": {
"title": "Configurações",
"appearance": {
@@ -141,7 +190,7 @@
"star_description": "se gostou do projeto, deixe uma estrela!",
"version": "versão",
"features_title": "o que já temos",
- "feature_platforms": "download de 9+ plataformas: YouTube, Instagram, TikTok, Twitter/X, Reddit, Twitch, Pinterest, Bluesky",
+ "feature_platforms": "download de 10+ plataformas: YouTube, Instagram, TikTok, Twitter/X, Reddit, Twitch, Pinterest, Bluesky, Telegram",
"feature_hotmart": "download de cursos Hotmart com login (vídeos, anexos, descrições)",
"feature_progress": "progresso em tempo real com ETA e velocidade",
"feature_mascot": "Loop, o mascote que reage aos seus downloads",