Revision 1346

tmp/org.txm.rcp/src/main/java/org/txm/rcp/messages/messages.properties (revision 1346)
329 329

  
330 330
errorInAtOptionNameDeclarationDDot = Error in @Option name declaration:
331 331

  
332
errorWhileCallingOrgeclipseuiwindowresetPerspectiveDDot = Error while calling 'org.eclipse.ui.window.resetPerspective': 
332
errorWhileCallingOrgeclipseuiwindowresetPerspectiveDDot = Error while calling 'org.eclipse.ui.window.resetPerspective': {0}.
333 333

  
334
errorWhileCleaningPerspectiveDDotNoHandlerServiceFound = Error while cleaning perspective: no handler service found
334
errorWhileCleaningPerspectiveDDotNoHandlerServiceFound = Error while cleaning perspective: no handler service found.
335 335

  
336 336
errorWhileComputingCorpusSummary = Error while computing corpus summary
337 337

  
tmp/org.txm.rcp/src/main/java/org/txm/rcp/commands/CleanPerspective.java (revision 1346)
9 9
import org.eclipse.ui.PlatformUI;
10 10
import org.eclipse.ui.handlers.HandlerUtil;
11 11
import org.eclipse.ui.handlers.IHandlerService;
12
import org.txm.core.messages.TXMCoreMessages;
12 13
import org.txm.rcp.messages.TXMUIMessages;
13 14
import org.txm.utils.logger.Log;
14 15

  
......
42 43
			try {
43 44
				handlerService.executeCommand("org.eclipse.ui.window.resetPerspective", null); //$NON-NLS-1$
44 45
			} catch (Exception e) {
45
				System.out.println(TXMUIMessages.errorWhileCallingOrgeclipseuiwindowresetPerspectiveDDot+e);
46
				System.out.println(TXMCoreMessages.bind(TXMUIMessages.errorWhileCallingOrgeclipseuiwindowresetPerspectiveDDot, e));
46 47
				Log.printStackTrace(e);
47 48
			}
48 49
		} else {

Also available in: Unified diff