dev@locazia: fix ui

This commit is contained in:
user 2024-03-08 23:08:59 +03:00
parent 836adaf7b2
commit 962e8dce16
4 changed files with 5 additions and 5 deletions

View File

@ -73,7 +73,7 @@ async def s_api_v1_storage_post(request):
await file.write(file_content) await file.write(file_content)
new_content_id = new_content.cid new_content_id = new_content.cid
new_cid_v1 = new_content.serialize_v1() new_cid_v1 = new_content_id.serialize_v1()
new_cid = new_content_id.serialize_v2() new_cid = new_content_id.serialize_v2()
return response.json({ return response.json({

View File

@ -85,7 +85,9 @@ async def t_callback_init_tonconnect(query: types.CallbackQuery, memory=None, us
{ {
'text': user.translated('tonconnectOpenWallet_button'), 'text': user.translated('tonconnectOpenWallet_button'),
'url': connection_link 'url': connection_link
}, }
],
[
{ {
'text': user.translated('home_button'), 'text': user.translated('home_button'),
'callback_data': 'home' 'callback_data': 'home'

View File

@ -65,9 +65,7 @@ msgstr "◀️ Back"
#: app/bot/routers/tonconnect.py:80 #: app/bot/routers/tonconnect.py:80
msgid "tonconnectInit_menu" msgid "tonconnectInit_menu"
msgstr "" msgstr ""
"🔌 <b>Connect wallet</b>\n" "🔌 Press the button below to connect your wallet"
"\n"
"Press the button below to connect your wallet"
#: app/bot/routers/tonconnect.py:101 app/bot/routers/tonconnect.py:105 #: app/bot/routers/tonconnect.py:101 app/bot/routers/tonconnect.py:105
msgid "p_successConnectWallet" msgid "p_successConnectWallet"