feat: add configurable mirror source generators and version management

This commit is contained in:
2026-11-05 13:06:57 +08:00
parent 8fc4feb10d
commit 8ebf69bf0a
38 changed files with 1173 additions and 314 deletions
+23
View File
@@ -63,6 +63,29 @@ export default {
"exampleHint": "以下配置仅演示排版,使用 example.invalid 保留域名,不可用于实际软件源配置。",
"official": "项目官方网站",
"helpTitle": "使用帮助",
"generator": {
"catalogFailed": "无法加载配置生成器的版本数据。",
"catalogStale": "版本数据暂时无法刷新,正在显示上次加载的选项。",
"title": "{name} 软件源配置",
"format": "配置格式",
"version": "系统或仓库版本",
"protocol": "访问协议",
"sources": "启用源码源",
"nonFree": "使用非自由软件源",
"securityMirror": "安全更新使用镜像",
"proposed": "启用 proposed",
"channel": "软件包频道",
"generated": "生成的软件源配置",
"signingKey": "获取官方签名公钥",
"applyCommands": "替换软件源并刷新索引",
"ubuntuScope": "适用于 x86 Ubuntu;ARM 等架构需使用 ubuntu-ports。请先确认所选发行版的索引已同步。",
"proposedNotice": "proposed 包含候选更新,默认关闭;普通使用无需启用。",
"kubernetesNotice": "选择与集群安装或升级计划一致的次版本。导入公钥前先备份已有同名密钥文件。",
"openwrtNotice": "仅适用于正式发行版,保留原配置中的版本、target 和架构路径;snapshots 请继续使用原仓库。命令在路由器 root 终端中执行。",
"elrepoNotice": "先按 ELRepo 官方说明安装匹配系统版本的仓库配置与密钥,再执行替换命令;原有签名校验与仓库启用状态保持不变。",
"formats": { "list": "传统格式 (.list)" },
"names": { "debian": "Debian", "ubuntu": "Ubuntu", "debian-security": "Debian Security", "archlinux": "Arch Linux", "archlinuxarm": "Arch Linux ARM", "archlinuxcn": "Arch Linux CN", "anaconda": "Conda", "kubernetes": "Kubernetes", "tailscale": "Tailscale", "proxmox": "Proxmox VE", "openwrt": "OpenWrt", "elrepo": "ELRepo" }
},
"debian": {
"generator": "{format} 软件源配置",
"traditional": "传统格式",