Skip to content

Commit

Permalink
Fix wording
Browse files Browse the repository at this point in the history
  • Loading branch information
PassiDel committed Jun 30, 2024
1 parent 85bd0a0 commit 3d0ad70
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
13 changes: 6 additions & 7 deletions src/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,23 +124,22 @@ export const categoryExplainerMap: { [k in SemesterDataCategories]: string } = {
totalGerman: 'deutscher Studierenden',
maleGerman: 'deutscher Studenten',
femaleGerman: 'deutscher Studentinnen',
diverseGerman: 'deutscher Student*innen',
diverseGerman: 'deutscher Student:innen (divers)',

totalForeign: 'ausländischer Studierenden',
maleForeign: 'ausländischer Studenten',
femaleForeign: 'ausländischer Studentinnen',
diverseForeign: 'ausländischer Student*innen',
diverseForeign: 'ausländischer Student:innen (divers)',

totalPause: 'beurlaubter Studierenden',
malePause: 'beurlaubter Studenten',
femalePause: 'beurlaubter Studentinnen',
diversePause: 'beurlaubter Student*innen',
diversePause: 'beurlaubter Student:innen (divers)',

// TODO: better word
totalBeginner: 'Studienanfänger',
maleBeginner: 'Studienanfänger',
femaleBeginner: 'Studienanfängerinnen',
diverseBeginner: 'Studienanfänger*innen'
diverseBeginner: 'Studienanfänger:innen (divers)'
};
export const degreeKeyMap: {
[k in keyof Omit<DegreeData, 'semester'>]: string;
Expand All @@ -150,8 +149,8 @@ export const degreeKeyMap: {
short: 'Kurzbezeichnung',
faculty: 'Fakultät',
fak: '(Sub-)Fakultät',
campus: 'Campus',
type: 'Art'
campus: 'Standort',
type: 'Abschlussart'
};

const GenderNationalityKeys = [
Expand Down
12 changes: 9 additions & 3 deletions src/views/GraphView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,12 @@ function keyIcon(k: string) {
if (k.includes('diverse')) {
return 'custom-diverse';
}
if (k === 'faculty') {
return 'home';
}
if (k === 'number') {
return 'tag';
}
return '';
}
Expand Down Expand Up @@ -395,9 +401,9 @@ function keyIcon(k: string) {
return '';
}
return [
`FK: ${degree.fak}`,
`Art: ${degree.type}`,
`Campus: ${campusMap(degree.campus)}`
`Fakultät: ${degree.fak}`,
`Abschlussart: ${degree.type}`,
`Standort: ${campusMap(degree.campus)}`
];
}
}
Expand Down

0 comments on commit 3d0ad70

Please sign in to comment.