Fix translation bug when the source string is empty