mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #5489 from mgeier/translatoro-typo
Fix typo: Translatoro -> Translator
This commit is contained in:
commit
388a5cefee
@ -359,7 +359,7 @@ class SphinxComponentRegistry(object):
|
||||
# type: (unicode, Type[nodes.NodeVisitor], bool) -> None
|
||||
logger.debug('[app] Change of translator for the %s builder.' % name)
|
||||
if name in self.translators and not override:
|
||||
raise ExtensionError(__('Translatoro for %r already exists') % name)
|
||||
raise ExtensionError(__('Translator for %r already exists') % name)
|
||||
self.translators[name] = translator
|
||||
|
||||
def add_translation_handlers(self, node, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user