From a557e0dd3254adf8eee4eaecd418afa7328692ec Mon Sep 17 00:00:00 2001 From: tk0miya Date: Sat, 27 Sep 2014 15:50:19 +0900 Subject: [PATCH] Make numfig_prefix translatable --- sphinx/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sphinx/config.py b/sphinx/config.py index f0ff1f09b..19aaf674d 100644 --- a/sphinx/config.py +++ b/sphinx/config.py @@ -72,9 +72,9 @@ class Config(object): nitpick_ignore = ([], 'html'), numfig = (False, 'env'), numfig_secnum_depth = (1, 'env'), - numfig_prefix = ({'figure': 'Fig.', - 'table': 'Table ', - 'code-block': 'List '}, + numfig_prefix = ({'figure': l_('Fig.'), + 'table': l_('Table '), + 'code-block': l_('List ')}, 'env'), # HTML options