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/report.h | |
parent | 96172669053bbba7263a370f109f70615049a0c6 (diff) | |
download | fork-ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.tar.gz fork-ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.tar.bz2 fork-ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.zip |
Switch to using Boost.Format
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/report.h b/src/report.h index d04b3e15..085cfa48 100644 --- a/src/report.h +++ b/src/report.h @@ -434,7 +434,7 @@ public: OTHER(limit_).on(whence, predicate); } else { throw_(std::invalid_argument, - _("Could not determine beginning of period '%1'") << str); + _f("Could not determine beginning of period '%1%'") % str); } }); @@ -651,8 +651,8 @@ public: parent->terminus = datetime_t(*end); } else { throw_(std::invalid_argument, - _("Could not determine end of period '%1'") - << str); + _f("Could not determine end of period '%1%'") + % str); } }); @@ -770,8 +770,8 @@ public: ledger::epoch = parent->terminus = datetime_t(*begin); } else { throw_(std::invalid_argument, - _("Could not determine beginning of period '%1'") - << str); + _f("Could not determine beginning of period '%1%'") + % str); } }); @@ -1002,7 +1002,7 @@ public: format_t::default_style = format_t::TRUNCATE_TRAILING; else throw_(std::invalid_argument, - _("Unrecognized truncation style: '%1'") << style); + _f("Unrecognized truncation style: '%1%'") % style); format_t::default_style_changed = true; }); |