* src/ispell.C (ISpell,check): compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14974
a592a061-630c-0410-9148-
cb99ea01b6c8
&& 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';
}
}
} 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]);
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;
}