chore: improve error messages
This commit is contained in:
parent
0765f4b925
commit
5dc37a07c1
@ -2800,14 +2800,15 @@ BtnExamAutoOccurrenceNudgeUp: +
|
|||||||
BtnExamAutoOccurrenceNudgeDown: -
|
BtnExamAutoOccurrenceNudgeDown: -
|
||||||
ExamRoomMappingSurname: Nachnamen beginnend mit
|
ExamRoomMappingSurname: Nachnamen beginnend mit
|
||||||
ExamRoomMappingMatriculation: Matrikelnummern endend in
|
ExamRoomMappingMatriculation: Matrikelnummern endend in
|
||||||
ExamRoomMappingRandom: Zufällige Zuordnung
|
ExamRoomMappingRandom: Verteilung
|
||||||
|
ExamRoomMappingRandomHere: Zufällig
|
||||||
ExamRoomLoad: Auslastung
|
ExamRoomLoad: Auslastung
|
||||||
ExamRegisteredCount: Anmeldungen
|
ExamRegisteredCount: Anmeldungen
|
||||||
ExamRegisteredCountOf num@Int64 count@Int64: #{num}/#{count}
|
ExamRegisteredCountOf num@Int64 count@Int64: #{num}/#{count}
|
||||||
ExamAutoOccurrenceExceptionRuleNoOp: Keine Automatische Verteilung gewählt
|
ExamAutoOccurrenceExceptionRuleNoOp: Keine Automatische Verteilung gewählt
|
||||||
ExamAutoOccurrenceExceptionNotEnoughSpace: Nicht ausreichend Platz
|
ExamAutoOccurrenceExceptionNotEnoughSpace: Mehr Teilnehmer als verfügbare Plätze
|
||||||
ExamAutoOccurrenceExceptionNoUsers: Keine Nutzer
|
ExamAutoOccurrenceExceptionNoUsers: Keine Teilnehmer
|
||||||
ExamAutoOccurrenceExceptionRoomTooSmall: Automatische Verteilung gescheitert. Es kann helfen kleine Räume zu entfernen.
|
ExamAutoOccurrenceExceptionRoomTooSmall: Automatische Verteilung gescheitert. Ein anderes Verteil-Verfahren kann erfolgreich sein. Alternativ kann es helfen Räume zu minimieren oder kleine Räume zu entfernen.
|
||||||
|
|
||||||
NoFilter: Keine Einschränkung
|
NoFilter: Keine Einschränkung
|
||||||
|
|
||||||
|
|||||||
@ -2792,7 +2792,7 @@ ExamAutoOccurrenceHeading: Automatic occurrence/room distribution
|
|||||||
ExamAutoOccurrenceMinimizeRooms: Minimize number of occurrences used
|
ExamAutoOccurrenceMinimizeRooms: Minimize number of occurrences used
|
||||||
ExamAutoOccurrenceMinimizeRoomsTip: Should the list of occurrences/rooms be reduced prior to distribution? Only as many occurrence/rooms as necessary would be used (starting with the biggest).
|
ExamAutoOccurrenceMinimizeRoomsTip: Should the list of occurrences/rooms be reduced prior to distribution? Only as many occurrence/rooms as necessary would be used (starting with the biggest).
|
||||||
ExamAutoOccurrenceOccurrencesChangedInFlight: Occurrences/rooms changed
|
ExamAutoOccurrenceOccurrencesChangedInFlight: Occurrences/rooms changed
|
||||||
ExamAutoOccurrenceParticipantsAssigned num: Occurrence/room assignment rule saved successfully. Also assigned occurence/room to #{num} #{pluralEN num "participant" "participants"}
|
ExamAutoOccurrenceParticipantsAssigned num: Occurrence/room assignment rule saved successfully. Also assigned occurrence/room to #{num} #{pluralEN num "participant" "participants"}
|
||||||
TitleExamAutoOccurrence tid ssh csh examn: #{tid} - #{ssh} - #{csh} #{examn}: Automatic occurrence/room distribution
|
TitleExamAutoOccurrence tid ssh csh examn: #{tid} - #{ssh} - #{csh} #{examn}: Automatic occurrence/room distribution
|
||||||
BtnExamAutoOccurrenceCalculate: Calculate assignment rules
|
BtnExamAutoOccurrenceCalculate: Calculate assignment rules
|
||||||
BtnExamAutoOccurrenceAccept: Accept assignments
|
BtnExamAutoOccurrenceAccept: Accept assignments
|
||||||
@ -2800,14 +2800,15 @@ BtnExamAutoOccurrenceNudgeUp: +
|
|||||||
BtnExamAutoOccurrenceNudgeDown: -
|
BtnExamAutoOccurrenceNudgeDown: -
|
||||||
ExamRoomMappingSurname: Surnames starting with
|
ExamRoomMappingSurname: Surnames starting with
|
||||||
ExamRoomMappingMatriculation: Matriculation numbers ending in
|
ExamRoomMappingMatriculation: Matriculation numbers ending in
|
||||||
ExamRoomMappingRandom: Random assignment
|
ExamRoomMappingRandom: Distribution
|
||||||
|
ExamRoomMappingRandomHere: Random
|
||||||
ExamRoomLoad: Utilisation
|
ExamRoomLoad: Utilisation
|
||||||
ExamRegisteredCount: Registrations
|
ExamRegisteredCount: Registrations
|
||||||
ExamRegisteredCountOf num count: #{num}/#{count}
|
ExamRegisteredCountOf num count: #{num}/#{count}
|
||||||
ExamAutoOccurrenceExceptionRuleNoOp: Didn't chose an automatic distribution
|
ExamAutoOccurrenceExceptionRuleNoOp: Didn't chose an automatic distribution
|
||||||
ExamAutoOccurrenceExceptionNotEnoughSpace: Not enough space
|
ExamAutoOccurrenceExceptionNotEnoughSpace: More participants than available space
|
||||||
ExamAutoOccurrenceExceptionNoUsers: No participants
|
ExamAutoOccurrenceExceptionNoUsers: No participants
|
||||||
ExamAutoOccurrenceExceptionRoomTooSmall: Automatic distribution failed. Removing small rooms might help.
|
ExamAutoOccurrenceExceptionRoomTooSmall: Automatic distribution failed. A different distribution procedure might succeed. Alternatively, minimizing rooms or removing small rooms might help.
|
||||||
|
|
||||||
NoFilter: No restriction
|
NoFilter: No restriction
|
||||||
|
|
||||||
|
|||||||
@ -613,7 +613,7 @@ examAutoOccurrence (hash -> seed) rule ExamAutoOccurrenceConfig{..} occurrences
|
|||||||
| borderLength < maxTagLength
|
| borderLength < maxTagLength
|
||||||
= go restartStart restartBorderLength [] result
|
= go restartStart restartBorderLength [] result
|
||||||
| otherwise
|
| otherwise
|
||||||
= []
|
= [] -- shouldn't happen, but ensures termination on invalid input (e.g. non-monotonic)
|
||||||
where
|
where
|
||||||
restartBorderLength :: Int
|
restartBorderLength :: Int
|
||||||
restartBorderLength = succ borderLength
|
restartBorderLength = succ borderLength
|
||||||
|
|||||||
@ -14,4 +14,4 @@ $newline never
|
|||||||
$else
|
$else
|
||||||
…#{titleCase special}
|
…#{titleCase special}
|
||||||
$of ExamOccurrenceMappingRandom
|
$of ExamOccurrenceMappingRandom
|
||||||
Random
|
_{MsgExamRoomMappingRandomHere}
|
||||||
|
|||||||
Reference in New Issue
Block a user