|
a/src/aspell/rclaspell.cpp |
|
b/src/aspell/rclaspell.cpp |
1 |
#ifndef TEST_RCLASPELL
|
1 |
#ifndef TEST_RCLASPELL
|
2 |
#ifndef lint
|
2 |
#ifndef lint
|
3 |
static char rcsid[] = "@(#$Id: rclaspell.cpp,v 1.7 2007-02-01 15:01:08 dockes Exp $ (C) 2006 J.F.Dockes";
|
3 |
static char rcsid[] = "@(#$Id: rclaspell.cpp,v 1.8 2007-02-07 16:31:42 dockes Exp $ (C) 2006 J.F.Dockes";
|
4 |
#endif
|
4 |
#endif
|
5 |
#ifdef HAVE_CONFIG_H
|
5 |
#ifdef HAVE_CONFIG_H
|
6 |
#include "autoconfig.h"
|
6 |
#include "autoconfig.h"
|
7 |
#endif
|
7 |
#endif
|
8 |
|
8 |
|
|
... |
|
... |
267 |
string termbuf;
|
267 |
string termbuf;
|
268 |
AspExecPv pv(&termbuf, tit, db);
|
268 |
AspExecPv pv(&termbuf, tit, db);
|
269 |
aspell.setProvide(&pv);
|
269 |
aspell.setProvide(&pv);
|
270 |
|
270 |
|
271 |
if (aspell.doexec(m_data->m_exec, args, &termbuf)) {
|
271 |
if (aspell.doexec(m_data->m_exec, args, &termbuf)) {
|
272 |
reason = string("aspell dictionary creation command failed. Check the language data files for lang = ") + m_lang;
|
272 |
reason = string("aspell dictionary creation command failed.\n"
|
|
|
273 |
"One possible reason might be missing language "
|
|
|
274 |
"data files for lang = ") + m_lang;
|
273 |
return false;
|
275 |
return false;
|
274 |
}
|
276 |
}
|
275 |
db.termWalkClose(tit);
|
277 |
db.termWalkClose(tit);
|
276 |
return true;
|
278 |
return true;
|
277 |
}
|
279 |
}
|