Script API: fixed translations