Révision 3893
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/wizard/NewCorpusWizard.java (revision 3893) | ||
---|---|---|
12 | 12 |
|
13 | 13 |
@Override |
14 | 14 |
public void init(IWorkbench workbench, IStructuredSelection selection) { |
15 |
page = new WizardNewProjectCreationPage("Corpus TXM"); |
|
16 |
page.setTitle("Corpus TXM"); |
|
17 |
page.setDescription("select the directory containing the source files"); |
|
15 |
page = new WizardNewProjectCreationPage("Corpus TXM"); //$NON-NLS-1$
|
|
16 |
page.setTitle("Corpus TXM"); //$NON-NLS-1$
|
|
17 |
page.setDescription("select the directory containing the source files"); //$NON-NLS-1$
|
|
18 | 18 |
addPage(page); |
19 | 19 |
} |
20 | 20 |
|
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/commands/editor/PrintHexacode.java (revision 3893) | ||
---|---|---|
72 | 72 |
try { |
73 | 73 |
ISelection isel = te.getTextViewer().getSelection(); |
74 | 74 |
if (isel.isEmpty()) { |
75 |
Log.info("no charracters selected.");
|
|
75 |
Log.info(TXMUIMessages.noCharactersSelected);
|
|
76 | 76 |
return; |
77 | 77 |
} |
78 | 78 |
|
... | ... | |
80 | 80 |
TextSelection tsel = (TextSelection)isel; |
81 | 81 |
String text = tsel.getText(); |
82 | 82 |
if (text.length() == 0) { |
83 |
Log.info("no charracters selected.");
|
|
83 |
Log.info(TXMUIMessages.noCharactersSelected);
|
|
84 | 84 |
return; |
85 | 85 |
} |
86 | 86 |
|
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/commands/CleanEditors.java (revision 3893) | ||
---|---|---|
4 | 4 |
import org.eclipse.core.commands.ExecutionEvent; |
5 | 5 |
import org.eclipse.jface.dialogs.MessageDialog; |
6 | 6 |
import org.eclipse.ui.handlers.HandlerUtil; |
7 |
import org.txm.rcp.messages.TXMUIMessages; |
|
7 | 8 |
|
8 | 9 |
public class CleanEditors extends AbstractHandler { |
9 | 10 |
|
... | ... | |
12 | 13 |
*/ |
13 | 14 |
@Override |
14 | 15 |
public Object execute(ExecutionEvent event) { |
15 |
if (MessageDialog.openConfirm(HandlerUtil.getActiveShell(event), "Reset the window", "This will will close all editors all non saved changes will be lost. Continue?" )) {
|
|
16 |
if (MessageDialog.openConfirm(HandlerUtil.getActiveShell(event), TXMUIMessages.resetTheEditors, TXMUIMessages.thisWillCloseAllEditors )) {
|
|
16 | 17 |
CleanPerspective.reset(event, false, true); |
17 | 18 |
} |
18 | 19 |
return null; |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/commands/workspace/UpdateCorpus.java (revision 3893) | ||
---|---|---|
146 | 146 |
try { |
147 | 147 |
if (project.compute(monitor, true)) { // TODO children should be recomputed later only when the user needs it |
148 | 148 |
|
149 |
project.appendToHistory("Updated");
|
|
149 |
project.appendToHistory(TXMUIMessages.updated);
|
|
150 | 150 |
|
151 | 151 |
this.syncExec(new Runnable() { |
152 | 152 |
|
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/commands/workspace/LoadBinaryCorporaDirectory.java (revision 3893) | ||
---|---|---|
361 | 361 |
// engine.stop(); |
362 | 362 |
// } |
363 | 363 |
|
364 |
if (sourceName.matches(".+/TXM-.\\..\\../corpora")) { |
|
365 |
sourceName = "TXM"+sourceName.substring(sourceName.length()-14, sourceName.length()-8); |
|
364 |
if (sourceName.matches(".+/TXM-.\\..\\../corpora")) { //$NON-NLS-1$
|
|
365 |
sourceName = "TXM"+sourceName.substring(sourceName.length()-14, sourceName.length()-8); //$NON-NLS-1$
|
|
366 | 366 |
} |
367 |
monitor.beginTask(TXMUIMessages.loadingBinaryCorpus +" "+sourceName+" ("+corporaFiles.size()+").", corporaFiles.size()); |
|
367 |
monitor.beginTask(TXMUIMessages.loadingBinaryCorpus +" "+sourceName+" ("+corporaFiles.size()+").", corporaFiles.size()); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
|
368 | 368 |
// job.acquireSemaphore(); |
369 | 369 |
// Toolbox.getEngineManager(EngineType.SEARCH).stopEngines(); |
370 | 370 |
// job.releaseSemaphore(); |
... | ... | |
373 | 373 |
int n = 0; |
374 | 374 |
for (File corpusDirectory : corporaFiles) { |
375 | 375 |
n++; |
376 |
monitor.subTask(TXMUIMessages.loadingTheCorpusInThePlatform+": \n"+corpusDirectory.getName()+" ("+n+"/"+corporaFiles.size()+")."); |
|
376 |
monitor.subTask(TXMUIMessages.loadingTheCorpusInThePlatform+": \n"+corpusDirectory.getName()+" ("+n+"/"+corporaFiles.size()+")."); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
|
|
377 | 377 |
monitor.worked(1); |
378 | 378 |
try { |
379 | 379 |
if (corpusDirectory.isHidden()) { |
... | ... | |
391 | 391 |
if (Workspace.isCorpusBinarydirectoryValid(corpusDirectory)) { |
392 | 392 |
project = LoadBinaryCorpus.loadBinaryCorpusAsDirectory(corpusDirectory, monitor, replace); |
393 | 393 |
} else { |
394 |
Log.fine("Skip recovering of corpus: "+corpusDirectory); |
|
394 |
Log.fine("Skip recovering of corpus: "+corpusDirectory); //$NON-NLS-1$
|
|
395 | 395 |
} |
396 | 396 |
} |
397 | 397 |
else { |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/commands/QuitHandler.java (revision 3893) | ||
---|---|---|
4 | 4 |
import org.eclipse.core.commands.ExecutionEvent; |
5 | 5 |
import org.eclipse.core.commands.ExecutionException; |
6 | 6 |
import org.eclipse.swt.widgets.Display; |
7 |
import org.txm.rcp.messages.TXMUIMessages; |
|
7 | 8 |
|
8 | 9 |
import jline.internal.Log; |
9 | 10 |
|
... | ... | |
18 | 19 |
@Override |
19 | 20 |
public Object execute(ExecutionEvent event) throws ExecutionException { |
20 | 21 |
|
21 |
Log.info("Quit TXM...");
|
|
22 |
Log.info(TXMUIMessages.quitTXM);
|
|
22 | 23 |
|
23 | 24 |
Display.getCurrent().getActiveShell().close(); |
24 | 25 |
|
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/commands/ShowSelected.java (revision 3893) | ||
---|---|---|
66 | 66 |
// creation time, last access, lastModofiedTime |
67 | 67 |
// getOwner getGroup |
68 | 68 |
try { |
69 |
Map<String, Object> attrs = Files.readAttributes(f.toPath(), "*"); |
|
69 |
Map<String, Object> attrs = Files.readAttributes(f.toPath(), "*"); //$NON-NLS-1$
|
|
70 | 70 |
|
71 |
if (attrs.get("posix:owner") != null) { |
|
72 |
System.out.println(" owner: "+attrs.get("posix:owner")); |
|
73 |
System.out.println(" ggroup: "+attrs.get("posix:group")); |
|
71 |
if (attrs.get("posix:owner") != null) { //$NON-NLS-1$
|
|
72 |
System.out.println(" owner: "+attrs.get("posix:owner")); //$NON-NLS-1$ //$NON-NLS-2$
|
|
73 |
System.out.println(" ggroup: "+attrs.get("posix:group")); //$NON-NLS-1$ //$NON-NLS-2$
|
|
74 | 74 |
} |
75 | 75 |
|
76 |
System.out.println(" last access time: "+attrs.get("lastAccessTime")); |
|
77 |
System.out.println(" last modified time: "+attrs.get("lastModifiedTime")); |
|
78 |
System.out.println(" creation time: "+attrs.get("creationTime")); |
|
76 |
System.out.println(" last access time: "+attrs.get("lastAccessTime")); //$NON-NLS-1$ //$NON-NLS-2$
|
|
77 |
System.out.println(" last modified time: "+attrs.get("lastModifiedTime")); //$NON-NLS-1$ //$NON-NLS-2$
|
|
78 |
System.out.println(" creation time: "+attrs.get("creationTime")); //$NON-NLS-1$ //$NON-NLS-2$
|
|
79 | 79 |
|
80 | 80 |
// |
81 | 81 |
// for (String attr : attrs.keySet()) { |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/commands/RecoverCorporaFromInstalls.java (revision 3893) | ||
---|---|---|
39 | 39 |
@Override |
40 | 40 |
public Object execute(ExecutionEvent event) throws ExecutionException { |
41 | 41 |
|
42 |
JobHandler job = new JobHandler("Recovering corpora") {
|
|
42 |
JobHandler job = new JobHandler(TXMUIMessages.recoveringCorpora) {
|
|
43 | 43 |
|
44 | 44 |
@Override |
45 | 45 |
protected IStatus run(IProgressMonitor monitor) { |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/commands/CleanPerspective.java (revision 3893) | ||
---|---|---|
15 | 15 |
import org.eclipse.ui.internal.Workbench; |
16 | 16 |
import org.eclipse.ui.internal.registry.PerspectiveDescriptor; |
17 | 17 |
import org.eclipse.ui.internal.registry.PerspectiveRegistry; |
18 |
import org.txm.rcp.messages.TXMUIMessages; |
|
18 | 19 |
|
19 | 20 |
public class CleanPerspective extends AbstractHandler { |
20 | 21 |
|
... | ... | |
23 | 24 |
*/ |
24 | 25 |
@Override |
25 | 26 |
public Object execute(ExecutionEvent event) { |
26 |
if (MessageDialog.openConfirm(HandlerUtil.getActiveShell(event), "Reset perspective", "This will will restore the views and close the additional views of the current perspective. Continue?" )) {
|
|
27 |
if (MessageDialog.openConfirm(HandlerUtil.getActiveShell(event), TXMUIMessages.resetPerspective, TXMUIMessages.thisWillRestoreTheViewAndCloseEditors )) {
|
|
27 | 28 |
reset(event, true, false); |
28 | 29 |
} |
29 | 30 |
return null; |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/ApplicationWorkbenchAdvisor.java (revision 3893) | ||
---|---|---|
200 | 200 |
// CREATE THE CLOSE CONTROL FILE |
201 | 201 |
String rootPath = Platform.getInstanceLocation().getURL().toURI().getPath(); |
202 | 202 |
lockFile = new File(rootPath, "txm_was_not_closed_correctly.lock"); //$NON-NLS-1$ |
203 |
Log.fine("Lock file path: "+lockFile); |
|
203 |
Log.fine("Lock file path: "+lockFile); //$NON-NLS-1$
|
|
204 | 204 |
if (lockFile.exists()) { // the close control file was not deleted //$NON-NLS-1$ |
205 | 205 |
lockFile.delete(); //$NON-NLS-1$ |
206 | 206 |
|
... | ... | |
787 | 787 |
// e1.printStackTrace(); |
788 | 788 |
// return; |
789 | 789 |
// } |
790 |
MessageDialog.openError(w.getDisplay().getActiveShell(), "Error", record.getMessage());
|
|
790 |
MessageDialog.openError(w.getDisplay().getActiveShell(), TXMUIMessages.error, record.getMessage());
|
|
791 | 791 |
} |
792 | 792 |
}); |
793 | 793 |
|
... | ... | |
1049 | 1049 |
jobHandler.setTaskName(TXMUIMessages.toolboxReady); |
1050 | 1050 |
} |
1051 | 1051 |
catch (Throwable e) { |
1052 |
System.out.println("Initialisation error: "+e);
|
|
1052 |
System.out.println(TXMUIMessages.initialisationErrorP0+e);
|
|
1053 | 1053 |
e.printStackTrace(); |
1054 | 1054 |
} |
1055 | 1055 |
} |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/Application.java (revision 3893) | ||
---|---|---|
110 | 110 |
List<String> argsList = Arrays.asList((String[]) (args.get("application.args"))); //$NON-NLS-1$ |
111 | 111 |
System.out.println(TXMCoreMessages.bind(TXMUIMessages.argsColonP0, argsList)); |
112 | 112 |
|
113 |
headlessMode = argsList.contains("--headless"); |
|
113 |
headlessMode = argsList.contains("--headless"); //$NON-NLS-1$
|
|
114 | 114 |
if (headlessMode) { |
115 | 115 |
return startHeadLess(argsList); |
116 | 116 |
} |
117 | 117 |
|
118 |
restMode = argsList.contains("--rest"); |
|
118 |
restMode = argsList.contains("--rest"); //$NON-NLS-1$
|
|
119 | 119 |
if (restMode) { |
120 | 120 |
return startRest(argsList); |
121 | 121 |
} |
... | ... | |
197 | 197 |
} |
198 | 198 |
|
199 | 199 |
if (argsList.contains("-run") //$NON-NLS-1$ |
200 |
|| System.getProperty("os.name").contains("Mac") //$NON-NLS-1$ |
|
200 |
|| System.getProperty("os.name").contains("Mac") //$NON-NLS-1$ //$NON-NLS-2$
|
|
201 | 201 |
|| Platform.inDevelopmentMode()) { // special case when TXM is run with Eclipse |
202 | 202 |
System.out.println("Running TXM"); //$NON-NLS-1$ |
203 | 203 |
// FIXME: need to check that all has been well moved in Workspace class or build.properties |
... | ... | |
292 | 292 |
} |
293 | 293 |
|
294 | 294 |
private int startRest(List<String> argsList) throws IllegalStateException, IOException { |
295 |
System.out.println("NOT IMPLEMENTED"); |
|
295 |
System.out.println("NOT IMPLEMENTED"); //$NON-NLS-1$
|
|
296 | 296 |
|
297 | 297 |
return 0; |
298 | 298 |
} |
... | ... | |
308 | 308 |
try { |
309 | 309 |
if (Toolbox.initialize(TBXPreferences.class, new LogMonitor())) { |
310 | 310 |
|
311 |
if (argsList.contains("--action=list")) { |
|
311 |
if (argsList.contains("--action=list")) { //$NON-NLS-1$
|
|
312 | 312 |
ret = doList(); |
313 | 313 |
} |
314 | 314 |
|
315 |
if (argsList.contains("--action=new")) { |
|
316 |
String path = argsList.get(argsList.indexOf("--action=new") + 1); |
|
315 |
if (argsList.contains("--action=new")) { //$NON-NLS-1$
|
|
316 |
String path = argsList.get(argsList.indexOf("--action=new") + 1); //$NON-NLS-1$
|
|
317 | 317 |
File sourcePath = new File(path); |
318 | 318 |
|
319 |
String name = argsList.get(argsList.indexOf("--action=new") + 2); |
|
319 |
String name = argsList.get(argsList.indexOf("--action=new") + 2); //$NON-NLS-1$
|
|
320 | 320 |
|
321 | 321 |
ret = doNew(sourcePath, name); |
322 | 322 |
|
323 |
} else if (argsList.contains("--action=import")) { |
|
323 |
} else if (argsList.contains("--action=import")) { //$NON-NLS-1$
|
|
324 | 324 |
String path = argsList.get(argsList.size() -1); |
325 | 325 |
File sourcePath = new File(path); |
326 | 326 |
|
327 | 327 |
ret = doImport(sourcePath); |
328 |
} else if (argsList.contains("--action=export")) { |
|
328 |
} else if (argsList.contains("--action=export")) { //$NON-NLS-1$
|
|
329 | 329 |
String path = argsList.get(argsList.size() -1).trim(); |
330 | 330 |
ret = doExport(path); |
331 |
} else if (argsList.contains("--action=remove")) { |
|
331 |
} else if (argsList.contains("--action=remove")) { //$NON-NLS-1$
|
|
332 | 332 |
String path = argsList.get(argsList.size() -1).trim(); |
333 | 333 |
ret = doRemove(path); |
334 |
} else if (argsList.contains("--action=command")) { |
|
334 |
} else if (argsList.contains("--action=command")) { //$NON-NLS-1$
|
|
335 | 335 |
|
336 | 336 |
String name = argsList.get(argsList.size() -2).trim(); |
337 | 337 |
|
338 | 338 |
String path = argsList.get(argsList.size() -1).trim(); |
339 | 339 |
|
340 | 340 |
ret = doCommand(name, path); |
341 |
} else if (argsList.contains("--action=groovy")) { |
|
341 |
} else if (argsList.contains("--action=groovy")) { //$NON-NLS-1$
|
|
342 | 342 |
|
343 | 343 |
|
344 |
String path = argsList.get(argsList.indexOf("--action=groovy") + 1).trim(); |
|
344 |
String path = argsList.get(argsList.indexOf("--action=groovy") + 1).trim(); //$NON-NLS-1$
|
|
345 | 345 |
|
346 | 346 |
ret = doGroovy(path, argsList); |
347 |
} else if (argsList.contains("--action=R")) { |
|
347 |
} else if (argsList.contains("--action=R")) { //$NON-NLS-1$
|
|
348 | 348 |
|
349 | 349 |
|
350 | 350 |
String path = argsList.get(argsList.size() -1).trim(); |
... | ... | |
355 | 355 |
Toolbox.workspace.saveParameters(true); |
356 | 356 |
Toolbox.shutdown(); |
357 | 357 |
} else { |
358 |
Log.severe("Toolbox not initialized - good luck"); |
|
358 |
Log.severe("Toolbox not initialized - good luck"); //$NON-NLS-1$
|
|
359 | 359 |
} |
360 | 360 |
} catch (Exception e) { |
361 | 361 |
// TODO Auto-generated catch block |
... | ... | |
371 | 371 |
File script = new File(path); |
372 | 372 |
if (!script.isFile()) return -1; |
373 | 373 |
if (!script.exists()) return -1; |
374 |
if (!script.getName().endsWith(".groovy")) return -1; |
|
374 |
if (!script.getName().endsWith(".groovy")) return -1; //$NON-NLS-1$
|
|
375 | 375 |
try { |
376 | 376 |
JobHandler job = ExecuteScript.executeScript(path, null, new StructuredSelection(), argsList); |
377 | 377 |
if (job != null) { |
... | ... | |
389 | 389 |
File script = new File(path); |
390 | 390 |
if (!script.isFile()) return -1; |
391 | 391 |
if (!script.exists()) return -1; |
392 |
if (!script.getName().endsWith(".R")) return -1; |
|
392 |
if (!script.getName().endsWith(".R")) return -1; //$NON-NLS-1$
|
|
393 | 393 |
|
394 | 394 |
EnginesManager<? extends Engine> em = Toolbox.getEngineManager(EngineType.STATS); |
395 | 395 |
if (em == null) return -1; |
396 | 396 |
|
397 |
Engine e = em.getEngine("R"); |
|
397 |
Engine e = em.getEngine("R"); //$NON-NLS-1$
|
|
398 | 398 |
if (e == null || !e.isRunning()) return -1; |
399 | 399 |
|
400 | 400 |
JobHandler job = ExecuteScript.executeScript(path, null, new StructuredSelection(), argsList); |
... | ... | |
420 | 420 |
|
421 | 421 |
int ret = IApplication.EXIT_OK; |
422 | 422 |
if (path.length() == 0) { |
423 |
System.err.println("No corpus name provided."); |
|
423 |
System.err.println("No corpus name provided."); //$NON-NLS-1$
|
|
424 | 424 |
ret = -1; |
425 | 425 |
} else { |
426 | 426 |
Project p = Workspace.getInstance().getProject(path); |
427 | 427 |
if (p == null) { |
428 |
System.err.println("No corpus found with name: "+path); |
|
428 |
System.err.println("No corpus found with name: "+path); //$NON-NLS-1$
|
|
429 | 429 |
ret = -1; |
430 | 430 |
} else { |
431 |
File f = new File(Toolbox.getTxmHomePath(), path+".txm"); |
|
431 |
File f = new File(Toolbox.getTxmHomePath(), path+".txm"); //$NON-NLS-1$
|
|
432 | 432 |
p.export(f); |
433 |
System.out.println("Exported file: "+f.getAbsolutePath()); |
|
433 |
System.out.println("Exported file: "+f.getAbsolutePath()); //$NON-NLS-1$
|
|
434 | 434 |
} |
435 | 435 |
} |
436 | 436 |
return ret; |
... | ... | |
440 | 440 |
|
441 | 441 |
int ret = IApplication.EXIT_OK; |
442 | 442 |
if (name.length() == 0) { |
443 |
System.err.println("No command name parameter provided. Ex: concordance, index"); |
|
443 |
System.err.println("No command name parameter provided. Ex: concordance, index"); //$NON-NLS-1$
|
|
444 | 444 |
ret = -1; |
445 | 445 |
} else if (path.length() == 0) { |
446 |
System.err.println("No target path parameter provided. Ex: corpus path /VOEUX , concordance name /VOEUX/myconc"); |
|
446 |
System.err.println("No target path parameter provided. Ex: corpus path /VOEUX , concordance name /VOEUX/myconc"); //$NON-NLS-1$
|
|
447 | 447 |
ret = -1; |
448 | 448 |
} else { |
449 |
System.out.println("CALL: "+name+ " WITH "+path); |
|
449 |
System.out.println("CALL: "+name+ " WITH "+path); //$NON-NLS-1$ //$NON-NLS-2$
|
|
450 | 450 |
CommandsAPI api = new CommandsAPI(); |
451 | 451 |
api.call(name, Workspace.getResult(path), new TXMParameters()); |
452 | 452 |
|
... | ... | |
459 | 459 |
int ret = IApplication.EXIT_OK; |
460 | 460 |
|
461 | 461 |
if (path.length() == 0) { |
462 |
System.err.println("No corpus name provided."); |
|
462 |
System.err.println("No corpus name provided."); //$NON-NLS-1$
|
|
463 | 463 |
ret = -1; |
464 | 464 |
} else { |
465 | 465 |
Project p = Workspace.getInstance().getProject(path); |
466 | 466 |
if (p == null) { |
467 |
System.err.println("No corpus found with name: "+path); |
|
467 |
System.err.println("No corpus found with name: "+path); //$NON-NLS-1$
|
|
468 | 468 |
ret = -1; |
469 | 469 |
} else { |
470 | 470 |
p.delete(); |
471 |
System.out.println("Deleted corpus: "+path); |
|
471 |
System.out.println("Deleted corpus: "+path); //$NON-NLS-1$
|
|
472 | 472 |
} |
473 | 473 |
} |
474 | 474 |
return ret; |
... | ... | |
478 | 478 |
|
479 | 479 |
int ret = IApplication.EXIT_OK; |
480 | 480 |
if (!sourcePath.exists()) { |
481 |
System.err.println("No TXM corpus file found: "+sourcePath); |
|
481 |
System.err.println("No TXM corpus file found: "+sourcePath); //$NON-NLS-1$
|
|
482 | 482 |
ret = -1; |
483 | 483 |
} else if (!sourcePath.canRead()) { |
484 |
System.err.println("Cannot read TXM corpus file: "+sourcePath); |
|
484 |
System.err.println("Cannot read TXM corpus file: "+sourcePath); //$NON-NLS-1$
|
|
485 | 485 |
ret = -1; |
486 |
} else if (!sourcePath.getName().endsWith(".txm") || !sourcePath.isFile()) { |
|
487 |
System.err.println("Not a TXM corpus file: "+sourcePath); |
|
486 |
} else if (!sourcePath.getName().endsWith(".txm") || !sourcePath.isFile()) { //$NON-NLS-1$
|
|
487 |
System.err.println("Not a TXM corpus file: "+sourcePath); //$NON-NLS-1$
|
|
488 | 488 |
ret = -1; |
489 | 489 |
} else { // DO IT |
490 | 490 |
Project p = Load080BinaryCorpus.loadBinaryCorpusArchive(sourcePath, new LogMonitor(), true); |
... | ... | |
504 | 504 |
int ret = IApplication.EXIT_OK; |
505 | 505 |
|
506 | 506 |
if (!sourcePath.exists()) { |
507 |
System.err.println("No source directory found: "+sourcePath); |
|
507 |
System.err.println("No source directory found: "+sourcePath); //$NON-NLS-1$
|
|
508 | 508 |
ret = -1; |
509 | 509 |
} else if (!sourcePath.canRead()) { |
510 |
System.err.println("Cannot read source directory: "+sourcePath); |
|
510 |
System.err.println("Cannot read source directory: "+sourcePath); //$NON-NLS-1$
|
|
511 | 511 |
ret = -1; |
512 | 512 |
} else if (!sourcePath.isDirectory()) { |
513 |
System.err.println("Not a source directory: "+sourcePath); |
|
513 |
System.err.println("Not a source directory: "+sourcePath); //$NON-NLS-1$
|
|
514 | 514 |
ret = -1; |
515 | 515 |
} else { // DO IT |
516 | 516 |
Project p = org.txm.rcp.corpuswizard.ImportWizard.doCreateProject(sourcePath, name); |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/corpuswizard/ImportWizard.java (revision 3893) | ||
---|---|---|
89 | 89 |
project = new Project(Toolbox.workspace, name); |
90 | 90 |
} |
91 | 91 |
project.setSourceDirectory(path.getAbsolutePath()); |
92 |
project.setDescription(NLS.bind(TXMUIMessages.DashImportedByP0, System.getProperty("user.name"))); //$NON-NLS-2$ //$NON-NLS-1$ |
|
92 |
project.setDescription(NLS.bind(TXMUIMessages.DashImportedByP0, System.getProperty("user.name"))); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-1$
|
|
93 | 93 |
project.setLang(Locale.getDefault().getLanguage().toLowerCase()); |
94 | 94 |
|
95 | 95 |
project.getEditionDefinition("default").setEnableCollapsible(false); //$NON-NLS-1$ |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/views/fileexplorer/FileTreeLabelProvider.java (revision 3893) | ||
---|---|---|
69 | 69 |
} |
70 | 70 |
else if (f.isFile()) { |
71 | 71 |
String fname = f.getName().toLowerCase(); |
72 |
if (fname.matches(".*\\.(mp4|avi|mkv|ogv|mpg|webm)")) { |
|
72 |
if (fname.matches(".*\\.(mp4|avi|mkv|ogv|mpg|webm)")) { //$NON-NLS-1$
|
|
73 | 73 |
imageDescriptor = AbstractUIPlugin |
74 | 74 |
.imageDescriptorFromPlugin(Application.PLUGIN_ID, |
75 | 75 |
IImageKeys.FILE_VIDEO); |
76 | 76 |
} |
77 |
else if (fname.endsWith(".txm")) { |
|
77 |
else if (fname.endsWith(".txm")) { //$NON-NLS-1$
|
|
78 | 78 |
imageDescriptor = AbstractUIPlugin |
79 | 79 |
.imageDescriptorFromPlugin(Application.PLUGIN_ID, |
80 | 80 |
IImageKeys.TXM1616); |
81 | 81 |
} |
82 |
else if (fname.matches(".*\\.(mp3|ogg|wav|flac)")) { |
|
82 |
else if (fname.matches(".*\\.(mp3|ogg|wav|flac)")) { //$NON-NLS-1$
|
|
83 | 83 |
imageDescriptor = AbstractUIPlugin |
84 | 84 |
.imageDescriptorFromPlugin(Application.PLUGIN_ID, |
85 | 85 |
IImageKeys.FILE_AUDIO); |
86 | 86 |
} |
87 |
else if (fname.matches(".*\\.(png|jpg|jpeg|bmp|gif|svg)")) { |
|
87 |
else if (fname.matches(".*\\.(png|jpg|jpeg|bmp|gif|svg)")) { //$NON-NLS-1$
|
|
88 | 88 |
imageDescriptor = AbstractUIPlugin |
89 | 89 |
.imageDescriptorFromPlugin(Application.PLUGIN_ID, |
90 | 90 |
IImageKeys.FILE_IMAGE); |
91 | 91 |
} |
92 |
else if (fname.endsWith("Macro.groovy")) { |
|
92 |
else if (fname.endsWith("Macro.groovy")) { //$NON-NLS-1$
|
|
93 | 93 |
imageDescriptor = AbstractUIPlugin |
94 | 94 |
.imageDescriptorFromPlugin(Application.PLUGIN_ID, |
95 | 95 |
IImageKeys.SCRIPT_RUN); |
96 | 96 |
} |
97 |
else if (fname.matches(".*\\.(groovy|R|py|pl|java|rb|sh|bat|js|c|cpp|xml|xsl|css)")) { |
|
97 |
else if (fname.matches(".*\\.(groovy|R|py|pl|java|rb|sh|bat|js|c|cpp|xml|xsl|css)")) { //$NON-NLS-1$
|
|
98 | 98 |
imageDescriptor = AbstractUIPlugin |
99 | 99 |
.imageDescriptorFromPlugin(Application.PLUGIN_ID, |
100 | 100 |
IImageKeys.SCRIPT); |
101 | 101 |
} |
102 |
else if (fname.matches(".*\\.(doc.|od.|pdf|rtf)")) { |
|
102 |
else if (fname.matches(".*\\.(doc.|od.|pdf|rtf)")) { //$NON-NLS-1$
|
|
103 | 103 |
imageDescriptor = AbstractUIPlugin |
104 | 104 |
.imageDescriptorFromPlugin(Application.PLUGIN_ID, |
105 | 105 |
IImageKeys.FILE_DOC); |
106 | 106 |
} |
107 |
else if (fname.endsWith("html")) { |
|
107 |
else if (fname.endsWith("html")) { //$NON-NLS-1$
|
|
108 | 108 |
imageDescriptor = AbstractUIPlugin |
109 | 109 |
.imageDescriptorFromPlugin(Application.PLUGIN_ID, |
110 | 110 |
IImageKeys.WORLD); |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/views/fileexplorer/Explorer.java (revision 3893) | ||
---|---|---|
174 | 174 |
parent.setLayout(formLayout); |
175 | 175 |
|
176 | 176 |
// controles composite |
177 |
GLComposite controls = new GLComposite(parent, SWT.NONE, "buttons"); |
|
177 |
GLComposite controls = new GLComposite(parent, SWT.NONE, "buttons"); //$NON-NLS-1$
|
|
178 | 178 |
|
179 | 179 |
FormData controlsData = new FormData(); |
180 | 180 |
controlsData.top = new FormAttachment(0); |
... | ... | |
249 | 249 |
Button txmHomeBtn = new Button(controls, SWT.NONE); |
250 | 250 |
txmHomeBtn.setLayoutData(new GridData(GridData.CENTER, GridData.CENTER, false, false)); |
251 | 251 |
txmHomeBtn.setImage(IImageKeys.getImage(IImageKeys.TXM1616)); |
252 |
txmHomeBtn.setToolTipText("Go to TXM home directory");
|
|
252 |
txmHomeBtn.setToolTipText(TXMUIMessages.goToTXMHomeDirectory);
|
|
253 | 253 |
txmHomeBtn.addSelectionListener(new SelectionAdapter() { |
254 | 254 |
|
255 | 255 |
@Override |
... | ... | |
281 | 281 |
File selectedItem = (File) selection.getFirstElement(); |
282 | 282 |
String ext = FileUtils.getExtension(selectedItem).toLowerCase(); |
283 | 283 |
if (!selectedItem.isDirectory()) { |
284 |
if (ext.endsWith("html") || ext.endsWith("bmp") || ext.endsWith("png") || ext.endsWith("jpg") || ext.endsWith("gif")) //$NON-NLS-1$ |
|
284 |
if (ext.endsWith("html") || ext.endsWith("bmp") || ext.endsWith("png") || ext.endsWith("jpg") || ext.endsWith("gif")) //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
|
|
285 | 285 |
{ |
286 | 286 |
OpenBrowser.openfile(selectedItem.getAbsolutePath()); |
287 | 287 |
} |
... | ... | |
292 | 292 |
else if (ext.equals("txm")) //$NON-NLS-1$ |
293 | 293 |
{ |
294 | 294 |
MessageBox dialog = new MessageBox(tv.getTree().getShell(), SWT.YES | SWT.NO); |
295 |
dialog.setMessage(NLS.bind("Load the {0} corpus file ?", selectedItem));
|
|
295 |
dialog.setMessage(NLS.bind(TXMUIMessages.loadTheP0CorpusFile, selectedItem));
|
|
296 | 296 |
|
297 | 297 |
int buttonID = dialog.open(); |
298 | 298 |
switch (buttonID) { |
... | ... | |
311 | 311 |
// does nothing ... |
312 | 312 |
} |
313 | 313 |
} |
314 |
else if (ext.equals("pdf") || ext.equals("odt") || ext.startsWith("doc")) //$NON-NLS-1$ |
|
314 |
else if (ext.equals("pdf") || ext.equals("odt") || ext.startsWith("doc")) //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
|
315 | 315 |
{ |
316 | 316 |
Program.launch(selectedItem.getAbsolutePath()); |
317 | 317 |
} |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/views/fileexplorer/MacroExplorer.java (revision 3893) | ||
---|---|---|
228 | 228 |
}); |
229 | 229 |
|
230 | 230 |
all = new Button(controls, SWT.CHECK); |
231 |
all.setText("all");
|
|
232 |
all.setToolTipText("Show all files");
|
|
231 |
all.setText(TXMUIMessages.all);
|
|
232 |
all.setToolTipText(TXMUIMessages.showAllFiles);
|
|
233 | 233 |
all.setLayoutData(new GridData()); |
234 | 234 |
all.addSelectionListener(new SelectionAdapter() { |
235 | 235 |
|
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/views/corpora/CorporaView.java (revision 3893) | ||
---|---|---|
376 | 376 |
TXMResult r = ((TXMResult)selectedItem); |
377 | 377 |
String mess = null; |
378 | 378 |
try {mess = r.getSimpleDetails();} |
379 |
catch(Exception e2) {Log.info("Error while getting result informations: "+e2); Log.printStackTrace(e2);}
|
|
379 |
catch(Exception e2) {Log.info(TXMUIMessages.errorWhileGettingResultInformationsP0+e2); Log.printStackTrace(e2);}
|
|
380 | 380 |
|
381 | 381 |
if (mess == null) mess = r.getName(); |
382 | 382 |
StatusLine.setMessage(mess); |
... | ... | |
398 | 398 |
for (int i = 0; i < cmds.length; i++) { |
399 | 399 |
try { |
400 | 400 |
if (cmds[i].getReturnType() != null) { // RCP hack using the command return type to associate the selection class with the command |
401 |
Log.fine("CorporaView.createPartControl(): registering command " + cmds[i].getId() + " for TXMResult of type " + cmds[i].getReturnType().getId() + "."); //$NON-NLS-3$ |
|
401 |
Log.fine("CorporaView.createPartControl(): registering command " + cmds[i].getId() + " for TXMResult of type " + cmds[i].getReturnType().getId() + "."); //$NON-NLS-1$ //$NON-NLS-2$//$NON-NLS-3$
|
|
402 | 402 |
doubleClickInstalledCommands.put(cmds[i].getReturnType().getId(), cmds[i].getId()); |
403 | 403 |
} |
404 | 404 |
} |
... | ... | |
477 | 477 |
|
478 | 478 |
if (!DeleteObject.askContinueToDelete((IStructuredSelection) sel)) return; |
479 | 479 |
|
480 |
JobHandler job = new JobHandler("Deleting", true) {
|
|
480 |
JobHandler job = new JobHandler(TXMUIMessages.deleting, true) {
|
|
481 | 481 |
|
482 | 482 |
@Override |
483 | 483 |
protected IStatus run(IProgressMonitor monitor) { |
... | ... | |
646 | 646 |
view = (CorporaView) page.showView(CorporaView.ID); |
647 | 647 |
} |
648 | 648 |
if (view == null) { |
649 |
System.out.println("Error Unite view not found: " + CorporaView.ID); |
|
649 |
System.out.println("Error Unite view not found: " + CorporaView.ID); //$NON-NLS-1$
|
|
650 | 650 |
} else { |
651 | 651 |
view.getSite().getPage().activate(view); |
652 | 652 |
} |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/views/QueriesView.java (revision 3893) | ||
---|---|---|
195 | 195 |
EditFile.openfile(path); |
196 | 196 |
refresh(); |
197 | 197 |
} catch (IOException e) { |
198 |
Log.severe("Error while exporting queries: "+e.getLocalizedMessage());
|
|
198 |
Log.severe(TXMUIMessages.errorWhileExportingQueriesP0+e.getLocalizedMessage());
|
|
199 | 199 |
} catch (Exception e) { |
200 | 200 |
// TODO Auto-generated catch block |
201 | 201 |
org.txm.utils.logger.Log.printStackTrace(e); |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/utils/LanguageSwitchHandler.java (revision 3893) | ||
---|---|---|
111 | 111 |
} |
112 | 112 |
else { |
113 | 113 |
Log.warning( |
114 |
"** Error: TXM language configuration could not be set. You can set TXM language by editing HOME/TXM-<version>/.txm/TXM.ini) configuration file by adding '-nl\n<language code>' before the '-vmargs' line."); |
|
114 |
"** Error: TXM language configuration could not be set. You can set TXM language by editing HOME/TXM-<version>/.txm/TXM.ini) configuration file by adding '-nl\n<language code>' before the '-vmargs' line."); //$NON-NLS-1$
|
|
115 | 115 |
} |
116 | 116 |
|
117 | 117 |
return null; |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/utils/SWTEditorsUtils.java (revision 3893) | ||
---|---|---|
31 | 31 |
import org.txm.core.results.TXMResult; |
32 | 32 |
import org.txm.rcp.editors.ITXMResultEditor; |
33 | 33 |
import org.txm.rcp.editors.TXMMultiPageEditor; |
34 |
import org.txm.rcp.messages.TXMUIMessages; |
|
34 | 35 |
import org.txm.utils.logger.Log; |
35 | 36 |
|
36 | 37 |
/** |
... | ... | |
335 | 336 |
|
336 | 337 |
MUIElement parent = parentPart.getParent(); |
337 | 338 |
if (parent == null) { |
338 |
Log.warning("Cannot addPart "+partToAdd+" into "+parentPart);
|
|
339 |
Log.warning(TXMUIMessages.cannotAddPartP0IntoP1+partToAdd+" into "+parentPart); //$NON-NLS-2$
|
|
339 | 340 |
return; |
340 | 341 |
} |
341 | 342 |
|
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/utils/DownloadJobHandler.java (revision 3893) | ||
---|---|---|
105 | 105 |
final int contentLength = connection.getContentLength(); |
106 | 106 |
|
107 | 107 |
if (contentLength == -1) { |
108 |
System.out.println("Could not get file size");
|
|
108 |
System.out.println(TXMUIMessages.couldNotGetFileSize);
|
|
109 | 109 |
} else { |
110 | 110 |
done = false; |
111 | 111 |
|
112 |
System.out.print(NLS.bind("Downloading {0} file...", url));
|
|
112 |
System.out.print(NLS.bind(TXMUIMessages.downloadingTheP0File, url));
|
|
113 | 113 |
|
114 | 114 |
// DownloadJobHandler job = new DownloadJobHandler("Download "+url, outfile, contentLength, done); |
115 | 115 |
// job.setUser(true); |
... | ... | |
126 | 126 |
writeFile.close(); |
127 | 127 |
input.close(); |
128 | 128 |
done = true; |
129 |
System.out.println("Done.");
|
|
129 |
System.out.println(TXMUIMessages.done);
|
|
130 | 130 |
// job.done(); |
131 | 131 |
} |
132 | 132 |
} |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/handlers/export/ExportCommand.java (revision 3893) | ||
---|---|---|
73 | 73 |
|
74 | 74 |
Object o = selection.getFirstElement(); |
75 | 75 |
if (selection .isEmpty() || !(o instanceof TXMResult)) { |
76 |
Log.warning("Slection must be a TXMResult");
|
|
76 |
Log.warning(TXMUIMessages.selectionMustBeACalculus);
|
|
77 | 77 |
} |
78 | 78 |
|
79 | 79 |
TXMResult result = (TXMResult)o; |
... | ... | |
87 | 87 |
|
88 | 88 |
|
89 | 89 |
String filepath = dialog.getZipFile().getAbsolutePath(); |
90 |
if (!(filepath.endsWith(".txmcmd"))) { |
|
91 |
filepath += filepath + ".txmcmd"; |
|
90 |
if (!(filepath.endsWith(".txmcmd"))) { //$NON-NLS-1$
|
|
91 |
filepath += filepath + ".txmcmd"; //$NON-NLS-1$
|
|
92 | 92 |
} |
93 | 93 |
|
94 | 94 |
final File zipfiledir = new File(filepath); // temporary directory to setup the archive |
... | ... | |
96 | 96 |
zipfiledir.delete(); |
97 | 97 |
zipfiledir.mkdirs(); |
98 | 98 |
|
99 |
final File zipfile = new File(filepath+".tmp"); |
|
99 |
final File zipfile = new File(filepath+".tmp"); //$NON-NLS-1$
|
|
100 | 100 |
|
101 | 101 |
JobHandler jobhandler = new JobHandler(TXMUIMessages.exportingResults) { |
102 | 102 |
|
... | ... | |
151 | 151 |
r.compute(subMonitor); // refresh result |
152 | 152 |
} |
153 | 153 |
|
154 |
File outfile = new File(zipfiledir, (TXMPreferences.getNode(r.getParametersNodePath()).name()+".parameters")); |
|
154 |
File outfile = new File(zipfiledir, (TXMPreferences.getNode(r.getParametersNodePath()).name()+".parameters")); //$NON-NLS-1$
|
|
155 | 155 |
if (r.toParametersFile(outfile)) { |
156 | 156 |
files.add(outfile); |
157 | 157 |
} |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/handlers/export/ExportCommandDialog.java (revision 3893) | ||
---|---|---|
20 | 20 |
import org.txm.Toolbox; |
21 | 21 |
import org.txm.core.preferences.TXMPreferences; |
22 | 22 |
import org.txm.core.results.TXMResult; |
23 |
import org.txm.rcp.messages.TXMUIMessages; |
|
23 | 24 |
|
24 | 25 |
/** |
25 | 26 |
* |
... | ... | |
61 | 62 |
@Override |
62 | 63 |
protected void configureShell(Shell newShell) { |
63 | 64 |
super.configureShell(newShell); |
64 |
newShell.setText(NLS.bind("Exporting command {0}", result.getName()));
|
|
65 |
newShell.setText(NLS.bind(TXMUIMessages.exportingCalculusP0, result.getName()));
|
|
65 | 66 |
newShell.setMinimumSize(400, 300); |
66 | 67 |
} |
67 | 68 |
|
... | ... | |
74 | 75 |
layout.numColumns = 3; |
75 | 76 |
|
76 | 77 |
Label l = new Label(comp, SWT.LEFT); |
77 |
l.setText("Output file");
|
|
78 |
l.setText(TXMUIMessages.outputFile);
|
|
78 | 79 |
l.setLayoutData(new GridData(GridData.BEGINNING, GridData.CENTER, false, false)); |
79 | 80 |
|
80 | 81 |
textField = new Text(comp, SWT.SINGLE | SWT.BORDER); |
... | ... | |
121 | 122 |
}); |
122 | 123 |
|
123 | 124 |
l = new Label(comp, SWT.LEFT); |
124 |
l.setText("Options");
|
|
125 |
l.setText(TXMUIMessages.options);
|
|
125 | 126 |
l.setLayoutData(new GridData(GridData.BEGINNING, GridData.CENTER, false, false, 3, 1)); |
126 | 127 |
|
127 | 128 |
exportParentsButton = new Button(comp, SWT.CHECK); |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/handlers/export/ImportCommand.java (revision 3893) | ||
---|---|---|
96 | 96 |
} |
97 | 97 |
try { |
98 | 98 |
if (dialog.open() != null) { |
99 |
StatusLine.setMessage("Importing results...");
|
|
99 |
StatusLine.setMessage(TXMUIMessages.importingTheCalculus);
|
|
100 | 100 |
String filepath = dialog.getFilterPath()+ "/" + dialog.getFileName(); //$NON-NLS-1$ |
101 | 101 |
|
102 | 102 |
final File zipfile = new File(filepath); |
103 |
File outdir = new File(Toolbox.getTxmHomePath(), "results/import"); |
|
103 |
File outdir = new File(Toolbox.getTxmHomePath(), "results/import"); //$NON-NLS-1$
|
|
104 | 104 |
DeleteDir.deleteDirectory(outdir); |
105 | 105 |
|
106 | 106 |
Zip.decompress(zipfile, outdir, false); |
... | ... | |
114 | 114 |
Arrays.sort(files); |
115 | 115 |
|
116 | 116 |
for (File parametersFile : files) { // read parameters files |
117 |
if (!parametersFile.getName().endsWith(".parameters")) continue; |
|
117 |
if (!parametersFile.getName().endsWith(".parameters")) continue; //$NON-NLS-1$
|
|
118 | 118 |
|
119 | 119 |
Properties props = new Properties(); |
120 | 120 |
BufferedReader r = IOUtils.getReader(parametersFile); |
... | ... | |
175 | 175 |
|
176 | 176 |
Class<?> cl = bundle.loadClass(className); |
177 | 177 |
|
178 |
String resultNodePath = defaultParentResult.getProject().getParametersNodeRootPath() + TXMResult.createUUID() + "_" + cl.getSimpleName(); |
|
179 |
Log.info("Importing a "+cl.getSimpleName()+" from "+resultNodePath);
|
|
178 |
String resultNodePath = defaultParentResult.getProject().getParametersNodeRootPath() + TXMResult.createUUID() + "_" + cl.getSimpleName(); //$NON-NLS-1$
|
|
179 |
Log.info(TXMUIMessages.importingAP0From+cl.getSimpleName()+" from "+resultNodePath); //$NON-NLS-2$
|
|
180 | 180 |
TXMResult parent = null; |
181 | 181 |
|
182 | 182 |
if (parent == null && UUIDDependencies.get(UUID) != null) { |
... | ... | |
190 | 190 |
// fill the preference node with the right parameter **and then** set the right parent node path |
191 | 191 |
for (Object p : props.keySet()) { |
192 | 192 |
String ps = p.toString(); |
193 |
TXMPreferences.put(resultNodePath, ps, props.getProperty(ps, "")); |
|
193 |
TXMPreferences.put(resultNodePath, ps, props.getProperty(ps, "")); //$NON-NLS-1$
|
|
194 | 194 |
} |
195 | 195 |
TXMPreferences.put(resultNodePath, TXMPreferences.PARENT_PARAMETERS_NODE_PATH, parent.getParametersNodePath()); |
196 | 196 |
|
... | ... | |
208 | 208 |
return Status.CANCEL_STATUS; |
209 | 209 |
} |
210 | 210 |
catch (Exception e) { |
211 |
Log.info(NLS.bind("Error while loading result {0}: {1}", s, e));
|
|
211 |
Log.info(NLS.bind(TXMUIMessages.errorWhileLoadingCalculusP0P1, s, e));
|
|
212 | 212 |
org.txm.utils.logger.Log.printStackTrace(e); |
213 | 213 |
if (importedResult != null) { |
214 | 214 |
importedResult.delete(); |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/handlers/results/CopyTXMResult.java (revision 3893) | ||
---|---|---|
64 | 64 |
CopyTXMResultTree.all = false; |
65 | 65 |
CopyTXMResultTree.cut = false; |
66 | 66 |
|
67 |
Log.info(NLS.bind("Copy {0}", selection.getFirstElement()));
|
|
67 |
Log.info(NLS.bind(TXMUIMessages.copyP0, selection.getFirstElement()));
|
|
68 | 68 |
return selection.getFirstElement(); |
69 | 69 |
|
70 | 70 |
} |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/handlers/results/CopyTXMResultTree.java (revision 3893) | ||
---|---|---|
79 | 79 |
all = true; |
80 | 80 |
cut = false; |
81 | 81 |
|
82 |
Log.info(NLS.bind("Copy {0} and its children", selection.getFirstElement()));
|
|
82 |
Log.info(NLS.bind(TXMUIMessages.copyP0AndItsChildren, selection.getFirstElement()));
|
|
83 | 83 |
return srcNode; |
84 | 84 |
} |
85 | 85 |
|
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/handlers/results/CutTXMResult.java (revision 3893) | ||
---|---|---|
76 | 76 |
CopyTXMResultTree.all = false; |
77 | 77 |
CopyTXMResultTree.cut = true; |
78 | 78 |
|
79 |
Log.info(NLS.bind("Cut {0}", selection.getFirstElement()));
|
|
79 |
Log.info(NLS.bind(TXMUIMessages.cutP0, selection.getFirstElement()));
|
|
80 | 80 |
return selection.getFirstElement(); |
81 | 81 |
} |
82 | 82 |
|
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/handlers/results/CutTXMResultTree.java (revision 3893) | ||
---|---|---|
76 | 76 |
CopyTXMResultTree.all = true; |
77 | 77 |
CopyTXMResultTree.cut = true; |
78 | 78 |
|
79 |
Log.info(NLS.bind("Cut {0} and its children", selection.getFirstElement()));
|
|
79 |
Log.info(NLS.bind(TXMUIMessages.cutP0AndItsChildren, selection.getFirstElement()));
|
|
80 | 80 |
return selection.getFirstElement(); |
81 | 81 |
} |
82 | 82 |
|
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/handlers/results/PasteTXMResultTree.java (revision 3893) | ||
---|---|---|
74 | 74 |
TXMResult srcNode = CopyTXMResultTree.srcNode; |
75 | 75 |
|
76 | 76 |
if (srcNode == null) { |
77 |
Log.fine("Nothing to paste");
|
|
77 |
Log.fine(TXMUIMessages.nothingToPaste);
|
|
78 | 78 |
return null; |
79 | 79 |
} |
80 | 80 |
|
81 | 81 |
if (srcNode.getParent() == null) { |
82 |
Log.fine("Error: result parent is null"); |
|
82 |
Log.fine("Error: result parent is null"); //$NON-NLS-1$
|
|
83 | 83 |
return null; |
84 | 84 |
} |
85 | 85 |
|
... | ... | |
92 | 92 |
} |
93 | 93 |
|
94 | 94 |
if (!srcNode.getParent().getResultType().equals(newParent.getResultType())) { |
95 |
Log.warning(NLS.bind("New parent type ({0}) is different from the old parent type ({1})", newParent.getResultType(), srcNode.getParent().getResultType()));
|
|
95 |
Log.warning(NLS.bind(TXMUIMessages.newParentTypeP0IsDifferentFromTheOldParentTypeP1, newParent.getResultType(), srcNode.getParent().getResultType()));
|
|
96 | 96 |
return null; |
97 | 97 |
} |
98 | 98 |
|
... | ... | |
100 | 100 |
Log.info(TXMUIMessages.WarningOnlyParametersAreClonedManualChangesAreNotTransfered); |
101 | 101 |
} |
102 | 102 |
|
103 |
Log.info(NLS.bind("Pasting {0} to {1}...", srcNode, newParent));
|
|
103 |
Log.info(NLS.bind(TXMUIMessages.pastingP0ToP1, srcNode, newParent));
|
|
104 | 104 |
|
105 | 105 |
TXMResult result = srcNode.clone(newParent, CopyTXMResultTree.all); |
106 | 106 |
if (result == null) { |
107 |
Log.warning("Error: The result was not cloned.");
|
|
107 |
Log.warning(TXMUIMessages.errorTheResultWasNotCloned);
|
|
108 | 108 |
} |
109 | 109 |
|
110 | 110 |
if (CopyTXMResultTree.cut) { |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/handlers/files/DeleteFile.java (revision 3893) | ||
---|---|---|
107 | 107 |
File file = (File) o; |
108 | 108 |
|
109 | 109 |
if (!file.getAbsolutePath().startsWith(rootPath)) { |
110 |
System.out.println("TXM won't delete files out of TXM working directory: "+file);
|
|
110 |
System.out.println(TXMUIMessages.txmWontDeleteFilesOutOfTXMWorkingDirectory+file);
|
|
111 | 111 |
continue; |
112 | 112 |
} |
113 | 113 |
|
... | ... | |
115 | 115 |
if (file.isFile()) { |
116 | 116 |
if (definitive) { |
117 | 117 |
if (!file.delete()) { |
118 |
System.out.println(NLS.bind(TXMUIMessages.failedToDeleteFileP0, file));
|
|
118 |
System.out.println(NLS.bind("", file)); //$NON-NLS-1$
|
|
119 | 119 |
} |
120 | 120 |
} else { |
121 |
File dest = new File(System.getProperty("java.io.tmpdir"), file.getName()); |
|
121 |
File dest = new File(System.getProperty("java.io.tmpdir"), file.getName()); //$NON-NLS-1$
|
|
122 | 122 |
dest.delete(); |
123 | 123 |
if (!file.renameTo(dest)) { |
124 |
System.out.println(NLS.bind("Fail to move the {0} file to the tmp directory: {1}", file, dest));
|
|
124 |
System.out.println(NLS.bind(TXMUIMessages.failToMoveTheP0FileToThxTMPDirectoryP1, file, dest));
|
|
125 | 125 |
} |
126 | 126 |
} |
127 | 127 |
} |
128 | 128 |
else if (file.isDirectory()) { |
129 | 129 |
if (!DeleteDir.deleteDirectory(file, definitive)) { |
130 |
System.out.println(NLS.bind(TXMUIMessages.failedToDeleteFileP0, file));
|
|
130 |
System.out.println(NLS.bind("", file)); //$NON-NLS-1$
|
|
131 | 131 |
} |
132 | 132 |
} |
133 | 133 |
} |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/preferences/UserPreferencePage.java (revision 3893) | ||
---|---|---|
70 | 70 |
// Auto save each result after computing and auto load them at startup |
71 | 71 |
this.addField(new BooleanFieldEditor(TBXPreferences.AUTO_PERSISTENCE_ENABLED, TXMUIMessages.enableAutomaticSaveOfAllResultsPersistence, BooleanFieldEditor.SEPARATE_LABEL, this.getFieldEditorParent())); |
72 | 72 |
|
73 |
this.addField(new IntegerFieldEditor(RCPPreferences.MAX_NUMBER_OF_COLUMNS, "The maximum number of columns shown in tables", this.getFieldEditorParent()));
|
|
73 |
this.addField(new IntegerFieldEditor(RCPPreferences.MAX_NUMBER_OF_COLUMNS, TXMUIMessages.theMaximumNumberOfColumnShownInTables, this.getFieldEditorParent()));
|
|
74 | 74 |
|
75 |
this.addField(new IntegerFieldEditor(TBXPreferences.QUERY_HISTORY_SIZE, "The maximum number of query stored in the query history", this.getFieldEditorParent()));
|
|
75 |
this.addField(new IntegerFieldEditor(TBXPreferences.QUERY_HISTORY_SIZE, TXMUIMessages.theMaximumNumberOfQueryStoredInTheQueryHistory, this.getFieldEditorParent()));
|
|
76 | 76 |
} |
77 | 77 |
|
78 | 78 |
@Override |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/preferences/DebugPreferencePage.java (revision 3893) | ||
---|---|---|
26 | 26 |
addField(new StringFieldEditor(TBXPreferences.UPDATESITE, TXMUIMessages.UpdateSiteAddress, getFieldEditorParent())); |
27 | 27 |
|
28 | 28 |
// enable some Eclipse features deactivated for TXM |
29 |
addField(new BooleanFieldEditor(TBXPreferences.EXPERT_USER, "Expert mode", getFieldEditorParent()));
|
|
29 |
addField(new BooleanFieldEditor(TBXPreferences.EXPERT_USER, TXMUIMessages.expertMode, getFieldEditorParent()));
|
|
30 | 30 |
|
31 |
addField(new BooleanFieldEditor(RCPPreferences.DISABLE_TEST_WARNING, "Disable the warning dialog when testing TXM", getFieldEditorParent()));
|
|
31 |
addField(new BooleanFieldEditor(RCPPreferences.DISABLE_TEST_WARNING, TXMUIMessages.disableTheWarningDialogWhenTestingTXM, getFieldEditorParent()));
|
|
32 | 32 |
} |
33 | 33 |
|
34 | 34 |
|
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/IImageKeys.java (revision 3893) | ||
---|---|---|
33 | 33 |
import org.eclipse.swt.graphics.Image; |
34 | 34 |
import org.eclipse.ui.plugin.AbstractUIPlugin; |
35 | 35 |
import org.osgi.framework.FrameworkUtil; |
36 |
import org.txm.rcp.messages.TXMUIMessages; |
|
36 | 37 |
import org.txm.utils.logger.Log; |
37 | 38 |
|
38 | 39 |
/** |
... | ... | |
331 | 332 |
if (!images.containsKey(imagekey)) { |
332 | 333 |
ImageDescriptor imgg = AbstractUIPlugin.imageDescriptorFromPlugin(pluginId, imagekey); |
333 | 334 |
if (imgg == null) { |
334 |
Log.severe("Warning: image not found in '" + pluginId + "' -> '" + imagekey + "'");
|
|
335 |
Log.severe(TXMUIMessages.warningImageNotFoundAtP0 + pluginId + "' -> '" + imagekey + "'"); //$NON-NLS-2$ //$NON-NLS-3$
|
|
335 | 336 |
return getImage("icons/null.png"); //$NON-NLS-1$ |
336 | 337 |
} |
337 | 338 |
|
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/messages/TXMUIMessages.java (revision 3893) | ||
---|---|---|
9 | 9 |
private static final String BUNDLE_NAME = "org.txm.rcp.messages.messages"; //$NON-NLS-1$ |
10 | 10 |
|
11 | 11 |
|
12 |
public static String theAvailableContexts; |
|
13 |
|
|
14 |
|
|
12 | 15 |
public static String theP0FileAlreadyExistsWouldYouLikeToReplaceIt; |
13 | 16 |
|
14 | 17 |
public static String theP0directoryNotABinaryCorpus; |
... | ... | |
86 | 89 |
|
87 | 90 |
public static String activateProxyService; |
88 | 91 |
|
92 |
public static String addAPropertyTest; |
|
93 |
|
|
94 |
|
|
89 | 95 |
public static String addAWord; |
90 | 96 |
|
91 | 97 |
public static String addAXsltParameter; |
... | ... | |
97 | 103 |
public static String advanced; |
98 | 104 |
|
99 | 105 |
|
106 |
public static String all; |
|
107 |
|
|
108 |
|
|
100 | 109 |
public static String allCriteria; |
110 |
|
|
111 |
|
|
112 |
public static String allPropertyTestsAreVerified; |
|
113 |
|
|
114 |
|
|
115 |
public static String allTheCorpusTextsWillBeUpdated; |
|
101 | 116 |
|
102 | 117 |
public static String alwaysSaveBeforeLaunching; |
103 | 118 |
|
... | ... | |
156 | 171 |
|
157 | 172 |
public static String canceling_2; |
158 | 173 |
|
174 |
public static String cannotAddPartP0IntoP1; |
|
175 |
|
|
176 |
|
|
159 | 177 |
public static String cannotAskForTheSimpleTabWhenTheUserHasSelectedTheAdvancedTab; |
160 | 178 |
|
161 | 179 |
public static String cannotComputeCooccurrencesWithTheCurrentSelectionP0; |
... | ... | |
167 | 185 |
public static String cannotReadTheFileP0; |
168 | 186 |
|
169 | 187 |
|
188 |
public static String cannotSetIntegerFieldWithDefaultPropertiesValue; |
|
189 |
|
|
190 |
|
|
170 | 191 |
public static String cannotStartImportConfigurationNoSourceFolderSelected; |
171 | 192 |
|
172 | 193 |
public static String cantLoadPropertiesFromCorpusP0ColonP1; |
... | ... | |
182 | 203 |
public static String checkForUpdatesAtStartup; |
183 | 204 |
|
184 | 205 |
public static String checkingForExistingWorkspaceDirectory; |
206 |
|
|
207 |
|
|
208 |
public static String checkToAddAStructureConstraint; |
|
209 |
|
|
210 |
|
|
211 |
public static String checkToTargetThisWordInTheQuery; |
|
185 | 212 |
|
186 | 213 |
public static String chooseOutfile; |
187 | 214 |
|
... | ... | |
202 | 229 |
public static String columnsSeparatedBy; |
203 | 230 |
|
204 | 231 |
public static String commands; |
232 |
|
|
233 |
|
|
234 |
public static String commaSeparatedList; |
|
205 | 235 |
|
206 | 236 |
public static String common_areYouSure; |
207 | 237 |
|
208 | 238 |
public static String common_beginning; |
209 | 239 |
|
240 |
public static String common_delete; |
|
241 |
|
|
242 |
|
|
210 | 243 |
public static String common_displayOptions; |
211 | 244 |
|
212 | 245 |
|
... | ... | |
227 | 260 |
|
228 | 261 |
|
229 | 262 |
public static String concordanceContextStructureLimits; |
263 |
|
|
264 |
|
|
265 |
public static String concordances; |
|
266 |
|
|
267 |
|
|
268 |
public static String concordancesSubSection; |
|
230 | 269 |
|
231 | 270 |
public static String configurationOfTheUserInterfaceLanguage; |
232 | 271 |
|
... | ... | |
239 | 278 |
public static String contextColon; |
240 | 279 |
|
241 | 280 |
public static String contextsDisplayOptions; |
281 |
|
|
282 |
|
|
283 |
public static String contextSize; |
|
242 | 284 |
|
243 | 285 |
public static String coocMatrixColonP0; |
244 | 286 |
|
245 | 287 |
public static String coocMatrixParameters; |
246 | 288 |
|
247 | 289 |
public static String copiedLinesColonP0; |
290 |
|
|
291 |
|
|
292 |
public static String copyP0; |
|
293 |
|
|
294 |
|
|
295 |
public static String copyP0AndItsChildren; |
|
248 | 296 |
|
249 | 297 |
|
250 | 298 |
public static String corpus; |
... | ... | |
261 | 309 |
public static String couldNotFindDirectoryColonP0; |
262 | 310 |
|
263 | 311 |
public static String couldNotFindTextP0InCorpusP1; |
312 |
|
|
313 |
|
|
314 |
public static String couldNotGetFileSize; |
|
264 | 315 |
|
265 | 316 |
public static String couldNotLaunchTheInternalWebBrowserYouMustSetThatParameterInThePreferencesMenuColonGeneralSupWebNavigator; |
317 |
|
|
318 |
|
|
319 |
public static String couldNotOpenTheParameterDialogP0; |
|
266 | 320 |
|
267 | 321 |
public static String couldNotReadInstallPreferencesFileP0; |
268 | 322 |
|
... | ... | |
291 | 345 |
public static String dDotMandatoryField; |
292 | 346 |
|
293 | 347 |
public static String defaultLanguage; |
348 |
|
|
349 |
|
|
350 |
public static String defaultReferences; |
|
294 | 351 |
|
295 | 352 |
public static String defineAndUseACompositeSorter; |
296 | 353 |
|
297 | 354 |
public static String deleteParameter; |
298 | 355 |
|
299 | 356 |
|
357 |
public static String deleting; |
|
358 |
|
|
359 |
|
|
300 | 360 |
public static String deletingP0; |
301 | 361 |
|
302 | 362 |
public static String deletingSeveralResultsP0Continue; |
... | ... | |
306 | 366 |
public static String description; |
307 | 367 |
|
308 | 368 |
public static String descriptionOfTheP0CorpusP1; |
369 |
|
|
370 |
|
|
371 |
public static String deselectAll; |
|
309 | 372 |
|
310 | 373 |
public static String desktopIsNotSupportedFatal; |
311 | 374 |
|
375 |
public static String disableTheWarningDialogWhenTestingTXM; |
|
376 |
|
|
377 |
|
|
312 | 378 |
public static String displayFont; |
313 | 379 |
|
314 | 380 |
public static String displayInFullText; |
... | ... | |
328 | 394 |
public static String doneColonP0ItemsAndP1Occ; |
329 | 395 |
|
330 | 396 |
|
397 |
public static String done; |
|
398 |
|
|
399 |
|
|
331 | 400 |
public static String doneInP0; |
332 | 401 |
|
333 | 402 |
public static String doneInP0P1; |
... | ... | |
339 | 408 |
public static String dontSaveAndRun; |
340 | 409 |
|
341 | 410 |
public static String downloading; |
411 |
|
|
412 |
|
|
413 |
public static String downloadingTheP0File; |
|
342 | 414 |
|
343 | 415 |
public static String eRROR; |
344 | 416 |
|
... | ... | |
365 | 437 |
public static String equalsTo; |
366 | 438 |
|
367 | 439 |
public static String error; |
368 |
|
|
440 |
|
|
369 | 441 |
public static String errorColonCorporaDirectoryDoesntExistColon; |
370 | 442 |
|
371 | 443 |
public static String errorColonCurrentGroovyScriptDirectoryDoesNotExistColon; |
... | ... | |
407 | 479 |
public static String errorWhileCreatingAPartitionColonP0; |
408 | 480 |
|
409 | 481 |
public static String errorWhileDeletingP0ColonP1; |
482 |
|
|
483 |
|
|
484 |
public static String errorWhileExportingQueriesP0; |
|
410 | 485 |
|
411 | 486 |
public static String errorWhileFetchingUpdatesP0; |
412 | 487 |
|
413 | 488 |
public static String errorWhileGettingCurrentPositionValueColon; |
489 |
|
|
490 |
|
|
491 |
public static String errorWhileGettingResultInformationsP0; |
|
414 | 492 |
|
493 |
public static String errorWhileLoadingCalculusP0P1; |
|
494 |
|
|
495 |
|
|
415 | 496 |
public static String errorWhileLoadingTXMP0; |
416 | 497 |
|
417 | 498 |
public static String errorWhileOpeningBibliographicRecordP0WithURLEqualsP1; |
... | ... | |
436 | 517 |
public static String errorTheProvidedInstallDirectoryDoesNotExistAborting; |
437 | 518 |
|
438 | 519 |
public static String errorTheProvidedTXMHOMEDirectoryDoesNotExistsP0Aborting; |
520 |
|
|
521 |
|
|
522 |
public static String errorTheResultWasNotCloned; |
|
439 | 523 |
|
440 | 524 |
public static String executingP0; |
441 | 525 |
|
... | ... | |
451 | 535 |
public static String executionOfP0; |
452 | 536 |
|
453 | 537 |
|
538 |
public static String expertMode; |
|
539 |
|
|
540 |
|
|
454 | 541 |
public static String exportAll; |
455 | 542 |
|
456 | 543 |
public static String exportColonCantCreateFileP0ColonP1; |
... | ... | |
460 | 547 |
public static String exportSettings; |
461 | 548 |
|
462 | 549 |
public static String exporting; |
550 |
|
|
551 |
|
|
552 |
public static String exportingCalculusP0; |
|
463 | 553 |
|
464 | 554 |
public static String exportingP0; |
465 | 555 |
|
... | ... | |
478 | 568 |
|
479 | 569 |
public static String failedToDelete; |
480 | 570 |
|
481 |
public static String failedToDeleteFileP0; |
|
482 |
|
|
483 | 571 |
public static String failedToDeleteSubcorpusP0; |
484 | 572 |
|
485 | 573 |
public static String failedToExecuteTheP0ScriptColonP1; |
... | ... | |
499 | 587 |
public static String failedToLoadCorpusFromDirectoryColonP0WeCannotFindTheNecessaryComponents; |
500 | 588 |
|
501 | 589 |
public static String failedToLoadCorpusP0; |
590 |
|
|
591 |
|
|
592 |
public static String failedToLoadPreviousValuesFromP0P1; |
|
502 | 593 |
|
503 | 594 |
|
504 | 595 |
public static String failedToRename; |
... | ... | |
506 | 597 |
public static String failedToSaveAsP0ErrorP1; |
507 | 598 |
|
508 | 599 |
public static String failedToSavePreferencesColonP0; |
600 |
|
|
601 |
|
|
602 |
public static String failToMoveTheP0FileToThxTMPDirectoryP1; |
|
509 | 603 |
|
510 | 604 |
public static String fileColon; |
511 | 605 |
|
... | ... | |
537 | 631 |
public static String goToTXMHome; |
538 | 632 |
|
539 | 633 |
public static String goToTXMHome_2; |
634 |
|
|
635 |
|
|
636 |
public static String goToTXMHomeDirectory; |
|
540 | 637 |
|
541 | 638 |
public static String graphicsKeyboardShortcuts; |
542 | 639 |
|
... | ... | |
565 | 662 |
public static String info_txmIsReady; |
566 | 663 |
|
567 | 664 |
|
665 |
public static String initialisationErrorP0; |
|
666 |
|
|
667 |
|
|
568 | 668 |
public static String initializationOfThePlatform; |
569 | 669 |
|
570 | 670 |
public static String initializingPlatform; |
571 | 671 |
|
572 | 672 |
public static String initializingToolboxEnginesAndCorpora; |
673 |
|
|
674 |
|
|
675 |
public static String initialZoom; |
|
573 | 676 |
|
574 | 677 |
public static String installPathColonP0; |
575 | 678 |
|
... | ... | |
602 | 705 |
public static String listOfTagsEncodingTheOutsidetextNoStructureOrWordContentIndexedNoStructureOrWordContentEditedInTXM; |
603 | 706 |
|
604 | 707 |
public static String listOfTagsEncodingTheOutsidetextToEditNoStructureOrWordContentIndexedStructureAndWordContentEditedInTXM; |
708 |
|
|
709 |
|
|
710 |
public static String listOfValuesToSelect; |
|
605 | 711 |
|
606 | 712 |
public static String loadingBinaryCorpus; |
607 | 713 |
|
... | ... | |
614 | 720 |
public static String theP0BinaryCorpusVersionIsP1; |
615 | 721 |
|
616 | 722 |
public static String loadingViews; |
723 |
|
|
724 |
|
|
725 |
public static String loadTheP0CorpusFile; |
|
617 | 726 |
|
618 | 727 |
public static String lockRCPWorkspace; |
619 | 728 |
|
... | ... | |
684 | 793 |
|
685 | 794 |
public static String newName; |
686 | 795 |
|
796 |
public static String newParentTypeP0IsDifferentFromTheOldParentTypeP1; |
|
797 |
|
|
798 |
|
|
687 | 799 |
public static String newPart; |
688 | 800 |
|
689 | 801 |
public static String nextPage; |
... | ... | |
695 | 807 |
public static String noActivePage; |
696 | 808 |
|
697 | 809 |
public static String noActiveWorkbenchWindow; |
810 |
|
|
811 |
|
|
812 |
public static String noCharactersSelected; |
|
698 | 813 |
|
699 | 814 |
public static String noDefaultEditionPageFoundForElementColon; |
700 | 815 |
|
... | ... | |
724 | 839 |
public static String numberOfNodesP0; |
725 | 840 |
|
726 | 841 |
public static String objColon; |
842 |
|
|
843 |
|
|
844 |
public static String oneConfigure; |
|
845 |
|
|
846 |
|
|
847 |
public static String onlyTheModifiedCorpusTextsAreUpdated; |
|
727 | 848 |
|
728 | 849 |
public static String openTheQueryAssistant; |
729 | 850 |
|
... | ... | |
734 | 855 |
public static String options; |
735 | 856 |
|
736 | 857 |
public static String outfileColonNone; |
858 |
|
|
859 |
public static String outputFile; |
|
737 | 860 |
|
738 | 861 |
public static String outsidetext; |
739 | 862 |
|
... | ... | |
771 | 894 |
public static String printTheStacktrace; |
772 | 895 |
|
773 | 896 |
public static String propertiesColon; |
897 |
|
|
898 |
|
|
899 |
public static String propertyToTest; |
|
774 | 900 |
|
775 | 901 |
public static String punctuations; |
776 | 902 |
|
... | ... | |
783 | 909 |
public static String queryAssistant; |
784 | 910 |
|
785 | 911 |
public static String queryCannotBeLeftEmpty; |
912 |
|
|
913 |
|
|
914 |
public static String queryOptions; |
|
915 |
|
|
916 |
|
|
917 |
public static String quitTXM; |
|
786 | 918 |
|
787 | 919 |
public static String ready; |
788 | 920 |
|
789 | 921 |
public static String readyToShowUpdateUI; |
922 |
|
|
923 |
|
|
924 |
public static String recoveringCorpora; |
|
790 | 925 |
|
791 | 926 |
public static String referencesAmpdisplayOptions; |
792 | 927 |
|
... | ... | |
797 | 932 |
public static String referencesSortOptions; |
798 | 933 |
|
799 | 934 |
public static String refreshingCorpora; |
935 |
|
|
936 |
|
|
937 |
public static String refreshTheQuery; |
|
800 | 938 |
|
801 | 939 |
public static String regexpPatternToHideFiles; |
940 |
|
|
941 |
|
|
942 |
public static String regularExpressionToUse; |
|
802 | 943 |
|
803 | 944 |
public static String reload; |
804 | 945 |
|
... | ... | |
806 | 947 |
|
807 | 948 |
public static String removeFromSelection; |
808 | 949 |
|
950 |
public static String removeTheLastPropertyTest; |
|
951 |
|
|
952 |
|
|
809 | 953 |
public static String removeTheLastWord; |
810 | 954 |
|
811 | 955 |
public static String removeUnnecessaryE4Elements; |
... | ... | |
817 | 961 |
|
818 | 962 |
public static String renamingByColon; |
819 | 963 |
|
964 |
public static String resetTheEditors; |
|
965 |
|
|
966 |
|
|
820 | 967 |
public static String resetTheViewColonF5; |
821 | 968 |
|
822 | 969 |
public static String restartTXM; |
... | ... | |
841 | 988 |
public static String saveBeforeExecution; |
842 | 989 |
|
843 | 990 |
public static String saveFileBeforeExecution; |
991 |
|
|
992 |
|
|
993 |
public static String saveParameters; |
|
844 | 994 |
|
845 | 995 |
public static String saveScript; |
846 | 996 |
|
... | ... | |
855 | 1005 |
public static String select; |
856 | 1006 |
|
857 | 1007 |
public static String selectACompositeSorter; |
1008 |
|
|
1009 |
|
|
1010 |
public static String selectAll; |
|
858 | 1011 |
|
859 | 1012 |
public static String selectAProperty; |
860 | 1013 |
|
... | ... | |
865 | 1018 |
public static String selectTheSourceDirectory; |
866 | 1019 |
|
867 | 1020 |
public static String selectValuesToAssignColon; |
1021 |
|
|
1022 |
|
|
1023 |
public static String selectValuesUsingARegularExpression; |
|
868 | 1024 |
|
869 | 1025 |
public static String selectionIsNotACorpusColon; |
1026 |
|
|
1027 |
|
|
1028 |
public static String selectionMustBeACalculus; |
|
870 | 1029 |
|
871 | 1030 |
public static String separatedByAtLeast0Word; |
872 | 1031 |
|
... | ... | |
882 | 1041 |
|
883 | 1042 |
public static String shouldNotHappen; |
884 | 1043 |
|
1044 |
public static String showAllFiles; |
|
1045 |
|
|
1046 |
|
|
885 | 1047 |
public static String showAllResultNodesInCorporaView; |
886 | 1048 |
|
887 | 1049 |
public static String showExportResultInTheTextEditor; |
... | ... | |
889 | 1051 |
public static String showHiddenFiles; |
890 | 1052 |
|
891 | 1053 |
public static String showHideCommandParameters; |
1054 |
|
|
1055 |
|
Formats disponibles : Unified diff