Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 78eacb99

Přidáno uživatelem Václav Jirák před téměř 6 roky(ů)

Frontend localization completed

Zobrazit rozdíly:

webapp/src/app/add-vacation-dialog/add-vacation-dialog.component.html
1
<h1 mat-dialog-title>Výběr volna</h1>
1
<h1 mat-dialog-title>{{ 'addVacation.headline' | translate }}</h1>
2 2

  
3 3
<div mat-dialog-content>
4 4
  <div class="vacation-selection-container">
5
    <label id="vacation-type-radio-group-label" class="dialog-label">Typ volna: </label>
5
    <label id="vacation-type-radio-group-label" class="dialog-label">{{ 'basic.vacationType' | translate }}</label>
6 6
    <mat-radio-group aria-labelledby="vacation-type-radio-group-label" class="vacation-type-radio-group" [(ngModel)]="selectedVacationType">
7 7
      <mat-radio-button class="vacation-type-radio-button" [value]=vacationType.SICKDAY>
8
        {{vacationType.SICKDAY}}
8
        {{ vacationType.SICKDAY | translate }}
9 9
      </mat-radio-button>
10 10
      <mat-radio-button class="vacation-type-radio-button" [value]=vacationType.VACATION>
11
        {{vacationType.VACATION}}
11
        {{ vacationType.VACATION | translate }}
12 12
      </mat-radio-button>
13 13
    </mat-radio-group>
14 14
  </div>
15 15
  <div class="datetime-selection-container">
16 16
    <div class="date-selection">
17
      <span class="dialog-label">Datum:</span>
17
      <span class="dialog-label">{{ 'basic.date' | translate }}</span>
18 18
      <mat-form-field class="date-input">
19 19
        <input id="date-input" matInput [matDatepicker]="datePicker" [(ngModel)]="data.date">
20 20
        <mat-datepicker-toggle matSuffix [for]="datePicker"></mat-datepicker-toggle>
......
43 43
</div>
44 44

  
45 45
<div mat-dialog-actions align="end">
46
  <button mat-raised-button color="primary" (click)="onConfirmClick()">Potvrdit</button>
47
  <button mat-raised-button color="basic" (click)="onCloseClick()">Zavřít</button>
46
  <button mat-raised-button color="primary" (click)="onConfirmClick()">{{ 'button.confirm' | translate }}</button>
47
  <button mat-raised-button color="basic" (click)="onCloseClick()">{{ 'button.close' | translate }}</button>
48 48
</div>

Také k dispozici: Unified diff