Add admin features for broadcasts, campaigns, and users

- Introduced new pages and API integrations for managing broadcasts, campaigns, and users in the admin panel.
- Added localization support for new features in English, Persian, Russian, and Chinese.
- Enhanced the AdminPanel to include navigation for the new sections, improving overall admin experience.
This commit is contained in:
PEDZEO
2026-01-17 07:50:17 +03:00
14 changed files with 5284 additions and 63 deletions

View File

@@ -268,8 +268,8 @@
"selectPaymentOption": "Select payment option",
"paymentMethods": {
"yookassa": {
"name": "YooKassa (Bank Card)",
"description": "Pay with bank card via YooKassa"
"name": "YooKassa",
"description": "Pay via YooKassa"
},
"cryptobot": {
"name": "CryptoBot",
@@ -386,7 +386,7 @@
"goToProfile": "Go to Profile",
"useExternalLink": "Please use the external link to get support",
"openSupport": "Open Support",
"contactSupport": "Please contact {username} for support",
"contactSupport": "Please contact {{username}} for support",
"contactUs": "Contact Support"
},
"wheel": {
@@ -442,7 +442,8 @@
"wheel": "Wheel",
"tariffs": "Tariffs",
"servers": "Servers",
"banSystem": "Ban Monitoring"
"banSystem": "Ban Monitoring",
"broadcasts": "Broadcasts"
},
"panel": {
"title": "Admin Panel",
@@ -454,7 +455,8 @@
"wheelDesc": "Configure fortune wheel and prizes",
"tariffsDesc": "Manage tariff plans",
"serversDesc": "Configure VPN servers",
"banSystemDesc": "Ban monitoring and violations"
"banSystemDesc": "Ban monitoring and violations",
"broadcastsDesc": "Mass messaging to users"
},
"wheel": {
"title": "Fortune Wheel Settings",
@@ -514,6 +516,32 @@
"topWins": "Top Wins"
}
},
"broadcasts": {
"title": "Broadcasts",
"subtitle": "Mass messaging to users",
"create": "Create Broadcast",
"empty": "No broadcasts yet",
"selectFilter": "Select audience",
"selectFilterPlaceholder": "Select filter...",
"recipients": "recip.",
"messageText": "Message text",
"messageTextPlaceholder": "Enter broadcast message...",
"media": "Media file",
"addMedia": "Add media",
"uploading": "Uploading...",
"buttons": "Buttons",
"willBeSent": "Will be sent to",
"users": "users",
"send": "Send",
"stop": "Stop",
"progress": "Progress",
"total": "Total",
"sent": "Sent",
"failed": "Failed",
"filter": "Filter",
"message": "Message",
"unknownAdmin": "Unknown admin"
},
"settings": {
"title": "System Settings",
"allCategories": "All categories",