Skip to content
Snippets Groups Projects
Commit aa411454 authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Add some i18n to new menu-items

parent 3408be0c
Branches
Tags
No related merge requests found
...@@ -20,11 +20,11 @@ ...@@ -20,11 +20,11 @@
<mat-menu #appMenu="matMenu" [overlapTrigger]="false"> <mat-menu #appMenu="matMenu" [overlapTrigger]="false">
<button mat-menu-item *ngIf="user && user.role === 1" routerLink="/creator"> <button mat-menu-item *ngIf="user && user.role === 1" routerLink="/creator">
<mat-icon color="primary">style</mat-icon> <mat-icon color="primary">style</mat-icon>
<span>Meine Sessions</span> <span>{{'header.my-sessions' | translate}}</span>
</button> </button>
<button mat-menu-item *ngIf="user && user.role === 0" routerLink="/participant"> <button mat-menu-item *ngIf="user && user.role === 0" routerLink="/participant">
<mat-icon color="primary">turned_in</mat-icon> <mat-icon color="primary">turned_in</mat-icon>
<span>Besuchte Sessions</span> <span>{{'header.visited-sessions' | translate}}</span>
</button> </button>
<button mat-menu-item (click)="logout()"> <button mat-menu-item (click)="logout()">
<mat-icon color="warn">exit_to_app</mat-icon> <mat-icon color="warn">exit_to_app</mat-icon>
......
...@@ -5,7 +5,9 @@ ...@@ -5,7 +5,9 @@
"logout": "Abmelden", "logout": "Abmelden",
"guest": "Gast", "guest": "Gast",
"logged-out": "Ausloggen erfolgreich.", "logged-out": "Ausloggen erfolgreich.",
"back": "Zurück" "back": "Zurück",
"my-sessions": "Meine Sessions",
"visited-sessions": "Besuchte Sessions"
}, },
"login-page": { "login-page": {
"creator": "Dozent/in", "creator": "Dozent/in",
......
...@@ -5,7 +5,9 @@ ...@@ -5,7 +5,9 @@
"logout": "Logout", "logout": "Logout",
"guest": "Guest", "guest": "Guest",
"logged-out": "Logout successful.", "logged-out": "Logout successful.",
"back": "Back" "back": "Back",
"my-sessions": "My Sessions",
"visited-sessions": "Visited Sessions"
}, },
"login-page": { "login-page": {
"creator": "Creator", "creator": "Creator",
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment