commit b9c65193afa88c592a87f171e93559990fac3c95
parent 20403ef8bb8ecb044fabd9d94673f6a66f52074e
Author: Brand Huntsman <alpha@qzx.com>
Date: Sun, 25 Feb 2018 04:01:37 -0700
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 <alpha@qzx.com>
(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.)
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git 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, "./");