Skip to content

Commit

Permalink
[I18N] Do not display translation key as tooltip for task navigation …
Browse files Browse the repository at this point in the history
…buttons (#1544)

fix(i18n): do not display translation key as tooltip for task navigation buttons
  • Loading branch information
Zitrone44 authored Dec 12, 2023
1 parent 68e3a12 commit 3c4e0a4
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@
[disabled]="isFirstTask()"
mat-icon-button
(click)="goToPreviousUnresolvedTask()"
matTooltip="'task.detail.previousUnsolvedTaskTooltip' | i18nextEager"
matTooltip="{{
'task.detail.previousUnsolvedTaskTooltip' | i18nextEager
}}"
>
<mat-icon class="material-icons">
keyboard_double_arrow_left
Expand All @@ -127,7 +129,9 @@
mat-icon-button
class="margin-left-4px"
(click)="goToPreviousTask()"
matTooltip="'task.detail.previousTaskTooltip' | i18nextEager"
matTooltip="{{
'task.detail.previousTaskTooltip' | i18nextEager
}}"
>
<mat-icon>keyboard_arrow_left</mat-icon>
</button>
Expand All @@ -145,7 +149,7 @@
[disabled]="isLastTask()"
mat-icon-button
(click)="goToNextTask()"
matTooltip="'task.detail.tooltip.nextTask' | i18nextEager"
matTooltip="{{ 'task.detail.tooltip.nextTask' | i18nextEager }}"
>
<mat-icon>keyboard_arrow_right</mat-icon>
</button>
Expand All @@ -154,7 +158,9 @@
mat-icon-button
(click)="goToNextUnresolvedTask()"
class="margin-left-4px"
matTooltip="'task.detail.tooltip.nextUnsolvedTask' | i18nextEager"
matTooltip="{{
'task.detail.tooltip.nextUnsolvedTask' | i18nextEager
}}"
>
<mat-icon class="material-icons">
keyboard_double_arrow_right
Expand Down

0 comments on commit 3c4e0a4

Please sign in to comment.