Translation fix from mschmitt

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6561 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-03-23 18:40:32 +00:00
parent 2c396b4c89
commit da15467cc5
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-03-23 John Levon <levon@movementarian.org>
* ControlSpellchecker.C: make "words checked" translatable,
from Michael Schmitt
2003-03-18 John Levon <levon@movementarian.org>
* ControlParagraph.C: make reading of params succeed

View File

@ -212,7 +212,7 @@ void ControlSpellchecker::showSummary()
#if USE_BOOST_FORMAT
if (count_ != 1) {
boost::format fmter("%1$d words checked.");
boost::format fmter(_("%1$d words checked."));
fmter % count_;
message += fmter.str();
} else {
@ -220,7 +220,7 @@ void ControlSpellchecker::showSummary()
}
#else
if (count_ != 1) {
message += tostr(count_) + " words checked";
message += tostr(count_) + _(" words checked.");
} else {
message = _("One word checked.");
}