diff --git a/src/frontends/controllers/ChangeLog b/src/frontends/controllers/ChangeLog index ab843d086f..d36640b269 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-02-17 John Levon * ControlDialog.tmpl: do build before setParams for diff --git a/src/frontends/controllers/ControlSpellchecker.C b/src/frontends/controllers/ControlSpellchecker.C index fda6b41fc6..f134fd14e2 100644 --- a/src/frontends/controllers/ControlSpellchecker.C +++ b/src/frontends/controllers/ControlSpellchecker.C @@ -215,7 +215,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 { @@ -223,7 +223,7 @@ void ControlSpellchecker::showSummary() } #else if (count_ != 1) { - message += tostr(count_) + " words checked"; + message += tostr(count_) + _(" words checked."); } else { message = _("One word checked."); } diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index 0eca936070..7a882ec4a6 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,7 @@ +2003-03-21 John Levon + + * QDocument.C: fix swapping of TOC and secnum depth + 2003-03-07 Dekel Tsur * QPrefs.C: diff --git a/src/frontends/qt2/QDocument.C b/src/frontends/qt2/QDocument.C index 5484dcddd6..ccdedec85b 100644 --- a/src/frontends/qt2/QDocument.C +++ b/src/frontends/qt2/QDocument.C @@ -209,9 +209,9 @@ void QDocument::apply() params.language = languages.getLanguage(lang_[pos]); // numbering - params.secnumdepth = - dialog_->numberingModule->tocDepthSB->value(); params.tocdepth = + dialog_->numberingModule->tocDepthSB->value(); + params.secnumdepth = dialog_->numberingModule->sectionnrDepthSB->value(); // bullets @@ -434,9 +434,9 @@ void QDocument::update_contents() // numbering dialog_->numberingModule->tocDepthSB->setValue( - params.secnumdepth); - dialog_->numberingModule->sectionnrDepthSB->setValue( params.tocdepth); + dialog_->numberingModule->sectionnrDepthSB->setValue( + params.secnumdepth); // bullets dialog_->bulletsModule->setBullet(0,params.user_defined_bullets[0]); diff --git a/status.13x b/status.13x index fb80e3cb37..7d248846c3 100644 --- a/status.13x +++ b/status.13x @@ -36,7 +36,8 @@ What's new - add support for the hspell spell-checker for hebrew [Qt only] -- updated german and russian interface localisation +- update german and russian interface localisation. Fix Help>Table of + Contents. ** Bug fixes @@ -45,6 +46,9 @@ What's new - fix a new crash in 1.3.1 on OK in External dialog [Qt only] +- fix mismatch between section depth and TOC depth in Document dialog + [Qt only] + - fix loading of included files that are under revision control - the Home/End keys no longer mark the document as "(changed)"