Révision 1353

tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/messages/messages_fr.properties (revision 1353)
1 1
#TXM messages generated by the PluginMessagesManager class
2 2
#Mon Nov 12 17:18:22 CET 2018
3 3
EMPTY=\ 
4
error_cantCreateTmpChartFile=Impossible de créer le fichier temporaire du graphique
5
error_cantWriteInFile=Impossible d'écrire dans le fichier
4
error_cantCreateTmpChartFileP0=Impossible de créer le fichier temporaire du graphique : {0}
5
error_cantWriteInFileP0=Impossible d'écrire dans le fichier : {0}
tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/messages/ChartsEngineCoreMessages.java (revision 1353)
14 14
	private static final String BUNDLE_NAME = "org.txm.chartsengine.core.messages.messages"; //$NON-NLS-1$
15 15

  
16 16
	
17
	public static String error_cantCreateTmpChartFile;
18
	public static String error_cantWriteInFile;
17
	public static String error_cantCreateTmpChartFileP0;
18
	public static String error_cantWriteInFileP0;
19 19

  
20 20
	public static String EMPTY; 
21 21

  
tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/messages/messages.properties (revision 1353)
1 1
#TXM messages generated by the PluginMessagesManager class
2 2
#Mon Nov 12 17:18:22 CET 2018
3 3
EMPTY=\ 
4
error_cantCreateTmpChartFile=Can't create temporary chart file
5
error_cantWriteInFile=Can't write in file
4
error_cantCreateTmpChartFileP0=Can't create temporary chart file: {0}
5
error_cantWriteInFileP0=Can't write in file: {0}
tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/ChartsEngine.java (revision 1353)
9 9
import org.eclipse.core.runtime.CoreException;
10 10
import org.eclipse.core.runtime.IConfigurationElement;
11 11
import org.eclipse.core.runtime.Platform;
12
import org.eclipse.osgi.util.NLS;
12 13
import org.txm.Toolbox;
13 14
import org.txm.chartsengine.core.messages.ChartsEngineCoreMessages;
14 15
import org.txm.chartsengine.core.preferences.ChartsEnginePreferences;
......
411 412
			file = File.createTempFile(prefix, "." + this.outputFormat, resultsDir);
412 413
		}
413 414
		catch (IOException e) {
414
			Log.severe(ChartsEngineCoreMessages.error_cantCreateTmpChartFile + e);
415
			Log.severe(NLS.bind(ChartsEngineCoreMessages.error_cantCreateTmpChartFileP0, e));
415 416
			Log.printStackTrace(e);
416 417
		}
417 418

  
418 419
		// TODO : old code, useful ? and/or return null instead of the file if canWrite() return false ?
419 420
		if(!file.canWrite()) {
420
			Log.severe(ChartsEngineCoreMessages.error_cantWriteInFile + file);
421
			Log.severe(NLS.bind(ChartsEngineCoreMessages.error_cantWriteInFileP0, file));
421 422
		}
422 423
		return file;
423 424
	}
tmp/org.txm.chartsengine.jfreechart.rcp/src/org/txm/chartsengine/jfreechart/rcp/preferences/JFCChartsEnginePreferencePage.java (revision 1353)
33 33
import java.util.TreeSet;
34 34

  
35 35
import org.eclipse.jface.preference.ComboFieldEditor;
36
import org.eclipse.osgi.util.NLS;
36 37
import org.eclipse.ui.IWorkbench;
37 38
import org.txm.Toolbox;
38 39
import org.txm.chartsengine.core.ChartsEngine;
......
41 42
import org.txm.chartsengine.rcp.SWTChartsComponentsProvider;
42 43
import org.txm.chartsengine.rcp.messages.SWTComponentsProviderMessages;
43 44
import org.txm.core.engines.EngineType;
45
import org.txm.rcp.messages.TXMUIMessages;
44 46
import org.txm.rcp.preferences.TXMPreferencePage;
45 47
import org.txm.rcp.preferences.TXMPreferenceStore;
46 48

  
......
109 111
			
110 112
			
111 113
		} catch (Exception e) {
112
			System.err.println(org.txm.rcp.messages.TXMUIMessages.failedToSavePreferencesDDot + e);
114
			System.err.println(NLS.bind(TXMUIMessages.failedToSavePreferencesDDotP0, e));
113 115
		}
114 116
		return true;
115 117
	}
