FIX: Incorrect titles in two components (#28865)

This commit is contained in:
Jarek Radosz
2024-09-11 22:45:41 +02:00
committed by GitHub
parent d7679f8aa3
commit 18fca966c5
2 changed files with 8 additions and 8 deletions

View File

@ -732,7 +732,7 @@ export default class PollComponent extends Component {
{{#if this.showCastVotesButton}}
<button
class={{this.castVotesButtonClass}}
title="poll.cast-votes.title"
title={{i18n "poll.cast-votes.title"}}
disabled={{this.castVotesDisabled}}
{{on "click" this.castVotes}}
>
@ -744,7 +744,7 @@ export default class PollComponent extends Component {
{{#if this.showHideResultsButton}}
<button
class="btn btn-default toggle-results"
title="poll.hide-results.title"
title={{i18n "poll.hide-results.title"}}
{{on "click" this.toggleResults}}
>
{{icon "chevron-left"}}
@ -757,7 +757,7 @@ export default class PollComponent extends Component {
{{#if this.showShowResultsButton}}
<button
class="btn btn-default toggle-results"
title="poll.show-results.title"
title={{i18n "poll.show-results.title"}}
{{on "click" this.toggleResults}}
>
{{icon "chart-bar"}}
@ -770,7 +770,7 @@ export default class PollComponent extends Component {
{{#if this.showRemoveVoteButton}}
<button
class="btn btn-default remove-vote"
title="poll.remove-vote.title"
title={{i18n "poll.remove-vote.title"}}
{{on "click" this.removeVote}}
>
{{icon "undo"}}