Commit 50db2d0d authored by Michal Čihař's avatar Michal Čihař

Support for Java properties and related formats

This includes utf-8 java files (issue #91) and OS X properties
(issue #107)
parent 3b86858a
......@@ -66,15 +66,27 @@ FILE_FORMATS = {
},
'po': {
'name': ugettext_lazy('Gettext PO file'),
'loader': ("po", "pofile"),
'loader': ('po', 'pofile'),
},
'ts': {
'name': ugettext_lazy('XLIFF Translation File'),
'loader': ("ts2", "tsfile"),
'loader': ('ts2', 'tsfile'),
},
'xliff': {
'name': ugettext_lazy('Qt Linguist Translation File'),
'loader': ("xliff", "xlifffile"),
'loader': ('xliff', 'xlifffile'),
},
'strings': {
'name': ugettext_lazy('OS X Strings'),
'loader': ('properties', 'stringsfile'),
},
'properties': {
'name': ugettext_lazy('Java Properties'),
'loader': ('properties', 'javafile'),
},
'properties-utf8': {
'name': ugettext_lazy('Java Properties (UTF-8)'),
'loader': ('properties', 'javautf8file'),
},
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment