new SearchIndices("Vorlesungsplan", true) {{
setUpdateTime(1);
setTarget("#Vorlesungsplan");
- setTitle("Vorlesungsplan");
- setDescription("Vorlesungsplan dienes Kurses");
- addKeyWord("vorlesung, vorlesungen, plan, vorlesungsplan, stundenplan, termin, termine, kursplan, blockplan, block, zeit, zeiten");
+ setTitle(R.string.search_vorlesungsplan_title);
+ setDescription(R.string.search_vorlesungsplan_description);
+ addKeyWord(R.string.search_vorlesungsplan_keywords);
}},
new SearchIndices("Vorlesungsplan", true) {{
setUpdateTime(1);
setTarget("#Vorlesungsplan#view=exams");
- setTitle("Vorlesungsplan");
- setDescription("Klausurübersicht dienes Kurses");
- addKeyWord("klausuren, prüfungen, exams, termine, zeitpunkt, plan, ergebnisse");
+ setTitle(R.string.search_vorlesungsplan_klausur_title);
+ setDescription(R.string.search_vorlesungsplan_klausur_description);
+ addKeyWord(R.string.search_vorlesungsplan_klausur_keywords);
}},
};
}
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_vorlesungsplan, container, false);
- AppContext.setTitle("Vorlesungsplan");
+ AppContext.setTitle(AppContext.getResString(R.string.vorlesungsplan_title));
ViewPager pager = (ViewPager) view.findViewById(R.id.viewpager);
setupViewPager(pager);