Révision 3983
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/actions/CreatePartitionDialog.java (revision 3983) | ||
---|---|---|
29 | 29 |
|
30 | 30 |
import org.eclipse.jface.dialogs.Dialog; |
31 | 31 |
import org.eclipse.jface.dialogs.MessageDialog; |
32 |
import org.eclipse.jface.resource.FontRegistry; |
|
33 |
import org.eclipse.jface.resource.JFaceResources; |
|
32 | 34 |
import org.eclipse.swt.SWT; |
33 | 35 |
import org.eclipse.swt.events.SelectionEvent; |
34 | 36 |
import org.eclipse.swt.events.SelectionListener; |
... | ... | |
127 | 129 |
Font f = nameLabel.getFont(); |
128 | 130 |
FontData defaultFont = f.getFontData()[0]; |
129 | 131 |
defaultFont.setStyle(SWT.BOLD); |
132 |
|
|
130 | 133 |
Font newf = new Font(Display.getCurrent(), defaultFont); |
131 | 134 |
nameLabel.setText(TXMUIMessages.ampNameColon); |
132 | 135 |
nameLabel.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, false, false)); |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/handlers/scripts/ExecuteImportScript.java (revision 3983) | ||
---|---|---|
57 | 57 |
import org.txm.rcp.views.corpora.CorporaView; |
58 | 58 |
import org.txm.searchengine.cqp.corpus.MainCorpus; |
59 | 59 |
import org.txm.utils.BundleUtils; |
60 |
import org.txm.utils.ExecTimer; |
|
60 | 61 |
import org.txm.utils.logger.Log; |
61 | 62 |
|
62 | 63 |
import groovy.util.GroovyScriptEngine; |
... | ... | |
175 | 176 |
|
176 | 177 |
this.releaseSemaphore(); |
177 | 178 |
|
179 |
ExecTimer.start(); |
|
180 |
|
|
178 | 181 |
for (CorpusBuild corpus : project.getChildren(CorpusBuild.class)) { |
179 | 182 |
corpus.compute(false); // pre-compute CorpusBuilds |
180 | 183 |
} |
181 | 184 |
|
182 | 185 |
monitor.done(); |
183 | 186 |
if (doUpdate) { |
184 |
Log.info(TXMUIMessages.updateDone);
|
|
187 |
Log.info(NLS.bind(TXMUIMessages.updateDoneInP0, ExecTimer.stop()));
|
|
185 | 188 |
} |
186 | 189 |
else { |
187 |
Log.info(TXMUIMessages.importDone);
|
|
190 |
Log.info(NLS.bind(TXMUIMessages.importDoneInP0, ExecTimer.stop()));
|
|
188 | 191 |
} |
189 | 192 |
return Status.OK_STATUS; |
190 | 193 |
} |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/messages/messages_fr.properties (revision 3983) | ||
---|---|---|
563 | 563 |
theP0BinaryCorpusIsNotATXM080CorpusNoSettingsNorProjectFile=Le corpus binaire {0} n''est pas un corpus TXM 0.8.0 (pas de fichier ".settings" ou ".project"). |
564 | 564 |
p1FileSavedInP0=Graphique enregistré au format {1} dans le fichier {0} |
565 | 565 |
cannotDrawAGraphicWithTheInformationProvided=** Impossible d'afficher un graphique avec les informations fournies. |
566 |
updateDone=Mise à jour terminée.
|
|
566 |
updateDoneInP0=Mise à jour terminée en {0}.
|
|
567 | 567 |
sourcesCharactersEncodingColon=Encodage des caractères des sources \: |
568 | 568 |
NoteElements=Balises de Notes |
569 | 569 |
saveParameters=Enregistrer les paramètres |
... | ... | |
617 | 617 |
outfileColonNone=Fichier de sortie \: aucun |
618 | 618 |
openingP0etc=Ouverture de {0}... |
619 | 619 |
ampMultipleSort=&Tri multiple |
620 |
importDone=Import terminé.
|
|
620 |
importDoneInP0=Import terminé en {0}.
|
|
621 | 621 |
nothingToPaste=** Le presse-papier est vide. |
622 | 622 |
tXM=TXM |
623 | 623 |
canNotCreateATableWithTheProvidedInformationColonP0=** Impossible de créer un tableau avec les informations fournies {0} |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/messages/TXMUIMessages.java (revision 3983) | ||
---|---|---|
1280 | 1280 |
|
1281 | 1281 |
public static String selectTheImportSourceDirectory; |
1282 | 1282 |
|
1283 |
public static String importDone; |
|
1283 |
public static String importDoneInP0;
|
|
1284 | 1284 |
|
1285 | 1285 |
public static String importingAP0From; |
1286 | 1286 |
|
... | ... | |
1288 | 1288 |
public static String importingTheCalculus; |
1289 | 1289 |
|
1290 | 1290 |
|
1291 |
public static String updateDone; |
|
1291 |
public static String updateDoneInP0;
|
|
1292 | 1292 |
|
1293 | 1293 |
public static String gnuLicenceLink; |
1294 | 1294 |
|
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/messages/messages.properties (revision 3983) | ||
---|---|---|
562 | 562 |
theP0BinaryCorpusIsNotATXM080CorpusNoSettingsNorProjectFile={0} binary corpus is not a TXM 0.8.0 corpus (no ".settings" nor ".project" file). |
563 | 563 |
p1FileSavedInP0=Chart saved as {1} in the file {0} |
564 | 564 |
cannotDrawAGraphicWithTheInformationProvided=** Can not draw a graphic with the information provided. |
565 |
updateDone=Update done.
|
|
565 |
updateDoneInP0=Update done in {0}.
|
|
566 | 566 |
sourcesCharactersEncodingColon=Sources characters encoding\: |
567 | 567 |
NoteElements=Notes tags |
568 | 568 |
saveParameters=Save parameters |
... | ... | |
616 | 616 |
outfileColonNone=Output file\: none |
617 | 617 |
openingP0etc=Opening {0}... |
618 | 618 |
ampMultipleSort=&Multiple Sort |
619 |
importDone=Import done.
|
|
619 |
importDoneInP0=Import done in {0}.
|
|
620 | 620 |
nothingToPaste=** Nothing in clipboard. |
621 | 621 |
tXM=TXM |
622 | 622 |
canNotCreateATableWithTheProvidedInformationColonP0=** Can not create a table with the information provided\: {0} |
Formats disponibles : Unified diff