Skip to content

Commit

Permalink
Removed trailing whitepace (W291)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouke committed Apr 11, 2017
1 parent d6c9f3e commit 2a3f199
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 13 deletions.
2 changes: 1 addition & 1 deletion tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def setUp(self):

def test_list(self):
self.user.session_set.create(session_key='ABC123', ip='127.0.0.1',
expire_date=datetime.now() + timedelta(days=1),
expire_date=datetime.now() + timedelta(days=1),
user_agent='Firefox')
response = self.client.get(reverse('user_sessions:session_list'))
self.assertContains(response, 'Active Sessions')
Expand Down
35 changes: 23 additions & 12 deletions user_sessions/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-01-09 20:35+0100\n"
"POT-Creation-Date: 2017-01-17 22:24+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -17,43 +17,43 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: admin.py:10
#: admin.py:20
msgid "Is Valid"
msgstr ""

#: admin.py:15
#: admin.py:25
msgid "Active"
msgstr ""

#: admin.py:16
#: admin.py:26
msgid "Expired"
msgstr ""

#: admin.py:27
#: admin.py:37
msgid "Owner"
msgstr ""

#: admin.py:32
#: admin.py:42
msgid "Self"
msgstr ""

#: models.py:21
#: models.py:37
msgid "session key"
msgstr ""

#: models.py:23
#: models.py:39
msgid "session data"
msgstr ""

#: models.py:24
#: models.py:40
msgid "expiry date"
msgstr ""

#: models.py:28
#: models.py:44
msgid "session"
msgstr ""

#: models.py:29
#: models.py:45
msgid "sessions"
msgstr ""

Expand All @@ -74,7 +74,8 @@ msgid "Last Activity"
msgstr ""

#: templates/user_sessions/session_list.html:13
#: templates/user_sessions/session_list.html:30
#: templates/user_sessions/session_list.html:31
#: templates/user_sessions/session_list.html:33
msgid "End Session"
msgstr ""

Expand All @@ -88,6 +89,16 @@ msgstr ""
msgid "%(time)s ago"
msgstr ""

#: templates/user_sessions/session_list.html:44
msgid ""
"You can also end all other sessions but the current.\n"
" This will log you out on all other devices."
msgstr ""

#: templates/user_sessions/session_list.html:46
msgid "End All Other Sessions"
msgstr ""

#: templatetags/user_sessions.py:12
msgid "Chrome"
msgstr ""
Expand Down

0 comments on commit 2a3f199

Please sign in to comment.