Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions app/src/processing/app/SketchController.java
Original file line number Diff line number Diff line change
Expand Up @@ -846,8 +846,9 @@ private static String checkName(String origName) {

if (!newName.equals(origName)) {
String msg =
tr("The sketch name had to be modified. Sketch names can only consist\n" +
"of ASCII characters and numbers and be less than 64 characters long.");
tr("The sketch name had to be modified.\n" +
"Sketch names must start with a letter or number, followed by letters,\n" +
"numbers, dashes, dots and underscores. Maximum length is 63 characters.");
System.out.println(msg);
}
return newName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ private void scanInstalledLibraries(UserLibraryFolder folderDesc) {
badLibNotified.add(subfolderName);

String mess = I18n.format(tr("The library \"{0}\" cannot be used.\n"
+ "Library names must contain only basic letters and numbers.\n"
+ "(ASCII only and no spaces, and it cannot start with a number)"),
+ "Library folder names must start with a letter or number, followed by letters,\n"
+ "numbers, dashes, dots and underscores. Maximum length is 63 characters."),
subfolderName);
BaseNoGui.showMessage(tr("Ignoring bad library name"), mess);
}
Expand Down