Merge branch 'bookmark-folders' into 'main'

Change message for empty bookmark folder

See merge request soapbox-pub/soapbox!2965
This commit is contained in:
marcin mikołajczak 2024-03-27 11:40:04 +00:00
commit 5b5eb52793
2 changed files with 4 additions and 1 deletions

View file

@ -83,7 +83,9 @@ const Bookmarks: React.FC<IBookmarks> = ({ params }) => {
}));
};
const emptyMessage = <FormattedMessage id='empty_column.bookmarks' defaultMessage="You don't have any bookmarks yet. When you add one, it will show up here." />;
const emptyMessage = folderId
? <FormattedMessage id='empty_column.bookmarks.folder' defaultMessage="You don't have any bookmarks in this folder yet. When you add one, it will show up here." />
: <FormattedMessage id='empty_column.bookmarks' defaultMessage="You don't have any bookmarks yet. When you add one, it will show up here." />;
const items = folderId ? [
{

View file

@ -683,6 +683,7 @@
"empty_column.aliases.suggestions": "There are no account suggestions available for the provided term.",
"empty_column.blocks": "You haven't blocked any users yet.",
"empty_column.bookmarks": "You don't have any bookmarks yet. When you add one, it will show up here.",
"empty_column.bookmarks.folder": "You don't have any bookmarks in this folder yet. When you add one, it will show up here.",
"empty_column.community": "The local timeline is empty. Write something publicly to get the ball rolling!",
"empty_column.direct": "You don't have any direct messages yet. When you send or receive one, it will show up here.",
"empty_column.dislikes": "No one has disliked this post yet. When someone does, they will show up here.",