refactor(client): Use v-t for i18n
This commit is contained in:
parent
b8350d5093
commit
9c30b23358
108 changed files with 459 additions and 459 deletions
|
|
@ -1,13 +1,13 @@
|
|||
<template>
|
||||
<div class="">
|
||||
<portal to="icon"><fa :icon="faShareAlt"/></portal>
|
||||
<portal to="title">{{ $t('share') }}</portal>
|
||||
<portal to="title" v-t="'share'"></portal>
|
||||
|
||||
<section class="_card">
|
||||
<div class="_title" v-if="title">{{ title }}</div>
|
||||
<div class="_content">
|
||||
<div>{{ text }}</div>
|
||||
<mk-button @click="post()" v-if="!posted">{{ $t('post') }}</mk-button>
|
||||
<mk-button @click="post()" v-if="!posted" v-t="'post'"></mk-button>
|
||||
<mk-button primary @click="close()" v-else>{{ $t('close') }}</mk-button>
|
||||
</div>
|
||||
<div class="_footer" v-if="url">{{ url }}</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue