chore: improve the check time of variable name (#7569)
This commit is contained in:
@@ -290,11 +290,11 @@ const translation = {
|
||||
typeSelect: 'Select',
|
||||
},
|
||||
varKeyError: {
|
||||
canNoBeEmpty: 'Variable key can not be empty',
|
||||
tooLong: 'Variable key: {{key}} too length. Can not be longer then 30 characters',
|
||||
notValid: 'Variable key: {{key}} is invalid. Can only contain letters, numbers, and underscores',
|
||||
notStartWithNumber: 'Variable key: {{key}} can not start with a number',
|
||||
keyAlreadyExists: 'Variable key: :{{key}} already exists',
|
||||
canNoBeEmpty: '{{key}} is required',
|
||||
tooLong: '{{key}} is too length. Can not be longer then 30 characters',
|
||||
notValid: '{{key}} is invalid. Can only contain letters, numbers, and underscores',
|
||||
notStartWithNumber: '{{key}} can not start with a number',
|
||||
keyAlreadyExists: '{{key}} already exists',
|
||||
},
|
||||
otherError: {
|
||||
promptNoBeEmpty: 'Prompt can not be empty',
|
||||
@@ -323,7 +323,6 @@ const translation = {
|
||||
'content': 'Content',
|
||||
'required': 'Required',
|
||||
'errorMsg': {
|
||||
varNameRequired: 'Variable name is required',
|
||||
labelNameRequired: 'Label name is required',
|
||||
varNameCanBeRepeat: 'Variable name can not be repeated',
|
||||
atLeastOneOption: 'At least one option is required',
|
||||
|
Reference in New Issue
Block a user