From b12fe534ae3f2aea74f8c8506b3ad2fea321227c Mon Sep 17 00:00:00 2001 From: dam Date: Sat, 2 Apr 2022 08:49:21 +0000 Subject: Improved modal dialog messages. --- logic/database.gd | 2 +- logic/stage.gd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'logic') 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: -- cgit v1.2.3