Skip to content
Permalink
Browse files
chore(ontology): update create ontology tooltip for unique name (DSP-…
  • Loading branch information
kilchenmann committed Aug 11, 2021
1 parent d0e475a commit 946d00f494e7f03651084909f5c37c80b394669f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/project/ontology/ontology-form/ontology-form.component.ts
@@ -79,7 +79,7 @@ export class OntologyFormComponent implements OnInit {
'required': 'Name is required.',
'minlength': 'Name must be at least ' + this.nameMinLength + ' characters long.',
'maxlength': 'Name cannot be more than ' + this.nameMaxLength + ' characters long.',
'pattern': 'Name shouldn\'t start with a number or v + number and spaces or special characters are not allowed.',
'pattern': 'Name shouldn\'t start with a number or v + number and spaces or special characters (except dash, dot and underscore) are not allowed.',
'existingName': 'This name is not allowed or exists already.'
},
'label': {
@@ -93,7 +93,7 @@ export class OntologyFormComponent implements OnInit {
- must be at least 3 characters long
- shouldn't begin with a number
- shouldn't begin with the letter v and a number
- spaces or special characters are not allowed
- spaces or special characters (except dash, dot and underscore) are not allowed
- may not contain these reserved words: knora, ontology, salsah, shared, simple or standoff
- can't be changed afterwards
`;

0 comments on commit 946d00f

Please sign in to comment.