fix home message
This commit is contained in:
parent
d8aeacbdcd
commit
6f5082b860
|
|
@ -15,8 +15,7 @@ async def send_home_menu(chat_wrap, user, wallet_connection, **kwargs):
|
||||||
chat_wrap, user.translated('home_menu').format(
|
chat_wrap, user.translated('home_menu').format(
|
||||||
wallet_address=(
|
wallet_address=(
|
||||||
Address(wallet_connection.wallet_address).to_string(1, 1, 1)
|
Address(wallet_connection.wallet_address).to_string(1, 1, 1)
|
||||||
if wallet_connection.wallet_address
|
if wallet_connection else user.translated('noWalletConnected')
|
||||||
else user.translated('noWalletConnected')
|
|
||||||
),
|
),
|
||||||
name=user.front_format(plain_text=True),
|
name=user.front_format(plain_text=True),
|
||||||
), keyboard=get_inline_keyboard([
|
), keyboard=get_inline_keyboard([
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -158,3 +158,6 @@ msgstr "Cancel purchase"
|
||||||
|
|
||||||
msgid "openContractPage_button"
|
msgid "openContractPage_button"
|
||||||
msgstr "Open smartcontract"
|
msgstr "Open smartcontract"
|
||||||
|
|
||||||
|
msgid "noWalletConnected"
|
||||||
|
msgstr "No wallet connected"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue