🛂 Add key-based permission system

This commit is contained in:
2023-06-20 19:53:34 +02:00
parent 917783d114
commit 5d9317ac01
11 changed files with 432 additions and 17 deletions

View File

@ -13,6 +13,7 @@ export const strings = {
timetable: "Manage Timetables",
groups: "Timetable Groups",
appearance: "Appearance",
keys: "Manage Keys",
about: "About",
},
},
@ -25,6 +26,7 @@ export const strings = {
language: "Language",
about: "About",
theme: "Theme",
keys: "Manage Keys",
},
text: {
filtering:
@ -38,12 +40,15 @@ 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.",
keys: "Keys are used to give you special permissions, for example editing a timetable. You can enter keys that you received here.",
},
other: "Other",
back: "Back",
none: "None",
version: "Version",
source: "Source",
key: "Key",
invalidKey: "This key does not exist!",
theme: {
auto: "Auto",
dark: "Dark",
@ -130,6 +135,7 @@ export const strings = {
timetable: "Stundenpläne Verwalten",
groups: "Stundenplan-Gruppen",
appearance: "Aussehen",
keys: "Schlüssel Verwalten",
about: "Über",
},
},
@ -142,6 +148,7 @@ export const strings = {
language: "Sprache",
about: "Über diese Anwendung",
theme: "Farbschema",
keys: "Schlüssel Verwalten",
},
text: {
filtering:
@ -155,12 +162,15 @@ 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.",
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",
back: "Zurück",
none: "Keine",
version: "Version",
source: "Quelle",
key: "Schlüssel",
invalidKey: "Dieser Schlüssel existiert nicht!",
theme: {
auto: "Automatisch",
dark: "Dunkel",