From d2228a47e53c74c9bc183258053346e0c25b5d8f Mon Sep 17 00:00:00 2001 From: Ethan Roseman Date: Tue, 9 Jun 2020 14:19:56 -0400 Subject: [PATCH 1/2] 6444 Improve account add error message --- .../autopsy/centralrepository/persona/AddAccountDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/centralrepository/persona/AddAccountDialog.java b/Core/src/org/sleuthkit/autopsy/centralrepository/persona/AddAccountDialog.java index ffee3a3c22..20951b368f 100644 --- a/Core/src/org/sleuthkit/autopsy/centralrepository/persona/AddAccountDialog.java +++ b/Core/src/org/sleuthkit/autopsy/centralrepository/persona/AddAccountDialog.java @@ -255,7 +255,7 @@ public class AddAccountDialog extends JDialog { "AddAccountDialog_search_failure_Title=Account add failure", "AddAccountDialog_search_failure_msg=Central Repository account search failed", "AddAccountDialog_search_empty_Title=Account not found", - "AddAccountDialog_search_empty_msg=Account not found for given identifier and type",}) + "AddAccountDialog_search_empty_msg=Account not found in the Central Repository for the given identifier and type",}) private void okBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okBtnActionPerformed if (identifierTextField.getText().isEmpty()) { JOptionPane.showMessageDialog(this, From 075468163e97c27fa8d9175181f2ba0c731a99e4 Mon Sep 17 00:00:00 2001 From: Ethan Roseman Date: Wed, 10 Jun 2020 13:39:16 -0400 Subject: [PATCH 2/2] 6444 Adding periods to ends of messages --- .../centralrepository/persona/AddAccountDialog.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/centralrepository/persona/AddAccountDialog.java b/Core/src/org/sleuthkit/autopsy/centralrepository/persona/AddAccountDialog.java index 20951b368f..ae9dbb1381 100644 --- a/Core/src/org/sleuthkit/autopsy/centralrepository/persona/AddAccountDialog.java +++ b/Core/src/org/sleuthkit/autopsy/centralrepository/persona/AddAccountDialog.java @@ -83,7 +83,7 @@ public class AddAccountDialog extends JDialog { @Messages({ "AddAccountDialog_get_types_exception_Title=Central Repository failure", - "AddAccountDialog_get_types_exception_msg=Failed to access central repository", + "AddAccountDialog_get_types_exception_msg=Failed to access central repository.", }) private CentralRepoAccountType[] getAllAccountTypes() { Collection allAccountTypes; @@ -249,13 +249,13 @@ public class AddAccountDialog extends JDialog { @Messages({ "AddAccountDialog_dup_Title=Account add failure", - "AddAccountDialog_dup_msg=This account is already added to the persona", + "AddAccountDialog_dup_msg=This account is already added to the persona.", "AddAccountDialog_empty_Title=Empty identifier", - "AddAccountDialog_empty_msg=The identifier field cannot be empty", + "AddAccountDialog_empty_msg=The identifier field cannot be empty.", "AddAccountDialog_search_failure_Title=Account add failure", - "AddAccountDialog_search_failure_msg=Central Repository account search failed", + "AddAccountDialog_search_failure_msg=Central Repository account search failed.", "AddAccountDialog_search_empty_Title=Account not found", - "AddAccountDialog_search_empty_msg=Account not found in the Central Repository for the given identifier and type",}) + "AddAccountDialog_search_empty_msg=Account not found in the Central Repository for the given identifier and type.",}) private void okBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okBtnActionPerformed if (identifierTextField.getText().isEmpty()) { JOptionPane.showMessageDialog(this,