indices.setDescription("Vorlesung " + event.getEventTitle());
indices.addKeyWord(event.getGroupTitle());
indices.addKeyWord(event.getEventLocation());
- return null;
+ return indices;
}
});
}
SearchIndices indices = new SearchIndices("Vorlesungsplan#Group"+group.getGroupId(), false);
indices.setUpdateTime(event.getEventFrom());
indices.setTarget("#Vorlesungsplan#groupid=" + group.getGroupId());
- indices.setTitle("Vorlesungsplan " + event.getCourseName());
- indices.setDescription("Vorlesung " + event.getEventTitle());
+ indices.setTitle(AppContext.getResString(R.string.search_vorlesungsplan_group_title, event.getCourseName()));
+ indices.setDescription(event.getEventTitle());
indices.addKeyWord(event.getGroupTitle());
indices.addKeyWord(event.getEventLocation());
- return null;
+ return indices;
}
});
}