Files
MemRelay/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/内网离线约束与 i18n 硬性要求.md
T

1.1 KiB
Raw Blame History

title, type, permalink, stable_id, scope, project_id, memory_type, status, revision, restored_from_commit, created_at, updated_at, tags
title type permalink stable_id scope project_id memory_type status revision restored_from_commit created_at updated_at tags
内网离线约束与 i18n 硬性要求 rule main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/内网离线约束与-i18n-硬性要求 0ca7e07e-97b7-496c-96c8-dc712498fc8e project d5a7f581-c442-4554-87b9-ee723b8b0258 rule active 1 6a6a895eaf 2026-09-23T15:09:38.828410+00:00 2026-09-23T15:09:38.828477+00:00
offline
i18n
constraint
  1. 平台运行期无外网:UI 组件/图标/字体/API 文档资源/依赖必须本地化或随构建打包;运行期不得访问外网资源。2) 脚本管理绝不 docker pull 镜像,镜像缺失提示去容器管理导入 tar;Python 库走内网 pypiserver 源或离线 wheel。3) 所有界面文本、权限名、错误信息必须 i18n:模块各自 i18n/zh-CN.json + en-US.json,全局在 web/src/i18n/locales/,新增 key 必须 zh+en 同步,前端 smoke 测试会校验。4) 开发机本身有外网(可 npm/pip/docker pull,Docker Hub 偶尔被代理挡)。