Rename system tray to menu bar on MacOS

This commit is contained in:
JonnyWong16 2020-06-14 14:59:37 -07:00
commit 451feda86b
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
4 changed files with 10 additions and 7 deletions

View file

@ -458,11 +458,14 @@
<p class="help-block">Note: Web interface changes require a restart.</p>
% if common.PLATFORM in ('Windows', 'Darwin'):
<%
tray = {'Windows': 'System Tray', 'Darwin': 'Menu Bar'}
%>
<div class="checkbox">
<label>
<input type="checkbox" class="http-settings" name="sys_tray_icon" id="sys_tray_icon" value="1" ${config['sys_tray_icon']}> Enable System Tray Icon
<input type="checkbox" class="http-settings" name="sys_tray_icon" id="sys_tray_icon" value="1" ${config['sys_tray_icon']}> Enable ${tray[common.PLATFORM]} Icon
</label>
<p class="help-block">Show Tautulli shortcut in the system tray.</p>
<p class="help-block">Show Tautulli shortcut in the ${tray[common.PLATFORM].lower()}.</p>
</div>
<div class="checkbox">
<label>