beta 0.1.1
[DHBWCampusApp.git] / app / src / main / java / de / dhbwloe / campusapp / fragments / SplashScreen.java
index 83d773fa2d775d35ccfa73d973d32e4454217263..961a32be18645d312a8ff73a3da63fa60798ff15 100644 (file)
@@ -142,7 +142,7 @@ public class SplashScreen extends CampusAppFragment {
                                     indices.setDescription("Vorlesung " + event.getEventTitle());
                                     indices.addKeyWord(event.getGroupTitle());
                                     indices.addKeyWord(event.getEventLocation());
-                                    return null;
+                                    return indices;
                                 }
                             });
                         }
@@ -164,11 +164,11 @@ public class SplashScreen extends CampusAppFragment {
                                     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;
                                 }
                             });
                         }