mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
use bformat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10123 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cbed116ae4
commit
9e4f1421a2
@ -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.
|
||||
|
@ -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));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user