From 266984551643fd055168fd72c3a78e454f8db4be Mon Sep 17 00:00:00 2001
From: "mathias.chouet" <mathias.chouet@irstea.fr>
Date: Mon, 18 Nov 2019 17:13:28 +0100
Subject: [PATCH] LinkedValues: translate children names

---
 src/app/components/param-link/param-link.component.ts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/app/components/param-link/param-link.component.ts b/src/app/components/param-link/param-link.component.ts
index addd6ab5b..0db7fb037 100644
--- a/src/app/components/param-link/param-link.component.ts
+++ b/src/app/components/param-link/param-link.component.ts
@@ -174,7 +174,9 @@ export class ParamLinkComponent implements OnChanges, Observer, OnDestroy {
             pos = i.nub.findPositionInParent();
             return `${preview} - ` + sprintf(
                 this.intlService.localizeText("INFO_LINKED_VALUE_CHILD"),
-                s, c, i.nub.parent.childrenType.toLowerCase(), (pos + 1)
+                s, c,
+                this.intlService.childName(i.nub.parent).toLowerCase()
+                , (pos + 1)
             );
         } else
         // 2. Paramètre / résultat d'une section dans un Nub de type SectionNub
-- 
GitLab