base fehlminuten feature implemented; WIP testing edge cases;

This commit is contained in:
Johann Hoffmann
2026-09-30 09:42:55 +02:00
parent c82a6e4c44
commit 830521c3fa
+262
View File
@@ -62339,6 +62339,268 @@ I have been informed that I am under no obligation to consent to the transmissio
)
),
// ### End Anwesenheiten Sprint 25.2
// ### Anwesenheiten Fehlminuten (feature-83680)
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'anwVerspaetet',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'verspätet',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'late',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'anwVerspaetungErfassen',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Versäumte Minuten erfassen',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Enter missed minutes',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'anwFehlminutenLabel',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Versäumte Minuten',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Missed minutes',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'anwFehlminutenHinweis',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Die versäumten Minuten zählen nicht zur Anwesenheit. Die restliche Zeit der Kontrolle zählt als anwesend.',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'The missed minutes do not count as attendance. The remaining time of the attendance check counts as present.',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'anwKontrolldauerMinuten',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Dauer der Kontrolle: {dauer} Minuten',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Duration of the attendance check: {dauer} minutes',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'anwFehlminutenUngueltig',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Geben Sie eine ganze Zahl von 1 bis {max} Minuten ein. Für eine ganz versäumte Kontrolle setzen Sie den Status auf abwesend.',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Enter a whole number from 1 to {max} minutes. For a fully missed attendance check, set the status to absent.',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'anwFehlminutenKurz',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => '−{minuten} Min.',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => '−{minuten} min',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'anwMinutenVersaeumt',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => '{minuten} Min. versäumt',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => '{minuten} min missed',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'anwFehlminutenAendern',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Versäumte Minuten ändern',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Change the missed minutes',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'anwLegendeVerspaetet',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Verspätet oder früher gegangen. Die versäumten Minuten zählen nicht zur Anwesenheit.',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Late or left early. The missed minutes do not count as attendance.',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'anwFehlminutenPosition',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Die Minuten können am Anfang oder am Ende der Kontrolle liegen.',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'The minutes can be at the start or at the end of the attendance check.',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'anwKontrolldauerKuerzesteMinuten',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Kürzeste Kontrolle: {dauer} Minuten',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Shortest attendance check: {dauer} minutes',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'anwKontrolleKuerzerAlsFehlminuten',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Die Kontrolle ist zu kurz. {name} hat {fehlminuten} versäumte Minuten. Die Kontrolle muss mindestens {minimum} Minuten Unterrichtszeit dauern. Ändern Sie zuerst die versäumten Minuten.',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'The attendance check is too short. {name} has {fehlminuten} missed minutes. The attendance check must have a minimum of {minimum} minutes of lesson time. First change the missed minutes.',
'description' => '',
'insertvon' => 'system'
)
)
),
// ### End Anwesenheiten Fehlminuten
// generic tabulator phrases START
array(
'app' => 'core',