feat: translate comments, docstrings, and log messages to Spanish.

This commit is contained in:
Marco Gallegos
2025-12-18 12:33:39 -06:00
parent 519a5ad705
commit 3b9346fe0f
12 changed files with 205 additions and 205 deletions

View File

@@ -1,14 +1,14 @@
"""
Handler for the /start command.
Manejador para el comando /start.
"""
from telegram import Update
from telegram.ext import ContextTypes
async def start(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
"""Sends a welcome message when the /start command is issued."""
"""Envía un mensaje de bienvenida cuando se emite el comando /start."""
user = update.effective_user
await update.message.reply_html(
rf"Hi {user.mention_html()}! Welcome to the Expense Bot. "
"Send me a message with an expense (e.g., 'lunch 25 eur') "
"or forward a voice message or receipt image.",
rf"¡Hola {user.mention_html()}! Bienvenido al Bot de Gastos. "
"Envíame un mensaje con un gasto (ej., 'comida 25 eur') "
"o reenvía un mensaje de voz o una imagen de un recibo.",
)