From 5ca906d26185314b468a93e5e4cd4bf6b1267774 Mon Sep 17 00:00:00 2001 From: Kelly Kelly Date: Wed, 24 Jun 2020 12:17:32 -0400 Subject: [PATCH] Added the missing property string --- .../contentviewers/Bundle.properties-MERGED | 23 +++++++++++++++---- .../contentviewers/PersonaAccountFetcher.java | 6 +++++ 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/contentviewers/Bundle.properties-MERGED b/Core/src/org/sleuthkit/autopsy/contentviewers/Bundle.properties-MERGED index 2d299b1f0e..3830d0db36 100755 --- a/Core/src/org/sleuthkit/autopsy/contentviewers/Bundle.properties-MERGED +++ b/Core/src/org/sleuthkit/autopsy/contentviewers/Bundle.properties-MERGED @@ -35,7 +35,9 @@ AnnotationsContentViewer.title=Annotations AnnotationsContentViewer.toolTip=Displays tags and comments associated with the selected content. ApplicationContentViewer.title=Application ApplicationContentViewer.toolTip=Displays file contents. +CalllogArtifactViewer_cr_disabled_message=Enable Central Repository to view, create and edit personas. CallLogArtifactViewer_heading_metadata=Metadata +CallLogArtifactViewer_heading_others=Other Attributes CallLogArtifactViewer_heading_parties=Parties CallLogArtifactViewer_heading_Source=Source CallLogArtifactViewer_label_datasource=Data Source @@ -52,14 +54,26 @@ CommunicationArtifactViewerHelper_persona_button_view=View CommunicationArtifactViewerHelper_persona_label=Persona: CommunicationArtifactViewerHelper_persona_searching=Searching... CommunicationArtifactViewerHelper_persona_unknown=Unknown -ContactArtifactViewer_missing_account_label=Missing Account: +ContactArtifactViewer.contactImage.text= +ContactArtifactViewer_contactname_unknown=Unknown +ContactArtifactViewer_cr_disabled_message=Enable Central Repository to view, create and edit personas. +ContactArtifactViewer_emails_header=Email +ContactArtifactViewer_found_all_accounts_label=All accounts found. +ContactArtifactViewer_heading_Source=Source +ContactArtifactViewer_label_datasource=Data Source +ContactArtifactViewer_missing_account_label=Missing contact account +ContactArtifactViewer_others_header=Other ContactArtifactViewer_persona_account_justification=Account found in Contact artifact ContactArtifactViewer_persona_button_new=Create ContactArtifactViewer_persona_button_view=View +ContactArtifactViewer_persona_header=Persona ContactArtifactViewer_persona_label=Persona -ContactArtifactViewer_persona_searching=\ Searching... -ContactArtifactViewer_persona_text_none=None found +ContactArtifactViewer_persona_match_num=Match +ContactArtifactViewer_persona_no_match=No matches found +ContactArtifactViewer_persona_searching=Searching... ContactArtifactViewer_persona_unknown=Unknown +ContactArtifactViewer_phones_header=Phone +ContactArtifactViewer_plural_suffix=s DataContentViewerArtifact.failedToGetAttributes.message=Failed to get some or all attributes from case database DataContentViewerArtifact.failedToGetSourcePath.message=Failed to get source file path from case database DefaultArtifactContentViewer.attrsTableHeader.sources=Source(s) @@ -156,6 +170,8 @@ JPEGViewerDummy.jLabel1.text=You are looking at a JPEG file: JPEGViewerDummy.jTextField1.text=jTextField1 PDFViewer.encryptedDialog=This document is password protected. PDFViewer.errorDialog=An error occurred while opening this PDF document. Check the logs for more information. You may continue to use this feature on other PDF documents. +# {0} - Persona count +PersonaDisplayTask_persona_count_suffix=(1 of {0}) PListNode.KeyCol=Key PListNode.TypeCol=Type PListNode.ValueCol=Value @@ -1104,4 +1120,3 @@ CallLogArtifactViewer.localAccountPersonaNameLabel.text=jLabel1 CallLogArtifactViewer.localAccountPersonaButton.text=jButton1 ContactArtifactViewer.personasLabel.text=Personas MessageArtifactViewer.accountsTab.TabConstraints.tabTitle=Accounts -ContactArtifactViewer.contactImage.text= diff --git a/Core/src/org/sleuthkit/autopsy/contentviewers/PersonaAccountFetcher.java b/Core/src/org/sleuthkit/autopsy/contentviewers/PersonaAccountFetcher.java index 3450c91b9e..e2d0e941b0 100755 --- a/Core/src/org/sleuthkit/autopsy/contentviewers/PersonaAccountFetcher.java +++ b/Core/src/org/sleuthkit/autopsy/contentviewers/PersonaAccountFetcher.java @@ -30,6 +30,7 @@ import java.util.concurrent.ExecutionException; import java.util.logging.Level; import javax.swing.JButton; import javax.swing.SwingWorker; +import org.openide.util.NbBundle.Messages; import org.sleuthkit.autopsy.casemodule.Case; import org.sleuthkit.autopsy.centralrepository.datamodel.Persona; import org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount; @@ -115,6 +116,11 @@ class PersonaAccountFetcher extends SwingWorker> parentComponent.repaint(); } + + @Messages({ + "# {0} - Persona count", + "PersonaDisplayTask_persona_count_suffix=(1 of {0})" + }) /** * Update the Persona gui controls.