From 946d00f494e7f03651084909f5c37c80b394669f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Kilchenmann?= Date: Wed, 11 Aug 2021 07:35:01 +0200 Subject: [PATCH] chore(ontology): update create ontology tooltip for unique name (DSP-1139) (#500) --- .../project/ontology/ontology-form/ontology-form.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/project/ontology/ontology-form/ontology-form.component.ts b/src/app/project/ontology/ontology-form/ontology-form.component.ts index 518846ced4..a416226634 100644 --- a/src/app/project/ontology/ontology-form/ontology-form.component.ts +++ b/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 `;