From 457ff05818d1e6e338219165dc4ddde2ec8d85c3 Mon Sep 17 00:00:00 2001 From: dockes Date: Wed, 7 Feb 2007 16:31:42 +0000 Subject: [PATCH] improve db creation error message --- src/aspell/rclaspell.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/aspell/rclaspell.cpp b/src/aspell/rclaspell.cpp index c8277e3c..b18c6179 100644 --- a/src/aspell/rclaspell.cpp +++ b/src/aspell/rclaspell.cpp @@ -1,6 +1,6 @@ #ifndef TEST_RCLASPELL #ifndef lint -static char rcsid[] = "@(#$Id: rclaspell.cpp,v 1.7 2007-02-01 15:01:08 dockes Exp $ (C) 2006 J.F.Dockes"; +static char rcsid[] = "@(#$Id: rclaspell.cpp,v 1.8 2007-02-07 16:31:42 dockes Exp $ (C) 2006 J.F.Dockes"; #endif #ifdef HAVE_CONFIG_H #include "autoconfig.h" @@ -269,7 +269,9 @@ bool Aspell::buildDict(Rcl::Db &db, string &reason) aspell.setProvide(&pv); if (aspell.doexec(m_data->m_exec, args, &termbuf)) { - reason = string("aspell dictionary creation command failed. Check the language data files for lang = ") + m_lang; + reason = string("aspell dictionary creation command failed.\n" + "One possible reason might be missing language " + "data files for lang = ") + m_lang; return false; } db.termWalkClose(tit);