diff options
author | John Wiegley <johnw@newartisans.com> | 2012-05-14 21:36:42 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-05-14 21:44:00 -0600 |
commit | f4f3058b8cd75c04080f9b68cb54b9584eafb39f (patch) | |
tree | eca9ca6ceca001209fb93c05b52e21031280d18c /src/xact.h | |
parent | 96172669053bbba7263a370f109f70615049a0c6 (diff) | |
download | ledger-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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")); |