translate: support inplace-translated lines
translate: Check if inplace translation is safe