mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
feat: add ButtonsTab for per-section button style customization
Visual editor in admin settings for configuring Telegram button colors and custom emoji IDs per menu section. Includes API client, draft state management, save/reset, and translations for ru/en/fa/zh locales.
This commit is contained in:
@@ -1217,6 +1217,7 @@
|
||||
"noSearchResults": "Nothing found",
|
||||
"example": "Example",
|
||||
"analytics": "Analytics",
|
||||
"buttons": "Buttons",
|
||||
"notConfigured": "Not configured",
|
||||
"counterActive": "Active",
|
||||
"counterInactive": "Inactive",
|
||||
@@ -1286,6 +1287,35 @@
|
||||
"quickPresets": "Quick presets",
|
||||
"saturation": "Saturation"
|
||||
},
|
||||
"buttons": {
|
||||
"color": "Button color",
|
||||
"emojiId": "Custom Emoji ID",
|
||||
"emojiPlaceholder": "Custom emoji ID (optional)",
|
||||
"resetAll": "Reset all styles",
|
||||
"sections": {
|
||||
"home": "Home",
|
||||
"subscription": "Subscription",
|
||||
"balance": "Balance",
|
||||
"referral": "Referrals",
|
||||
"support": "Support",
|
||||
"info": "Info",
|
||||
"admin": "Admin Panel"
|
||||
},
|
||||
"descriptions": {
|
||||
"home": "Personal cabinet button",
|
||||
"subscription": "Subscription management",
|
||||
"balance": "Top-up and balance",
|
||||
"referral": "Referral program",
|
||||
"support": "Support tickets",
|
||||
"info": "Information section",
|
||||
"admin": "Web admin panel"
|
||||
},
|
||||
"styles": {
|
||||
"primary": "Blue",
|
||||
"success": "Green",
|
||||
"danger": "Red"
|
||||
}
|
||||
},
|
||||
"apps": {
|
||||
"title": "App Management",
|
||||
"addApp": "Add App",
|
||||
|
||||
Reference in New Issue
Block a user