From e3722292e4b611971eb694b308a4a50b3514c418 Mon Sep 17 00:00:00 2001 From: Yuya Ochiai Date: Fri, 24 Feb 2017 23:35:55 +0900 Subject: [PATCH] Use "Dock" instead of "taskbar" on macOS --- src/browser/components/SettingsPage.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/browser/components/SettingsPage.jsx b/src/browser/components/SettingsPage.jsx index bd439468..40ec8b3e 100644 --- a/src/browser/components/SettingsPage.jsx +++ b/src/browser/components/SettingsPage.jsx @@ -287,6 +287,7 @@ const SettingsPage = React.createClass({ ); if (process.platform === 'darwin' || process.platform === 'win32') { + const TASKBAR = process.platform === 'win32' ? 'taskbar' : 'Dock'; options.push( {'Show red badge on taskbar icon to indicate unread messages'} + >{`Show red badge on ${TASKBAR} icon to indicate unread messages`} - {'Regardless of this setting, mentions are always indicated with a red badge and item count on the taskbar icon.'} + {`Regardless of this setting, mentions are always indicated with a red badge and item count on the ${TASKBAR} icon.`} ); }