refactor(client): Use v-t for i18n

This commit is contained in:
syuilo
2020-07-25 01:36:39 +09:00
parent b8350d5093
commit 9c30b23358
108 changed files with 459 additions and 459 deletions

View File

@@ -15,9 +15,9 @@
</div>
<div class="_content actions">
<div style="flex: 1; padding-left: 1em;">
<mk-switch v-if="user.host == null && $store.state.i.isAdmin && (this.moderator || !user.isAdmin)" @change="toggleModerator()" v-model="moderator">{{ $t('moderator') }}</mk-switch>
<mk-switch @change="toggleSilence()" v-model="silenced">{{ $t('silence') }}</mk-switch>
<mk-switch @change="toggleSuspend()" v-model="suspended">{{ $t('suspend') }}</mk-switch>
<mk-switch v-if="user.host == null && $store.state.i.isAdmin && (this.moderator || !user.isAdmin)" @change="toggleModerator()" v-model="moderator" v-t="'moderator'"></mk-switch>
<mk-switch @change="toggleSilence()" v-model="silenced" v-t="'silence'"></mk-switch>
<mk-switch @change="toggleSuspend()" v-model="suspended" v-t="'suspend'"></mk-switch>
</div>
<div style="flex: 1; padding-left: 1em;">
<mk-button @click="openProfile"><fa :icon="faExternalLinkSquareAlt"/> {{ $t('profile')}}</mk-button>