diff --git a/src/app/services/internationalisation/internationalisation.service.ts b/src/app/services/internationalisation/internationalisation.service.ts index f418a88998bd01789e1106247a3002eeebe225da..d5e3486b82e5b5517b97ff7e00e6f4c738895b36 100644 --- a/src/app/services/internationalisation/internationalisation.service.ts +++ b/src/app/services/internationalisation/internationalisation.service.ts @@ -192,24 +192,27 @@ export class InternationalisationService extends Observable { default: const match = this.parseLabel(o); - if (match) + if (match) { if (match[1] === "ouvrage") res = this.localizeText("INFO_OUVRAGE") + " n°" + (+match[2] + 1); - const p = match[3]; - switch (p) { - case "Q": - res += " : " + this.localizeText("INFO_GRANDEUR_" + p); - break; + const p = match[3]; + switch (p) { + case "Q": + res += " : " + this.localizeText("INFO_GRANDEUR_" + p); + break; - case "Q_Mode": - res += " : " + this.localizeText("INFO_TYPE_ECOULEMENT"); - break; + case "Q_Mode": + res += " : " + this.localizeText("INFO_TYPE_ECOULEMENT"); + break; - case "Q_Regime": - res += " : " + this.localizeText("INFO_REGIME"); - break; + case "Q_Regime": + res += " : " + this.localizeText("INFO_REGIME"); + break; + } } + else + res = o; break; } }