use `repeats` intead `boosts`

This commit is contained in:
Maksim Pechnikov 2019-09-22 14:39:28 +03:00
parent 8ad145598d
commit f0b9f5d29c
3 changed files with 8 additions and 8 deletions

View File

@ -110,10 +110,10 @@ export default {
ProgressButton
},
methods: {
showReblogs () {
showRepeats () {
this.$store.dispatch('showReblogs', this.user.id)
},
hideReblogs () {
hideRepeats () {
this.$store.dispatch('hideReblogs', this.user.id)
},
followUser () {

View File

@ -189,16 +189,16 @@
<button
v-if="user.showing_reblogs"
class="btn btn-default"
:title="$t('user_card.hide_boosts', {user: user.screen_name})"
@click="hideReblogs"
:title="$t('user_card.hide_repeats')"
@click="hideRepeats"
>
<i class="icon-eye" />
</button>
<button
v-if="!user.showing_reblogs"
class="btn btn-default pressed"
:title="$t('user_card.show_boosts', {user: user.screen_name})"
@click="showReblogs"
:title="$t('user_card.show_repeats')"
@click="showRepeats"
>
<i class="icon-eye-off" />
</button>

View File

@ -543,8 +543,8 @@
"unmute": "Unmute",
"unmute_progress": "Unmuting...",
"mute_progress": "Muting...",
"hide_boosts": "Hide boosts from {user}",
"show_boosts": "Show boosts from {user}",
"hide_repeats": "Hide repeats",
"show_repeats": "Show repeats",
"admin_menu": {
"moderation": "Moderation",
"grant_admin": "Grant Admin",