Skip to content

Commit

Permalink
Merge pull request #947 from Carlmac/fix-form-hint-master
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlmac authored Sep 24, 2024
2 parents 4230f12 + dd10783 commit 5ac87a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/dashboard-front/src/language/lang.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ const lang: ILANG = {
'操作者': ['Operator'],
'未知': ['Unknown'],
'由小写字母、数字、连接符(-)组成,首字符必须是字母,长度大于3小于30个字符': ['Consists of lowercase letters, numbers, hyphens(-), the first character must be a letter, length 3 to 30'],
'由小写字母、数字、连接符(-)组成,首字符必须是小写字母,长度大于3小于30个字符': ['Consists of lowercase letters, numbers, hyphens(-), the first character must be a lowercase letter, length 3 to 30'],
'网关唯一标识,创建后不可修改': ['Unique gateway identifier, cannot be modified after creation'],
'请输入描述': ['Please input description'],
'托管方式': ['Hosting Type'],
Expand Down
2 changes: 1 addition & 1 deletion src/dashboard-front/src/views/home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ const rules = {
const reg = /^[a-z][a-z0-9-]*$/;
return reg.test(value);
},
message: '由小写字母、数字、连接符(-)组成,首字符必须是字母,长度大于3小于30个字符',
message: t('由小写字母、数字、连接符(-)组成,首字符必须是小写字母,长度大于3小于30个字符'),
trigger: 'change',
},
],
Expand Down

0 comments on commit 5ac87a8

Please sign in to comment.