diff --git a/app/bot/routers/tonconnect.py b/app/bot/routers/tonconnect.py index 4416d81..d7bf70d 100644 --- a/app/bot/routers/tonconnect.py +++ b/app/bot/routers/tonconnect.py @@ -97,6 +97,9 @@ async def t_callback_init_tonconnect(query: types.CallbackQuery, memory=None, us WalletConnection.invalidated == False ).first() if new_connection: + await tg_process_template( + chat_wrap, user.translated('p_successConnectWallet') + ) await send_home_menu(chat_wrap, user, new_connection) break diff --git a/locale/en/LC_MESSAGES/sanic_telegram_bot.mo b/locale/en/LC_MESSAGES/sanic_telegram_bot.mo index 9a4c0b6..6082507 100644 Binary files a/locale/en/LC_MESSAGES/sanic_telegram_bot.mo and b/locale/en/LC_MESSAGES/sanic_telegram_bot.mo differ diff --git a/locale/en/LC_MESSAGES/sanic_telegram_bot.po b/locale/en/LC_MESSAGES/sanic_telegram_bot.po index 52e1e0d..412bf6d 100644 --- a/locale/en/LC_MESSAGES/sanic_telegram_bot.po +++ b/locale/en/LC_MESSAGES/sanic_telegram_bot.po @@ -6,21 +6,60 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" +"Project-Id-Version: 1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-26 00:20+0300\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" +"POT-Creation-Date: 2024-02-29 01:26+0300\n" +"PO-Revision-Date: 2024-02-29 01:00+0\n" +"Last-Translator: oscux\n" +"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: app/bot/routers/index.py:34 +#: app/bot/routers/home.py:16 msgid "home_menu" -msgstr "Home menu" +msgstr "Hi, {name}!" +"\n\n" +"Here you can upload your content to the blockchain and manage it." -#: app/bot/routers/index.py:57 +#: app/bot/routers/home.py:20 +msgid "ownedContent_button" +msgstr "📊 My content" + +#: app/bot/routers/home.py:24 +msgid "disconnectWallet_button" +msgstr "🔌 Disconnect wallet" + +#: app/bot/routers/home.py:35 +msgid "connectWalletsList_menu" +msgstr "–> To work, you need to connect your wallet" +"\n\n" +"Please select the wallet you want to connect:" + +#: app/bot/routers/index.py:23 msgid "error_unknownCommand" -msgstr "Error: unknown command" +msgstr "Unknown command, please try again or press /start" + +#: app/bot/routers/content.py:16 +msgid "ownedContent_menu" +msgstr "📊 My content" +"\n\n" +"Here you can see the list of your content." + +#: app/bot/routers/content.py:21 +msgid "webApp_uploadContent_button" +msgstr "📤 Upload content" + +#: app/bot/routers/content.py:27 +msgid "back_button" +msgstr "◀️ Back" + +#: app/bot/routers/tonconnect.py:80 +msgid "tonconnectInit_menu" +msgstr "🔌 Connect wallet" +"\n\n" +"Press the button below to connect your wallet." + +#: app/bot/routers/tonconnect.py:101 +msgid "p_successConnectWallet" +msgstr "✅ Wallet connected successfully"