summaryrefslogtreecommitdiff
path: root/src/generate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/generate.cc')
-rw-r--r--src/generate.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/generate.cc b/src/generate.cc
index 8769c99c..bcbde9f1 100644
--- a/src/generate.cc
+++ b/src/generate.cc
@@ -374,14 +374,14 @@ void generate_posts_iterator::increment()
}
}
catch (std::exception&) {
- add_error_context(_("While parsing generated transaction (seed %1):")
- << seed);
+ add_error_context(_f("While parsing generated transaction (seed %1%):")
+ % seed);
add_error_context(buf.str());
throw;
}
catch (int) {
- add_error_context(_("While parsing generated transaction (seed %1):")
- << seed);
+ add_error_context(_f("While parsing generated transaction (seed %1%):")
+ % seed);
add_error_context(buf.str());
throw;
}