Commits

David Jean Louis  committed 0e8be9d

Fixed typo in README and CHANGELOG, fixes issue #13

  • Participants
  • Parent commits ec920a7

Comments (0)

Files changed (2)

 Version 0.4.0 (2008/11/26)
 --------------------------
  - fixed bug #0005: percent_translated divide by 0 on empty po files,
- - fixed bug #0004: occurences that have hiphens are wrapped when they should not,
+ - fixed bug #0004: occurrences that have hiphens are wrapped when they should not,
  - changes in how encoding is handled,
- - remove deprecation warnings for typo "occurences",
+ - remove deprecation warnings for typo on "occurrences",
  - added POEntry.__cmp__() method to sort entries like gettext does,
  - fixed POEntry.transalated(),
  - added a merge() method to POFile class, that behaves like the gettext msgmerge utility,
 
 Version 0.3.1 (2007/12/13)
 --------------------------
- - fixed bug #0002: typo: "occurences" instead of "occurrences",
+ - fixed bug #0002: typo on "occurrences",
  - fixed bug #0003: mismatch in exception instance names,
  - removed deprecation warnings,
  - removed unused charset() method in POFile/MOFile objects,
 >>> for entry in po: print entry.msgid, entry.msgstr
 >>> # add an entry
 >>> entry = polib.POEntry(msgid='Welcome', msgstr='Bienvenue')
->>> entry.occurences = [('welcome.py', '12'), ('anotherfile.py', '34')]
+>>> entry.occurrences = [('welcome.py', '12'), ('anotherfile.py', '34')]
 >>> po.append(entry)
 >>> # save our modified po file
 >>> po.save()