(Michael Schmitt): format string correctly.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5816 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-12-16 10:40:05 +00:00
parent 03c82721a7
commit d1ba21bfea
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-12-16 Michael Schmitt <Michael.Schmitt@teststep.org>
* FormGraphics.C (build): correct string for boost::format.
2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
* FormGraphics.C (build): add another xgettext:no-c-format

View File

@ -124,7 +124,7 @@ void FormGraphics::build()
fl_addto_choice(file_->choice_display, display_List.c_str());
#if USE_BOOST_FORMAT
string const width_list = boost::io::str(boost::format(_("Scale%%|%1$s")) % choice_Length_All);
string const width_list = boost::io::str(boost::format(_("Scale%%%%|%1$s")) % choice_Length_All);
#else
// xgettext:no-c-format
string const width_list = _("Scale%%|") + choice_Length_All;