feat(cabinet): legal footer on login + admin toggle

Adds a legal footer (Public Offer / Privacy / Recurring Payments) under the
login card, gated by CABINET_FOOTER_ENABLED (backend endpoint added in bot
PR #3011), plus an admin toggle in BrandingTab and ru/en/fa/zh i18n.

Footer-only subset of PR #464 — excludes the unrelated storePartnerClickId
helper and the version/CHANGELOG churn.

Co-authored-by: smediainfo <dev@matrixvpn.top>
This commit is contained in:
Fringg
2026-06-30 07:30:59 +03:00
parent fd5500c85b
commit 984d1b0776
8 changed files with 136 additions and 4 deletions

View File

@@ -1973,7 +1973,9 @@
"telegramOidcClientSecret": "Client Secret"
},
"offlineConv": "离线转化",
"apiKey": "API 密钥"
"apiKey": "API 密钥",
"legalFooter": "法律页脚",
"legalFooterDesc": "登录页面底部的要约、隐私政策和定期付款链接"
},
"buttons": {
"color": "按钮颜色",
@@ -4898,5 +4900,10 @@
"empty": "您还没有订阅",
"emptyDesc": "选择套餐以开始使用",
"title": "我的订阅"
},
"footer": {
"offer": "公开要约",
"privacy": "隐私政策",
"recurrent": "定期付款"
}
}