From 561ebdf1c381f24cdc71e7623f20633ec7915c6d Mon Sep 17 00:00:00 2001 From: jmillman Date: Fri, 24 Jul 2015 10:13:51 -0400 Subject: [PATCH] extract message string --- Core/src/org/sleuthkit/autopsy/timeline/Bundle.properties | 1 + .../org/sleuthkit/autopsy/timeline/TimeLineController.java | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/timeline/Bundle.properties b/Core/src/org/sleuthkit/autopsy/timeline/Bundle.properties index 843c68102d..46e946a181 100644 --- a/Core/src/org/sleuthkit/autopsy/timeline/Bundle.properties +++ b/Core/src/org/sleuthkit/autopsy/timeline/Bundle.properties @@ -43,3 +43,4 @@ Timeline.progressWindow.name=Timeline Timeline.progressWindow.title=Generating Timeline data OpenTimeLineAction.msgdlg.text=Could not create timeline, there are no data sources. TimeLineTopComponent.timeZonePanel.text=Display Times In\: +datasource.missing.confirmation="The Timeline events database was previously populated with an old version of Autopsy.\nThe data source filter will be unavailable unless you update the events database.\nDo you want to update the events database now?" diff --git a/Core/src/org/sleuthkit/autopsy/timeline/TimeLineController.java b/Core/src/org/sleuthkit/autopsy/timeline/TimeLineController.java index fa51823de7..cf73c71d65 100644 --- a/Core/src/org/sleuthkit/autopsy/timeline/TimeLineController.java +++ b/Core/src/org/sleuthkit/autopsy/timeline/TimeLineController.java @@ -677,9 +677,7 @@ public class TimeLineController { synchronized int showDataSourcesMissingConfirmation() { return JOptionPane.showConfirmDialog(mainFrame, - "The Timeline events database was previously populated with an old version of Autopsy." - + "\nThe data source filter will be unavailable unless you update the events database." - + "\nDo you want to update the events database now?", + NbBundle.getMessage(TimeLineController.class, "datasource.missing.confirmation"), "Update Timeline database?", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);