From be91eb11c5bc31674ca437bba90f9a32b0083d5f Mon Sep 17 00:00:00 2001 From: Nick Davis Date: Thu, 27 Feb 2014 12:38:30 -0500 Subject: [PATCH] Re-added CTL_CustomAboutAction back to Bundle. Converted function to use string from Bundle. --- .../src/org/sleuthkit/autopsy/corecomponents/Bundle.properties | 1 + .../org/sleuthkit/autopsy/corecomponents/Bundle_ja.properties | 3 ++- .../sleuthkit/autopsy/corecomponents/CustomAboutAction.java | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/corecomponents/Bundle.properties b/Core/src/org/sleuthkit/autopsy/corecomponents/Bundle.properties index cb4c57a920..d034667a2d 100644 --- a/Core/src/org/sleuthkit/autopsy/corecomponents/Bundle.properties +++ b/Core/src/org/sleuthkit/autopsy/corecomponents/Bundle.properties @@ -1,5 +1,6 @@ CTL_DataContentAction=DataContent CTL_DataContentTopComponent=Data Content +CTL_CustomAboutAction=About OptionsCategory_Name_General=General OptionsCategory_Keywords_General=general HINT_DataContentTopComponent=This is a DataContent window diff --git a/Core/src/org/sleuthkit/autopsy/corecomponents/Bundle_ja.properties b/Core/src/org/sleuthkit/autopsy/corecomponents/Bundle_ja.properties index 5cf13ad83e..37bec0e2e0 100644 --- a/Core/src/org/sleuthkit/autopsy/corecomponents/Bundle_ja.properties +++ b/Core/src/org/sleuthkit/autopsy/corecomponents/Bundle_ja.properties @@ -108,4 +108,5 @@ ProductInformationPanel.getVMValue.text={0} {1} TableFilterNode.displayName.text=\u540D\u79F0 CTL_DataContentAction=\u30C7\u30FC\u30BF\u30B3\u30F3\u30C6\u30F3\u30C4 OptionsCategory_Name_General=\u4E00\u822C -OptionsCategory_Keywords_General=\u4E00\u822C \ No newline at end of file +OptionsCategory_Keywords_General=\u4E00\u822C +CTL_CustomAboutAction= \ No newline at end of file diff --git a/Core/src/org/sleuthkit/autopsy/corecomponents/CustomAboutAction.java b/Core/src/org/sleuthkit/autopsy/corecomponents/CustomAboutAction.java index 37d21e2748..8fd75651e5 100644 --- a/Core/src/org/sleuthkit/autopsy/corecomponents/CustomAboutAction.java +++ b/Core/src/org/sleuthkit/autopsy/corecomponents/CustomAboutAction.java @@ -37,7 +37,7 @@ import org.sleuthkit.autopsy.coreutils.Logger; ProductInformationPanel pip = new ProductInformationPanel(); DialogDescriptor descriptor = new DialogDescriptor( pip, - NbBundle.getMessage(AboutAction.class, "About_title"), + NbBundle.getMessage(CustomAboutAction.class, "CTL_CustomAboutAction"), true, new Object[0], null,