mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 09:36:27 +00:00
text: Don't say that dashes are allowed. (#1247)
* text: Don't say that dashes are allowed. This was missed in https://github.com/pybricks/pybricks-code/commit/8b19ad58662186d2295a6241e8c3f84fbfd45809 * explorer/fileNameForGroup: remove dash from translaction dict Co-authored-by: David Lechner <david@lechnology.com>
This commit is contained in:
co-authored by
David Lechner
parent
f73d5163eb
commit
a673a45b03
@@ -119,7 +119,6 @@ const FileNameHelpText: React.VoidFunctionComponent<FileNameHelpTextProps> = ({
|
||||
{i18n.translate('helpText.hasInvalidCharacters', {
|
||||
letters: <Code className={Classes.CODE}>a…z</Code>,
|
||||
numbers: <Code className={Classes.CODE}>0…9</Code>,
|
||||
dash: <Code className={Classes.CODE}>-</Code>,
|
||||
underscore: <Code className={Classes.CODE}>_</Code>,
|
||||
})}{' '}
|
||||
<FixItButton onPress={handleHasInvalidCharacters} />
|
||||
|
||||
@@ -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."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user