tmp/org.txm.translate.rcp/report.txt (revision 1353)
1
/home/mdecorde/workspace047/org.txm.ca.core/src/org/txm/ca/core/statsengine/r/functions/FactoMineRCA.java
2
	120	throw new StatException(CACoreMessages.error_errorWhileComputingCA + e.getMessage(), e);
3
	135	throw new StatException(CACoreMessages.error_failedToGetContributionColumn + e.getMessage(), e);
4
	155	throw new StatException(CACoreMessages.error_failedToGetCos2Column + e.getMessage(), e);
5
	241	throw new StatException(CACoreMessages.error_unableToExtractSingularValues + e.getMessage(), e);
6
	261	throw new StatException(CACoreMessages.error_unableToExtractSingularValues + e.getMessage(), e);
7
	282	throw new StatException(CACoreMessages.error_failedToGetConstributionRow + e.getMessage(), e);
8
	302	throw new StatException(CACoreMessages.error_failedToGetCos2Row + e.getMessage(), e);
9
	374	throw new StatException(CACoreMessages.error_unableToExtractSingularValues + e.getMessage(), e);
10
	394	throw new StatException(CACoreMessages.error_unableToExtractSingularValues + e.getMessage(), e);
11
	442	throw new StatException(CACoreMessages.error_unableToExtractSingularValues + e.getMessage(), e);
12
	457	System.out.println(CACoreMessages.error_canNotLoadCALibrary+ e);
13 1
/home/mdecorde/workspace047/org.txm.ca.rcp/src/org/txm/ca/rcp/editors/CAEditor.java
14 2
	246	System.out.println(CAUIMessages.errorWhileOpeningCAEditorDDot + e1);
15 3
	257	System.out.println(CAUIMessages.errorWhileOpeningCAEditorDDot + e);
tmp/org.txm.chartsengine.r.rcp/src/org/txm/rcp/chartsengine/r/preferences/RChartsEnginePreferencePage.java (revision 1353)
33 33
import java.util.TreeSet;
34 34

  
35 35
import org.eclipse.jface.preference.ComboFieldEditor;
36
import org.eclipse.osgi.util.NLS;
36 37
import org.eclipse.ui.IWorkbench;
37 38
import org.txm.Toolbox;
38 39
import org.txm.chartsengine.core.ChartsEngine;
......
41 42
import org.txm.chartsengine.rcp.SWTChartsComponentsProvider;
42 43
import org.txm.chartsengine.rcp.messages.SWTComponentsProviderMessages;
43 44
import org.txm.core.engines.EngineType;
45
import org.txm.rcp.messages.TXMUIMessages;
44 46
import org.txm.rcp.preferences.TXMPreferencePage;
45 47
import org.txm.rcp.preferences.TXMPreferenceStore;
46 48

  
......
111 113
			
112 114
			
113 115
		} catch (Exception e) {
114
			System.err.println(org.txm.rcp.messages.TXMUIMessages.failedToSavePreferencesDDot + e);
116
			System.err.println(NLS.bind(TXMUIMessages.failedToSavePreferencesDDotP0, e));
115 117
		}
116 118
		return true;
117 119
	}
tmp/org.txm.statsengine.r.rcp/src/org/txm/statsengine/r/rcp/preferences/RPreferencePage.java (revision 1353)
33 33
import org.eclipse.jface.preference.IntegerFieldEditor;
34 34
import org.eclipse.jface.preference.StringFieldEditor;
35 35
import org.eclipse.jface.util.PropertyChangeEvent;
36
import org.eclipse.osgi.util.NLS;
36 37
import org.eclipse.ui.IWorkbench;
37 38
import org.txm.core.preferences.TXMPreferences;
38 39
import org.txm.rcp.messages.TXMUIMessages;
......
200 201
				RWorkspace.setUseFileCommunication(RPreferences.getInstance().getBoolean(RPreferences.FILE_TRANSFERT));
201 202
			}
202 203
		} catch (Exception e) {
203
			System.err.println(TXMUIMessages.failedToSavePreferencesDDot + e);
204
			System.err.println(NLS.bind(TXMUIMessages.failedToSavePreferencesDDotP0, e));
204 205
		}
205 206
		return true;
206 207
	}
tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/messages/messages.properties (revision 1353)
9 9
computingCorrespondenceAnalysisOnP0WithPropertyP1=Computing Correspondence analysis on {0} with property {1}
10 10
contributionColumnFormat=Contribution column format
11 11
coordColumnFormat=Coord column format
12
CorrespondanceAnalysisEditorInput_11=∑
12
CorrespondanceAnalysisEditorInput_11=∑%
13 13
CorrespondanceAnalysisEditorInput_4=\#
14 14
cosColumnFormat=Cos² column format
15 15
creatingCA=Creating CA
......
20 20
error_cannot_compute_with=Error\: cannot compute CA with {0}
21 21
error_cannot_compute_with_selection=Error\: cannot compute CA with current selection\={0} 
22 22
error_opening=Error\: cannot open CAEditor with {0}
23
errorWhileOpeningCAEditorDDot=Error while opening CAEditor\: 
23
errorWhileOpeningCAEditorDDotP0=Error while opening CAEditor\: 
24 24
factPlan=Fact. plan
25 25
infosDDotP0=Infos\: {0}
26 26
lexicalTableCreatedWhenCalledFromAPartition=Lexical table (created when called from a partition)
tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/messages/messages_ru.properties (revision 1353)
8 8
computingCorrespondenceAnalysisOnP0WithPropertyP1=Расчет факторного анализа соответствий
9 9
contributionColumnFormat=Формат колонки Вклад
10 10
coordColumnFormat=Формат колонки Coord
11
CorrespondanceAnalysisEditorInput_11=∑
11
CorrespondanceAnalysisEditorInput_11=∑%
12 12
CorrespondanceAnalysisEditorInput_4=Фактор
13 13
cosColumnFormat=Формат колонки Cos²
14 14
creatingCA=Создание окна ФАС
tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/messages/CAUIMessages.java (revision 1353)
54 54
	public static String wrongInput; 
55 55
	public static String infosDDotP0; 
56 56

  
57
	public static String errorWhileOpeningCAEditorDDot; 
57
	public static String errorWhileOpeningCAEditorDDotP0; 
58 58

  
59 59
	
60 60
	public static String error_cannot_compute_with;
tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/messages/messages_fr.properties (revision 1353)
9 9
computingCorrespondenceAnalysisOnP0WithPropertyP1=Calcul de l'analyse factorielle des correspondances sur {0} avec la propriété {1}
10 10
contributionColumnFormat=Format de la colonne Contribution
11 11
coordColumnFormat=Format de la colonne Coord
12
CorrespondanceAnalysisEditorInput_11=∑
12
CorrespondanceAnalysisEditorInput_11=∑%
13 13
CorrespondanceAnalysisEditorInput_4=\#
14 14
cosColumnFormat=Format de la colonne Cos²
15 15
creatingCA=Création de la fenêtre de l'AFC
tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/editors/CAEditor.java (revision 1353)
243 243
		}
244 244
		catch (Exception e1) {
245 245
			org.txm.rcp.utils.Logger.printStackTrace(e1);
246
			System.out.println(CAUIMessages.errorWhileOpeningCAEditorDDot + e1);
246
			System.out.println(NLS.bind(CAUIMessages.errorWhileOpeningCAEditorDDotP0, e1));
247 247
			return;
248 248
		}
249 249

  
......
254 254
				editorIndex = addPage(editors.get(i), inputs.get(i));
255 255
			} catch (PartInitException e) {
256 256
				org.txm.rcp.utils.Logger.printStackTrace(e);
257
				System.out.println(CAUIMessages.errorWhileOpeningCAEditorDDot + e);
257
				System.out.println(NLS.bind(CAUIMessages.errorWhileOpeningCAEditorDDotP0, e));
258 258
				return;
259 259
			}
260 260
			setPageText(editorIndex, names.get(i));
......
372 372
				return new String[] {
373 373
						CAUIMessages.CorrespondanceAnalysisEditorInput_4,
374 374
						CAUIMessages.eigenvalue,
375
						"%", CAUIMessages.CorrespondanceAnalysisEditorInput_11 + "%", "", ""}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
375
						"%", CAUIMessages.CorrespondanceAnalysisEditorInput_11, "", ""}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
376 376
			}
377 377

  
378 378
			@Override
tmp/org.txm.ca.rcp/.settings/org.eclipse.core.resources.prefs (revision 1353)
1 1
eclipse.preferences.version=1
2
encoding//src/org/txm/ca/rcp/messages/messages.properties=UTF-8
2 3
encoding//src/org/txm/ca/rcp/messages/messages_fr.properties=UTF-8
4
encoding//src/org/txm/ca/rcp/messages/messages_ru.properties=UTF-8
tmp/org.txm.rcp/src/main/java/org/txm/rcp/preferences/TXMPreferencePage.java (revision 1353)
31 31

  
32 32
import org.eclipse.jface.preference.FieldEditor;
33 33
import org.eclipse.jface.preference.FieldEditorPreferencePage;
34
import org.eclipse.osgi.util.NLS;
34 35
import org.eclipse.swt.widgets.Composite;
35 36
import org.eclipse.ui.IWorkbenchPreferencePage;
36 37
import org.eclipse.ui.preferences.ScopedPreferenceStore;
......
81 82
			super.performOk();
