summaryrefslogtreecommitdiff
path: root/src/client/components/notification.vue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-07-25 01:56:52 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-07-25 01:56:52 +0900
commit166bc19131ae4b40bdd5e85269729f6eb5e3d931 (patch)
treeb7f51a3c0e64ecb26777cb3202d87005c7dfe67e /src/client/components/notification.vue
parentperf(client): Use v-once for static contents (diff)
downloadmisskey-166bc19131ae4b40bdd5e85269729f6eb5e3d931.tar.gz
misskey-166bc19131ae4b40bdd5e85269729f6eb5e3d931.tar.bz2
misskey-166bc19131ae4b40bdd5e85269729f6eb5e3d931.zip
Revert "refactor(client): Use v-t for i18n"
This reverts commit 9c30b23358699a530f2bcb0f5ae6efe17146bcb3.
Diffstat (limited to 'src/client/components/notification.vue')
-rw-r--r--src/client/components/notification.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/components/notification.vue b/src/client/components/notification.vue
index e5b82a6465..9e4806f05f 100644
--- a/src/client/components/notification.vue
+++ b/src/client/components/notification.vue
@@ -47,9 +47,9 @@
<fa :icon="faQuoteRight"/>
</router-link>
<span v-if="notification.type === 'follow'" class="text" style="opacity: 0.6;">{{ $t('youGotNewFollower') }}<div v-if="full"><mk-follow-button :user="notification.user" :full="true"/></div></span>
- <span v-if="notification.type === 'followRequestAccepted'" class="text" style="opacity: 0.6;" v-t="'followRequestAccepted'"></span>
- <span v-if="notification.type === 'receiveFollowRequest'" class="text" style="opacity: 0.6;">{{ $t('receiveFollowRequest') }}<div v-if="full && !followRequestDone"><button class="_textButton" @click="acceptFollowRequest()" v-t="'accept'"></button> | <button class="_textButton" @click="rejectFollowRequest()" v-t="'reject'"></button></div></span>
- <span v-if="notification.type === 'groupInvited'" class="text" style="opacity: 0.6;">{{ $t('groupInvited') }}: <b>{{ notification.invitation.group.name }}</b><div v-if="full && !groupInviteDone"><button class="_textButton" @click="acceptGroupInvitation()" v-t="'accept'"></button> | <button class="_textButton" @click="rejectGroupInvitation()" v-t="'reject'"></button></div></span>
+ <span v-if="notification.type === 'followRequestAccepted'" class="text" style="opacity: 0.6;">{{ $t('followRequestAccepted') }}</span>
+ <span v-if="notification.type === 'receiveFollowRequest'" class="text" style="opacity: 0.6;">{{ $t('receiveFollowRequest') }}<div v-if="full && !followRequestDone"><button class="_textButton" @click="acceptFollowRequest()">{{ $t('accept') }}</button> | <button class="_textButton" @click="rejectFollowRequest()">{{ $t('reject') }}</button></div></span>
+ <span v-if="notification.type === 'groupInvited'" class="text" style="opacity: 0.6;">{{ $t('groupInvited') }}: <b>{{ notification.invitation.group.name }}</b><div v-if="full && !groupInviteDone"><button class="_textButton" @click="acceptGroupInvitation()">{{ $t('accept') }}</button> | <button class="_textButton" @click="rejectGroupInvitation()">{{ $t('reject') }}</button></div></span>
<span v-if="notification.type === 'app'" class="text">
<mfm :text="notification.body" :nowrap="!full"/>
</span>