This commit is contained in:
syuilo 2020-07-24 22:46:29 +09:00
parent b3b7be2949
commit ab4a92ec58
4 changed files with 10 additions and 10 deletions

View File

@ -15,11 +15,11 @@
<div class="renote" v-if="isRenote">
<mk-avatar class="avatar" :user="note.user"/>
<fa :icon="faRetweet"/>
<i18n path="renotedBy" tag="span">
<i18n-t path="renotedBy" tag="span">
<router-link class="name" :to="note.user | userPage" v-user-preview="note.userId" place="user">
<mk-user-name :user="note.user"/>
</router-link>
</i18n>
</i18n-t>
<div class="info">
<button class="_button time" @click="showRenoteMenu()" ref="renoteTime">
<fa class="dropdownIcon" v-if="isMyRenote" :icon="faEllipsisH"/>

View File

@ -37,9 +37,9 @@
</template>
</mk-input>
<mk-switch v-model="ToSAgreement" v-if="meta.tosUrl">
<i18n path="agreeTo">
<i18n-t path="agreeTo">
<a :href="meta.tosUrl" class="_link" target="_blank" v-t="'tos'"></a>
</i18n>
</i18n-t>
</mk-switch>
<captcha v-if="meta.enableHcaptcha" class="captcha" provider="hcaptcha" ref="hcaptcha" v-model="hCaptchaResponse" :sitekey="meta.hcaptchaSiteKey"/>
<captcha v-if="meta.enableRecaptcha" class="captcha" provider="grecaptcha" ref="recaptcha" v-model="reCaptchaResponse" :sitekey="meta.recaptchaSiteKey"/>

View File

@ -23,10 +23,10 @@
</div>
<div class="_content" v-else-if="tutorial === 4">
<div v-t="'_tutorial.step5_1'"></div>
<i18n path="_tutorial.step5_2" tag="div">
<i18n-t path="_tutorial.step5_2" tag="div">
<router-link class="_link" place="featured" to="/featured" v-t="'featured'"></router-link>
<router-link class="_link" place="explore" to="/explore" v-t="'explore'"></router-link>
</i18n>
</i18n-t>
<div v-t="'_tutorial.step5_3'"></div>
<small v-t="'_tutorial.step5_4'"></small>
</div>
@ -37,9 +37,9 @@
</div>
<div class="_content" v-else-if="tutorial === 6">
<div v-t="'_tutorial.step7_1'"></div>
<i18n path="_tutorial.step7_2" tag="div">
<i18n-t path="_tutorial.step7_2" tag="div">
<router-link class="_link" place="help" to="/docs" v-t="'help'"></router-link>
</i18n>
</i18n-t>
<div v-t="'_tutorial.step7_3'"></div>
</div>

View File

@ -45,10 +45,10 @@
<div v-if="data && !$store.state.i.twoFactorEnabled">
<ol style="margin: 0; padding: 0 0 0 1em;">
<li>
<i18n path="_2fa.step1" tag="span">
<i18n-t path="_2fa.step1" tag="span">
<a href="https://authy.com/" rel="noopener" target="_blank" place="a" class="_link">Authy</a>
<a href="https://support.google.com/accounts/answer/1066447" rel="noopener" target="_blank" place="b" class="_link">Google Authenticator</a>
</i18n>
</i18n-t>
</li>
<li>{{ $t('_2fa.step2') }}<br><img :src="data.qr"></li>
<li>{{ $t('_2fa.step3') }}<br>