mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
adding class name to displayed message
This commit is contained in:
parent
4f45e5c0ff
commit
e67ee808d4
@ -4,7 +4,7 @@ ArtifactSelectionDialog.titleLabel.text=Select which artifacts you would like to
|
|||||||
ArtifactSelectionDialog.okButton.text=OK
|
ArtifactSelectionDialog.okButton.text=OK
|
||||||
ReportVisualPanel1.reportModulesLabel.text=Report Modules:
|
ReportVisualPanel1.reportModulesLabel.text=Report Modules:
|
||||||
ReportVisualPanel1.invalidModuleWarning=Encountered an invalid Report Module
|
ReportVisualPanel1.invalidModuleWarning=Encountered an invalid Report Module
|
||||||
ReportVisualPanel1.ReportVisualPanelWillNotDisplayModule=Report Module will not be displayed.
|
ReportVisualPanel1.ReportVisualPanelWillNotDisplayModule=({0}) Report Module will not be displayed.
|
||||||
DefaultReportConfigurationPanel.infoLabel.text=This report will be configured on the next screen.
|
DefaultReportConfigurationPanel.infoLabel.text=This report will be configured on the next screen.
|
||||||
ReportVisualPanel2.dataLabel.text=Select which data to report on:
|
ReportVisualPanel2.dataLabel.text=Select which data to report on:
|
||||||
ReportVisualPanel2.deselectAllButton.text=Deselect All
|
ReportVisualPanel2.deselectAllButton.text=Deselect All
|
||||||
|
@ -142,13 +142,14 @@ final class ReportVisualPanel1 extends JPanel implements ListSelectionListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void postWarningMessage(ReportModule module) {
|
private void postWarningMessage(ReportModule module) {
|
||||||
|
String moduleClassName = (module != null) ? module.getClass().getSimpleName() : "null"; // NON_NLS
|
||||||
logger.log(Level.WARNING, "Invalid GeneralReportModule"); // NON_NLS
|
logger.log(Level.WARNING, "Invalid GeneralReportModule"); // NON_NLS
|
||||||
services.postMessage(IngestMessage.createWarningMessage(
|
services.postMessage(IngestMessage.createWarningMessage(
|
||||||
(module != null) ? module.getClass().getSimpleName() : "null", // NON_NLS
|
moduleClassName,
|
||||||
NbBundle.getMessage(this.getClass(),
|
NbBundle.getMessage(this.getClass(),
|
||||||
"ReportVisualPanel1.invalidModuleWarning"),
|
"ReportVisualPanel1.invalidModuleWarning"),
|
||||||
NbBundle.getMessage(this.getClass(),
|
NbBundle.getMessage(this.getClass(),
|
||||||
"ReportVisualPanel1.ReportVisualPanelWillNotDisplayModule")));
|
"ReportVisualPanel1.ReportVisualPanelWillNotDisplayModule", moduleClassName)));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user