SI-276 codereview comments
Signed-off-by: Dimitrios Chalepakis <dimitrios.chalepakis@pta.de>
diff --git a/i18n/imported-grid-failure.de.json b/i18n/imported-grid-failure.de.json
index ef0f851..bd49a8a 100644
--- a/i18n/imported-grid-failure.de.json
+++ b/i18n/imported-grid-failure.de.json
@@ -1,6 +1,6 @@
{
"ImportedGridFailures": {
- "Title": "Übersicht importierten Meldungen"
+ "Title": "Übersicht importierter Meldungen"
},
"ImportedGridFailure": {
"Description": "Beschreibung",
diff --git a/i18n/logout.de.json b/i18n/logout.de.json
index 3911c07..3377dfa 100644
--- a/i18n/logout.de.json
+++ b/i18n/logout.de.json
@@ -3,6 +3,7 @@
"Loggedout": "Sie wurden ausgeloggt ...",
"PortalNewLogin": "Über das Portal können Sie sich erneut einloggen.",
"CloseTab": "Browser-Tab schließen",
- "SubmitLogout": "Wollen Sie sich abmelden?"
+ "SubmitLogout": "Wollen Sie sich abmelden?",
+ "Logout": "Abmelden"
}
}
diff --git a/projects/grid-failure-information-app/src/app/pages/logout/logout/logout.sandbox.spec.ts b/projects/grid-failure-information-app/src/app/pages/logout/logout/logout.sandbox.spec.ts
index 5016ce8..f4a4fe5 100644
--- a/projects/grid-failure-information-app/src/app/pages/logout/logout/logout.sandbox.spec.ts
+++ b/projects/grid-failure-information-app/src/app/pages/logout/logout/logout.sandbox.spec.ts
@@ -45,7 +45,7 @@
expect(spyNavigate).toHaveBeenCalledWith('/loggedout');
});
- it('should call naviagetByUrl with /grid-failures', () => {
+ it('should call navigateByUrl with /grid-failures', () => {
const spy = spyOn(router, 'navigateByUrl');
component.goToOverview();
diff --git a/projects/grid-failure-information-app/src/app/shared/components/header/header.component.html b/projects/grid-failure-information-app/src/app/shared/components/header/header.component.html
index b3c4687..2038c9e 100644
--- a/projects/grid-failure-information-app/src/app/shared/components/header/header.component.html
+++ b/projects/grid-failure-information-app/src/app/shared/components/header/header.component.html
@@ -35,7 +35,9 @@
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
- <li class="dropdown-item"><a (click)="navigateToLogout(); logout.emit()">Abmelden</a></li>
+ <li class="dropdown-item">
+ <a (click)="navigateToLogout(); logout.emit()">{{ 'Logout.Logout' | translate }}</a>
+ </li>
</ul>
</div>
</div>