Use <template #slotName> form instead of v-slot
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<i18n-t
|
||||
keypath="This instance, {instanceName}, hosts your profile, so remember its name."
|
||||
>
|
||||
<template v-slot:instanceName>
|
||||
<template #instanceName>
|
||||
<b>{{
|
||||
t("{instanceName} ({domain})", {
|
||||
domain,
|
||||
|
||||
@@ -35,10 +35,10 @@
|
||||
tag="span"
|
||||
keypath="{instanceName} is an instance of {mobilizon_link}, a free software built with the community."
|
||||
>
|
||||
<template v-slot:instanceName>
|
||||
<template #instanceName>
|
||||
<b>{{ config?.name }}</b>
|
||||
</template>
|
||||
<template v-slot:mobilizon_link>
|
||||
<template #mobilizon_link>
|
||||
<a href="https://joinmobilizon.org">{{ t("Mobilizon") }}</a>
|
||||
</template>
|
||||
</i18n-t>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
tag="p"
|
||||
keypath="You have been invited by {invitedBy} to the following group:"
|
||||
>
|
||||
<template v-slot:invitedBy>
|
||||
<template #invitedBy>
|
||||
<b>{{ member?.invitedBy?.name }}</b>
|
||||
</template>
|
||||
</i18n-t>
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
<p class="flex gap-1" v-if="isCurrentActorMember">
|
||||
<AccountEdit />
|
||||
<i18n-t keypath="Published by {name}">
|
||||
<template v-slot:name>
|
||||
<template #name>
|
||||
<b class="">{{ displayName(post.author) }}</b>
|
||||
</template>
|
||||
</i18n-t>
|
||||
|
||||
Reference in New Issue
Block a user