Commits

Luke Plant committed 005823b

Improved English

  • Participants
  • Parent commits e1c6d01

Comments (0)

Files changed (1)

semanticeditor/utils.py

             raise IncorrectHeadings('Heading "%(name)s" is level H%(foundnum)d, but it should be level H%(rightnum)d or less'  % dict(name=name,foundnum=num,rightnum=lastnum+1))
         lastnum = num
         if name in names:
-            raise IncorrectHeadings('There are more than one headings with the name "%s".' % name)
+            raise IncorrectHeadings('There are duplicate headings with the name "%s".' % name)
         names[name] = True
 
     return headings