Add profile management

- Save class filter, timetable and timetable groups in profiles
- Easily switch between profiles
- Rename profiles
- Export/Import/Duplicate profiles
This commit is contained in:
2023-08-26 21:54:02 +02:00
parent 70238b4151
commit 21b2e68198
14 changed files with 401 additions and 114 deletions

View File

@ -13,6 +13,7 @@ export const strings = {
timetable: "Manage Timetables",
groups: "Timetable Groups",
appearance: "Appearance",
profiles: "Profiles",
keys: "Manage Keys",
admin: "Admin Settings",
about: "About",
@ -27,6 +28,7 @@ export const strings = {
language: "Language",
about: "About",
theme: "Theme",
profiles: "Saved Profiles",
keys: "Manage Keys",
},
text: {
@ -41,6 +43,10 @@ export const strings = {
"This Tool queries and parses the latest substitution-plan data every minute. The correctness of the data can in no way be guaranteed, so please check the data against the official plan if something seems wrong! Due to the format of the plan files, it it sometimes not easily possible to extract the correct data, so the plan displayed here may not be correct.",
theme:
"Select a Theme to change the colors of the app. The 'Auto' option selects a theme based on your system preferences.",
profiles:
"You can create multiple profiles containing the class filter, selected timetable and configured timetable groups here and easily switch between.",
createProfile: "Create Profile",
importProfile: "Import Profile",
keys: "Keys are used to give you special permissions, for example editing a timetable. You can enter keys that you received here.",
},
other: "Other",
@ -48,6 +54,8 @@ export const strings = {
none: "None",
version: "Version",
source: "Source",
classFilter: "Filter",
timetableGroups: "Timetable Groups",
key: "Key",
invalidKey: "This key does not exist!",
theme: {
@ -136,6 +144,7 @@ export const strings = {
timetable: "Stundenpläne Verwalten",
groups: "Stundenplan-Gruppen",
appearance: "Aussehen",
profiles: "Profile",
keys: "Schlüssel Verwalten",
about: "Über",
},
@ -149,6 +158,7 @@ export const strings = {
language: "Sprache",
about: "Über diese Anwendung",
theme: "Farbschema",
profiles: "Gespeicherte Profile",
keys: "Schlüssel Verwalten",
},
text: {
@ -163,6 +173,10 @@ export const strings = {
"Diese Anwendung fragt jede Minute die neusten Vertretungsplan-Daten an und verarbeitet sie, um sie dir schöner und besser lesbar anzuzeigen. Die Richtigkeit dieser Daten kann nicht garantiert werden, da es manchmal kompliziert ist, die richtigen Daten zu extrahieren. Wenn etwas nicht richtig aussieht, überprüfe es bitte auf dem offiziellen Plan!",
theme:
"Wähle ein Farbschema aus, um die Farben dieser Anwendung anzupassen. Die Option 'Automatisch' wählt ein Farbschema basierend auf den Einstellungen deines Systems aus.",
profiles:
"Hier kannst du mehrere Profile erstellen, welche deinen ausgewählen Filter, deinen Stundenplan und deine eingestellen Stundenplan-Gruppen speichern. So kannst du ganz einfach zwischen ihnen wechseln.",
createProfile: "Profil erstellen",
importProfile: "Profil importieren",
keys: "Schlüssel können dir erweiterte rechte geben, zum Beispiel zum editieren eines Stundenplans. Wenn du einen Schlüssel bekommen hast, kannst du ihn hier eingeben.",
},
other: "Andere",
@ -170,6 +184,8 @@ export const strings = {
none: "Keine",
version: "Version",
source: "Quelle",
classFilter: "Filter",
timetableGroups: "Stundenplan-Gruppen",
key: "Schlüssel",
invalidKey: "Dieser Schlüssel existiert nicht!",
theme: {