Change the message for empty user's mutelist

This commit is contained in:
Bojan Mojsilovic 2023-08-30 13:47:20 +02:00
parent 3b018287a2
commit 014aac2219
3 changed files with 9 additions and 3 deletions

View File

@ -147,7 +147,7 @@ const Mutelist: Component = () => {
fallback={
<Show when={!isFetching()}>
<div class={styles.emptyListBanner}>
{intl.formatMessage(t.muted.empty)}
{intl.formatMessage(t.muted.emptyOther)}
</div>
</Show>
}

View File

@ -134,6 +134,7 @@
font-weight: 700;
line-height: 20px;
text-transform: uppercase;
text-align: center;
}
.mutedUser {

View File

@ -963,12 +963,12 @@ export const settings = {
},
trending: {
id: 'settings.contentModeration.table.trending',
defaultMessage: 'Don\t Recommend',
defaultMessage: 'Don\'t Recommend',
description: 'Caption for trending column on moderation settings page',
},
trendingHelp: {
id: 'settings.contentModeration.table.trendingHelp',
defaultMessage: 'Content won\t be recommended in trending and most-zapped feeds',
defaultMessage: 'Content won\'t be recommended in trending and most-zapped feeds',
description: 'Help description for trending filter',
},
contentHelp: {
@ -1006,6 +1006,11 @@ export const settings = {
defaultMessage: 'No muted users',
description: 'Caption indicating that there are no muted users',
},
emptyOther: {
id: 'settings.muted.emptyOther',
defaultMessage: 'This user didn\'t mute anyone or they use a non-standard mute list',
description: 'Caption indicating that there are no muted users on someone else\'s list',
},
},
network: {
title: {