Revision 1343

tmp/org.txm.rcp/src/main/java/org/txm/rcp/messages/messages.properties (revision 1343)
171 171

  
172 172
copiedLinesDDot = Copied line(s): \n
173 173

  
174
corporaBackupedDDotP0 = Corpora backuped: {0}
174
corporaBackupedDDotP0 = Corpora backuped in: {0}.
175 175

  
176 176
corpus = Corpus
177 177

  
tmp/org.txm.rcp/src/main/java/org/txm/rcp/messages/messages_ru.properties (revision 1343)
137 137

  
138 138
copiedLinesDDot = Скопированные строки: \n
139 139

  
140
corporaBackupedDDotP0 = Corpora backuped: {0} 
140
corporaBackupedDDotP0 = 
141 141

  
142 142
corpus = Корпус
143 143

  
tmp/org.txm.rcp/src/main/java/org/txm/rcp/ApplicationWorkbenchAdvisor.java (revision 1343)
810 810
	private void installCorporaFromSamplesDirectory(IProgressMonitor monitor) {
811 811

  
812 812
		String installdirpath = Toolbox.getInstallDirectory();
813
		File sampleCorporaDirectory = new File(installdirpath, "samples");
813
		File sampleCorporaDirectory = new File(installdirpath, "samples"); //$NON-NLS-1$
814 814
		
815 815
		if (txmhomedir == null) {
816 816
			txmhomedir = new File(Toolbox.getTxmHomePath().trim());
......
986 986
	 */
987 987
	private void callStartScript() {
988 988
		try {
989
			File startupScript = new File(Toolbox.getTxmHomePath(), "scripts/user/start.groovy");
989
			File startupScript = new File(Toolbox.getTxmHomePath(), "scripts/user/start.groovy");//$NON-NLS-1$
990 990
			if (startupScript.exists() && startupScript.canRead()) {
991 991
				ExecuteGroovyScript.executeScript(startupScript.getAbsolutePath(), null, null, true);
992 992
			}
993 993
		} catch(Exception e) {
994
			System.out.println("Fail to execute 'start.groovy' script: "+e);
994
			System.out.println(TXMCoreMessages.bind("Fail to execute 'start.groovy' script: {0}.", e));
995 995
			Log.printStackTrace(e);
996 996
		}
997 997
	}
......
1001 1001
	 */
1002 1002
	private void callStopScript() {
1003 1003
		try {
1004
			File stopScript = new File(Toolbox.getTxmHomePath(), "scripts/user/stop.groovy");
1004
			File stopScript = new File(Toolbox.getTxmHomePath(), "scripts/user/stop.groovy"); //$NON-NLS-1$
1005 1005
			if (stopScript.exists() && stopScript.canRead()) {
1006 1006

  
1007 1007
				ExecuteGroovyScript.executeScript(stopScript.getAbsolutePath(), null, null, true);
1008 1008
			}
1009 1009
		} catch(Exception e) {
1010
			System.out.println("Fail to execute 'stop.groovy' script: "+e);
1010
			System.out.println(TXMCoreMessages.bind("Fail to execute 'stop.groovy' script: {0}.", e));
1011 1011
			Log.printStackTrace(e);
1012 1012
		}
1013 1013
	}
......
1055 1055
										return;
1056 1056
									}
1057 1057

  
1058
									monitor.setTaskName("Calling start script...");
1058
									monitor.setTaskName("Calling Groovy start script...");
1059 1059
									callStartScript();
1060 1060
								} catch (Exception e) {
1061 1061
									// TODO Auto-generated catch block
......
1086 1086

  
1087 1087
				}
1088 1088
				catch(Exception e) {
1089
					System.out.println("Error during UI initialization: "+e.getLocalizedMessage());
1089
					System.out.println(TXMCoreMessages.bind("Error during UI initialization: {0}.", e.getLocalizedMessage()));
1090 1090
					e.printStackTrace();
1091 1091
				}
1092 1092
			}

Also available in: Unified diff