Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nghyd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Cassiopée
nghyd
Commits
1f8422eb
Commit
1f8422eb
authored
4 years ago
by
Mathias Chouet
Committed by
mathias.chouet
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix missing translation
parent
9b464d4d
No related branches found
No related tags found
1 merge request
!99
Devel - PAR
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
e2e/check-translations.e2e-spec.ts
+5
-1
5 additions, 1 deletion
e2e/check-translations.e2e-spec.ts
src/app/components/generic-calculator/calculator.component.ts
+1
-1
1 addition, 1 deletion
...app/components/generic-calculator/calculator.component.ts
with
6 additions
and
2 deletions
e2e/check-translations.e2e-spec.ts
+
5
−
1
View file @
1f8422eb
...
...
@@ -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
();
...
...
This diff is collapsed.
Click to expand it.
src/app/components/generic-calculator/calculator.component.ts
+
1
−
1
View file @
1f8422eb
...
...
@@ -814,7 +814,7 @@ export class GenericCalculatorComponent implements OnInit, DoCheck, AfterViewChe
public
get
uitextGenerateRuSpTitle
():
string
{
if
(
!
this
.
generateRuSpEnabled
)
{
return
this
.
intlService
.
localizeText
(
"
INFO_CALCUL
ER_D_ABORD
"
);
return
this
.
intlService
.
localizeText
(
"
INFO_CALCUL
ATE_FIRST
"
);
}
else
{
return
""
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment