From 6f5082b860dfb19bf5ee63d2181d037d08b46d2d Mon Sep 17 00:00:00 2001 From: user Date: Sun, 11 Aug 2024 07:51:17 +0300 Subject: [PATCH] fix home message --- app/bot/routers/home.py | 3 +-- locale/en/LC_MESSAGES/sanic_telegram_bot.mo | Bin 2719 -> 2773 bytes locale/en/LC_MESSAGES/sanic_telegram_bot.po | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/bot/routers/home.py b/app/bot/routers/home.py index d9e5880..78215df 100644 --- a/app/bot/routers/home.py +++ b/app/bot/routers/home.py @@ -15,8 +15,7 @@ async def send_home_menu(chat_wrap, user, wallet_connection, **kwargs): chat_wrap, user.translated('home_menu').format( wallet_address=( Address(wallet_connection.wallet_address).to_string(1, 1, 1) - if wallet_connection.wallet_address - else user.translated('noWalletConnected') + if wallet_connection else user.translated('noWalletConnected') ), name=user.front_format(plain_text=True), ), keyboard=get_inline_keyboard([ diff --git a/locale/en/LC_MESSAGES/sanic_telegram_bot.mo b/locale/en/LC_MESSAGES/sanic_telegram_bot.mo index 75abcd42f294c44be9176ad0835992889027adc8..c19a57dca08117ea27e1e2845d432172042272b3 100644 GIT binary patch delta 664 zcmX}qJxD@P6u|MLJ~R7Pd#M>^L1SP=&=5ogjX@CT(h&M+F*OjHLJFsb7O6m})~Kau zXo@h1qP-!AKA^3kt)+(k=lSZw^>;t?+;h+M(0njU&p~5HXgyBXC7l{VFWj@1FO#Z35H!Iky{3u*^5^siXYgH-Ug8*ny3e@ zpav>qAMWEYUZVc~)A1WOnfrY8M7B^Xa)28545zV%H=HjTBW3P+e{P;az{ZFq!Q+6&YQ)KFhhtE){f_t$tG`%+URAr!#QP;Wu!$NA_VJopq_XIK4CM03rEJzJ&g64BD_yiQ=VP8x TBQ%$fui5MI^#8`PZ`|_>&_F@7 delta 610 zcmXZZzb`{k7{>8eTZ&SYy6Q(%6Pu8BV6reuOcFNQL}KY821$p8Nj0&QNkSKsv5Unb zF-TM_hAtMVe}IJ;e4lggNzVP;bMCqCIq!SklGn-ddm?gSvo%zxqt{@@VC!+xAJ_As79{x91iFT+f%qZSr|@qxd=UIU<;2Kw^0??i~8|OxWc%KkNASSc;0Px#{Txpi!!WG7kP^t*hFoR z={3vYJSvks#&I82$|F<-t4Lz*(BQI{YTSamHug3WcNJ6YEQfWipC<{srh8LhZKlA) lbtUb?@!E38OQ}veg6c;7UA|ymtr%)Gw!*nc<0`ro{s#mUG%5f9 diff --git a/locale/en/LC_MESSAGES/sanic_telegram_bot.po b/locale/en/LC_MESSAGES/sanic_telegram_bot.po index 0e02e43..5f7e7fb 100644 --- a/locale/en/LC_MESSAGES/sanic_telegram_bot.po +++ b/locale/en/LC_MESSAGES/sanic_telegram_bot.po @@ -158,3 +158,6 @@ msgstr "Cancel purchase" msgid "openContractPage_button" msgstr "Open smartcontract" + +msgid "noWalletConnected" +msgstr "No wallet connected"