Skip to content

Commit 0962a0f

Browse files
author
Jeppe Elkjær Jørgensen
committed
Fix application localization name
1 parent 5c70bb9 commit 0962a0f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/app/my-applications/application/application.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ export class ApplicationComponent implements OnInit {
118118
if (this.id) {
119119
this.bindApplication(this.id);
120120
}
121-
this.translate.get(['NAV.MY-APPLICATIONS'])
121+
this.translate.get(['NAV.APPLICATIONS'])
122122
.subscribe(translations => {
123-
this.backButton.label = translations['NAV.MY-APPLICATIONS'];
123+
this.backButton.label = translations['NAV.APPLICATIONS'];
124124
});
125125
}
126126

src/app/my-applications/edit-application/edit-application.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ export class EditApplicationComponent implements OnInit {
2121
}
2222

2323
ngOnInit(): void {
24-
this.translate.get(['NAV.MY-APPLICATIONS', 'FORM.EDIT-NEW-APPLICATION', 'APPLICATION.SAVE'])
24+
this.translate.get(['NAV.APPLICATIONS', 'FORM.EDIT-NEW-APPLICATION', 'APPLICATION.SAVE'])
2525
.subscribe(translations => {
26-
this.backButton.label = translations['NAV.MY-APPLICATIONS'];
26+
this.backButton.label = translations['NAV.APPLICATIONS'];
2727
this.title = translations['FORM.EDIT-NEW-APPLICATION'];
2828
this.submitButton = translations['APPLICATION.SAVE'];
2929
});

src/app/my-applications/iot-devices/iot-device-detail/iot-device-detail.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ export class IoTDeviceDetailComponent implements OnInit, OnDestroy {
5050
this.bindIoTDeviceAndApplication(this.deviceId);
5151
}
5252

53-
this.translate.get(['NAV.MY-APPLICATIONS'])
53+
this.translate.get(['NAV.APPLICATIONS'])
5454
.subscribe(translations => {
55-
this.backButton.label = translations['NAV.MY-APPLICATIONS'];
55+
this.backButton.label = translations['NAV.APPLICATIONS'];
5656
});
5757
}
5858

src/app/my-applications/list-applications/list-applications.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="px-sm-5 py-sm-4">
22
<div class="row mb-5">
33
<app-top-bar [sort]="sort" [(selectedSortId)]="selectedSortId" [pageLimit]="pageLimit"
4-
[title]="'NAV.MY-APPLICATIONS' | translate" [ctaLabel]="'FORM.CREATE-NEW-APPLICATION' | translate"
4+
[title]="'NAV.APPLICATIONS' | translate" [ctaLabel]="'FORM.CREATE-NEW-APPLICATION' | translate"
55
[ctaRouterLink]="'new-application'" (updatePageLimit)="updatePageLimit($event)"
66
(selectedSortChange)="changeSort($event)">
77
</app-top-bar>

0 commit comments

Comments
 (0)