Skip to content

Commit

Permalink
style(calendar): improves semester dates section name
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert27 committed Nov 19, 2024
1 parent ddfd014 commit 7422009
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/(screens)/calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<number>(0)
const primussUrl = 'https://www3.primuss.de/cgi-bin/login/index.pl?FH=fhin'
const handleLinkPress = (): void => {
Expand Down
3 changes: 3 additions & 0 deletions src/localization/de/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
3 changes: 3 additions & 0 deletions src/localization/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 7422009

Please sign in to comment.