Skip to content
Snippets Groups Projects
Unverified Commit 44292a69 authored by mayaeh's avatar mayaeh Committed by GitHub
Browse files

Add link to bookmarks in web UI dropdown (#13273)

parent 8c42e0b5
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,7 @@ const messages = defineMessages({ ...@@ -16,6 +16,7 @@ const messages = defineMessages({
mutes: { id: 'navigation_bar.mutes', defaultMessage: 'Muted users' }, mutes: { id: 'navigation_bar.mutes', defaultMessage: 'Muted users' },
filters: { id: 'navigation_bar.filters', defaultMessage: 'Muted words' }, filters: { id: 'navigation_bar.filters', defaultMessage: 'Muted words' },
logout: { id: 'navigation_bar.logout', defaultMessage: 'Logout' }, logout: { id: 'navigation_bar.logout', defaultMessage: 'Logout' },
bookmarks: { id: 'navigation_bar.bookmarks', defaultMessage: 'Bookmarks' },
}); });
export default @injectIntl export default @injectIntl
...@@ -42,6 +43,7 @@ class ActionBar extends React.PureComponent { ...@@ -42,6 +43,7 @@ class ActionBar extends React.PureComponent {
menu.push(null); menu.push(null);
menu.push({ text: intl.formatMessage(messages.follow_requests), to: '/follow_requests' }); menu.push({ text: intl.formatMessage(messages.follow_requests), to: '/follow_requests' });
menu.push({ text: intl.formatMessage(messages.favourites), to: '/favourites' }); menu.push({ text: intl.formatMessage(messages.favourites), to: '/favourites' });
menu.push({ text: intl.formatMessage(messages.bookmarks), to: '/bookmarks' });
menu.push({ text: intl.formatMessage(messages.lists), to: '/lists' }); menu.push({ text: intl.formatMessage(messages.lists), to: '/lists' });
menu.push(null); menu.push(null);
menu.push({ text: intl.formatMessage(messages.mutes), to: '/mutes' }); menu.push({ text: intl.formatMessage(messages.mutes), to: '/mutes' });
......
...@@ -917,6 +917,10 @@ ...@@ -917,6 +917,10 @@
{ {
"defaultMessage": "Logout", "defaultMessage": "Logout",
"id": "navigation_bar.logout" "id": "navigation_bar.logout"
},
{
"defaultMessage": "Bookmarks",
"id": "navigation_bar.bookmarks"
} }
], ],
"path": "app/javascript/mastodon/features/compose/components/action_bar.json" "path": "app/javascript/mastodon/features/compose/components/action_bar.json"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment