mirror of
https://github.com/elisspace/autopsy.git
synced 2026-09-06 02:24:30 +00:00
Extracted newly added hard coded strings.
This commit is contained in:
@@ -11,3 +11,5 @@ STIXReportModule.progress.completedWithErrors=Completed with errors
|
||||
STIXReportModule.notifyMsg.unableToOpenFileDir=Unable to open STIX file/directory {0}
|
||||
STIXReportModule.progress.couldNotOpenFileDir=Could not open file/directory {0}
|
||||
STIXReportModule.notifyMsg.tooManyArtifactsgt1000=Too many STIX-related artifacts generated for "{0}". Only saving first 1000.
|
||||
STIXReportModule.notifyErr.noFildDirProvided=No STIX file/directory provided
|
||||
STIXReportModule.progress.noFildDirProvided=No STIX file/directory provided
|
||||
|
||||
@@ -132,17 +132,21 @@ public class STIXReportModule implements GeneralReportModule {
|
||||
// Process the file/directory name entry
|
||||
String stixFileName = configPanel.getStixFile();
|
||||
if (stixFileName == null) {
|
||||
logger.log(Level.SEVERE, "STIXReportModuleConfigPanel.stixFile not initialized ");
|
||||
MessageNotifyUtil.Message.error("No STIX file/directory provided ");
|
||||
logger.log(Level.SEVERE, "STIXReportModuleConfigPanel.stixFile not initialized "); //NON-NLS
|
||||
MessageNotifyUtil.Message.error(
|
||||
NbBundle.getMessage(this.getClass(), "STIXReportModule.notifyErr.noFildDirProvided"));
|
||||
progressPanel.complete();
|
||||
progressPanel.updateStatusLabel("No STIX file/directory provided ");
|
||||
progressPanel.updateStatusLabel(
|
||||
NbBundle.getMessage(this.getClass(), "STIXReportModule.progress.noFildDirProvided"));
|
||||
return;
|
||||
}
|
||||
if (stixFileName.isEmpty()) {
|
||||
logger.log(Level.SEVERE, "No STIX file/directory provided ");
|
||||
MessageNotifyUtil.Message.error("No STIX file/directory provided ");
|
||||
logger.log(Level.SEVERE, "No STIX file/directory provided "); //NON-NLS
|
||||
MessageNotifyUtil.Message.error(
|
||||
NbBundle.getMessage(this.getClass(), "STIXReportModule.notifyErr.noFildDirProvided"));
|
||||
progressPanel.complete();
|
||||
progressPanel.updateStatusLabel("No STIX file/directory provided ");
|
||||
progressPanel.updateStatusLabel(
|
||||
NbBundle.getMessage(this.getClass(), "STIXReportModule.progress.noFildDirProvided"));
|
||||
return;
|
||||
}
|
||||
File stixFile = new File(stixFileName);
|
||||
|
||||
Reference in New Issue
Block a user