From 47917e42c3b960106d0eb5dfe3c90311388f1fd9 Mon Sep 17 00:00:00 2001 From: Johann Hoffmann Date: Thu, 17 Apr 2025 12:07:54 +0200 Subject: [PATCH] compare datetime timestamp for n-workdays ago calculation; more eager check on change of kontrollzeiten/termine if they match a termin; added missing phrase; fetch uploaddatum in same format as von/bis for entschuldigungen so date headerfilter can work as intended; zugangscode zeitlich abgelaufen show error message; --- system/phrasesupdate.php | 76 +++++++++++++++++++++++++++++++++++----- 1 file changed, 68 insertions(+), 8 deletions(-) diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php index 445673911..82e0c02d8 100644 --- a/system/phrasesupdate.php +++ b/system/phrasesupdate.php @@ -31812,13 +31812,13 @@ array( 'phrases' => array( array( 'sprache' => 'German', - 'text' => 'Unterrichtbeginn wurde manuell überschrieben.', + 'text' => 'Unterrichtbeginn entspricht keinem Unterrichtstermin laut Stundenplan.', 'description' => '', 'insertvon' => 'system' ), array( 'sprache' => 'English', - 'text' => 'Lecture Begin Time has been overwritten', + 'text' => 'Lecture Begin Time does not match a lesson as per timetable.', 'description' => '', 'insertvon' => 'system' ) @@ -31832,13 +31832,13 @@ array( 'phrases' => array( array( 'sprache' => 'German', - 'text' => 'Unterrichtende wurde manuell überschrieben.', + 'text' => 'Unterrichtende entspricht keinem Unterrichtstermin laut Stundenplan.', 'description' => '', 'insertvon' => 'system' ), array( 'sprache' => 'English', - 'text' => 'Lecture End Time has been overwritten', + 'text' => 'Lecture End Time does not match a lesson as per timetable.', 'description' => '', 'insertvon' => 'system' ) @@ -31852,13 +31852,13 @@ array( 'phrases' => array( array( 'sprache' => 'German', - 'text' => 'Datum entspricht keinem Stundenplan Termin!.', + 'text' => 'Datum entspricht keinem Stundenplan Termin.', 'description' => '', 'insertvon' => 'system' ), array( 'sprache' => 'English', - 'text' => 'Date does not match a lesson as per timetable!.', + 'text' => 'Date does not match a lesson as per timetable.', 'description' => '', 'insertvon' => 'system' ) @@ -32108,13 +32108,13 @@ array( 'phrases' => array( array( 'sprache' => 'German', - 'text' => 'Entschuldigung ohne Datei beantragen', + 'text' => 'Dokument wird nachgereicht', 'description' => '', 'insertvon' => 'system' ), array( 'sprache' => 'English', - 'text' => 'Submit Excuse Note without file upload', + 'text' => 'Document will be submitted later', 'description' => '', 'insertvon' => 'system' ) @@ -32300,6 +32300,66 @@ array( ) ) ), + array( + 'app' => 'anwesenheiten', + 'category' => 'global', + 'phrase' => 'download', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Herunterladen', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Download', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'anwesenheiten', + 'category' => 'global', + 'phrase' => 'upload', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Hochladen', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Upload', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'anwesenheiten', + 'category' => 'global', + 'phrase' => 'providedDateTooOld', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Angegebenes Datum ist älter als erlaubt.', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Provided date is older than allowed date', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), // // DIGITALE ANWESENHEITEN PHRASEN END //