use bformat

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10123 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2005-07-04 12:28:36 +00:00
parent cbed116ae4
commit 9e4f1421a2
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* QChanges.C: use bformat() for translatable strings.
2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* QChanges.[Ch] (update_contents): move to next change on update.

View File

@ -15,11 +15,14 @@
#include "Qt2BC.h"
#include "qt_helpers.h"
#include "support/lstrings.h"
#include "controllers/ControlChanges.h"
#include <qpushbutton.h>
#include <qtextview.h>
using lyx::support::bformat;
using std::string;
@ -60,9 +63,9 @@ void QChanges::next()
string date(controller().getChangeDate());
if (!author.empty())
text += _("Change by ") + author + "\n\n";
text += bformat(_("Change by %1$s\n\n"), author);
if (!date.empty())
text += _("Change made at ") + date + "\n";
text += bformat(_("Change made at %1$s\n"), date);
dialog_->changeTV->setText(toqstr(text));
}