mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-03-07 22:43:07 +00:00
Bug 1: Admin tariff change used update_remnawave_user() which returns early when user has no remnawave_uuid. Restored _sync_subscription_to_panel() which discovers/creates panel users via telegram_id/email fallback, then applies traffic reset if RESET_TRAFFIC_ON_TARIFF_SWITCH is enabled. Bug 2: Post-topup cart reminder in payment/common.py had hardcoded Russian text sent to all users regardless of language. Replaced with localized BALANCE_TOPPED_UP_CART_SUFFICIENT/INSUFFICIENT keys and used existing MY_BALANCE_BUTTON/MAIN_MENU_BUTTON for inline keyboard buttons. Added new i18n keys to all 5 locales (ru, en, ua, zh, fa).