Fix #639 fix namespace desc problem
This commit is contained in:
parent
d37228caef
commit
fc5db210bb
@ -194,7 +194,7 @@ class EditorNameSpace extends React.Component {
|
||||
<Input
|
||||
{...this.field.init('namespaceDesc', {
|
||||
rules: [
|
||||
{ required: true, message: locale.namespace },
|
||||
{ required: true, message: locale.namespaceDesc },
|
||||
{ validator: this.validateChart.bind(this) },
|
||||
],
|
||||
})}
|
||||
|
@ -213,7 +213,7 @@ class NewNameSpace extends React.Component {
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: locale.namespacenotnull,
|
||||
message: locale.namespacedescnotnull,
|
||||
},
|
||||
{ validator: this.validateChart.bind(this) },
|
||||
],
|
||||
|
@ -315,6 +315,7 @@ const I18N_CONF = {
|
||||
editNamespace: 'Loading...',
|
||||
load: 'Namespace:',
|
||||
namespace: 'Namespace cannot be empty',
|
||||
namespaceDesc: 'Namespace description cannot be empty',
|
||||
description: 'Description:',
|
||||
},
|
||||
ExportDialog: {
|
||||
@ -369,6 +370,7 @@ const I18N_CONF = {
|
||||
loading: 'Loading...',
|
||||
name: 'Namespace:',
|
||||
namespacenotnull: 'Namespace cannot be empty',
|
||||
namespacedescnotnull: 'Namespace description cannot be empty',
|
||||
description: 'Description:',
|
||||
},
|
||||
NameSpaceList: {
|
||||
|
@ -314,6 +314,7 @@ const I18N_CONF = {
|
||||
editNamespace: '加载中...',
|
||||
load: '命名空间名:',
|
||||
namespace: '命名空间不能为空',
|
||||
namespaceDesc: '命名空间描述不能为空',
|
||||
description: '描述:',
|
||||
},
|
||||
ExportDialog: {
|
||||
@ -368,6 +369,7 @@ const I18N_CONF = {
|
||||
loading: '加载中...',
|
||||
name: '命名空间名:',
|
||||
namespacenotnull: '命名空间不能为空',
|
||||
namespacedescnotnull: '命名空间描述不能为空',
|
||||
description: '描述:',
|
||||
},
|
||||
NameSpaceList: {
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user