summaryrefslogtreecommitdiff
path: root/src/expr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr.cc')
-rw-r--r--src/expr.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr.cc b/src/expr.cc
index b9252714..2e96773b 100644
--- a/src/expr.cc
+++ b/src/expr.cc
@@ -145,7 +145,7 @@ value_t expr_t::calc(scope_t& scope)
}
catch (const std::exception& err) {
if (locus) {
- add_error_context("While evaluating value expression:");
+ add_error_context(_("While evaluating value expression:"));
add_error_context(op_context(ptr, locus));
}
throw;
@@ -207,7 +207,7 @@ std::ostream& operator<<(std::ostream& out, const expr_t& expr) {
string expr_context(const expr_t& expr)
{
- return expr ? op_context(expr.ptr) : "<empty expression>";
+ return expr ? op_context(expr.ptr) : _("<empty expression>");
}
} // namespace ledger