@Override
public String getInfo(IProgressMonitor monitor) {
try {
Translation translation = (Translation) getModelElement();
SymfonyModelAccess model = SymfonyModelAccess.getDefault();
List<TransUnit> units = model.findTranslations(translation);
String html = HTMLUtils.translation2Html(translation, units);
if (html != null && html.length() > 0)
return html;
return translation.getElementName();
} catch (Exception e) {
e.printStackTrace();
}