PLT-6381 Keyboard Shortcuts Menu Link. (#6332)

This commit is contained in:
George Goldberg
2017-05-04 21:08:09 +01:00
committed by Joram Wilander
parent eaad4c02ad
commit 1838f6c25e
2 changed files with 17 additions and 0 deletions

View File

@@ -499,6 +499,21 @@ export default class SidebarHeaderDropdown extends React.Component {
);
}
const keyboardShortcutsLink = (
<li>
<Link
target='_blank'
rel='noopener noreferrer'
to='https://about.mattermost.com/default-keyboard_shortcut_link/'
>
<FormattedMessage
id='navbar_dropdown.keyboardShortcuts'
defaultMessage='Keyboard Shortcuts'
/>
</Link>
</li>
);
const accountSettings = (
<li>
<a
@@ -605,6 +620,7 @@ export default class SidebarHeaderDropdown extends React.Component {
{sysAdminLink}
{helpDivider}
{helpLink}
{keyboardShortcutsLink}
{reportLink}
{nativeAppLink}
{about}

View File

@@ -1791,6 +1791,7 @@
"navbar_dropdown.integrations": "Integrations",
"navbar_dropdown.inviteMember": "Send Email Invite",
"navbar_dropdown.join": "Join Another Team",
"navbar_dropdown.keyboardShortcuts": "Keyboard Shortcuts",
"navbar_dropdown.leave": "Leave Team",
"navbar_dropdown.logout": "Logout",
"navbar_dropdown.manageMembers": "Manage Members",