diff --git a/dpaste/views.py b/dpaste/views.py index d7f53e6..b4dac05 100644 --- a/dpaste/views.py +++ b/dpaste/views.py @@ -155,7 +155,9 @@ class SnippetRawView(SnippetDetailView): def dispatch(self, request, *args, **kwargs): if not config.RAW_MODE_ENABLED: return HttpResponseForbidden( - 'This dpaste installation has Raw view mode disabled.' + ugettext( + 'This dpaste installation has Raw view mode disabled.' + ) ) return super(SnippetRawView, self).dispatch(request, *args, **kwargs)