* 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.
This commit is contained in:
Georg Brandl
2008-08-10 10:00:20 +00:00
parent e9d3589140
commit 74d36acbf7
19 changed files with 1104 additions and 398 deletions

17
tests/test_i18n.py Normal file
View File

@@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-
"""
test_i18n
~~~~~~~~~
Test locale features.
:copyright: 2008 by Georg Brandl.
:license: BSD.
"""
from util import *
@with_testapp(confoverrides={'language': 'de'})
def test_i18n(app):
app.builder.build_all()