summaryrefslogtreecommitdiff
path: root/sphinx/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/config.py')
-rw-r--r--sphinx/config.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/config.py b/sphinx/config.py
index 0e49f0878..65146c210 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': l_('Fig. '),
- 'table': l_('Table '),
- 'code-block': l_('Listing ')},
+ numfig_prefix = ({'figure': l_('Fig. %s'),
+ 'table': l_('Table %s'),
+ 'code-block': l_('Listing %s')},
'env'),
# HTML options