From 021101d9e06e2d07e311774ac8be2f0dfe2617ab Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Thu, 24 Mar 2016 20:14:26 +0100 Subject: [PATCH 1/2] Fix for missing languages in about menu. --- dpaste/settings/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dpaste/settings/base.py b/dpaste/settings/base.py index c0f27b2..f783da8 100644 --- a/dpaste/settings/base.py +++ b/dpaste/settings/base.py @@ -104,6 +104,7 @@ TEMPLATES = [ 'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.request', + 'django.template.context_processors.i18n', ], }, }, From c3ba7de621dbed758f3eaaf8a44f8b03fe04dc3d Mon Sep 17 00:00:00 2001 From: Marco Rougeth Date: Fri, 3 Jun 2016 15:24:45 -0300 Subject: [PATCH 2/2] Added R lexer --- dpaste/highlight.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dpaste/highlight.py b/dpaste/highlight.py index 7e5f806..83d6f8c 100644 --- a/dpaste/highlight.py +++ b/dpaste/highlight.py @@ -79,6 +79,7 @@ LEXER_LIST = getattr(settings, 'DPASTE_LEXER_LIST', ( ('properties', 'Properties'), ('puppet', 'Puppet'), ('python', 'Python'), + ('r', 'R'), ('rb', 'Ruby'), ('rst', 'reStructuredText'), ('rust', 'Rust'),