fix nagbar failed save message (#1678)
* fix nagbar failed save message - visually separated statements with a `.` - first statement slightly rewritten - use `'` rather than `"` * yeahhhh no back to `"`
This commit is contained in:
parent
34cebe8fe4
commit
f1bdd840a1
|
@ -43,7 +43,7 @@ local function save(filename)
|
||||||
core.log("Saved \"%s\"", saved_filename)
|
core.log("Saved \"%s\"", saved_filename)
|
||||||
else
|
else
|
||||||
core.error(err)
|
core.error(err)
|
||||||
core.nag_view:show("Saving failed", string.format("Could not save \"%s\" do you want to save to another location?", doc().filename), {
|
core.nag_view:show("Saving failed", string.format("Couldn't save file \"%s\". Do you want to save to another location?", doc().filename), {
|
||||||
{ text = "No", default_no = true },
|
{ text = "No", default_no = true },
|
||||||
{ text = "Yes", default_yes = true }
|
{ text = "Yes", default_yes = true }
|
||||||
}, function(item)
|
}, function(item)
|
||||||
|
|
Loading…
Reference in New Issue