use correct class name in Bundle

This commit is contained in:
millmanorama 2019-03-06 12:11:42 +01:00
parent 07a23ac0f9
commit 24d73bb34e
3 changed files with 8 additions and 5 deletions

View File

@ -69,8 +69,8 @@ import org.sleuthkit.datamodel.timeline.EventType;
* the user for event data and then adds it to the case via an artifact. * the user for event data and then adds it to the case via an artifact.
*/ */
@NbBundle.Messages({ @NbBundle.Messages({
"CreateManualEvent.text=Add Event", "AddManualEvent.text=Add Event",
"CreateManualEvent.longText=Manually add an event to the timeline."}) "AddManualEvent.longText=Manually add an event to the timeline."})
public class AddManualEvent extends Action { public class AddManualEvent extends Action {
private final static Logger logger = Logger.getLogger(AddManualEvent.class.getName()); private final static Logger logger = Logger.getLogger(AddManualEvent.class.getName());
@ -111,10 +111,10 @@ public class AddManualEvent extends Action {
* user can ove ride this. * user can ove ride this.
*/ */
public AddManualEvent(TimeLineController controller, Long epochMillis) { public AddManualEvent(TimeLineController controller, Long epochMillis) {
super(Bundle.CreateManualEvent_text()); super(Bundle.AddManualEvent_text());
this.controller = controller; this.controller = controller;
setGraphic(new ImageView(ADD_EVENT_IMAGE)); setGraphic(new ImageView(ADD_EVENT_IMAGE));
setLongText(Bundle.CreateManualEvent_longText()); setLongText(Bundle.AddManualEvent_longText());
setEventHandler(actionEvent -> { setEventHandler(actionEvent -> {
//shoe the dialog and if it completed normally add the event. //shoe the dialog and if it completed normally add the event.

View File

@ -1,3 +1,6 @@
AddManualEvent.EventCreationDialogPane.initialize.dataSourcesError=Error getting datasources in case.
AddManualEvent.longText=Manually add an event to the timeline.
AddManualEvent.text=Add Event
# {0} - action accelerator keys # {0} - action accelerator keys
Back.longText=Back: {0}\nGo back to the last view settings. Back.longText=Back: {0}\nGo back to the last view settings.
Back.text=Back Back.text=Back

View File

@ -58,7 +58,7 @@ ViewFrame.histogramTask.updateUI2=Updating UI
ViewFrame.listToggle.text=List ViewFrame.listToggle.text=List
ViewFrame.localDateDisabler.errorMessage=Error getting spanning interval. ViewFrame.localDateDisabler.errorMessage=Error getting spanning interval.
ViewFrame.noEventsDialogLabel.text=There are no events visible with the current zoom / filter settings. ViewFrame.noEventsDialogLabel.text=There are no events visible with the current zoom / filter settings.
ViewFrame.notification.cacheInvalidated=The event data has changed, the visualization may be out of date. ViewFrame.notification.cacheInvalidated=The event data has been updated, the visualization may be out of date.
ViewFrame.pickerListener.errorMessage=Error responding to date/time picker change. ViewFrame.pickerListener.errorMessage=Error responding to date/time picker change.
ViewFrame.rangeSliderListener.errorMessage=Error responding to range slider. ViewFrame.rangeSliderListener.errorMessage=Error responding to range slider.
ViewFrame.refresh.longText=Refresh the view to include information that is in the DB but not displayed, such as newly updated tags. ViewFrame.refresh.longText=Refresh the view to include information that is in the DB but not displayed, such as newly updated tags.