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 ProgressButton
}, },
methods: { methods: {
showReblogs () { showRepeats () {
this.$store.dispatch('showReblogs', this.user.id) this.$store.dispatch('showReblogs', this.user.id)
}, },
hideReblogs () { hideRepeats () {
this.$store.dispatch('hideReblogs', this.user.id) this.$store.dispatch('hideReblogs', this.user.id)
}, },
followUser () { followUser () {

View File

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

View File

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