FIX: Incorrect titles in two components (#28865)
This commit is contained in:
parent
d7679f8aa3
commit
18fca966c5
|
@ -86,7 +86,7 @@ export default class AdminPostMenu extends Component {
|
|||
"post.controls.change_post_notice"
|
||||
"post.controls.add_post_notice"
|
||||
}}
|
||||
title="post.controls.unhide"
|
||||
@title="post.controls.unhide"
|
||||
class={{concatClass
|
||||
"btn btn-transparent"
|
||||
(if @data.transformedPost.notice "change-notice" "add-notice")
|
||||
|
@ -121,7 +121,7 @@ export default class AdminPostMenu extends Component {
|
|||
<DButton
|
||||
@label="post.controls.change_owner"
|
||||
@icon="user"
|
||||
title="post.controls.lock_post_description"
|
||||
@title="post.controls.lock_post_description"
|
||||
class="btn btn-transparent change-owner"
|
||||
@action={{fn this.topicAction "changePostOwner"}}
|
||||
/>
|
||||
|
@ -145,7 +145,7 @@ export default class AdminPostMenu extends Component {
|
|||
<DButton
|
||||
@label="post.controls.unlock_post"
|
||||
@icon="unlock"
|
||||
title="post.controls.unlock_post_description"
|
||||
@title="post.controls.unlock_post_description"
|
||||
class={{concatClass
|
||||
"btn btn-transparent unlock-post"
|
||||
(if @data.post.locked "btn-success")
|
||||
|
@ -158,7 +158,7 @@ export default class AdminPostMenu extends Component {
|
|||
<DButton
|
||||
@label="post.controls.lock_post"
|
||||
@icon="lock"
|
||||
title="post.controls.lock_post_description"
|
||||
@title="post.controls.lock_post_description"
|
||||
class="btn btn-transparent lock-post"
|
||||
@action={{fn this.topicAction "lockPost"}}
|
||||
/>
|
||||
|
|
|
@ -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"}}
|
||||
|
|
Loading…
Reference in New Issue