Skip to content

Commit

Permalink
zmiana słów na ang
Browse files Browse the repository at this point in the history
DEPLOY
  • Loading branch information
JanisBe committed Jun 12, 2024
1 parent 08b604f commit 22cfd92
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<table mat-table [dataSource]="categories" class="mat-elevation-z8">
<ng-container matColumnDef="name">
<th *matHeaderCellDef mat-header-cell> Category name</th>
<th *matHeaderCellDef mat-header-cell> Nazwa kategorii</th>
<td *matCellDef="let category" mat-cell>
{{ category.name }}
@if (category.categoryIconName) {
Expand All @@ -9,7 +9,7 @@
</td>
</ng-container>
<ng-container matColumnDef="actions">
<th *matHeaderCellDef mat-header-cell> Actions</th>
<th *matHeaderCellDef mat-header-cell> Akcja</th>
<td *matCellDef="let category" mat-cell>
<mat-icon (click)="editCategory(category)" class="pointer">edit</mat-icon>&nbsp;
<mat-icon (click)="deleteCategory(category)" class="pointer">delete</mat-icon>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h2 mat-dialog-title>Delete {{data.category}} {{data.content}} ?</h2>
<mat-dialog-content>This will delete {{data.category}} {{data.content}} and cannot be undone.</mat-dialog-content>
<h2 mat-dialog-title>Skasuj {{ data.category }} {{ data.content }} ?</h2>
<mat-dialog-content>To skasuje {{ data.category }} {{ data.content }} i nie można tego cofnąć.</mat-dialog-content>
<div mat-dialog-actions>
<button (click)="onNoClick()" cdkFocusInitial mat-button>No</button>
<button (click)="onNoClick()" cdkFocusInitial mat-button>Nie</button>
<button (click)="onYesClick()" mat-button>Ok</button>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
<div class="col-xs-12">
<button [disabled]="this.userForm.invalid"
mat-raised-button
type="submit">Retrieve new password
type="submit">Nowe hasło
</button>
<button (click)="onCancel()"
mat-raised-button
type="button">Cancel
type="button">Anuluj
</button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{ currentUser.name }}
</button>
<mat-menu #menu="matMenu">
<button mat-menu-item routerLink="/user/details/{{currentUser.id}}">User profile</button>
<button mat-menu-item routerLink="/user/details/{{currentUser.id}}">Profil użytkownika</button>
<button mat-menu-item (click)="logout()">Logout</button>
</mat-menu>
} @else {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@if (!!expenses?.length) {
<table [dataSource]="expenses" class="mat-elevation-z8" mat-table multiTemplateDataRows>
<ng-container matColumnDef="description">
<th *matHeaderCellDef mat-header-cell> Expense description</th>
<th *matHeaderCellDef mat-header-cell> Opis wydatku</th>
<td *matCellDef="let expense" mat-cell> {{ expense.description }}</td>
</ng-container>
<ng-container matColumnDef="amount">
<th *matHeaderCellDef mat-header-cell> Expense amount</th>
<th *matHeaderCellDef mat-header-cell>Kwota</th>
<td *matCellDef="let expense" mat-cell>
<div [innerHTML]="printAmount(expense)"></div>
</td>
Expand All @@ -17,15 +17,15 @@
</td>
</ng-container>
<ng-container matColumnDef="currency">
<th *matHeaderCellDef mat-header-cell> Expense currency</th>
<th *matHeaderCellDef mat-header-cell>Waluta</th>
<td *matCellDef="let expense" mat-cell> {{ expense.currency }}</td>
</ng-container>
<ng-container matColumnDef="date">
<th *matHeaderCellDef mat-header-cell> Expense date</th>
<th *matHeaderCellDef mat-header-cell>Data</th>
<td *matCellDef="let expense" mat-cell> {{ expense.date | date:'medium':'':'pl' }}</td>
</ng-container>
<ng-container matColumnDef="actions">
<th *matHeaderCellDef mat-header-cell> Actions</th>
<th *matHeaderCellDef mat-header-cell>Akcje</th>
<td *matCellDef="let expense" mat-cell>
<mat-icon (click)="editExpense(expense)" class="pointer">edit</mat-icon>&nbsp;
<mat-icon (click)="deleteExpense(expense)" class="pointer">delete</mat-icon>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
aria-label="Name"
formControlName="name"
matInput
placeholder="Type user name"
placeholder="Nazwa użytkownika"
type="text">
<mat-autocomplete #auto="matAutocomplete" (optionSelected)="onOptionSelected($event, i)">
@for (user of users$ | async; track user) {
Expand All @@ -69,8 +69,8 @@
</div>
</div>
<div class="button-container">
<button [disabled]="groupForm.invalid" color="primary" mat-raised-button type="submit">Save</button>
<button (click)="onCancel()" color="warning" mat-raised-button type="button">Cancel</button>
<button [disabled]="groupForm.invalid" color="primary" mat-raised-button type="submit">Zapisz</button>
<button (click)="onCancel()" color="warning" mat-raised-button type="button">Anuluj</button>
</div>
</form>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<table mat-table [dataSource]="allUsers" class="mat-elevation-z8">
<ng-container matColumnDef="name">
<th mat-header-cell *matHeaderCellDef> User name </th>
<th *matHeaderCellDef mat-header-cell> Nazwa użytkownika</th>
<td mat-cell *matCellDef="let user"> {{user.name}} </td>
</ng-container>
<ng-container matColumnDef="mail">
<th mat-header-cell *matHeaderCellDef> Email </th>
<td mat-cell *matCellDef="let user"> {{user.mail}} </td>
</ng-container>
<ng-container matColumnDef="password">
<th mat-header-cell *matHeaderCellDef> Password </th>
<th *matHeaderCellDef mat-header-cell> Hasło</th>
<td mat-cell *matCellDef="let user"> {{user.password}} </td>
</ng-container>
<ng-container matColumnDef="actions">
<th mat-header-cell *matHeaderCellDef> Actions </th>
<th *matHeaderCellDef mat-header-cell> Akcje</th>
<td mat-cell *matCellDef="let user">
<mat-icon (click)="editUser(user.id)" class="pointer">edit</mat-icon>&nbsp;
<mat-icon (click)="deleteUser(user)" class="pointer">delete</mat-icon>
Expand Down

0 comments on commit 22cfd92

Please sign in to comment.