Skip to content

Commit 8223f81

Browse files
committed
Fix translation errors
1 parent 3d8d13f commit 8223f81

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

projects/stream-chat-angular/src/lib/polls/poll-actions/poll-actions.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,20 +128,20 @@
128128
class="str-chat__dialog str-chat__dialog--prompt str-chat__modal__end-vote"
129129
>
130130
<div class="str-chat__dialog__body">
131-
<div class="str-chat__dialog__title" translate>End poll</div>
131+
<div class="str-chat__dialog__title" translate>streamChat.End vote</div>
132132
<div class="str-chat__dialog__prompt" translate>
133-
After a poll is closed, no more votes can be cast
133+
streamChat.After a poll is closed, no more votes can be cast
134134
</div>
135135
<stream-notification-list></stream-notification-list>
136136
<div class="str-chat__dialog__controls">
137137
<button
138138
class="str-chat__dialog__controls-button"
139139
(click)="modalClosed()"
140140
>
141-
Cancel
141+
{{ "streamChat.Cancel" | translate }}
142142
</button>
143143
<button class="str-chat__dialog__controls-button" (click)="closePoll()">
144-
End
144+
{{ "streamChat.End vote" | translate }}
145145
</button>
146146
</div>
147147
</div>

projects/stream-chat-angular/src/lib/polls/poll-actions/poll-answers-list/poll-answers-list.component.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<div class="str-chat__modal__poll-answer-list">
22
<div class="str-chat__modal-header">
3-
<div class="str-chat__modal-header__title" translate>Poll comments</div>
3+
<div class="str-chat__modal-header__title" translate>
4+
streamChat.Poll comments
5+
</div>
46
</div>
57
<div class="str-chat__modal__poll-answer-list__body">
68
<div class="str-chat__poll-answer-list">

projects/stream-chat-angular/src/lib/polls/poll-actions/poll-results/poll-results-list/poll-results-list.component.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
*ngIf="optionToView"
99
class="str-chat__modal-header__go-back-button"
1010
(click)="optionToView = undefined"
11-
translate
1211
></button>
13-
<div class="str-chat__modal-header__title" translate>Poll results</div>
12+
<div class="str-chat__modal-header__title" translate>
13+
streamChat.Poll results
14+
</div>
1415
</div>
1516
<ng-container *ngIf="optionToView; else allOptions">
1617
<div class="str-chat__modal__poll-results__body">
@@ -66,7 +67,7 @@
6667
translate
6768
(click)="optionToView = option"
6869
>
69-
Show all
70+
streamChat.Show all
7071
</button>
7172
</div>
7273
</div>

projects/stream-chat-angular/src/lib/polls/poll-actions/upsert-answer/upsert-answer.component.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@
1717
class="str-chat__dialog__controls-button str-chat__dialog__controls-button--cancel"
1818
onClick="{close}"
1919
type="button"
20-
translate
2120
(click)="closeModal()"
2221
>
2322
{{ "streamChat.Cancel" | translate }}
2423
</button>
2524
<button
2625
class="str-chat__dialog__controls-button str-chat__dialog__controls-button--submit"
2726
type="submit"
28-
translate
2927
[disabled]="formGroup.invalid"
3028
>
3129
{{ "streamChat.Send" | translate }}

0 commit comments

Comments
 (0)