From 7422009bb7f147e5afdd3cd3dd5a00f8878f90e0 Mon Sep 17 00:00:00 2001 From: Robert Eggl Date: Tue, 19 Nov 2024 18:19:39 +0100 Subject: [PATCH] style(calendar): improves semester dates section name --- src/app/(screens)/calendar.tsx | 5 ++++- src/localization/de/common.json | 3 +++ src/localization/en/common.json | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/app/(screens)/calendar.tsx b/src/app/(screens)/calendar.tsx index 8e8aa988..dbc73e39 100644 --- a/src/app/(screens)/calendar.tsx +++ b/src/app/(screens)/calendar.tsx @@ -30,7 +30,10 @@ export default function CalendarPage(): JSX.Element { const { userKind = USER_GUEST } = React.useContext(UserKindContext) const { styles } = useStyles(stylesheet) const { t } = useTranslation('common') - const displayTypes = ['Events', t('pages.calendar.exams.title')] + const displayTypes = [ + t('pages.calendar.events.title'), + t('pages.calendar.exams.title'), + ] const [selectedData, setSelectedData] = useState(0) const primussUrl = 'https://www3.primuss.de/cgi-bin/login/index.pl?FH=fhin' const handleLinkPress = (): void => { diff --git a/src/localization/de/common.json b/src/localization/de/common.json index 3c1b972e..c37b569d 100644 --- a/src/localization/de/common.json +++ b/src/localization/de/common.json @@ -110,6 +110,9 @@ "subtitle": "Nach der Anmeldung zu Prüfungen werden sie hier angezeigt." } }, + "events": { + "title": "Termine" + }, "calendar": { "link": "https://www.thi.de/studium/pruefung/semestertermine/", "noData": { diff --git a/src/localization/en/common.json b/src/localization/en/common.json index 6ea62a3c..267ce5d8 100644 --- a/src/localization/en/common.json +++ b/src/localization/en/common.json @@ -110,6 +110,9 @@ "subtitle": "After registering for exams, they will appear here." } }, + "events": { + "title": "Dates" + }, "calendar": { "link": "https://www.thi.de/en/international/studies/examination/semester-dates/", "noData": {