mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Changed variable names and minor tweaks
This commit is contained in:
parent
d597eea4a8
commit
5c59c8937c
@ -192,5 +192,5 @@ ViewPreferencesPanel.centralRepoLabel.text=Do not use Central Repository for:
|
|||||||
ViewPreferencesPanel.commentsOccurencesColumnsCheckbox.text=C(omments) and O(ccurences) columns to reduce loading times
|
ViewPreferencesPanel.commentsOccurencesColumnsCheckbox.text=C(omments) and O(ccurences) columns to reduce loading times
|
||||||
ViewPreferencesPanel.deletedFilesLimitCheckbox.text=Limit to 10,000
|
ViewPreferencesPanel.deletedFilesLimitCheckbox.text=Limit to 10,000
|
||||||
ViewPreferencesPanel.deletedFilesLimitLabel.text=Limit number of deleted files displayed:
|
ViewPreferencesPanel.deletedFilesLimitLabel.text=Limit number of deleted files displayed:
|
||||||
ViewPreferencesPanel.fileDisplayLabel.text=Translate text in the:
|
|
||||||
ViewPreferencesPanel.translateNamesRadioButton.text=Table
|
ViewPreferencesPanel.translateNamesRadioButton.text=Table
|
||||||
|
ViewPreferencesPanel.translateTextLabel.text=Translate text in the:
|
||||||
|
@ -120,7 +120,7 @@
|
|||||||
</Group>
|
</Group>
|
||||||
<EmptySpace type="separate" max="-2" attributes="0"/>
|
<EmptySpace type="separate" max="-2" attributes="0"/>
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Component id="fileDisplayLabel" min="-2" max="-2" attributes="0"/>
|
<Component id="translateTextLabel" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="displayTimeLabel" alignment="0" min="-2" max="-2" attributes="0"/>
|
<Component id="displayTimeLabel" alignment="0" min="-2" max="-2" attributes="0"/>
|
||||||
<Group type="102" alignment="0" attributes="0">
|
<Group type="102" alignment="0" attributes="0">
|
||||||
<EmptySpace min="10" pref="10" max="-2" attributes="0"/>
|
<EmptySpace min="10" pref="10" max="-2" attributes="0"/>
|
||||||
@ -177,7 +177,7 @@
|
|||||||
</Group>
|
</Group>
|
||||||
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Component id="fileDisplayLabel" alignment="0" min="-2" max="-2" attributes="0"/>
|
<Component id="translateTextLabel" alignment="0" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="hideOtherUsersTagsLabel" min="-2" max="-2" attributes="0"/>
|
<Component id="hideOtherUsersTagsLabel" min="-2" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
@ -374,10 +374,10 @@
|
|||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="translateNamesRadioButtonActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="translateNamesRadioButtonActionPerformed"/>
|
||||||
</Events>
|
</Events>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JLabel" name="fileDisplayLabel">
|
<Component class="javax.swing.JLabel" name="translateTextLabel">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/corecomponents/Bundle.properties" key="ViewPreferencesPanel.fileDisplayLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/corecomponents/Bundle.properties" key="ViewPreferencesPanel.translateTextLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
|
@ -151,7 +151,7 @@ public class ViewPreferencesPanel extends JPanel implements OptionsPanel {
|
|||||||
deletedFilesLimitCheckbox = new javax.swing.JCheckBox();
|
deletedFilesLimitCheckbox = new javax.swing.JCheckBox();
|
||||||
deletedFilesLimitLabel = new javax.swing.JLabel();
|
deletedFilesLimitLabel = new javax.swing.JLabel();
|
||||||
translateNamesRadioButton = new javax.swing.JRadioButton();
|
translateNamesRadioButton = new javax.swing.JRadioButton();
|
||||||
fileDisplayLabel = new javax.swing.JLabel();
|
translateTextLabel = new javax.swing.JLabel();
|
||||||
currentCaseSettingsPanel = new javax.swing.JPanel();
|
currentCaseSettingsPanel = new javax.swing.JPanel();
|
||||||
groupByDataSourceCheckbox = new javax.swing.JCheckBox();
|
groupByDataSourceCheckbox = new javax.swing.JCheckBox();
|
||||||
currentSessionSettingsPanel = new javax.swing.JPanel();
|
currentSessionSettingsPanel = new javax.swing.JPanel();
|
||||||
@ -261,7 +261,7 @@ public class ViewPreferencesPanel extends JPanel implements OptionsPanel {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(fileDisplayLabel, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class, "ViewPreferencesPanel.fileDisplayLabel.text")); // NOI18N
|
org.openide.awt.Mnemonics.setLocalizedText(translateTextLabel, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class, "ViewPreferencesPanel.translateTextLabel.text")); // NOI18N
|
||||||
|
|
||||||
javax.swing.GroupLayout globalSettingsPanelLayout = new javax.swing.GroupLayout(globalSettingsPanel);
|
javax.swing.GroupLayout globalSettingsPanelLayout = new javax.swing.GroupLayout(globalSettingsPanel);
|
||||||
globalSettingsPanel.setLayout(globalSettingsPanelLayout);
|
globalSettingsPanel.setLayout(globalSettingsPanelLayout);
|
||||||
@ -299,7 +299,7 @@ public class ViewPreferencesPanel extends JPanel implements OptionsPanel {
|
|||||||
.addComponent(hideOtherUsersTagsLabel))
|
.addComponent(hideOtherUsersTagsLabel))
|
||||||
.addGap(18, 18, 18)
|
.addGap(18, 18, 18)
|
||||||
.addGroup(globalSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
.addGroup(globalSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addComponent(fileDisplayLabel)
|
.addComponent(translateTextLabel)
|
||||||
.addComponent(displayTimeLabel)
|
.addComponent(displayTimeLabel)
|
||||||
.addGroup(globalSettingsPanelLayout.createSequentialGroup()
|
.addGroup(globalSettingsPanelLayout.createSequentialGroup()
|
||||||
.addGap(10, 10, 10)
|
.addGap(10, 10, 10)
|
||||||
@ -344,7 +344,7 @@ public class ViewPreferencesPanel extends JPanel implements OptionsPanel {
|
|||||||
.addComponent(useGMTTimeRadioButton)))
|
.addComponent(useGMTTimeRadioButton)))
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||||
.addGroup(globalSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
.addGroup(globalSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addComponent(fileDisplayLabel)
|
.addComponent(translateTextLabel)
|
||||||
.addComponent(hideOtherUsersTagsLabel))
|
.addComponent(hideOtherUsersTagsLabel))
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
.addGroup(globalSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
.addGroup(globalSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||||
@ -579,7 +579,6 @@ public class ViewPreferencesPanel extends JPanel implements OptionsPanel {
|
|||||||
private javax.swing.JCheckBox deletedFilesLimitCheckbox;
|
private javax.swing.JCheckBox deletedFilesLimitCheckbox;
|
||||||
private javax.swing.JLabel deletedFilesLimitLabel;
|
private javax.swing.JLabel deletedFilesLimitLabel;
|
||||||
private javax.swing.JLabel displayTimeLabel;
|
private javax.swing.JLabel displayTimeLabel;
|
||||||
private javax.swing.JLabel fileDisplayLabel;
|
|
||||||
private javax.swing.JPanel globalSettingsPanel;
|
private javax.swing.JPanel globalSettingsPanel;
|
||||||
private javax.swing.JCheckBox groupByDataSourceCheckbox;
|
private javax.swing.JCheckBox groupByDataSourceCheckbox;
|
||||||
private javax.swing.JLabel hideKnownFilesLabel;
|
private javax.swing.JLabel hideKnownFilesLabel;
|
||||||
@ -590,6 +589,7 @@ public class ViewPreferencesPanel extends JPanel implements OptionsPanel {
|
|||||||
private javax.swing.JRadioButton keepCurrentViewerRadioButton;
|
private javax.swing.JRadioButton keepCurrentViewerRadioButton;
|
||||||
private javax.swing.JLabel selectFileLabel;
|
private javax.swing.JLabel selectFileLabel;
|
||||||
private javax.swing.JRadioButton translateNamesRadioButton;
|
private javax.swing.JRadioButton translateNamesRadioButton;
|
||||||
|
private javax.swing.JLabel translateTextLabel;
|
||||||
private javax.swing.JRadioButton useBestViewerRadioButton;
|
private javax.swing.JRadioButton useBestViewerRadioButton;
|
||||||
private javax.swing.JRadioButton useGMTTimeRadioButton;
|
private javax.swing.JRadioButton useGMTTimeRadioButton;
|
||||||
private javax.swing.JRadioButton useLocalTimeRadioButton;
|
private javax.swing.JRadioButton useLocalTimeRadioButton;
|
||||||
|
@ -22,7 +22,7 @@ import com.google.common.util.concurrent.ThreadFactoryBuilder;
|
|||||||
import java.beans.PropertyChangeEvent;
|
import java.beans.PropertyChangeEvent;
|
||||||
import java.beans.PropertyChangeListener;
|
import java.beans.PropertyChangeListener;
|
||||||
import java.lang.ref.WeakReference;
|
import java.lang.ref.WeakReference;
|
||||||
import java.util.LinkedList;
|
import java.util.ArrayList;
|
||||||
import java.util.EnumSet;
|
import java.util.EnumSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@ -370,7 +370,7 @@ public abstract class AbstractAbstractFileNode<T extends AbstractFile> extends A
|
|||||||
* Creates and populates a list of properties for this nodes property sheet.
|
* Creates and populates a list of properties for this nodes property sheet.
|
||||||
*/
|
*/
|
||||||
private List<NodeProperty<?>> getProperties() {
|
private List<NodeProperty<?>> getProperties() {
|
||||||
List<NodeProperty<?>> properties = new LinkedList<NodeProperty<?>>() {{
|
List<NodeProperty<?>> properties = new ArrayList<NodeProperty<?>>() {{
|
||||||
add(new NodeProperty<>(NAME.toString(), NAME.toString(), NO_DESCR, getContentDisplayName(content)));
|
add(new NodeProperty<>(NAME.toString(), NAME.toString(), NO_DESCR, getContentDisplayName(content)));
|
||||||
/*
|
/*
|
||||||
* Initialize dummy place holder properties for Translation,
|
* Initialize dummy place holder properties for Translation,
|
||||||
@ -576,7 +576,7 @@ public abstract class AbstractAbstractFileNode<T extends AbstractFile> extends A
|
|||||||
* @return a list of tags that are associated with the file
|
* @return a list of tags that are associated with the file
|
||||||
*/
|
*/
|
||||||
List<ContentTag> getContentTagsFromDatabase() {
|
List<ContentTag> getContentTagsFromDatabase() {
|
||||||
List<ContentTag> tags = new LinkedList<>();
|
List<ContentTag> tags = new ArrayList<>();
|
||||||
try {
|
try {
|
||||||
tags.addAll(Case.getCurrentCaseThrows().getServices().getTagsManager().getContentTagsByContent(content));
|
tags.addAll(Case.getCurrentCaseThrows().getServices().getTagsManager().getContentTagsByContent(content));
|
||||||
} catch (TskCoreException | NoCurrentCaseException ex) {
|
} catch (TskCoreException | NoCurrentCaseException ex) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user