diff --git a/Configuration/NodeTypes.yaml b/Configuration/NodeTypes.yaml index 1b3a198..682a1eb 100644 --- a/Configuration/NodeTypes.yaml +++ b/Configuration/NodeTypes.yaml @@ -20,3 +20,9 @@ group: anchor help: message: i18n + validation: + 'Neos.Neos/Validation/StringLengthValidator': + minimum: 1 + maximum: 255 + 'Neos.Neos/Validation/RegularExpressionValidator': + regularExpression: '/^[a-z][a-z0-9\-]*$/i' diff --git a/Resources/Private/Translations/de/NodeTypes/AnchorMixin.xlf b/Resources/Private/Translations/de/NodeTypes/AnchorMixin.xlf index 7e7d898..ab7e0b6 100644 --- a/Resources/Private/Translations/de/NodeTypes/AnchorMixin.xlf +++ b/Resources/Private/Translations/de/NodeTypes/AnchorMixin.xlf @@ -11,8 +11,8 @@ Abschnitts-ID - Fill in the section id, save and click the button below to copy the link to this node. You can paste it like any other link in the text editor or in inspector fields. - Abschnitts-ID eingeben, speichern und den unter dem Feld erscheinenden Button klicken um den Link zu diesem Element zu kopieren. Dieser kann wie jeder andere Link im Texteditor oder in Feldern des Inspektors eingefügt werden. + Enter a section ID of the type short-text-without-special-characters. After you click Save, a button for copying the link appears below it. This link can be pasted in the text editor or in fields of the Inspector and will lead directly to the section. + Gib eine Abschnitts-ID in der Art kurzer-text-ohne-sonderzeichen ein. Nachdem du auf Speichern klickst, erscheint darunter ein Button zum Kopieren des Links. Dieser Link im Texteditor oder in Feldern des Inspektors eingefügt werden und führt direkt zum Abschnitt. diff --git a/Resources/Private/Translations/en/NodeTypes/AnchorMixin.xlf b/Resources/Private/Translations/en/NodeTypes/AnchorMixin.xlf index ff16c3e..18b2352 100644 --- a/Resources/Private/Translations/en/NodeTypes/AnchorMixin.xlf +++ b/Resources/Private/Translations/en/NodeTypes/AnchorMixin.xlf @@ -9,7 +9,7 @@ Section id - Fill in the section id, save and click the button below to copy the link to this node. You can paste it like any other link in the text editor or in inspector fields. + Enter a section ID of the type short-text-without-special-characters. After you click Save, a button for copying the link appears below it. This link can be pasted in the text editor or in fields of the Inspector and will lead directly to the section.