Révision 330
tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/messages/messages.properties (revision 330) | ||
---|---|---|
1 | 1 |
|
2 |
CHARTS_LABEL_VALUE_SEPARATORS = \
|
|
2 |
charts_labelValueSeparator = \
|
|
3 | 3 |
|
4 |
ERROR_CANT_CREATE_TMP_FILE_CHART = Can't create temporary chart file |
|
5 |
ERROR_CANT_WRITE_IN_FILE = Can't write in file |
|
4 |
error_cantCreateTmpChartFile = Can't create temporary chart file |
|
5 |
error_cantWriteInFile = Can't write in file |
tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/messages/messages_fr.properties (revision 330) | ||
---|---|---|
1 | 1 |
|
2 |
CHARTS_LABEL_VALUE_SEPARATORS = \
|
|
2 |
charts_labelValueSeparator = \
|
|
3 | 3 |
|
4 |
ERROR_CANT_CREATE_TMP_FILE_CHART = Impossible de créer le fichier temporaire du graphique |
|
5 |
ERROR_CANT_WRITE_IN_FILE = Impossible d'écrire dans le fichier |
|
4 |
error_cantCreateTmpChartFile = Impossible de créer le fichier temporaire du graphique |
|
5 |
error_cantWriteInFile = Impossible d'écrire dans le fichier |
tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/messages/ChartsEngineCoreMessages.java (revision 330) | ||
---|---|---|
9 | 9 |
|
10 | 10 |
private static final String BUNDLE_NAME = "org.txm.chartsengine.core.messages.messages"; //$NON-NLS-1$ |
11 | 11 |
|
12 |
public static String ERROR_CANT_CREATE_TMP_FILE_CHART;
|
|
13 |
public static String ERROR_CANT_WRITE_IN_FILE;
|
|
12 |
public static String error_cantCreateTmpChartFile;
|
|
13 |
public static String error_cantWriteInFile;
|
|
14 | 14 |
|
15 |
public static String CHARTS_LABEL_VALUE_SEPARATORS;
|
|
15 |
public static String charts_labelValueSeparator;
|
|
16 | 16 |
|
17 | 17 |
|
18 | 18 |
static { |
tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/ChartsEngine.java (revision 330) | ||
---|---|---|
357 | 357 |
file = File.createTempFile(prefix, "." + this.outputFormat, resultsDir); |
358 | 358 |
} |
359 | 359 |
catch (IOException e) { |
360 |
Log.severe(ChartsEngineCoreMessages.ERROR_CANT_CREATE_TMP_FILE_CHART + e);
|
|
360 |
Log.severe(ChartsEngineCoreMessages.error_cantCreateTmpChartFile + e);
|
|
361 | 361 |
} |
362 | 362 |
|
363 | 363 |
// TODO : old code, useful ? and/or return null instead of the file if canWrite() return false ? |
364 | 364 |
if(!file.canWrite()) { |
365 |
Log.severe(ChartsEngineCoreMessages.ERROR_CANT_WRITE_IN_FILE + file);
|
|
365 |
Log.severe(ChartsEngineCoreMessages.error_cantWriteInFile + file);
|
|
366 | 366 |
} |
367 | 367 |
return file; |
368 | 368 |
} |
Formats disponibles : Unified diff