summaryrefslogtreecommitdiff
path: root/src/client/components/follow-button.vue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-12-26 10:47:36 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-12-26 10:47:36 +0900
commit5a8cc7851b4af9ae4a0d7efc5b66b224bbe9b4c8 (patch)
tree18f6338f1d5935c401298515d4e400d5a2306301 /src/client/components/follow-button.vue
parentwip (diff)
downloadmisskey-5a8cc7851b4af9ae4a0d7efc5b66b224bbe9b4c8.tar.gz
misskey-5a8cc7851b4af9ae4a0d7efc5b66b224bbe9b4c8.tar.bz2
misskey-5a8cc7851b4af9ae4a0d7efc5b66b224bbe9b4c8.zip
wip
Diffstat (limited to 'src/client/components/follow-button.vue')
-rw-r--r--src/client/components/follow-button.vue12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/client/components/follow-button.vue b/src/client/components/follow-button.vue
index 588e101195..1234649e5a 100644
--- a/src/client/components/follow-button.vue
+++ b/src/client/components/follow-button.vue
@@ -6,23 +6,23 @@
>
<template v-if="!wait">
<template v-if="hasPendingFollowRequestFromYou && user.isLocked">
- <span v-if="full">{{ $t('followRequestPending') }}</span><Fa :icon="faHourglassHalf"/>
+ <span v-if="full">{{ $ts.followRequestPending }}</span><Fa :icon="faHourglassHalf"/>
</template>
<template v-else-if="hasPendingFollowRequestFromYou && !user.isLocked"> <!-- つまりリモートフォローの場合。 -->
- <span v-if="full">{{ $t('processing') }}</span><Fa :icon="faSpinner" pulse/>
+ <span v-if="full">{{ $ts.processing }}</span><Fa :icon="faSpinner" pulse/>
</template>
<template v-else-if="isFollowing">
- <span v-if="full">{{ $t('unfollow') }}</span><Fa :icon="faMinus"/>
+ <span v-if="full">{{ $ts.unfollow }}</span><Fa :icon="faMinus"/>
</template>
<template v-else-if="!isFollowing && user.isLocked">
- <span v-if="full">{{ $t('followRequest') }}</span><Fa :icon="faPlus"/>
+ <span v-if="full">{{ $ts.followRequest }}</span><Fa :icon="faPlus"/>
</template>
<template v-else-if="!isFollowing && !user.isLocked">
- <span v-if="full">{{ $t('follow') }}</span><Fa :icon="faPlus"/>
+ <span v-if="full">{{ $ts.follow }}</span><Fa :icon="faPlus"/>
</template>
</template>
<template v-else>
- <span v-if="full">{{ $t('processing') }}</span><Fa :icon="faSpinner" pulse fixed-width/>
+ <span v-if="full">{{ $ts.processing }}</span><Fa :icon="faSpinner" pulse fixed-width/>
</template>
</button>
</template>