Revision 1056

tmp/org.txm.lexicaltable.rcp/src/org/txm/lexicaltable/rcp/handlers/ComputeInterTextDistance.java (revision 1056)
6 6
import org.eclipse.core.commands.IHandlerListener;
7 7
import org.eclipse.jface.viewers.IStructuredSelection;
8 8
import org.eclipse.ui.handlers.HandlerUtil;
9
import org.txm.core.messages.TXMCoreMessages;
9 10
import org.txm.functions.intertextualdistance.InterTextDistance;
10 11
import org.txm.lexicaltable.core.functions.LexicalTable;
11 12
import org.txm.utils.logger.Log;
......
38 39
		try {
39 40
			dist._compute();
40 41
		} catch (Exception e) {
41
			System.out.println("Error: "+e.getLocalizedMessage());
42
			System.out.println(TXMCoreMessages.bind(TXMCoreMessages.error_error, e.getLocalizedMessage()));
42 43
			Log.printStackTrace(e);
43 44
		}
44 45
		return null;

Also available in: Unified diff