change 'downloads' wording to be less ambiguous

This commit is contained in:
Seb Bacon 2011-04-06 12:56:52 +01:00
parent 137567b0bf
commit 04ea42339a
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ class GoogleAnalyticsPlugin(SingletonPlugin):
# add some stats
def download_adder(stream):
download_html = ''' <span class="downloads-count">
(%s downloads)</span>'''
(downloaded %s times)</span>'''
count = None
for mark, (kind, data, pos) in stream:
if mark and kind == START:

View File

@ -90,4 +90,4 @@ class xTestLoadCommand(TestCase):
response = self.app.get(url_for(controller='package',
action='read',
id='annakarenina'))
assert "(4 downloads)" in response.body, response.body
assert "(downloaded 4 times)" in response.body, response.body