Commits

Nozomu Kaneko committed cdf7e12

Backed out changeset fabfac71d3e2

Comments (0)

Files changed (6)

sphinx/addnodes.py

 class toctree(nodes.General, nodes.Element):
     """Node for inserting a "TOC tree"."""
 
-class translatable(nodes.General, nodes.TextElement):
-    """An element which contains translatable nodes."""
-
 
 # domain-specific object descriptions (class, function etc.)
 

sphinx/writers/html.py

             node['classes'].append('field-odd')
         self.body.append(self.starttag(node, 'tr', '', CLASS='field'))
 
-    def visit_translatable(self, node):
-        pass
-    def depart_translatable(self, node):
-        pass
-
     def unknown_visit(self, node):
         raise NotImplementedError('Unknown node: ' + node.__class__.__name__)
 

sphinx/writers/latex.py

     def depart_system_message(self, node):
         self.body.append('\n')
 
-    def visit_translatable(self, node):
-        pass
-    def depart_translatable(self, node):
-        pass
-
     def unknown_visit(self, node):
         raise NotImplementedError('Unknown node: ' + node.__class__.__name__)

sphinx/writers/manpage.py

             self.body.append(node.astext())
         raise nodes.SkipNode
 
-    def visit_translatable(self, node):
-        pass
-    def depart_translatable(self, node):
-        pass
-
     def unknown_visit(self, node):
         raise NotImplementedError('Unknown node: ' + node.__class__.__name__)

sphinx/writers/texinfo.py

     def depart_problematic(self, node):
         self.body.append('<')
 
-    def visit_translatable(self, node):
-        pass
-    def depart_translatable(self, node):
-        pass
-
     def unimplemented_visit(self, node):
         self.builder.warn("unimplemented node type: %r" % node,
                           (self.curfilestack[-1], node.line))

sphinx/writers/text.py

     def depart_container(self, node):
         pass
 
-    def visit_translatable(self, node):
-        pass
-    def depart_translatable(self, node):
-        pass
-
     def visit_problematic(self, node):
         self.add_text('>>')
     def depart_problematic(self, node):