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.)
This commit is contained in:
Brand Huntsman 2018-02-25 04:01:37 -07:00 committed by Benno Schulenberg
parent 20403ef8bb
commit b9c65193af

View File

@ -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, "./");