1. Luke Plant
  2. semanticeditor


Luke Plant  committed 005823b

Improved English

  • Participants
  • Parent commits e1c6d01
  • Branches default

Comments (0)

Files changed (1)

File semanticeditor/utils.py

View file
             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