summaryrefslogtreecommitdiff
path: root/src/xact.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-05-14 21:36:42 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-05-14 21:44:00 -0600
commitf4f3058b8cd75c04080f9b68cb54b9584eafb39f (patch)
treeeca9ca6ceca001209fb93c05b52e21031280d18c /src/xact.h
parent96172669053bbba7263a370f109f70615049a0c6 (diff)
downloadledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.tar.gz
ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.tar.bz2
ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.zip
Switch to using Boost.Format
Diffstat (limited to 'src/xact.h')
-rw-r--r--src/xact.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xact.h b/src/xact.h
index 59430285..873c1a9e 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -129,7 +129,7 @@ public:
virtual string description() {
if (pos) {
std::ostringstream buf;
- buf << _("transaction at line %1") << pos->beg_line;
+ buf << _f("transaction at line %1") << pos->beg_line;
return buf.str();
} else {
return string(_("generated transaction"));
@@ -220,7 +220,7 @@ private:
virtual string description() {
if (pos) {
std::ostringstream buf;
- buf << _("automated transaction at line %1") << pos->beg_line;
+ buf << _f("automated transaction at line %1") << pos->beg_line;
return buf.str();
} else {
return string(_("generated automated transaction"));
@@ -278,7 +278,7 @@ class period_xact_t : public xact_base_t
virtual string description() {
if (pos) {
std::ostringstream buf;
- buf << _("periodic transaction at line %1") << pos->beg_line;
+ buf << _f("periodic transaction at line %1") << pos->beg_line;
return buf.str();
} else {
return string(_("generated periodic transaction"));