summaryrefslogtreecommitdiff
path: root/sphinx/builders/devhelp.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/builders/devhelp.py')
-rw-r--r--sphinx/builders/devhelp.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/sphinx/builders/devhelp.py b/sphinx/builders/devhelp.py
index 96e06afdc..3d35b7496 100644
--- a/sphinx/builders/devhelp.py
+++ b/sphinx/builders/devhelp.py
@@ -5,7 +5,7 @@
Build HTML documentation and Devhelp_ support files.
- .. _Devhelp: http://live.gnome.org/devhelp
+ .. _Devhelp: https://wiki.gnome.org/Apps/Devhelp
:copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
@@ -21,6 +21,7 @@ from docutils import nodes
from sphinx import addnodes
from sphinx.builders.html import StandaloneHTMLBuilder
from sphinx.environment.adapters.indexentries import IndexEntries
+from sphinx.locale import __
from sphinx.util import logging
from sphinx.util.osutil import make_filename
@@ -43,10 +44,10 @@ class DevhelpBuilder(StandaloneHTMLBuilder):
Builder that also outputs GNOME Devhelp file.
"""
name = 'devhelp'
- epilog = ('To view the help file:\n'
- '$ mkdir -p $HOME/.local/share/devhelp/%(project)s\n'
- '$ ln -s %(outdir)s $HOME/.local/share/devhelp/%(project)s\n'
- '$ devhelp')
+ epilog = __('To view the help file:\n'
+ '$ mkdir -p $HOME/.local/share/devhelp/%(project)s\n'
+ '$ ln -s %(outdir)s $HOME/.local/share/devhelp/%(project)s\n'
+ '$ devhelp')
# don't copy the reST source
copysource = False
@@ -69,7 +70,7 @@ class DevhelpBuilder(StandaloneHTMLBuilder):
def build_devhelp(self, outdir, outname):
# type: (unicode, unicode) -> None
- logger.info('dumping devhelp index...')
+ logger.info(__('dumping devhelp index...'))
# Basic info
root = etree.Element('book',