From 757f73936724da0977777b7e4d36454b03da9e66 Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Fri, 8 Jul 2005 01:49:43 +0000
Subject: [PATCH] reword an error message for consistency

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2825 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog  | 6 ++++--
 src/nano.c | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 618ac193..867a28ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,8 +16,10 @@ CVS code -
 	  snprintf() to write the error string we return, as the one
 	  formatted value is a simple string, and so altspell_error will
 	  always be long enough to hold it.  Also remove unnecessary
-	  initialization of altspell_error, and refactor so that msglen
-	  is no longer needed. (DLR)
+	  initialization of altspell_error, refactor so that msglen is
+	  no longer needed, and make the error message more similar to
+	  what the internal spell checker returns under the same
+	  circumstances. (DLR)
   allow_pending_sigwinch()
 	- Simplify by using the "?" operator instead of an if clause.
 	  (DLR)
diff --git a/src/nano.c b/src/nano.c
index 2e89a02c..81b05433 100644
--- a/src/nano.c
+++ b/src/nano.c
@@ -2399,7 +2399,7 @@ const char *do_alt_speller(char *tempfile_name)
     if (!WIFEXITED(alt_spell_status) ||
 		WEXITSTATUS(alt_spell_status) != 0) {
 	char *altspell_error;
-	char *invoke_error = _("Could not invoke \"%s\"");
+	char *invoke_error = _("Error invoking \"%s\"");
 
 #ifndef NANO_SMALL
 	/* Turn the mark back on if it was on before. */
-- 
GitLab