diff --git a/src/app/components/param-link/param-link.component.ts b/src/app/components/param-link/param-link.component.ts index ec58bf19c6c8c9e27e4f04f9c635352651dbbdf5..addd6ab5bbe6cf4cc8aaa8ea8a7348686f1f15bd 100644 --- a/src/app/components/param-link/param-link.component.ts +++ b/src/app/components/param-link/param-link.component.ts @@ -172,19 +172,10 @@ export class ParamLinkComponent implements OnChanges, Observer, OnDestroy { if (i.nub instanceof ChildNub) { let pos: number; pos = i.nub.findPositionInParent(); - if (i.isResult()) { - // résultat d'enfant - return `${preview} - ` + sprintf( - this.intlService.localizeText("INFO_LINKED_VALUE_CHILD_RESULT"), - s, c, i.nub.parent.childrenType, (pos + 1) - ); - } else { - // paramètre d'enfant - return `${preview} - ` + sprintf( - this.intlService.localizeText("INFO_LINKED_VALUE_CHILD"), - s, c, i.nub.parent.childrenType, (pos + 1) - ); - } + return `${preview} - ` + sprintf( + this.intlService.localizeText("INFO_LINKED_VALUE_CHILD"), + s, c, i.nub.parent.childrenType.toLowerCase(), (pos + 1) + ); } else // 2. Paramètre / résultat d'une section dans un Nub de type SectionNub if (i.nub instanceof acSection) { diff --git a/src/locale/messages.en.json b/src/locale/messages.en.json index 334ea7deaf8f615fdaf9558c65c4644daf64e00b..d45de2d3320bcb36e37646bddabcad259068236c 100644 --- a/src/locale/messages.en.json +++ b/src/locale/messages.en.json @@ -285,7 +285,6 @@ "INFO_LIB_ZRAM": "Upstream apron elevation", "INFO_LIB_ZRMB": "Downstream basin bottom elevation", "INFO_LIB_ZT": "Triangle top elevation", - "INFO_LINKED_VALUE_CHILD_RESULT": "%s (%s, %s %s)", "INFO_LINKED_VALUE_CHILD": "%s (%s, %s %s)", "INFO_LINKED_VALUE_EXTRA_RESULT_OF": "%s (%s)", "INFO_LINKED_VALUE_EXTRA_RESULT": "%s (%s)", diff --git a/src/locale/messages.fr.json b/src/locale/messages.fr.json index cb6923212f36b198acf67ab17d074bab07d610cf..4545fd08149b3ab8370a3b9e2e2e98c8783f03f1 100644 --- a/src/locale/messages.fr.json +++ b/src/locale/messages.fr.json @@ -284,7 +284,6 @@ "INFO_LIB_ZRAM": "Cote du radier amont", "INFO_LIB_ZRMB": "Cote de radier mi-bassin", "INFO_LIB_ZT": "Cote haute du triangle", - "INFO_LINKED_VALUE_CHILD_RESULT": "%s (%s, %s %s)", "INFO_LINKED_VALUE_CHILD": "%s (%s, %s %s)", "INFO_LINKED_VALUE_EXTRA_RESULT_OF": "%s (%s)", "INFO_LINKED_VALUE_EXTRA_RESULT": "%s (%s)",