mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
feat: add success notification modal for balance and subscription events
- Add zustand store for global success notifications - Create SuccessNotificationModal component with prominent UI - Update WebSocketNotifications to show modal for important events: - balance.topup shows balance topped up modal - subscription.activated shows activation modal - subscription.renewed shows renewal modal - Add translations for all locales (ru, en, zh, fa)
This commit is contained in:
@@ -123,6 +123,27 @@
|
||||
"receivedMessage": "Получен платёж на сумму {{amount}} {{currency}}"
|
||||
}
|
||||
},
|
||||
"successNotification": {
|
||||
"balanceTopup": {
|
||||
"title": "Баланс пополнен!"
|
||||
},
|
||||
"subscriptionActivated": {
|
||||
"title": "Подписка активирована!"
|
||||
},
|
||||
"subscriptionRenewed": {
|
||||
"title": "Подписка продлена!"
|
||||
},
|
||||
"subscriptionPurchased": {
|
||||
"title": "Подписка оплачена!"
|
||||
},
|
||||
"amount": "Сумма",
|
||||
"price": "Стоимость",
|
||||
"newBalance": "Новый баланс",
|
||||
"tariff": "Тариф",
|
||||
"validUntil": "Действует до",
|
||||
"goToSubscription": "Перейти к подписке",
|
||||
"goToBalance": "Перейти к балансу"
|
||||
},
|
||||
"auth": {
|
||||
"login": "Вход",
|
||||
"register": "Регистрация",
|
||||
|
||||
Reference in New Issue
Block a user