fix translation method and tooltip multi-line display