feat: support custom GitHub mirror config (#1191)

This commit is contained in:
Levi authored and GitHub committed 2025-11-29 12:39:24 +08:00
1 parent 14d9642d3c
commit 4ccbc3ebc5
7 files changed
+449 -53

No files matched your search

+7 -1
View File
@@ -73,7 +73,7 @@ const enUS = {
'webhookTest': 'Test',
'webhookTestSuccess': 'Webhook test successful',
'webhookTestFail': 'Webhook test failed',
'webhookUrlInvalid': 'Please enter a valid HTTP or HTTPS URL',
'urlInvalid': 'Please enter a valid HTTP or HTTPS URL',
'required': 'This field is required',
'show': 'Show',
'continue': 'Continue',
@@ -153,5 +153,11 @@ const enUS = {
'categoryPath': 'Category Path',
'builtInCategory': 'Built-in category cannot be deleted',
'selectCategory': 'Select Category',
'githubMirror': 'GitHub Mirror',
'githubMirrorEnable': 'Enable GitHub Mirror',
'githubMirrorDesc': 'Use mirrors to accelerate GitHub content downloads',
'githubMirrorType': 'Mirror Type',
'githubMirrorUrl': 'Mirror URL',
'githubMirrorUrlHint': 'Enter mirror URL',
},
};
+7 -1
View File
@@ -72,7 +72,7 @@ const zhCN = {
'webhookTest': '测试',
'webhookTestSuccess': 'Webhook 测试成功',
'webhookTestFail': 'Webhook 测试失败',
'webhookUrlInvalid': '请输入有效的 HTTP 或 HTTPS 链接',
'urlInvalid': '请输入有效的 HTTP 或 HTTPS 链接',
'required': '此项为必填项',
'show': '显示',
'continue': '继续',
@@ -150,5 +150,11 @@ const zhCN = {
'categoryPath': '分类路径',
'builtInCategory': '内置分类不能删除',
'selectCategory': '选择分类',
'githubMirror': 'GitHub 镜像',
'githubMirrorEnable': '启用 GitHub 镜像',
'githubMirrorDesc': '使用镜像站点加速 GitHub 内容下载',
'githubMirrorType': '镜像类型',
'githubMirrorUrl': '镜像地址',
'githubMirrorUrlHint': '请输入镜像地址',
}
};