Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(105)

Issue 4: Format knowledge in format classes

Unified Diff

File: translate/storage/pocommon.py
Patch Set: Second try Created 1 year, 5 months ago
Jump to:
View side by-side-diff with in line comments
« translate/storage/mo.py ('k') | no next file »
Index: translate/storage/pocommon.py
===================================================================
--- translate/storage/pocommon.py	(revision 7740)
+++ translate/storage/pocommon.py	(working copy)
@@ -63,6 +63,10 @@
 
 class pofile(base.TranslationStore, poheader.poheader):
 
+    name = "Gettext PO file"
+    extension = ("*.po", "*.pot")
+    mimetype = ("application/x-gettext-catalog", )
+
     def makeheader(self, **kwargs):
         """create a header for the given filename. arguments are specially handled, kwargs added as key: value
         pot_creation_date can be None (current date) or a value (datetime or string)

« translate/storage/mo.py ('k') | no next file »

Powered by Google App Engine
This is Rietveld r159