Add translations

This commit is contained in:
heboba
2026-02-26 20:25:09 +00:00
parent 9ab125b1a6
commit 06add127ff
2 changed files with 407 additions and 61 deletions

View File

@@ -44,7 +44,7 @@ def get_router() -> APIRouter:
chat_id, display_name = await svc.auth.handle_callback(code=code, state=state)
runner = request.app.state.runtime.telegram_runner
if runner is not None:
await runner.send_message(chat_id, f"Spotify подключен: {display_name}\nТеперь можно /generate")
await runner.send_spotify_connected_notice(chat_id, display_name)
return """
<html><body style="font-family:sans-serif;padding:24px">
<h2>Spotify connected</h2>