From 876c5dc9dfede580dfdb8f5d982b8b912958eacc Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Tue, 6 Jun 2017 07:55:26 -0400
Subject: Fix default text for channel switcher (#6581)

---
 webapp/components/sidebar.jsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'webapp/components/sidebar.jsx')

diff --git a/webapp/components/sidebar.jsx b/webapp/components/sidebar.jsx
index 0988101d8..6fd82f3a7 100644
--- a/webapp/components/sidebar.jsx
+++ b/webapp/components/sidebar.jsx
@@ -804,8 +804,10 @@ export default class Sidebar extends React.Component {
         }
 
         let quickSwitchText = 'sidebar.switch_channels';
+        let quickSwitchDefault = 'Switch Channels (CTRL + K)';
         if (Utils.isMac()) {
             quickSwitchText += '.mac';
+            quickSwitchDefault = 'Switch Channels (CMD + K)';
         }
 
         return (
@@ -916,7 +918,7 @@ export default class Sidebar extends React.Component {
                     >
                         <FormattedMessage
                             id={quickSwitchText}
-                            defaultMessage='Switch Channels (CTRL + K)'
+                            defaultMessage={quickSwitchDefault}
                         />
                     </a>
                 </div>
-- 
cgit v1.2.3-1-g7c22

