Skip to content
Snippets Groups Projects
Commit c9eb6bce authored by François Grand's avatar François Grand Committed by AUBRY JEAN-PASCAL
Browse files

refactor: MacroRugoRemous: add an error message when no PAM exists in the session

refs #609
parent 75f48e72
No related branches found
No related tags found
2 merge requests!252release: version 4.18.0,!213Resolve "Ajout du module courbe de remous d'une passe à macro-rugosité"
......@@ -9,6 +9,7 @@ export class SelectFieldTargetPam extends SelectField {
constructor(parent: FormulaireNode) {
super(parent);
this._associatedProperty = MacroRugoRemous.NubMacroRugoProp;
this._messageWhenEmpty = "INFO_MACRORUGOREMOUS_CREATE_PAM_FIRST";
}
protected populate() {
......
......@@ -507,6 +507,7 @@
"INFO_MACRORUGOREMOUS_TITRE_COURT": "Rock R. Backw. curve",
"INFO_MACRORUGOREMOUS_TITRE": "Rock-ramp backwater curve",
"INFO_MACRORUGOREMOUS_DESCRIPTION": "Backwater curve in rock-ramp fishpass",
"INFO_MACRORUGOREMOUS_CREATE_PAM_FIRST": "Create first a rock-ramp fishpass",
"INFO_PARALLELSTRUCTURE_DESCRIPTION": "orifice gate weir threshold free flow submerged discharge stage-discharge",
"INFO_PARALLELSTRUCTURE_TITRE_COURT": "// structures",
"INFO_PARALLELSTRUCTURE_TITRE": "Parallel structures",
......
......@@ -508,6 +508,7 @@
"INFO_MACRORUGOREMOUS_TITRE_COURT": "C. remous de PAM",
"INFO_MACRORUGOREMOUS_TITRE": "Courbe de remous de passe à m. rugo.",
"INFO_MACRORUGOREMOUS_DESCRIPTION": "Courbe de remous d'une passe à macro-rugosités simple",
"INFO_MACRORUGOREMOUS_CREATE_PAM_FIRST": "Créer d'abord une passe à macrorugosités simple",
"INFO_PARALLELSTRUCTURE_DESCRIPTION": "orifice vanne seuil déversoir noyé dénoyé débit",
"INFO_PARALLELSTRUCTURE_TITRE_COURT": "Ouvrages",
"INFO_PARALLELSTRUCTURE_TITRE": "Lois d'ouvrages",
......
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