mirror of
https://github.com/marcogll/telegram_expenses_controller.git
synced 2026-01-13 13:25:15 +00:00
feat: translate comments, docstrings, and log messages to Spanish.
This commit is contained in:
@@ -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.",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user