summaryrefslogtreecommitdiff
path: root/src/py_balance.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/py_balance.cc')
-rw-r--r--src/py_balance.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py_balance.cc b/src/py_balance.cc
index 4215519c..27be7969 100644
--- a/src/py_balance.cc
+++ b/src/py_balance.cc
@@ -78,7 +78,7 @@ amount_t balance_getitem(balance_t& bal, int i)
std::size_t len = bal.amounts.size();
if (abs(i) >= len) {
- PyErr_SetString(PyExc_IndexError, "Index out of range");
+ PyErr_SetString(PyExc_IndexError, _("Index out of range"));
throw_error_already_set();
}