mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
Modified labels and titles for filters.
This commit is contained in:
parent
acd4b81f4e
commit
450faba419
@ -33,7 +33,8 @@ import org.sleuthkit.autopsy.ingest.IngestProfiles.IngestProfile;
|
||||
*/
|
||||
class ProfilePanel extends IngestModuleGlobalSettingsPanel {
|
||||
|
||||
@NbBundle.Messages({"ProfilePanel.profileDescLabel.text=Description:",
|
||||
@NbBundle.Messages({"ProfilePanel.title.text=Profile",
|
||||
"ProfilePanel.profileDescLabel.text=Description:",
|
||||
"ProfilePanel.profileNameLabel.text=Profile Name:",
|
||||
"ProfilePanel.newProfileText=NewEmptyProfile",
|
||||
"ProfilePanel.messages.profilesMustBeNamed=Ingest profile must be named.",
|
||||
@ -50,6 +51,7 @@ class ProfilePanel extends IngestModuleGlobalSettingsPanel {
|
||||
*/
|
||||
ProfilePanel() {
|
||||
initComponents();
|
||||
setName(org.openide.util.NbBundle.getMessage(ProfilePanel.class, "ProfilePanel.title.text"));
|
||||
settings = new IngestJobSettings(NEW_PROFILE_NAME);
|
||||
ingestSettingsPanel = new IngestJobSettingsPanel(settings);
|
||||
ingestSettingsPanel.setPastJobsButtonVisible(false);
|
||||
@ -59,6 +61,7 @@ class ProfilePanel extends IngestModuleGlobalSettingsPanel {
|
||||
|
||||
ProfilePanel(IngestProfile selectedProfile) {
|
||||
initComponents();
|
||||
setName(org.openide.util.NbBundle.getMessage(ProfilePanel.class, "ProfilePanel.title.text"));
|
||||
profile = selectedProfile;
|
||||
profileDescArea.setText(profile.getDescription());
|
||||
profileNameField.setText(profile.getName());
|
||||
|
@ -4,8 +4,6 @@ OpenIDE-Module-Short-Description=Interesting Files Identifier ingest module.
|
||||
OpenIDE-Module-Name=Interesting Files Identifier
|
||||
OptionsCategory_Name_InterestingItemDefinitions=Interesting Files
|
||||
OptionsCategory_Keywords_InterestingItemDefinitions=InterestingItemDefinitions
|
||||
OptionsCategory_Name_FileIngestFilterDefinitions=File Ingest Filter
|
||||
OptionsCategory_Keywords_FileIngestFilterDefinitions=FileIngestFilterDefinitions
|
||||
InterestingItemsIdentifierIngestModule.moduleName=Interesting Files Identifier
|
||||
InterestingItemsIdentifierIngestModule.moduleDescription=Identifies interesting items as defined by interesting item rule sets.
|
||||
FilesSetPanel.interesting.title=Interesting Files Set
|
||||
@ -45,7 +43,7 @@ FilesSetRulePanel.fileSizeCheck.text=File Size:
|
||||
FilesSetRulePanel.filesRadioButton.text=Files
|
||||
FilesSetRulePanel.dirsRadioButton.text=Directories
|
||||
FilesSetDefsPanel.interesting.setsListLabel.text=Rule Sets:
|
||||
FilesSetDefsPanel.ingest.setsListLabel.text=File Ingest Filters:
|
||||
FilesSetDefsPanel.ingest.setsListLabel.text=File Filters:
|
||||
FilesSetDefsPanel.interesting.jTextArea1.text=This module allows you to find files that match specified criteria. Each set has a list of rules, which will match on their chosen file characteristics. A file need only match one rule to be found.
|
||||
FilesSetDefsPanel.ingest.jTextArea1.text=Add rules so that only a subset of the files in a data source are analyzed. Rules are organized into sets and only one set can be used at a time. A file need only match one rule to be analyzed.
|
||||
FilesSetDefsPanel.interesting.editSetButton.text=Edit Set
|
||||
|
@ -77,6 +77,7 @@ public final class FilesSetDefsPanel extends IngestModuleGlobalSettingsPanel imp
|
||||
private final JButton okButton = new JButton("OK");
|
||||
private final JButton cancelButton = new JButton("Cancel");
|
||||
private final PANEL_TYPE panelType;
|
||||
private final String filterDialogTitle;
|
||||
private final String ruleDialogTitle;
|
||||
private boolean canBeEnabled = true;
|
||||
|
||||
@ -109,7 +110,8 @@ public final class FilesSetDefsPanel extends IngestModuleGlobalSettingsPanel imp
|
||||
this.jLabel7.setVisible(false);
|
||||
this.fileSizeUnitComboBox.setVisible(false);
|
||||
this.fileSizeSpinner.setVisible(false);
|
||||
this.ruleDialogTitle = "FilesSetPanel.ingest.title";
|
||||
this.filterDialogTitle = "FilesSetPanel.filter.title";
|
||||
this.ruleDialogTitle = "FilesSetPanel.rule.title";
|
||||
this.jLabel8.setVisible(false);
|
||||
this.equalitySignComboBox.setVisible(false);
|
||||
this.ignoreKnownFilesCheckbox.setVisible(false);
|
||||
@ -124,13 +126,14 @@ public final class FilesSetDefsPanel extends IngestModuleGlobalSettingsPanel imp
|
||||
org.openide.awt.Mnemonics.setLocalizedText(deleteSetButton, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class, "FilesSetDefsPanel.ingest.deleteSetButton.text")); // NOI18N
|
||||
org.openide.awt.Mnemonics.setLocalizedText(jLabel6, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class, "FilesSetDefsPanel.ingest.jLabel6.text")); // NOI18N
|
||||
} else {
|
||||
this.filterDialogTitle = "FilesSetPanel.interesting.title";
|
||||
this.ruleDialogTitle = "FilesSetPanel.interesting.title";
|
||||
this.ingoreUnallocCheckbox.setVisible(false);
|
||||
}
|
||||
}
|
||||
|
||||
@NbBundle.Messages({"FilesSetDefsPanel.Interesting.Title=Global Interesting Items Settings",
|
||||
"FilesSetDefsPanel.Ingest.Title=File Ingest Filter Settings"})
|
||||
"FilesSetDefsPanel.Ingest.Title=File Filter Settings"})
|
||||
private void customInit() {
|
||||
if (panelType == PANEL_TYPE.FILE_INGEST_FILTERS) {
|
||||
setName(Bundle.FilesSetDefsPanel_Ingest_Title());
|
||||
@ -408,7 +411,7 @@ public final class FilesSetDefsPanel extends IngestModuleGlobalSettingsPanel imp
|
||||
// feedback when isValidDefinition() is called.
|
||||
int option = JOptionPane.OK_OPTION;
|
||||
do {
|
||||
option = JOptionPane.showConfirmDialog(null, panel, NbBundle.getMessage(FilesSetPanel.class, ruleDialogTitle), JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
|
||||
option = JOptionPane.showConfirmDialog(null, panel, NbBundle.getMessage(FilesSetPanel.class, filterDialogTitle), JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
|
||||
} while (option == JOptionPane.OK_OPTION && !panel.isValidDefinition());
|
||||
|
||||
// While adding new ruleset(selectedSet == null), if rule set with same name already exists, do not add to the filesSets hashMap.
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Autopsy Forensic Browser
|
||||
*
|
||||
* Copyright 2014-2016 Basis Technology Corp.
|
||||
* Copyright 2014-2017 Basis Technology Corp.
|
||||
* Contact: carrier <at> sleuthkit <dot> org
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@ -29,7 +29,7 @@ import org.sleuthkit.autopsy.modules.interestingitems.FilesSetDefsPanel.PANEL_TY
|
||||
*/
|
||||
public class FilesSetPanel extends javax.swing.JPanel {
|
||||
|
||||
@NbBundle.Messages({"FilesSetPanel.ingest.title=File Ingest Filter", "FilesSetPanel.ingest.createNewFilter=Create/edit file ingest filters...", "FilesSetPanel.ingest.messages.filtersMustBeNamed=File ingest filters must be named."})
|
||||
@NbBundle.Messages({"FilesSetPanel.filter.title=File Filter", "FilesSetPanel.rule.title=File Filter Rule", "FilesSetPanel.ingest.createNewFilter=Create/edit file ingest filters...", "FilesSetPanel.ingest.messages.filtersMustBeNamed=File ingest filters must be named."})
|
||||
|
||||
private static final String CREATE_NEW_FILE_INGEST_FILTER = Bundle.FilesSetPanel_ingest_createNewFilter();
|
||||
private final String mustBeNamedErrorText;
|
||||
|
Loading…
x
Reference in New Issue
Block a user