diff --git a/apps/ocr/views.py b/apps/ocr/views.py index fe85832ac3..d29e803c31 100644 --- a/apps/ocr/views.py +++ b/apps/ocr/views.py @@ -26,7 +26,7 @@ def _display_thumbnail(ocr_document): try: preview_url = reverse('document_preview', args=[ocr_document.document.pk]) thumbnail_url = reverse('document_thumbnail', args=[ocr_document.document.pk]) - return u'' % (preview_url, thumbnail_url) + return u'%s' % (preview_url, thumbnail_url, _(u'thumbnail')) except: return u''