Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions shell/app/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1790,6 +1790,7 @@
"no ip address": "no ip address",
"no matching data": "no matching data",
"no more than 30 characters": "no more than 30 characters",
"no more than 100 characters": "no more than 100 characters",
"no {name}": "no {name}",
"node params": "node params",
"normal view": "normal view",
Expand Down
1 change: 1 addition & 0 deletions shell/app/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -1790,6 +1790,7 @@
"no ip address": "暂无ip地址",
"no matching data": "无匹配数据",
"no more than 30 characters": "不超过30个字符",
"no more than 100 characters": "不超过100个字符",
"no {name}": "暂无{name}",
"node params": "节点入参",
"normal view": "正常查看",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ const ReleaseForm = ({ readyOnly = false }: { readyOnly?: boolean }) => {
className: 'w-1/2',
rules: [
{ required: true, message: i18n.t('Please enter the {name}', { name: i18n.t('Version').toLowerCase() }) },
{ max: 100, message: i18n.t('dop:no more than 100 characters') },
{
pattern: /^[A-Za-z0-9._+-]+$/,
message: i18n.t('dop:Must be composed of letters, numbers, underscores, hyphens and dots.'),
Expand Down