From 1827fb3f46888bc37b3d24401203ec42dceb762d Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Tue, 10 Oct 2023 19:28:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=AE=B9=E5=99=A8?= =?UTF-8?q?=E5=90=8D=E6=A0=A1=E9=AA=8C=E8=A7=84=E5=88=99=E6=8F=8F=E8=BF=B0?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=20(#2493)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/lang/modules/en.ts | 3 +-- frontend/src/lang/modules/tw.ts | 2 +- frontend/src/lang/modules/zh.ts | 2 +- frontend/src/views/container/container/rename/index.vue | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 2005cc72c..a62d8fb40 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -180,8 +180,7 @@ const message = { paramUrlAndPort: 'The format is http(s)://(domain name/ip):(port)', nginxDoc: 'Only supports English case, numbers, and .', appName: 'Support English, numbers, - and _, length 2-30, and cannot start and end with -_', - containerName: - 'Supports letters, numbers, underscores, hyphens and dots, cannot end with hyphen- or dot.1-127', + containerName: 'Supports letters, numbers, -, _ and .; cannot start with - _ or .; length: 1-127', mirror: 'Support image accelerator addresses that start with http(s)://, English uppercase and lowercase letters, numbers, periods, and hyphens, and there should be no empty lines.', disableFunction: 'Only support letters ,underscores,and,', leechExts: 'Only support letters, numbers and,', diff --git a/frontend/src/lang/modules/tw.ts b/frontend/src/lang/modules/tw.ts index c1013d6a3..a86d02169 100644 --- a/frontend/src/lang/modules/tw.ts +++ b/frontend/src/lang/modules/tw.ts @@ -179,7 +179,7 @@ const message = { paramUrlAndPort: '格式為 http(s)://(域名/ip):(端口)', nginxDoc: '僅支持英文大小寫,數字,和.', appName: '支持英文、數字、-和_,長度2-30,並且不能以-_開頭和結尾', - containerName: '支持字母、數字、下劃線、連字符和點,不能以連字符-或點.結尾,長度1-127', + containerName: '支持字母、數字、_-和.,不能以-_或.開頭,長度1-127', mirror: '支持以 http(s):// 開頭,英文大小寫,數字,. 和 - 的鏡像加速地址,且不能有空行', disableFunction: '僅支持字母、下劃線和,', leechExts: '僅支持字母數字和,', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index bddc5ea1a..a9bf2e62e 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -179,7 +179,7 @@ const message = { paramUrlAndPort: '格式为 http(s)://(域名/ip):(端口)', nginxDoc: '仅支持英文大小写,数字,和.', appName: '支持英文、数字、-和_,长度2-30,并且不能以-_开头和结尾', - containerName: '支持字母、数字、下划线、连字符和点,不能以连字符-或点.结尾,长度1-127', + containerName: '支持字母、数字、_-和.,不能以-_或.开头,长度1-127', mirror: '支持以 http(s):// 开头,英文大小写,数字,. 和 - 的镜像加速地址,且不能有空行', disableFunction: '仅支持字母、下划线和,', leechExts: '仅支持字母数字和,', diff --git a/frontend/src/views/container/container/rename/index.vue b/frontend/src/views/container/container/rename/index.vue index 01955a273..e3f23e83d 100644 --- a/frontend/src/views/container/container/rename/index.vue +++ b/frontend/src/views/container/container/rename/index.vue @@ -6,7 +6,7 @@ - +