fix: replaced place attribute with vue slots
This commit is contained in:
parent
10b54ff98f
commit
7a5a4e501c
@ -25,9 +25,11 @@
|
|||||||
<li v-html="$t('about.usesLibrary')"></li>
|
<li v-html="$t('about.usesLibrary')"></li>
|
||||||
<li v-html="$t('about.thanks')"></li>
|
<li v-html="$t('about.thanks')"></li>
|
||||||
<i18n path="about.upToDate.text" tag="li">
|
<i18n path="about.upToDate.text" tag="li">
|
||||||
<a place="newsChannel" href="https://t.me/RemixDevNews" target="_blank">{{
|
<template #newsChannel>
|
||||||
|
<a href="https://t.me/RemixDevNews" target="_blank">{{
|
||||||
$t('about.upToDate.newsChannel')
|
$t('about.upToDate.newsChannel')
|
||||||
}}</a>
|
}}</a>
|
||||||
|
</template>
|
||||||
</i18n>
|
</i18n>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
@ -60,9 +62,11 @@
|
|||||||
</h2>
|
</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<i18n path="about.questions.text" tag="li">
|
<i18n path="about.questions.text" tag="li">
|
||||||
<a place="subreddit" href="https://www.reddit.com/r/deemix" target="_blank">{{
|
<template #subreddit>
|
||||||
|
<a href="https://www.reddit.com/r/deemix" target="_blank">{{
|
||||||
$t('about.questions.subreddit')
|
$t('about.questions.subreddit')
|
||||||
}}</a>
|
}}</a>
|
||||||
|
</template>
|
||||||
</i18n>
|
</i18n>
|
||||||
<li>
|
<li>
|
||||||
{{ $t('about.beforeReporting') }}
|
{{ $t('about.beforeReporting') }}
|
||||||
@ -82,13 +86,17 @@
|
|||||||
</h2>
|
</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<i18n path="about.newUI.text" tag="li">
|
<i18n path="about.newUI.text" tag="li">
|
||||||
<span place="repo">{{ $t('about.newUI.repo') }}</span>
|
<template #repo>
|
||||||
|
<span>{{ $t('about.newUI.repo') }}</span>
|
||||||
|
</template>
|
||||||
</i18n>
|
</i18n>
|
||||||
<li>
|
<li>
|
||||||
{{ $t('about.acceptFeatures') }}
|
{{ $t('about.acceptFeatures') }}
|
||||||
</li>
|
</li>
|
||||||
<i18n path="about.contributeWebUI.text" tag="li">
|
<i18n path="about.contributeWebUI.text" tag="li">
|
||||||
<span place="webui">{{ $t('about.contributeWebUI.webui') }}</span>
|
<template #webui>
|
||||||
|
<span>{{ $t('about.contributeWebUI.webui') }}</span>
|
||||||
|
</template>
|
||||||
</i18n>
|
</i18n>
|
||||||
<li>
|
<li>
|
||||||
{{ $t('about.otherLanguages') }}
|
{{ $t('about.otherLanguages') }}
|
||||||
@ -133,9 +141,11 @@
|
|||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<i18n path="about.lincensedUnder.text" tag="p">
|
<i18n path="about.lincensedUnder.text" tag="p">
|
||||||
<a place="gpl3" rel="license" href="https://www.gnu.org/licenses/gpl-3.0.en.html" target="_blank">{{
|
<template #gpl3>
|
||||||
|
<a rel="license" href="https://www.gnu.org/licenses/gpl-3.0.en.html" target="_blank">{{
|
||||||
$t('about.lincensedUnder.gpl3')
|
$t('about.lincensedUnder.gpl3')
|
||||||
}}</a>
|
}}</a>
|
||||||
|
</template>
|
||||||
</i18n>
|
</i18n>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -12,7 +12,9 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<i18n path="settings.login.loggedIn" tag="p">
|
<i18n path="settings.login.loggedIn" tag="p">
|
||||||
<strong place="username" id="settings_username" ref="username">{{ user.name || 'not logged' }}</strong>
|
<template #username>
|
||||||
|
<strong id="settings_username" ref="username">{{ user.name || 'not logged' }}</strong>
|
||||||
|
</template>
|
||||||
</i18n>
|
</i18n>
|
||||||
|
|
||||||
<button class="btn btn-primary" @click="logout">
|
<button class="btn btn-primary" @click="logout">
|
||||||
|
Loading…
Reference in New Issue
Block a user