diff --git a/src/client/components/note.vue b/src/client/components/note.vue index 4463dd05d4..1e8d440abe 100644 --- a/src/client/components/note.vue +++ b/src/client/components/note.vue @@ -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"/> diff --git a/src/client/components/signup.vue b/src/client/components/signup.vue index 2eb7450bbf..f8c9bf2d3b 100644 --- a/src/client/components/signup.vue +++ b/src/client/components/signup.vue @@ -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"/> diff --git a/src/client/pages/index.home.tutorial.vue b/src/client/pages/index.home.tutorial.vue index d9badf4501..a913bc3c47 100644 --- a/src/client/pages/index.home.tutorial.vue +++ b/src/client/pages/index.home.tutorial.vue @@ -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> diff --git a/src/client/pages/my-settings/2fa.vue b/src/client/pages/my-settings/2fa.vue index 46931465cc..4065a56562 100644 --- a/src/client/pages/my-settings/2fa.vue +++ b/src/client/pages/my-settings/2fa.vue @@ -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>