Skip to content
Snippets Groups Projects
Commit c3009955 authored by srosse's avatar srosse
Browse files

OO-4587: replacte red screen with an error message

parent 0ae47e6b
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,7 @@ error.nameTooLong=Der/die angegebene Name(n) ist/sind zu lang. Erlaubt sind max. ...@@ -35,6 +35,7 @@ error.nameTooLong=Der/die angegebene Name(n) ist/sind zu lang. Erlaubt sind max.
error.undefined.function.at=Die Funktion bei Zeichen {0} ist unbekannt, konsultieren Sie die Hilfe f\u00FCr erlaubte Funktionen. error.undefined.function.at=Die Funktion bei Zeichen {0} ist unbekannt, konsultieren Sie die Hilfe f\u00FCr erlaubte Funktionen.
error.undefined.unit.at=Die Einheit bei Zeichen {0} ist unbekannt, konsultieren Sie die Hilfe f\u00FCr erlaubte Einheiten. error.undefined.unit.at=Die Einheit bei Zeichen {0} ist unbekannt, konsultieren Sie die Hilfe f\u00FCr erlaubte Einheiten.
error.undefined.variable.at=Die Variable bei Zeichen {0} ist unbekannt, konsultieren Sie die Hilfe f\u00FCr erlaubte Variablen. error.undefined.variable.at=Die Variable bei Zeichen {0} ist unbekannt, konsultieren Sie die Hilfe f\u00FCr erlaubte Variablen.
error.unkown=Ein unerwarteter Fehler ist aufgetreten.
form.easy.applyRulesForCoach=Regeln auch bei Besitzern und Betreuern anwenden form.easy.applyRulesForCoach=Regeln auch bei Besitzern und Betreuern anwenden
form.easy.area=Nur f\u00FCr die Lernbereiche form.easy.area=Nur f\u00FCr die Lernbereiche
form.easy.assessmentSwitch=Bewertungsabh\u00E4ngig form.easy.assessmentSwitch=Bewertungsabh\u00E4ngig
......
...@@ -35,6 +35,7 @@ error.notfound.names=The specified names ({1}) were not found within the group m ...@@ -35,6 +35,7 @@ error.notfound.names=The specified names ({1}) were not found within the group m
error.undefined.function.at=The function at position {0} is unknown, see Help for possible functions. error.undefined.function.at=The function at position {0} is unknown, see Help for possible functions.
error.undefined.unit.at=The unit at position {0} is unknown, see Help for possible units. error.undefined.unit.at=The unit at position {0} is unknown, see Help for possible units.
error.undefined.variable.at=The variable at position {0} is unknown, see Help for possible variables. error.undefined.variable.at=The variable at position {0} is unknown, see Help for possible variables.
error.unkown=An unexpected error occurred.
form.easy.applyRulesForCoach=Apply rules also for owners and tutors form.easy.applyRulesForCoach=Apply rules also for owners and tutors
form.easy.area=Only for learning areas form.easy.area=Only for learning areas
form.easy.assessmentSwitch=Depending on assessment form.easy.assessmentSwitch=Depending on assessment
......
...@@ -73,6 +73,7 @@ form.easy.groupSwitch=D\u00E9pendant du groupe ...@@ -73,6 +73,7 @@ form.easy.groupSwitch=D\u00E9pendant du groupe
solution.provideone.date=Conseil\: Exactement une indication de temps est n\u00E9cessaire pour la fonction "{0}". Le format est "jj.mm.AAAA HH\:mm". solution.provideone.date=Conseil\: Exactement une indication de temps est n\u00E9cessaire pour la fonction "{0}". Le format est "jj.mm.AAAA HH\:mm".
mode.easy=Facile mode.easy=Facile
error.undefined.unit.at=L'unit\u00E9 est inconnue pour le signe {0}, consultez l'aide pour les unit\u00E9s autoris\u00E9es. error.undefined.unit.at=L'unit\u00E9 est inconnue pour le signe {0}, consultez l'aide pour les unit\u00E9s autoris\u00E9es.
error.unkown=Une erreur inattendue s'est produite.
form.easy.nodePassed.noNodes=Pas possible - aucun \u00E9l\u00E9ment de cours \u00E9valu\u00E9 form.easy.nodePassed.noNodes=Pas possible - aucun \u00E9l\u00E9ment de cours \u00E9valu\u00E9
form.easy.error.group=Il faut indiquer au moins un groupe d'\u00E9tude ou un domaine d'\u00E9tude. form.easy.error.group=Il faut indiquer au moins un groupe d'\u00E9tude ou un domaine d'\u00E9tude.
form.easy.error.edate=Format de date erron\u00E9 form.easy.error.edate=Format de date erron\u00E9
......
...@@ -264,8 +264,9 @@ public class ConditionInterpreter { ...@@ -264,8 +264,9 @@ public class ConditionInterpreter {
msg = "error.divide.by.zero"; msg = "error.divide.by.zero";
params = new String[]{}; params = new String[]{};
} catch (Exception ex) { } catch (Exception ex) {
// this must not happen! log.error("Unexpected syntax error", ex);
throw new OLATRuntimeException(ex.getMessage(), ex); msg = "error.unkown";
params = new String[]{};
} }
return new ConditionErrorMessage(msg, solutionMsg, params); return new ConditionErrorMessage(msg, solutionMsg, params);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment