Add admin compliance acknowledgement gate

This commit is contained in:
shaw committed 2026-06-10 14:16:51 +08:00
1 parent c32e29bab0
commit 0acf00c4a1
29 files changed
+1173 -15

No files matched your search

+28
View File
@@ -344,6 +344,34 @@ export default {
}
},
adminCompliance: {
title: 'Deployment and Operation Compliance Acknowledgment',
blockingNotice: 'Deployment and operation compliance acknowledgment is required before continuing to use the console.',
riskNotice: 'This acknowledgment provides clear, conspicuous, and reproducible notice of compliance obligations and operation risks for self-hosted instances.',
version: 'Document Version',
openDocument: 'Open the GitHub document',
documentSource: 'The agreement text comes from Markdown files in this project repository. When the agreement content changes, the document version must be incremented; acknowledgments of older versions become invalid and console users must acknowledge again.',
inputLabel: 'Type the following confirmation phrase exactly',
inputPlaceholder: 'Type the confirmation phrase to continue',
inputMismatch: 'The confirmation phrase does not match. Type the displayed text exactly.',
legalNote: 'This acknowledgment defines the no-affiliation relationship and responsibility boundary between self-hosted instances and the open-source project, copyright holders, contributors, and maintainers. The party that deploys, operates, or controls the relevant instance remains independently responsible for its applicable obligations.',
logout: 'Log out',
accept: 'Acknowledge and Continue',
accepted: 'Compliance acknowledgment recorded',
acceptFailed: 'Failed to submit acknowledgment'
},
legal: {
loadFailed: 'Failed to load document',
retryLater: 'Refresh the page and try again later.',
notFound: 'Document not found',
notFoundDescription: 'This legal document does not exist or has been removed by an administrator.',
updatedAt: 'Updated: {date}',
empty: 'No content',
loginAgreement: 'Login Agreement',
adminCompliance: 'Deployment and Operation Compliance Commitment'
},
// Navigation
nav: {
dashboard: 'Dashboard',
+28
View File
@@ -344,6 +344,34 @@ export default {
}
},
adminCompliance: {
title: '部署与运营合规确认',
blockingNotice: '继续使用控制台前,须完成部署与运营合规确认。',
riskNotice: '本确认用于以清晰、显著、可留痕的方式提示自部署实例的合规义务与运营风险。',
version: '协议版本',
openDocument: '在 GitHub 查看协议文件',
documentSource: '协议正文来自本项目仓库中的 Markdown 文件。修改协议内容时必须同步递增协议版本;已确认的旧版本将失效,控制台使用者须重新确认。',
inputLabel: '请逐字输入以下确认短语',
inputPlaceholder: '输入确认短语以继续',
inputMismatch: '确认短语不匹配,请逐字输入提示内容。',
legalNote: '本确认用于明确自部署实例与开源项目、著作权人、贡献者及维护者之间的非关联关系和责任边界;部署、运营或控制相关实例的主体应独立承担其适用义务。',
logout: '退出登录',
accept: '确认并继续',
accepted: '合规确认已记录',
acceptFailed: '提交确认失败'
},
legal: {
loadFailed: '文档加载失败',
retryLater: '请稍后刷新页面重试。',
notFound: '文档不存在',
notFoundDescription: '当前条款文档不存在或已被管理员移除。',
updatedAt: '更新日期:{date}',
empty: '暂无正文内容',
loginAgreement: '登录条款',
adminCompliance: '部署与运营合规承诺'
},
// Navigation
nav: {
dashboard: '仪表盘',