dev@locazia: new texts

This commit is contained in:
user 2024-02-29 01:36:25 +03:00
parent ccd686865d
commit 07a0f83ad9
3 changed files with 52 additions and 10 deletions

View File

@ -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

View File

@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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, <b>{name}</b>!"
"\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 "<b>> To work, you need to connect your wallet</b>"
"\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 "📊 <b>My content</b>"
"\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 "🔌 <b>Connect wallet</b>"
"\n\n"
"Press the button below to connect your wallet."
#: app/bot/routers/tonconnect.py:101
msgid "p_successConnectWallet"
msgstr "✅ Wallet connected successfully"