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/post.cc | |
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/post.cc')
-rw-r--r-- | src/post.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/post.cc b/src/post.cc index 0564eaca..e89c0e7c 100644 --- a/src/post.cc +++ b/src/post.cc @@ -292,13 +292,13 @@ namespace { } else { throw_(std::runtime_error, - _("Expected string or mask for argument 1, but received %1") - << args[0].label()); + _f("Expected string or mask for argument 1, but received %1%") + % args[0].label()); } if (! acct) throw_(std::runtime_error, - _("Could not find an account matching ") << args[0]); + _f("Could not find an account matching '%1%'") % args[0]); return value_t(static_cast<scope_t *>(acct)); } |