change "Msg Count" to Msgs, remove trailing semicolon from email addresses

This commit is contained in:
millmanorama 2017-11-15 20:38:23 +01:00
parent cb4a88d5a8
commit 5b35cfca97
4 changed files with 12 additions and 9 deletions

View File

@ -105,7 +105,10 @@ class AccountsRootChildren extends Children.Keys<AccountDeviceInstanceKey> {
} }
@Override @Override
@NbBundle.Messages(value = {"AccountNode.device=Device", "AccountNode.accountName=Account", "AccountNode.accountType=Type", "AccountNode.messageCount=Msg Count"}) @NbBundle.Messages(value = {"AccountNode.device=Device",
"AccountNode.accountName=Account",
"AccountNode.accountType=Type",
"AccountNode.messageCount=Msgs"})
protected Sheet createSheet() { protected Sheet createSheet() {
Sheet s = super.createSheet(); Sheet s = super.createSheet();
Sheet.Set properties = s.get(Sheet.PROPERTIES); Sheet.Set properties = s.get(Sheet.PROPERTIES);

View File

@ -30,7 +30,7 @@
<Group type="102" alignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0">
<EmptySpace max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0">
<Component id="splitPane" pref="756" max="32767" attributes="0"/> <Component id="splitPane" max="32767" attributes="0"/>
<Component id="filtersPane" max="32767" attributes="0"/> <Component id="filtersPane" max="32767" attributes="0"/>
</Group> </Group>
<EmptySpace min="-2" pref="5" max="-2" attributes="0"/> <EmptySpace min="-2" pref="5" max="-2" attributes="0"/>
@ -41,7 +41,7 @@
<SubComponents> <SubComponents>
<Container class="javax.swing.JSplitPane" name="splitPane"> <Container class="javax.swing.JSplitPane" name="splitPane">
<Properties> <Properties>
<Property name="dividerLocation" type="int" value="600"/> <Property name="dividerLocation" type="int" value="400"/>
<Property name="resizeWeight" type="double" value="0.3"/> <Property name="resizeWeight" type="double" value="0.3"/>
</Properties> </Properties>
@ -95,7 +95,7 @@
<Layout> <Layout>
<DimensionLayout dim="0"> <DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0">
<EmptySpace min="0" pref="597" max="32767" attributes="0"/> <EmptySpace min="0" pref="394" max="32767" attributes="0"/>
</Group> </Group>
</DimensionLayout> </DimensionLayout>
<DimensionLayout dim="1"> <DimensionLayout dim="1">

View File

@ -65,7 +65,7 @@ public final class CVTTopComponent extends TopComponent implements ExplorerManag
jPanel1 = new javax.swing.JPanel(); jPanel1 = new javax.swing.JPanel();
filtersPane = new org.sleuthkit.autopsy.communications.FiltersPanel(); filtersPane = new org.sleuthkit.autopsy.communications.FiltersPanel();
splitPane.setDividerLocation(600); splitPane.setDividerLocation(400);
splitPane.setResizeWeight(0.3); splitPane.setResizeWeight(0.3);
BrowseVisualizeTabPane.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N BrowseVisualizeTabPane.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
@ -77,7 +77,7 @@ public final class CVTTopComponent extends TopComponent implements ExplorerManag
jPanel1.setLayout(jPanel1Layout); jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup( jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 597, Short.MAX_VALUE) .addGap(0, 394, Short.MAX_VALUE)
); );
jPanel1Layout.setVerticalGroup( jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
@ -106,7 +106,7 @@ public final class CVTTopComponent extends TopComponent implements ExplorerManag
.addGroup(layout.createSequentialGroup() .addGroup(layout.createSequentialGroup()
.addContainerGap() .addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(splitPane, javax.swing.GroupLayout.DEFAULT_SIZE, 756, Short.MAX_VALUE) .addComponent(splitPane)
.addComponent(filtersPane, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addComponent(filtersPane, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGap(5, 5, 5)) .addGap(5, 5, 5))
); );

View File

@ -72,9 +72,9 @@ public class RelationShipNode extends BlackboardArtifactNode {
switch (fromID) { switch (fromID) {
case TSK_EMAIL_MSG: case TSK_EMAIL_MSG:
ss.put(new NodeProperty<>("From", "From", "From", ss.put(new NodeProperty<>("From", "From", "From",
getAttributeDisplayString(artifact, TSK_EMAIL_FROM))); StringUtils.strip(getAttributeDisplayString(artifact, TSK_EMAIL_FROM), " \t\n;")));
ss.put(new NodeProperty<>("To", "To", "To", ss.put(new NodeProperty<>("To", "To", "To",
getAttributeDisplayString(artifact, TSK_EMAIL_TO))); StringUtils.strip(getAttributeDisplayString(artifact, TSK_EMAIL_TO), " \t\n;")));
ss.put(new NodeProperty<>("Date", "Date", "Date", ss.put(new NodeProperty<>("Date", "Date", "Date",
getAttributeDisplayString(artifact, TSK_DATETIME_SENT))); getAttributeDisplayString(artifact, TSK_DATETIME_SENT)));
ss.put(new NodeProperty<>("Subject", "Subject", "Subject", ss.put(new NodeProperty<>("Subject", "Subject", "Subject",