From b9c65193afa88c592a87f171e93559990fac3c95 Mon Sep 17 00:00:00 2001 From: Brand Huntsman Date: Sun, 25 Feb 2018 04:01:37 -0700 Subject: [PATCH] files: improve the wording of the normal file-writing prompts Make them similar to the prompts for writing out a selection. Signed-off-by: Brand Huntsman (The change was first proposed seven years ago as part of a patch set: https://lists.gnu.org/archive/html/nano-devel/2018-02/msg00144.html, then reposted by myself: https://lists.gnu.org/archive/html/nano-devel/2018-02/msg00147.html, and then... forgotten.) --- src/files.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/files.c b/src/files.c index e67e8b25..416192dc 100644 --- a/src/files.c +++ b/src/files.c @@ -2156,11 +2156,11 @@ int write_it_out(bool exiting, bool withprompt) (method == APPEND) ? _("Append Selection to File") : _("Write Selection to File"); else if (method != OVERWRITE) - msg = (method == PREPEND) ? _("File Name to Prepend to") : - _("File Name to Append to"); + msg = (method == PREPEND) ? _("Prepend to File") : + _("Append to File"); else #endif - msg = _("File Name to Write"); + msg = _("Write to File"); present_path = mallocstrcpy(present_path, "./");