diff options
| author | dam <dam@gudinoff> | 2022-04-02 08:49:21 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2022-04-02 08:49:21 +0000 |
| commit | b12fe534ae3f2aea74f8c8506b3ad2fea321227c (patch) | |
| tree | 47afc50dcf418ca13b53da8eb1e5ef660ca44d8a /logic | |
| parent | 8491abc4805cee3b2dfb74817ef8908df085c5cf (diff) | |
| download | surgery-log-b12fe534ae3f2aea74f8c8506b3ad2fea321227c.tar.zst surgery-log-b12fe534ae3f2aea74f8c8506b3ad2fea321227c.zip | |
Improved modal dialog messages.
Diffstat (limited to 'logic')
| -rw-r--r-- | logic/database.gd | 2 | ||||
| -rw-r--r-- | logic/stage.gd | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/logic/database.gd b/logic/database.gd index b952356..f3a5928 100644 --- a/logic/database.gd +++ b/logic/database.gd @@ -75,7 +75,7 @@ func delete_action(): if selected_idx < 0: return - dialog.setup("Do you want to delete entry with process ID '%s' from the database?" % db[selected_idx].process_id, "Yes, delete", "No") + dialog.setup("The entry with process ID '%s' will be deleted from the database." % db[selected_idx].process_id, "Yes, delete", "No") dialog.connect("accepted", self, "delete_action_confirmed") popup.open_popup("Delete entry?", dialog) diff --git a/logic/stage.gd b/logic/stage.gd index ef9ce3d..33b0644 100644 --- a/logic/stage.gd +++ b/logic/stage.gd @@ -108,7 +108,7 @@ func save_action(): func discard_action(): if get_stage().hash() != staged_entry_hash: - dialog.setup("Do you want to discard the changes made?", "Yes, discard", "No") + dialog.setup("Changes made to this entry will be discarded.", "Yes, discard", "No") dialog.connect("accepted", self, "discard_action_confirmed") popup.open_popup("Discard changes?", dialog) else: |
