From 07a0f83ad972b6f81ba5abdd2659b8b11319466c Mon Sep 17 00:00:00 2001 From: user Date: Thu, 29 Feb 2024 01:36:25 +0300 Subject: [PATCH] dev@locazia: new texts --- app/bot/routers/tonconnect.py | 3 + locale/en/LC_MESSAGES/sanic_telegram_bot.mo | Bin 441 -> 1165 bytes locale/en/LC_MESSAGES/sanic_telegram_bot.po | 59 ++++++++++++++++---- 3 files changed, 52 insertions(+), 10 deletions(-) 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 9a4c0b66db958f68042d4d71add00481f0345b7b..6082507cd3d462e91127267f244b81cb74a29b25 100644 GIT binary patch literal 1165 zcmZXT&1w`u5XW1MU!$N=QSbvQXEU4KMIo*+U_K;~EQYYF$E9bsvl(}`d+6?Qvxtz3 z7ZC)bcoDpK(FYJc_yB?juUjdmF%)-WD z-(hZ@K9GMK2QOfMrQmh&9QJkaI2eFu!5DP$Ti|){WpVxiyoCK%@CW!4bebOzG8TfL zK<9t)5Mvdv0ye=AJOzFM=fH2^1bA|cvAbXibh-l&R}PoU=`hTLA%q=+!G#@xL5dxP zIsN}uz{74UNUc?pg-S{h+6O$2g*7XYv8|qvDQib&Bt}4MSlJJonTY@+mZzWmM$R7s2f$X{AZ5_`esgYV{Dg z`^#E0w+Cy?$emz{QG9JC(#d zk~b;b;Mxd#tJ%2YPw)9Tfpww%MZC8i$xe-?gUEVp=grpd&o5{W{b4h~?9SHqEHxDM zmF`Z`K&2#wXp>b`l*yfG>Sw*1nF?k-Z#5R&2r?o@VaRTX;%gS&=Mrbb=o zj8P`FJ|bCSJ8z#-KI^+RL_v#TTu6$>=>QTRdry}?* zJo{z*2z~}%z3h=+{vkZ_^4|OIE`IiQJ_uG99idCKizI4mf%cI`J@kwY147;~56~x` z+xss}T>tN2kWRZ{H8OyciFc1?Sy8c~bK}dkvms2_^(`B5nDaCfN!}RMrBo#} zVlYlZCC=`XnD?bFD?0VsmK$9;AHvN{N{E@_FyM*_Ib>0k@+`Z;R-4y4H*{)r5rSm# zXx0uHNIBfB&z;Y=Jt6d!P<;ENi{_ytkGc2ljM_d~_hMn`ibC5J8N0$jVQfwQ0JEq` ALjV8( 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"