fix(license): shared invalid/grace banners + instance copy

Surface expired/over_instance/revoked red banners with CTAs via a
shared LicenseStatusBanners used by settings and ProGate. Hide seats
in product UI; keep HMAC dual-path and never silent-clear keys.
This commit is contained in:
opsx committed 2026-11-01 03:08:37 +08:00
1 parent af0298e994
commit 62d9b81a70
10 files changed
+265 -45

No files matched your search

+8 -1
View File
@@ -6,7 +6,6 @@ export default {
edition: '版本',
expiry: '有效期',
customer: '授权对象',
seats: '席位',
instances: '实例上限',
permanent: '永久',
personalTitle: '个人版',
@@ -18,6 +17,14 @@ export default {
activateFailed: '激活失败',
legacyBanner: '旧版 HMAC 许可码迁移窗口:请尽快换发 LIC- / LICOFF- 授权码,旧码在窗口内仍有效,不会静默失效。',
graceBanner: '离线宽限中:剩余 {{days}} 天,恢复网络后续验。',
status: {
expired: '授权已过期,Pro 功能已锁定',
expiredCta: '重新激活',
overInstance: '已超过实例上限',
overInstanceCta: '释放其它实例 / 换码',
revoked: '授权无效或已吊销',
revokedCta: '更换许可码',
},
gate: {
title: '{{feature}} 是 Pro 功能',
desc: '升级 Pro 解锁平台全部分析能力;免费版可继续使用日志查询、部署管理与用户授权。',