summaryrefslogtreecommitdiff
path: root/sphinx/htmlhelp.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-08-10 10:00:20 +0000
committerGeorg Brandl <georg@python.org>2008-08-10 10:00:20 +0000
commit74d36acbf787da74b0cade6406aa7569c7fd9da8 (patch)
treecd8a0be3659c5ea0a8b675d11e6b3191c1c20527 /sphinx/htmlhelp.py
parente9d3589140d44a38b4c7c891a3cbaf45bf290654 (diff)
downloadsphinx-git-74d36acbf787da74b0cade6406aa7569c7fd9da8.tar.gz
* Add more generated text to the automatic translation.
* Remove all locale-dependent text from sphinx.sty, put it into Python files to enable message extraction and translation. * Use babel in the LaTeX output. * Centralize locations for labels used in every builder.
Diffstat (limited to 'sphinx/htmlhelp.py')
-rw-r--r--sphinx/htmlhelp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/htmlhelp.py b/sphinx/htmlhelp.py
index a3ace5dd8..ea21d0ce1 100644
--- a/sphinx/htmlhelp.py
+++ b/sphinx/htmlhelp.py
@@ -152,7 +152,8 @@ def build_hhx(builder, outdir, outname):
f.write('<LI> ' + object_sitemap % (builder.config.html_short_title,
'index.html'))
if builder.config.html_use_modindex:
- f.write('<LI> ' + object_sitemap % ('Global Module Index', 'modindex.html'))
+ f.write('<LI> ' + object_sitemap % (_('Global Module Index'),
+ 'modindex.html'))
# the TOC
tocdoc = builder.env.get_and_resolve_doctree(builder.config.master_doc, builder,
prune_toctrees=False)