diff --git a/src/explorer/fileNameFormGroup/FileNameFormGroup.tsx b/src/explorer/fileNameFormGroup/FileNameFormGroup.tsx index 07c6385e..ab6ce9af 100644 --- a/src/explorer/fileNameFormGroup/FileNameFormGroup.tsx +++ b/src/explorer/fileNameFormGroup/FileNameFormGroup.tsx @@ -119,7 +119,6 @@ const FileNameHelpText: React.VoidFunctionComponent = ({ {i18n.translate('helpText.hasInvalidCharacters', { letters: a…z, numbers: 0…9, - dash: -, underscore: _, })}{' '} diff --git a/src/explorer/fileNameFormGroup/translations/en.json b/src/explorer/fileNameFormGroup/translations/en.json index c4aaa02c..6c25a73d 100644 --- a/src/explorer/fileNameFormGroup/translations/en.json +++ b/src/explorer/fileNameFormGroup/translations/en.json @@ -6,7 +6,7 @@ "hasSpaces": "File name cannot have spaces.", "hasFileExtension": "The file extension will be added automatically.", "hasInvalidFirstCharacter": "File name must start with a letter ({letters}) or underscore ({underscore}).", - "hasInvalidCharacters": "File name can only contain letters ({letters}), numbers ({numbers}), dashes ({dash}) and underscores ({underscore}).", + "hasInvalidCharacters": "File name can only contain letters ({letters}), numbers ({numbers}) and underscores ({underscore}).", "alreadyExists": "A file with this name already exists. Try a different name.", "fixIt": "Fix it for me." }