summaryrefslogtreecommitdiff
path: root/lib/utils
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils')
-rwxr-xr-xlib/utils/pyexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/pyexec.c b/lib/utils/pyexec.c
index 8cd9848ca..e637fe544 100755
--- a/lib/utils/pyexec.c
+++ b/lib/utils/pyexec.c
@@ -94,7 +94,7 @@ STATIC int parse_compile_execute(const void *source, mp_parse_input_kind_t input
// Clear the parse tree because it has a heap pointer we don't need anymore.
*((uint32_t volatile*) &parse_tree.chunk) = 0;
#else
- mp_raise_msg(&mp_type_RuntimeError, "script compilation not supported");
+ mp_raise_msg(&mp_type_RuntimeError, translate("script compilation not supported"));
#endif
}