* src/client/debug.C (showLevel):

* src/ispell.C (ISpell,check): compilation fix



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14974 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2006-09-11 10:27:48 +00:00
parent fc83b49fd4
commit 3253193b63
2 changed files with 6 additions and 4 deletions

View File

@ -84,9 +84,11 @@ void lyx_debug_trait::showLevel(ostream & os, lyx_debug_trait::type level)
&& errorTags[i].level != Debug::NONE
&& errorTags[i].level & level) {
// avoid _(...) re-entrance problem
// FIXME: should we use _() from gettext.h here?
string const s = _(errorTags[i].desc);
os << bformat(_("Debugging `%1$s' (%2$s)"),
lyx::from_utf8(errorTags[i].name), lyx::from_utf8(s))
os << lyx::to_utf8(bformat(lyx::from_utf8(_("Debugging `%1$s' (%2$s)")),
lyx::from_utf8(errorTags[i].name),
lyx::from_utf8(s)))
<< '\n';
}
}

View File

@ -268,7 +268,7 @@ ISpell::ISpell(BufferParams const & params, string const & lang)
} else {
// select returned error
error_ = _("The ispell process returned an error.\nPerhaps "
"it has been configured wrongly ?"));
"it has been configured wrongly ?");
}
close(pipein[0]);
@ -376,7 +376,7 @@ enum ISpell::Result ISpell::check(WordLangTuple const & word)
bool error = select(err_read);
if (error) {
error_ = _("Could not communicate with the ispell spellchecker process."));
error_ = _("Could not communicate with the ispell spellchecker process.");
return UNKNOWN_WORD;
}