mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
FIX: Incorrect titles in two components (#28865)
This commit is contained in:
@ -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"}}
|
||||
|
Reference in New Issue
Block a user