support i18n

This commit is contained in:
taehoon 2019-04-25 04:40:37 -04:00
parent deee07d6fb
commit ace3b399ff
2 changed files with 4 additions and 2 deletions

View File

@ -74,10 +74,10 @@
</div> </div>
<div v-if="loggedIn"> <div v-if="loggedIn">
<ProgressButton :click="subscribeUser" v-if="!user.subscribing"> <ProgressButton :click="subscribeUser" v-if="!user.subscribing">
Subscribe {{ $t('user_card.subscribe') }}
</ProgressButton> </ProgressButton>
<ProgressButton class="pressed" :click="unsubscribeUser" v-else> <ProgressButton class="pressed" :click="unsubscribeUser" v-else>
Subscribing! {{ $t('user_card.subscribing') }}
</ProgressButton> </ProgressButton>
</div> </div>
<div class='mute' v-if='isOtherUser && loggedIn'> <div class='mute' v-if='isOtherUser && loggedIn'>

View File

@ -529,6 +529,8 @@
"remote_follow": "Remote follow", "remote_follow": "Remote follow",
"report": "Report", "report": "Report",
"statuses": "Statuses", "statuses": "Statuses",
"subscribe": "Subscribe",
"subscribing": "Subscribing!",
"unblock": "Unblock", "unblock": "Unblock",
"unblock_progress": "Unblocking...", "unblock_progress": "Unblocking...",
"block_progress": "Blocking...", "block_progress": "Blocking...",