diff --git a/src/app/formulaire/elements/select/select-field-target-pam.ts b/src/app/formulaire/elements/select/select-field-target-pam.ts index 177166a829b0fb8aa5525c5fb3d67777c4f8d5ad..0e699ac253b51e301cae708911e9eca62111726c 100644 --- a/src/app/formulaire/elements/select/select-field-target-pam.ts +++ b/src/app/formulaire/elements/select/select-field-target-pam.ts @@ -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() { diff --git a/src/locale/messages.en.json b/src/locale/messages.en.json index 9c3886fed4f88b6ca8b52d941d2ef421b0eaff63..db4e3e01864b0cf8bf7d936e2b36c572f9c14daa 100755 --- a/src/locale/messages.en.json +++ b/src/locale/messages.en.json @@ -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", diff --git a/src/locale/messages.fr.json b/src/locale/messages.fr.json index de269e339473603d3b9ee83490ff5da1f0e1e868..e3f2fb20741b7b0ceb290cff50cfdfa9f63a28a2 100755 --- a/src/locale/messages.fr.json +++ b/src/locale/messages.fr.json @@ -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",