Skip to content

Commit 8444768

Browse files
authored
Merge pull request #454 from yuya-oc/wording-dock-icon
Use "Dock" instead of "taskbar" on macOS
2 parents 72a41e2 + e372229 commit 8444768

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/browser/components/SettingsPage.jsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)