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

@@ -2228,7 +2228,9 @@
"telegramOidcClientSecret": "Client Secret"
},
"offlineConv": "Offline Conversions",
"apiKey": "API Key"
"apiKey": "API Key",
"legalFooter": "Legal Footer",
"legalFooterDesc": "Links to the offer, privacy policy and recurring payments at the bottom of the login page"
},
"bulkActions": {
"title": "Bulk Actions",
@@ -5265,5 +5267,10 @@
"empty": "You have no subscriptions yet",
"emptyDesc": "Choose a tariff to get started",
"title": "My subscriptions"
},
"footer": {
"offer": "Public Offer",
"privacy": "Privacy Policy",
"recurrent": "Recurring Payments"
}
}