Massage message a bit

This commit is contained in:
Nathan Sobo
2015-06-10 01:30:12 +02:00
parent 5c57cb0cfe
commit 04c9567181

View File

@@ -329,9 +329,9 @@ class Project extends Model
if fileSize >= 20 * 1048576 # 20MB
choice = atom.confirm
message: 'Atom can have issues with files over 20MB.'
detailedMessage: "Do you still want to try to load this?"
buttons: ["Open", "Cancel"]
message: 'Atom currently freezes during the loading of very large files.'
detailedMessage: "Do you still want to load this file?"
buttons: ["Proceed", "Cancel"]
if choice is 1
error = new Error
error.code = 'CANCELLED'