diff options
| author | taehoon <th.dev91@gmail.com> | 2019-04-25 04:40:37 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-07-10 21:01:07 -0400 |
| commit | ace3b399ffe21459b1fbd7a3b0023f2c58c12b03 (patch) | |
| tree | 8277962fd0f90cd6cab4362fc6c1a11bea1c661a | |
| parent | deee07d6fbf950b34770143c61dbe6dd20b66ce5 (diff) | |
support i18n
| -rw-r--r-- | src/components/user_card/user_card.vue | 4 | ||||
| -rw-r--r-- | src/i18n/en.json | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index f185b8b9..cbf32db4 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -74,10 +74,10 @@ </div> <div v-if="loggedIn"> <ProgressButton :click="subscribeUser" v-if="!user.subscribing"> - Subscribe + {{ $t('user_card.subscribe') }} </ProgressButton> <ProgressButton class="pressed" :click="unsubscribeUser" v-else> - Subscribing! + {{ $t('user_card.subscribing') }} </ProgressButton> </div> <div class='mute' v-if='isOtherUser && loggedIn'> diff --git a/src/i18n/en.json b/src/i18n/en.json index dd34a95d..5a85bf9b 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -529,6 +529,8 @@ "remote_follow": "Remote follow", "report": "Report", "statuses": "Statuses", + "subscribe": "Subscribe", + "subscribing": "Subscribing!", "unblock": "Unblock", "unblock_progress": "Unblocking...", "block_progress": "Blocking...", |
