Révision 2701
| tmp/org.txm.properties.core/src/org/txm/properties/core/messages/messages_fr.properties (revision 2701) | ||
|---|---|---|
| 18 | 18 |
|
| 19 | 19 |
generalStatistics_2 = Statistiques Générales |
| 20 | 20 |
|
| 21 |
info_computingPropertiesOfTheP0Corpus = Calcul des propriétés du corpus {0}...
|
|
| 22 |
info_computingPropertiesOfTheP0Partition = Calcul des propriétés de la partition {0}...
|
|
| 23 |
|
|
| 24 | 21 |
lexicalUnitsPropertiesMaxP0Values = Propriétés des unités lexicales (max {0} valeurs)
|
| 25 | 22 |
|
| 26 | 23 |
noProperty = Pas de propriété |
| tmp/org.txm.properties.core/src/org/txm/properties/core/messages/PropertiesCoreMessages.java (revision 2701) | ||
|---|---|---|
| 56 | 56 |
|
| 57 | 57 |
public static String createdTheP0; |
| 58 | 58 |
|
| 59 |
public static String info_computingPropertiesOfTheP0Corpus; |
|
| 60 | 59 |
|
| 61 |
public static String info_computingPropertiesOfTheP0Partition; |
|
| 62 | 60 |
|
| 63 |
|
|
| 64 | 61 |
static {
|
| 65 | 62 |
// initialize resource bundle |
| 66 | 63 |
Utf8NLS.initializeMessages(BUNDLE_NAME, PropertiesCoreMessages.class); |
| tmp/org.txm.properties.core/src/org/txm/properties/core/messages/messages.properties (revision 2701) | ||
|---|---|---|
| 18 | 18 |
|
| 19 | 19 |
generalStatistics_2 = Summary Statistics |
| 20 | 20 |
|
| 21 |
info_computingPropertiesOfTheP0Corpus = Computing properties of the {0} corpus...
|
|
| 22 |
info_computingPropertiesOfTheP0Partition = Computing properties of the {0} partition...
|
|
| 23 |
|
|
| 24 | 21 |
lexicalUnitsPropertiesMaxP0Values = Lexical Units properties (max {0} values)
|
| 25 | 22 |
|
| 26 | 23 |
noProperty = No property |
| tmp/org.txm.properties.core/src/org/txm/properties/core/functions/Properties.java (revision 2701) | ||
|---|---|---|
| 279 | 279 |
|
| 280 | 280 |
@Override |
| 281 | 281 |
public String getComputingStartMessage() {
|
| 282 |
// corpus properties |
|
| 283 |
if (this.getParent() instanceof CQPCorpus) {
|
|
| 284 |
return TXMCoreMessages.bind(PropertiesCoreMessages.info_computingPropertiesOfTheP0Corpus, this.getParent().getName()); |
|
| 285 |
} |
|
| 286 |
// partition properties |
|
| 287 |
else if (this.getParent() instanceof Partition) {
|
|
| 288 |
return TXMCoreMessages.bind(PropertiesCoreMessages.info_computingPropertiesOfTheP0Partition, this.getParent().getName()); |
|
| 289 |
} |
|
| 290 |
// TODO: SJ: manage more types of result if needed + seems better to wrap/delegate a method of PropertiesComputer as getComputingStartMessage() |
|
| 291 |
else {
|
|
| 292 |
return TXMCoreMessages.bind("Computing properties of {0}...", this.parent.getName());
|
|
| 293 |
} |
|
| 282 |
// do not display anything |
|
| 283 |
return ""; //$NON-NLS-1$ |
|
| 294 | 284 |
} |
| 295 | 285 |
|
| 296 | 286 |
@Override |
| 287 |
public String getComputingDoneMessage() {
|
|
| 288 |
// do not display anything |
|
| 289 |
return ""; //$NON-NLS-1$ |
|
| 290 |
} |
|
| 291 |
|
|
| 292 |
|
|
| 293 |
@Override |
|
| 297 | 294 |
protected boolean _compute(TXMProgressMonitor monitor) throws Exception {
|
| 298 | 295 |
if (computer._compute(monitor.createNewMonitor(100))) {
|
| 299 | 296 |
|
Formats disponibles : Unified diff