From da15467cc50e82875e06eb04ee77dc553f8fc58b Mon Sep 17 00:00:00 2001 From: John Levon Date: Sun, 23 Mar 2003 18:40:32 +0000 Subject: [PATCH] Translation fix from mschmitt git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6561 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/controllers/ChangeLog | 5 +++++ src/frontends/controllers/ControlSpellchecker.C | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/frontends/controllers/ChangeLog b/src/frontends/controllers/ChangeLog index 7e31e130df..9bb75ac369 100644 --- a/src/frontends/controllers/ChangeLog +++ b/src/frontends/controllers/ChangeLog @@ -1,3 +1,8 @@ +2003-03-23 John Levon + + * ControlSpellchecker.C: make "words checked" translatable, + from Michael Schmitt + 2003-03-18 John Levon * ControlParagraph.C: make reading of params succeed diff --git a/src/frontends/controllers/ControlSpellchecker.C b/src/frontends/controllers/ControlSpellchecker.C index c3019bda99..2cb547189c 100644 --- a/src/frontends/controllers/ControlSpellchecker.C +++ b/src/frontends/controllers/ControlSpellchecker.C @@ -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."); }