add some missing translatable strings; fix mixup with secnumdepth/tocnumdepth

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@6567 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-03-24 14:38:29 +00:00
parent 81274d8df8
commit 487b99e5b7
5 changed files with 20 additions and 7 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-02-17 John Levon <levon@movementarian.org>
* ControlDialog.tmpl: do build before setParams for

View File

@ -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.");
}

View File

@ -1,3 +1,7 @@
2003-03-21 John Levon <levon@movementarian.org>
* QDocument.C: fix swapping of TOC and secnum depth
2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
* QPrefs.C:

View File

@ -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]);

View File

@ -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)"