Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(channels): translate Telegram/Discord user-facing strings to English
Ruben Lütkee31187a2c8ea
diff --git a/jarvis/channels/discord.py b/jarvis/channels/discord.pyindex 77f4223c88..1b5a26b421 100644--- a/jarvis/channels/discord.py+++ b/jarvis/channels/discord.py@@ -149,9 +149,9 @@ class DiscordChannel:token = get_secret("discord_bot_token", env_fallback="DISCORD_BOT_TOKEN")if not token:raise ChannelStartError(- "Discord-Token fehlt. Setup: 'python -m jarvis --wizard' und Bot-Token "- "von https://discord.com/developers/applications eintragen "- "(Message Content Intent aktivieren)."+ "Discord token missing. Setup: run 'python -m jarvis --wizard' and "+ "enter the bot token from https://discord.com/developers/applications "+ "(enable the Message Content Intent).")try:@@ -376,7 +376,7 @@ class DiscordChannel:user_id,exc,)- log.info("Discord first-user pairing: user_id=%s erlaubt", user_id)+ log.info("Discord first-user pairing: user_id=%s allowed", user_id)return Trueasync def _resolve_friend(self, author: Any) -> Friend | None:@@ -446,14 +446,14 @@ class DiscordChannel:raw = msg.metadata.get("discord_channel_id")if raw is None:log.warning(- "DiscordChannel.send_message ohne discord_channel_id (session=%s); drop",+ "DiscordChannel.send_message without discord_channel_id (session=%s); drop",msg.session_id,)returntry:channel_id = int(raw)except (TypeError, ValueError):- log.warning("Invalider discord_channel_id: %r — drop", raw)+ log.warning("Invalid discord_channel_id: %r — drop", raw)returnawait self._send_text(channel_id, msg.content, language="de")diff --git a/jarvis/channels/telegram.py b/jarvis/channels/telegram.pyindex 438ce9a715..7e896554af 100644--- a/jarvis/channels/telegram.py+++ b/jarvis/channels/telegram.py@@ -139,8 +139,8 @@ class TelegramChannel:token = self._token_from_marketplace_store()if not token:raise ChannelStartError(- "Telegram-Token fehlt. Setup: 'python -m jarvis --wizard' und "- "Token von @BotFather (https://t.me/BotFather) eintragen."+ "Telegram token missing. Setup: run 'python -m jarvis --wizard' and "+ "enter the token from @BotFather (https://t.me/BotFather).")# Import python-telegram-bot off the event loop. It is a heavy import@@ -435,14 +435,14 @@ class TelegramChannel:chat_id_raw = msg.metadata.get("telegram_chat_id")if chat_id_raw is None:log.warning(- "TelegramChannel.send_message ohne telegram_chat_id (session=%s); drop",+ "TelegramChannel.send_message without telegram_chat_id (session=%s); drop",msg.session_id,)returntry:chat_id = int(chat_id_raw)except (TypeError, ValueError):- log.warning("Invalider telegram_chat_id: %r — drop", chat_id_raw)+ log.warning("Invalid telegram_chat_id: %r — drop", chat_id_raw)returnawait self._send_text(chat_id, msg.content, language="de")