File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -287,16 +287,17 @@ const SettingsPage = React.createClass({
287287 </ Checkbox > ) ;
288288
289289 if ( process . platform === 'darwin' || process . platform === 'win32' ) {
290+ const TASKBAR = process . platform === 'win32' ? 'taskbar' : 'Dock' ;
290291 options . push (
291292 < Checkbox
292293 key = 'inputShowUnreadBadge'
293294 id = 'inputShowUnreadBadge'
294295 ref = 'showUnreadBadge'
295296 checked = { this . state . showUnreadBadge }
296297 onChange = { this . handleShowUnreadBadge }
297- > { ' Show red badge on taskbar icon to indicate unread messages' }
298+ > { ` Show red badge on ${ TASKBAR } icon to indicate unread messages` }
298299 < HelpBlock >
299- { ' Regardless of this setting, mentions are always indicated with a red badge and item count on the taskbar icon.' }
300+ { ` Regardless of this setting, mentions are always indicated with a red badge and item count on the ${ TASKBAR } icon.` }
300301 </ HelpBlock >
301302 </ Checkbox > ) ;
302303 }
You can’t perform that action at this time.
0 commit comments