Skip to content

Commit

Permalink
chore(ontology): update create ontology tooltip for unique name (DSP-…
Browse files Browse the repository at this point in the history
…1139) (#500)
  • Loading branch information
kilchenmann committed Aug 11, 2021
1 parent d0e475a commit 946d00f
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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': {
Expand All @@ -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
`;
Expand Down

0 comments on commit 946d00f

Please sign in to comment.