Index: trunk/translate/storage/mo.py =================================================================== --- trunk.orig/translate/storage/mo.py +++ trunk/translate/storage/mo.py @@ -101,6 +101,9 @@ class mounit(base.TranslationUnit): class mofile(base.TranslationStore): """A class representing a .mo file.""" UnitClass = mounit + name = "Gettext MO file" + extension = ("*.mo", "*.gmo") + mimetype = ("application/x-gettext-catalog", ) def __init__(self, inputfile=None, unitclass=mounit): self.UnitClass = unitclass base.TranslationStore.__init__(self, unitclass=unitclass)