Skip to content

Commit

Permalink
Recognize new OS versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouke committed Apr 16, 2017
1 parent dbfaca3 commit f56fd12
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion user_sessions/templatetags/user_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,17 @@
(re.compile('Linux'), _('Linux')),
(re.compile('iPhone'), _('iPhone')),
(re.compile('iPad'), _('iPad')),
(re.compile('(Mac OS X)'), _('OS X')),
(re.compile('Mac OS X 10_9'), _('macOS Mavericks')),
(re.compile('Mac OS X 10_10'), _('macOS Yosemite')),
(re.compile('Mac OS X 10_11'), _('macOS El Capitan')),
(re.compile('Mac OS X 10_12'), _('macOS Sierra')),
(re.compile('Mac OS X'), _('OS X')),
(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 f56fd12

Please sign in to comment.