diff options
| author | ThaCuber <70547062+thacuber2a03@users.noreply.github.com> | 2023-12-02 18:44:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-03 06:44:07 +0800 |
| commit | f26eef14faab55917d27026fd7dbf8b60fae67dd (patch) | |
| tree | d2dc373655544f8a1746e9d55c4880968a0de477 /data/core/commands | |
| parent | e8ae7583bc357e7086a60816b97146a45ecf7150 (diff) | |
| download | lite-xl-f26eef14faab55917d27026fd7dbf8b60fae67dd.tar.gz lite-xl-f26eef14faab55917d27026fd7dbf8b60fae67dd.zip | |
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 `"`
Diffstat (limited to 'data/core/commands')
| -rw-r--r-- | data/core/commands/doc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/core/commands/doc.lua b/data/core/commands/doc.lua index 3d4426c3..aca5fc65 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) |
