mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Oops.
This commit is contained in:
@@ -178,9 +178,9 @@ class Builder(object):
|
||||
# Language couldn't be found in the specified path
|
||||
pass
|
||||
if self.translator is not None:
|
||||
self.info('ok')
|
||||
self.info('done')
|
||||
else:
|
||||
self.info('selected locale not available' % self.config.language)
|
||||
self.info('locale not available')
|
||||
if self.translator is None:
|
||||
self.translator = gettext.NullTranslations()
|
||||
self.translator.install()
|
||||
|
||||
Reference in New Issue
Block a user