Skip to content

Commit

Permalink
When identifying a macOS or Windows platform, do not include the version
Browse files Browse the repository at this point in the history
  • Loading branch information
ataylor32 committed May 22, 2024
1 parent 6fc87ce commit 64e8b67
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions user_sessions/templatetags/user_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,7 @@
(re.compile('Linux'), _('Linux')),
(re.compile('iPhone'), _('iPhone')),
(re.compile('iPad'), _('iPad')),
(re.compile('Mac OS X 10[._]9'), _('OS X Mavericks')),
(re.compile('Mac OS X 10[._]10'), _('OS X Yosemite')),
(re.compile('Mac OS X 10[._]11'), _('OS X El Capitan')),
(re.compile('Mac OS X 10[._]12'), _('macOS Sierra')),
(re.compile('Mac OS X 10[._]13'), _('macOS High Sierra')),
(re.compile('Mac OS X 10[._]14'), _('macOS Mojave')),
(re.compile('Mac OS X 10[._]15'), _('macOS Catalina')),
(re.compile('Mac OS X'), _('macOS')),
(re.compile('NT 5.1'), _('Windows XP')),
(re.compile('NT 6.0'), _('Windows Vista')),
(re.compile('NT 6.1'), _('Windows 7')),
(re.compile('NT 6.2'), _('Windows 8')),
(re.compile('NT 6.3'), _('Windows 8.1')),
(re.compile('NT 10.0'), _('Windows 10')),
(re.compile('Windows'), _('Windows')),
)

Expand Down

0 comments on commit 64e8b67

Please sign in to comment.