mirror of
https://github.com/atom/atom.git
synced 2026-01-26 23:38:48 -05:00
Massage message a bit
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user