Translator comments (most of them)
@@ -245,7 +245,7 @@ class CSVAppTimeHistogram(_CSVDownloadView):
writer = csv.writer(response)
writer.writerow(
- # Translators: the number of days it took to decide on applications that have already been accepted/rejected.
+ # Translators: This is the heading of a data file which lists the number of days it took to decide on applications that have already been accepted/rejected.
[_('Days until decision'), _('Number of applications')])
for row in data:
@@ -263,6 +263,7 @@ class CSVAppMedians(_CSVDownloadView):
writer = csv.writer(response)
writer.writerow(
+ #Translator: This is the heading of a data file which lists the median (not mean) number of days until a decision (approve or reject) was made on applications for each month.
[_('Month'), _('Median days until decision')])
for row in data:
@@ -307,6 +308,7 @@ class CSVAppCountByPartner(_CSVDownloadView):
writer = csv.writer(response)
writer.writerow([_('Date'),
+ #Translator: This is the heading of a data file which lists the number of applications to a partner. Don't translate {partner}.
_('Number of applications to {partner}').format(partner=partner)])
for row in data:
@@ -330,6 +332,7 @@ class CSVUserCountByPartner(_CSVDownloadView):
writer = csv.writer(response)
writer.writerow([_('Date'),
+ #Translator: This is the heading of a data file which lists the number of unique (not counting repeat applications) users who have applied to a partner. Don't translate {partner}.
_('Number of unique users who have applied to {partner}').format(partner=partner)])
for row in data:
@@ -344,6 +347,7 @@ class CSVPageViews(_CSVDownloadView):
return super(CSVPageViews, self).dispatch(request, *args, **kwargs)
else:
messages.add_message (request, messages.WARNING,
+ #Translator: This is a warning which is shown when a user who is not a staff member attempts to download the pageview data file.
_('You must be staff to do that.'))
raise PermissionDenied
@@ -353,7 +357,7 @@ class CSVPageViews(_CSVDownloadView):
the_count=Count('path')).order_by()
writer = csv.writer(response)
-
+ #Translator: This is the heading for a downloadable data file showing the number of visitors to each page on the website. Page URL is the column which lists the URL of each page
writer.writerow([_('Page URL'),
_('Number of (non-unique) visitors')])
@@ -388,6 +392,7 @@ class CSVPageViewsByPath(_CSVDownloadView):
writer = csv.writer(response)
writer.writerow([_('Page URL'),
+ #Translator: This is the heading for a downloadable data file showing the number of visitors to each page on the website.
_('Number of (non-unique) visitors')])
writer.writerow([path, path_count])
