]> git.lyx.org Git - features.git/commitdiff
Translation fix from mschmitt
authorJohn Levon <levon@movementarian.org>
Sun, 23 Mar 2003 18:40:32 +0000 (18:40 +0000)
committerJohn Levon <levon@movementarian.org>
Sun, 23 Mar 2003 18:40:32 +0000 (18:40 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6561 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/controllers/ChangeLog
src/frontends/controllers/ControlSpellchecker.C

index 7e31e130dff77b438fe1b521713b72d6f080fd47..9bb75ac3691c56c860e8d1a363559f0a2aaa6236 100644 (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
index c3019bda99f8ce8de2552411fa1b975623a88777..2cb547189cfea64a792db473281dc2dc2c9619aa 100644 (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.");
        }