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 aac2e0462bccbc2cfd5dc974ade401fe790074ed..4e7d90e38759eaaee0cca48705421da568e7b618 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 ebac0f050c309bf936aebff4026a43f222285fcb..c871dc356ca8d9ebc45c54baabe469e5937a208f 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",