mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
feat: add per-channel disable settings and global settings to channel admin
- Add global settings section (CHANNEL_IS_REQUIRED_SUB, trial/paid toggles) at top of AdminChannelSubscriptions page - Add per-channel disable_trial_on_leave and disable_paid_on_leave toggles in each channel card with inline Toggle controls - Update RequiredChannel type and API request interfaces with new fields - Add translations for globalSettings and perChannel in en/ru/fa/zh locales
This commit is contained in:
@@ -1322,6 +1322,21 @@
|
||||
"submit": "Add",
|
||||
"save": "Save",
|
||||
"cancel": "Cancel"
|
||||
},
|
||||
"globalSettings": {
|
||||
"title": "Channel Settings",
|
||||
"channelRequired": "Require subscription",
|
||||
"channelRequiredDesc": "Users must subscribe to channels to use the bot",
|
||||
"disableTrialOnUnsub": "Disable trial on unsubscribe",
|
||||
"disableTrialOnUnsubDesc": "Revoke trial access when user unsubscribes from any channel",
|
||||
"requiredForAll": "Required for all users",
|
||||
"requiredForAllDesc": "Apply channel subscription check to all users, including paid"
|
||||
},
|
||||
"perChannel": {
|
||||
"disableTrial": "Disable trial on leave",
|
||||
"disableTrialDesc": "Revoke trial when user leaves this channel",
|
||||
"disablePaid": "Disable paid on leave",
|
||||
"disablePaidDesc": "Revoke paid access when user leaves this channel"
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
|
||||
Reference in New Issue
Block a user