feat: replace "Thread" with avatar for self replies
This commit is contained in:
parent
f4d4e415fb
commit
4460d0f59d
@ -20,14 +20,13 @@ const account = isSelf ? computed(() => status.account) : useAccountById(status.
|
||||
:title="account ? `Replying to ${getDisplayName(account)}` : 'Replying to someone'"
|
||||
>
|
||||
<template v-if="account">
|
||||
<div i-ri:reply-fill :class="collapsed ? '' : 'scale-x-[-1]'" text-secondary-light mr-0.5 />
|
||||
<template v-if="!isSelf">
|
||||
<AccountAvatar v-if="simplified || status.inReplyToAccountId === currentUser?.account.id" :account="account" :link="false" w-5 h-5 />
|
||||
<AccountInlineInfo v-else :account="account" :link="false" />
|
||||
<div i-ri:reply-fill :class="collapsed ? '' : 'scale-x-[-1]'" text-secondary-light />
|
||||
<template v-if="!collapsed">
|
||||
<AccountAvatar v-if="isSelf || simplified || status.inReplyToAccountId === currentUser?.account.id" :account="account" :link="false" w-5 h-5 mx-0.5 />
|
||||
<AccountInlineInfo v-else :account="account" :link="false" mx-0.5 />
|
||||
</template>
|
||||
<span v-else-if="!collapsed" ws-nowrap>{{ $t('status.thread') }}</span>
|
||||
</template>
|
||||
<div i-ph:chats-fill text-primary text-lg ml-0.5 />
|
||||
<div i-ph:chats-fill text-primary text-lg />
|
||||
</NuxtLink>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -142,8 +142,7 @@
|
||||
"content_warning": "Schreib hier deine Warnung",
|
||||
"default_1": "Was geht dir gerade durch den Kopf?",
|
||||
"reply_to_account": "Antwort an {0}",
|
||||
"replying": "Antworten",
|
||||
"the_thread": "Der Thread"
|
||||
"replying": "Antworten"
|
||||
},
|
||||
"search": {
|
||||
"search_desc": "Suche nach Accounts & Hashtags"
|
||||
@ -180,7 +179,6 @@
|
||||
"someone": "Jemand",
|
||||
"spoiler_show_less": "Zeige weniger",
|
||||
"spoiler_show_more": "Zeige mehr",
|
||||
"thread": "Thread",
|
||||
"try_original_site": "Versuche die original Seite"
|
||||
},
|
||||
"status_history": {
|
||||
|
@ -283,7 +283,6 @@
|
||||
"someone": "Someone",
|
||||
"spoiler_show_less": "Show less",
|
||||
"spoiler_show_more": "Show more",
|
||||
"thread": "Thread",
|
||||
"try_original_site": "Try original site"
|
||||
},
|
||||
"status_history": {
|
||||
|
@ -283,7 +283,6 @@
|
||||
"someone": "Someone",
|
||||
"spoiler_show_less": "Show less",
|
||||
"spoiler_show_more": "Show more",
|
||||
"thread": "Thread",
|
||||
"try_original_site": "Try original site"
|
||||
},
|
||||
"status_history": {
|
||||
|
Loading…
Reference in New Issue
Block a user