82 83
			((ScopedPreferenceStore) this.getPreferenceStore()).save();
83 84
		} catch (Exception e) {
84
			System.err.println(TXMUIMessages.failedToSavePreferencesDDot + e);
85
			System.err.println(NLS.bind(TXMUIMessages.failedToSavePreferencesDDotP0, e));
85 86
		}
86 87
		return true;
87 88
	}
tmp/org.txm.rcp/src/main/java/org/txm/rcp/preferences/AdvancedPreferencePage.java (revision 1353)
30 30
import org.eclipse.jface.preference.BooleanFieldEditor;
31 31
import org.eclipse.jface.preference.ComboFieldEditor;
32 32
import org.eclipse.jface.preference.DirectoryFieldEditor;
33
import org.eclipse.osgi.util.NLS;
33 34
import org.eclipse.swt.SWT;
34 35
import org.eclipse.swt.layout.GridData;
35 36
import org.eclipse.swt.layout.RowLayout;
......
129 130
			service.executeCommand("org.txm.rcp.p2.plugins.FixUpdateHandler", null); //$NON-NLS-1$
130 131
			
131 132
		} catch (Exception e) {
132
			System.err.println(TXMUIMessages.failedToSavePreferencesDDot + e);
133
			System.err.println(NLS.bind(TXMUIMessages.failedToSavePreferencesDDotP0, e));
133 134
		}
134 135
		return true;
135 136
	}
tmp/org.txm.rcp/src/main/java/org/txm/rcp/messages/TXMUIMessages.java (revision 1353)
336 336
	public static String failedToExportResultP0DDotP1; 
337 337
	public static String p1FileSavedInP0; 
338 338
	public static String failedToExportFileP0WithDeviceP1; 
339
	public static String failedToSavePreferencesDDot; 
339
	public static String failedToSavePreferencesDDotP0; 
340 340
	public static String regexpPatternToHideFiles; 
341 341
	public static String showHiddenFiles; 
342 342
	public static String fileExplorerDDotIncorrectPattern; 
tmp/org.txm.rcp/src/main/java/org/txm/rcp/messages/messages.properties (revision 1353)
429 429

  
430 430
failedToSaveAs = ** Failed to save file {0} (error: {1}).
431 431

  
432
failedToSavePreferencesDDot = Failed to save preferences:
432
failedToSavePreferencesDDotP0=Failed to save preferences: {0}
433 433

  
434 434
fileDDot = File: 
435 435

  
tmp/org.txm.rcp/src/main/java/org/txm/rcp/messages/messages_ru.properties (revision 1353)
343 343

  
344 344
failedToSaveAs = 
345 345

  
346
failedToSavePreferencesDDot = ** Не удалось сохранить персональные настройки
346
failedToSavePreferencesDDotP0 = ** Не удалось сохранить персональные настройки {0}
347 347

  
348 348
fileExplorerDDotIncorrectPattern = ** Проводник: некорректное регулярное выражение
349 349

  
tmp/org.txm.rcp/src/main/java/org/txm/rcp/messages/messages_fr.properties (revision 1353)
397 397

  
398 398
failedToSaveAs = ** Échec de la sauvegarde du fichier {0} (erreur : {1}).
399 399

  
400
failedToSavePreferencesDDot = ** Échec de la sauvegarde des préférences
400
failedToSavePreferencesDDotP0 = ** Échec de la sauvegarde des préférences : {0}
401 401

  
402 402
fileExplorerDDotIncorrectPattern = ** Explorateur de fichiers : expression régulière incorrecte
403 403

  
tmp/org.txm.rcp/src/main/java/org/txm/rcp/Application.java (revision 1353)
280 280
//		try {
281 281
//			preferences.save();
282 282
//		} catch (IOException e) {
283
//			System.err.println(NLS.bind(TXMUIMessages.failedToSavePreferencesDDot, e));
283
//			System.err.println(NLS.bind(TXMUIMessages.failedToSavePreferencesDDotP0, e));
284 284
//			exit = true;
285 285
//			return exit;
286 286
//		}

Formats disponibles : Unified diff