fix(ui): change status actions title (#2717)
parent
f86818867b
commit
f6f50a582e
|
@ -55,7 +55,7 @@ function reply() {
|
||||||
|
|
||||||
<div flex-1>
|
<div flex-1>
|
||||||
<StatusActionButton
|
<StatusActionButton
|
||||||
:content="$t('action.boost')"
|
:content="$t(status.reblogged ? 'action.boosted' : 'action.boost')"
|
||||||
:text="!getPreferences(userSettings, 'hideBoostCount') && status.reblogsCount ? status.reblogsCount : ''"
|
:text="!getPreferences(userSettings, 'hideBoostCount') && status.reblogsCount ? status.reblogsCount : ''"
|
||||||
color="text-green" hover="text-green" elk-group-hover="bg-green/10"
|
color="text-green" hover="text-green" elk-group-hover="bg-green/10"
|
||||||
icon="i-ri:repeat-line"
|
icon="i-ri:repeat-line"
|
||||||
|
@ -77,7 +77,7 @@ function reply() {
|
||||||
|
|
||||||
<div flex-1>
|
<div flex-1>
|
||||||
<StatusActionButton
|
<StatusActionButton
|
||||||
:content="$t('action.favourite')"
|
:content="$t(status.favourited ? 'action.favourited' : 'action.favourite')"
|
||||||
:text="!getPreferences(userSettings, 'hideFavoriteCount') && status.favouritesCount ? status.favouritesCount : ''"
|
:text="!getPreferences(userSettings, 'hideFavoriteCount') && status.favouritesCount ? status.favouritesCount : ''"
|
||||||
:color="useStarFavoriteIcon ? 'text-yellow' : 'text-rose'"
|
:color="useStarFavoriteIcon ? 'text-yellow' : 'text-rose'"
|
||||||
:hover="useStarFavoriteIcon ? 'text-yellow' : 'text-rose'"
|
:hover="useStarFavoriteIcon ? 'text-yellow' : 'text-rose'"
|
||||||
|
@ -100,7 +100,7 @@ function reply() {
|
||||||
|
|
||||||
<div flex-none>
|
<div flex-none>
|
||||||
<StatusActionButton
|
<StatusActionButton
|
||||||
:content="$t('action.bookmark')"
|
:content="$t(status.bookmarked ? 'action.bookmarked' : 'action.bookmark')"
|
||||||
:color="useStarFavoriteIcon ? 'text-rose' : 'text-yellow'"
|
:color="useStarFavoriteIcon ? 'text-rose' : 'text-yellow'"
|
||||||
:hover="useStarFavoriteIcon ? 'text-rose' : 'text-yellow'"
|
:hover="useStarFavoriteIcon ? 'text-rose' : 'text-yellow'"
|
||||||
:elk-group-hover="useStarFavoriteIcon ? 'bg-rose/10' : 'bg-yellow/10' "
|
:elk-group-hover="useStarFavoriteIcon ? 'bg-rose/10' : 'bg-yellow/10' "
|
||||||
|
|
Loading…
Reference in New Issue