diff --git a/apps/web/tests/expected/plugin-install-registry/picker.expected.md b/apps/web/tests/expected/plugin-install-registry/picker.expected.md index df929b514f..e97f164176 100644 --- a/apps/web/tests/expected/plugin-install-registry/picker.expected.md +++ b/apps/web/tests/expected/plugin-install-registry/picker.expected.md @@ -12,8 +12,8 @@ - text: 从哪个 npm 源下载插件 - radio "官方源(默认) registry.npmjs.org,遵循你本机的 pnpm 与 .npmrc 配置" - text: 官方源(默认) registry.npmjs.org,遵循你本机的 pnpm 与 .npmrc 配置 - - radio "npmmirror 中国大陆网络推荐 registry.npmmirror.com,官方源的完整镜像,新发布的包最多延迟几分钟同步" [checked] - - text: npmmirror 中国大陆网络推荐 registry.npmmirror.com,官方源的完整镜像,新发布的包最多延迟几分钟同步 + - radio "npmmirror 中国大陆网络推荐 registry.npmmirror.com,官方源的完整镜像" [checked] + - text: npmmirror 中国大陆网络推荐 registry.npmmirror.com,官方源的完整镜像 - radio "自定义地址" - text: 自定义地址 - textbox "自定义地址" [disabled]: diff --git a/packages/client/ui-plugin-manager/src/client/locales.ts b/packages/client/ui-plugin-manager/src/client/locales.ts index 24fa7cecad..f8c3196461 100644 --- a/packages/client/ui-plugin-manager/src/client/locales.ts +++ b/packages/client/ui-plugin-manager/src/client/locales.ts @@ -76,7 +76,7 @@ export const zh = { registryOfficialHint: 'registry.npmjs.org,遵循你本机的 pnpm 与 .npmrc 配置', registryNpmmirror: 'npmmirror', registryNpmmirrorBadge: '中国大陆网络推荐', - registryNpmmirrorHint: 'registry.npmmirror.com,官方源的完整镜像,新发布的包最多延迟几分钟同步', + registryNpmmirrorHint: 'registry.npmmirror.com,官方源的完整镜像', registryCustom: '自定义地址', registryCustomPlaceholder: 'https://npm.example.com/', registryCustomHint: '公司内网或私有 npm 源;需要登录的源,把凭据放在本机的 ~/.npmrc 里', @@ -256,7 +256,7 @@ export const en = { registryOfficialHint: 'registry.npmjs.org, following the pnpm and .npmrc configuration on this machine', registryNpmmirror: 'npmmirror', registryNpmmirrorBadge: 'Recommended in mainland China', - registryNpmmirrorHint: 'registry.npmmirror.com, a complete mirror of the official registry; a newly published package can take a few minutes to arrive', + registryNpmmirrorHint: 'registry.npmmirror.com, a complete mirror of the official registry', registryCustom: 'Custom address', registryCustomPlaceholder: 'https://npm.example.com/', registryCustomHint: 'A company or private npm registry; for one that needs a login, keep the credentials in ~/.npmrc on this machine',