diff --git a/e2e/check-translations.e2e-spec.ts b/e2e/check-translations.e2e-spec.ts index b16c9a56dceadd44a37b68e37045df64bcbea75d..ddcd763d363899deed0de4c3cd7bfcab52bc40ce 100644 --- a/e2e/check-translations.e2e-spec.ts +++ b/e2e/check-translations.e2e-spec.ts @@ -77,7 +77,11 @@ describe("ngHyd − check translation of all calculators", () => { } // check absence of "*** message not found" in whole DOM - expect(await browser.getPageSource()).not.toContain("*** message not found"); + const ps = await browser.getPageSource(); + expect(ps).not.toContain("*** message not found"); + /* const pos = ps.indexOf("*** message not found"); + const bout = ps.substring(pos - 50, pos + 50); + console.log("------------ BOUT ---------------", bout); */ // empty session await navBar.clickMenuButton(); diff --git a/src/app/components/generic-calculator/calculator.component.ts b/src/app/components/generic-calculator/calculator.component.ts index 53894e408f430719db52b1e6456e30c0cda5c023..a72bd526e7e48fcb3a5638e015a38fdb3e170426 100644 --- a/src/app/components/generic-calculator/calculator.component.ts +++ b/src/app/components/generic-calculator/calculator.component.ts @@ -814,7 +814,7 @@ export class GenericCalculatorComponent implements OnInit, DoCheck, AfterViewChe public get uitextGenerateRuSpTitle(): string { if (! this.generateRuSpEnabled) { - return this.intlService.localizeText("INFO_CALCULER_D_ABORD"); + return this.intlService.localizeText("INFO_CALCULATE_FIRST"); } else { return ""; }