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

Adjust i18n

parent 7e607d5f
Branches
Tags
1 merge request!365Resolve "Place icons for Theme and Language in the footer"
Pipeline #29664 passed with stages
in 8 minutes and 20 seconds
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<button mat-button [matMenuTriggerFor]="themeMenu"> <button mat-button [matMenuTriggerFor]="themeMenu">
<mat-icon>palette</mat-icon> <mat-icon>palette</mat-icon>
<span *ngIf="deviceType === 'desktop'"> <span *ngIf="deviceType === 'desktop'">
{{'header.style' | translate}} {{'footer.style' | translate}}
</span> </span>
</button> </button>
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<button mat-button [matMenuTriggerFor]="langMenu"> <button mat-button [matMenuTriggerFor]="langMenu">
<mat-icon>language</mat-icon> <mat-icon>language</mat-icon>
<span *ngIf="deviceType === 'desktop'"> <span *ngIf="deviceType === 'desktop'">
{{'header.language' | translate}} {{'footer.language' | translate}}
</span> </span>
</button> </button>
...@@ -48,25 +48,25 @@ ...@@ -48,25 +48,25 @@
<mat-grid-list cols="2"> <mat-grid-list cols="2">
<mat-grid-tile> <mat-grid-tile>
<button mat-icon-button class="default color-button" (click)="changeTheme('arsnova')"> <button mat-icon-button class="default color-button" (click)="changeTheme('arsnova')">
<mat-icon class="color-icon" matTooltip="{{ 'header.bright' | translate }}">lens</mat-icon> <mat-icon class="color-icon" matTooltip="{{ 'footer.bright' | translate }}">lens</mat-icon>
<mat-icon *ngIf="themeClass === 'arsnova'" class="check">check_circle</mat-icon> <mat-icon *ngIf="themeClass === 'arsnova'" class="check">check_circle</mat-icon>
</button> </button>
</mat-grid-tile> </mat-grid-tile>
<mat-grid-tile> <mat-grid-tile>
<button mat-icon-button class="dark color-button" (click)="changeTheme('dark')"> <button mat-icon-button class="dark color-button" (click)="changeTheme('dark')">
<mat-icon class="color-icon" matTooltip="{{ 'header.dark' | translate }}">lens</mat-icon> <mat-icon class="color-icon" matTooltip="{{ 'footer.dark' | translate }}">lens</mat-icon>
<mat-icon *ngIf="themeClass === 'dark'" class="check">check_circle</mat-icon> <mat-icon *ngIf="themeClass === 'dark'" class="check">check_circle</mat-icon>
</button> </button>
</mat-grid-tile> </mat-grid-tile>
<mat-grid-tile> <mat-grid-tile>
<button mat-icon-button class="purple color-button" (click)="changeTheme('purple')"> <button mat-icon-button class="purple color-button" (click)="changeTheme('purple')">
<mat-icon class="color-icon" matTooltip="{{ 'header.beamer' | translate }}">lens</mat-icon> <mat-icon class="color-icon" matTooltip="{{ 'footer.beamer' | translate }}">lens</mat-icon>
<mat-icon *ngIf="themeClass === 'purple'" class="check">check_circle</mat-icon> <mat-icon *ngIf="themeClass === 'purple'" class="check">check_circle</mat-icon>
</button> </button>
</mat-grid-tile> </mat-grid-tile>
<mat-grid-tile> <mat-grid-tile>
<button mat-icon-button class="blue color-button" (click)="changeTheme('blue')"> <button mat-icon-button class="blue color-button" (click)="changeTheme('blue')">
<mat-icon class="color-icon" matTooltip="{{ 'header.wai' | translate }}">lens</mat-icon> <mat-icon class="color-icon" matTooltip="{{ 'footer.wai' | translate }}">lens</mat-icon>
<mat-icon *ngIf="themeClass === 'blue'" class="check">check_circle</mat-icon> <mat-icon *ngIf="themeClass === 'blue'" class="check">check_circle</mat-icon>
</button> </button>
</mat-grid-tile> </mat-grid-tile>
...@@ -74,8 +74,8 @@ ...@@ -74,8 +74,8 @@
</mat-menu> </mat-menu>
<mat-menu #langMenu="matMenu" [overlapTrigger]="false"> <mat-menu #langMenu="matMenu" [overlapTrigger]="false">
<button mat-menu-item (click)="useLanguage('de')">{{ 'header.german' | translate }}</button> <button mat-menu-item (click)="useLanguage('de')">{{ 'footer.german' | translate }}</button>
<button mat-menu-item (click)="useLanguage('en')">{{ 'header.english' | translate }}</button> <button mat-menu-item (click)="useLanguage('en')">{{ 'footer.english' | translate }}</button>
</mat-menu> </mat-menu>
</mat-toolbar> </mat-toolbar>
</footer> </footer>
{ {
"header": { "header": {
"english": "Englisch",
"german": "Deutsch",
"logout": "Abmelden", "logout": "Abmelden",
"guest": "Gast",
"logged-out": "Ausloggen erfolgreich", "logged-out": "Ausloggen erfolgreich",
"back": "Zurück", "back": "Zurück",
"my-sessions": "Meine Sessions", "my-sessions": "Meine Sessions",
"visited-sessions": "Besuchte Sessions", "visited-sessions": "Besuchte Sessions",
"style": "Stil",
"language": "Sprache",
"login": "Login", "login": "Login",
"my-account": "Konto", "my-account": "Konto",
"id": "ID", "id": "ID",
"dark": "Dunkler Hintergrund",
"bright": "Heller Hintergrund",
"beamer": "Für den Beamer optimiert (in Arbeit)",
"wai": "Barrierefrei nach WCAG 2.0 (in Arbeit)",
"moderation-enabled": "Moderiert" "moderation-enabled": "Moderiert"
}, },
"login-page": { "login-page": {
...@@ -97,6 +88,14 @@ ...@@ -97,6 +88,14 @@
"imprint": "Impressum", "imprint": "Impressum",
"will-open": " wird in einem neuen Fenster geöffnet...", "will-open": " wird in einem neuen Fenster geöffnet...",
"open": "Öffnen", "open": "Öffnen",
"blog": "Blog" "blog": "Blog",
"dark": "Dunkler Hintergrund",
"bright": "Heller Hintergrund",
"beamer": "Für den Beamer optimiert (in Arbeit)",
"wai": "Barrierefrei nach WCAG 2.0 (in Arbeit)",
"style": "Stil",
"language": "Sprache",
"english": "Englisch",
"german": "Deutsch"
} }
} }
{ {
"header": { "header": {
"english": "English",
"german": "German",
"logout": "Log out", "logout": "Log out",
"guest": "Guest",
"logged-out": "Logging out successful", "logged-out": "Logging out successful",
"back": "Back", "back": "Back",
"my-sessions": "My sessions", "my-sessions": "My sessions",
"visited-sessions": "Visited sessions", "visited-sessions": "Visited sessions",
"style": "Style",
"language": "Language",
"login": "Login", "login": "Login",
"my-account": "My account", "my-account": "My account",
"id": "ID", "id": "ID",
"dark": "Dark background",
"bright": "Bright background",
"beamer": "Optimized for the projector (work in progress)",
"wai": "Accessible according to WCAG 2.0 (work in progress)",
"moderation-enabled": "Moderated" "moderation-enabled": "Moderated"
}, },
"login-page": { "login-page": {
...@@ -97,6 +88,14 @@ ...@@ -97,6 +88,14 @@
"imprint": "Imprint", "imprint": "Imprint",
"will-open": " will be opened in a new tab...", "will-open": " will be opened in a new tab...",
"open": "Open", "open": "Open",
"blog": "Blog" "blog": "Blog",
"dark": "Dark background",
"bright": "Bright background",
"beamer": "Optimized for the projector (work in progress)",
"wai": "Accessible according to WCAG 2.0 (work in progress)",
"style": "Style",
"language": "Language",
"english": "English",
"german": "German"
} }
} }
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