From f1bdd840a1b1c13cc5162979d886ed241a9ba26a Mon Sep 17 00:00:00 2001 From: ThaCuber <70547062+thacuber2a03@users.noreply.github.com> Date: Sat, 2 Dec 2023 18:44:07 -0400 Subject: [PATCH] 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 `"` --- data/core/commands/doc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/core/commands/doc.lua b/data/core/commands/doc.lua index e840dbab..1155ac26 100644 --- a/data/core/commands/doc.lua +++ b/data/core/commands/doc.lua @@ -43,7 +43,7 @@ local function save(filename) core.log("Saved \"%s\"", saved_filename) else 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 = "Yes", default_yes = true } }, function(item)