merge with trunk

This commit is contained in:
Georg Brandl
2010-04-17 13:00:19 +02:00
9 changed files with 28 additions and 10 deletions

View File

@@ -151,7 +151,8 @@ General configuration
:confval:`language`), relative to the source directory. The directories on
this path are searched by the standard :mod:`gettext` module for a text
domain of ``sphinx``; so if you add the directory :file:`./locale` to this
settting, the message catalogs must be in
settting, the message catalogs (compiled from ``.po`` format using
:program:`msgfmt`) must be in
:file:`./locale/{language}/LC_MESSAGES/sphinx.mo`.
The default is ``[]``.

View File

@@ -201,7 +201,7 @@ The ``todo`` directive function looks like this::
def run(self):
env = self.state.document.settings.env
targetid = "todo-%s" % env.new_serialno('todo')
targetid = "todo-%d" % env.new_serialno('todo')
targetnode = nodes.target('', '', ids=[targetid])
ad = make_admonition(todo, self.name, [_('Todo')], self.options,