- var str = value.as(not null).escape_to_c
- var parse = v.toolcontext.parse_expr("\"{str}\".get_translation(\"{v.domain}\", \"{v.languages_location}\").unescape_nit")
+ var str = value.escape_to_gettext
+ var code = "\"{str}\".get_translation(\"{v.domain}\", \"{v.languages_location}\")"
+ var parse = v.toolcontext.parse_expr(code)