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

@@ -1908,7 +1908,9 @@
"telegramOidcClientSecret": "Client Secret"
},
"offlineConv": "تبدیل‌های آفلاین",
"apiKey": "کلید API"
"apiKey": "کلید API",
"legalFooter": "پاورقی حقوقی",
"legalFooterDesc": "پیوند به پیشنهاد، سیاست حریم خصوصی و پرداخت‌های مکرر در پایین صفحه ورود"
},
"buttons": {
"color": "رنگ دکمه",
@@ -4899,5 +4901,10 @@
"empty": "هنوز اشتراکی ندارید",
"emptyDesc": "برای شروع تعرفه‌ای انتخاب کنید",
"title": "اشتراک‌های من"
},
"footer": {
"offer": "پیشنهاد عمومی",
"privacy": "سیاست حفظ حریم خصوصی",
"recurrent": "پرداخت‌های مکرر"
}
}