Package translate :: Package convert :: Module mozfunny2prop
[hide private]
[frames] | no frames]

Module mozfunny2prop

source code

converts funny mozilla files to properties files

Functions [hide private]
 
encodepropline(line)
helper which strips off any end of line, encodes for properties file, and adds on the end of line
source code
 
inc2prop(lines)
convert a .inc file with #defines in it to a properties file
source code
 
it2prop(lines, encoding='cp1252')
convert a pseudo-properties .it file to a conventional properties file
source code
 
funny2prop(lines, itencoding='cp1252') source code
 
inc2po(inputfile, outputfile, templatefile, encoding=None, pot=False, duplicatestyle='msgid_comment')
wraps prop2po but converts input/template files to properties first
source code
 
it2po(inputfile, outputfile, templatefile, encoding='cp1252', pot=False, duplicatestyle='msgid_comment')
wraps prop2po but converts input/template files to properties first
source code
 
ini2po(inputfile, outputfile, templatefile, encoding='UTF-8', pot=False, duplicatestyle='msgid_comment') source code
 
main(argv=None) source code