|
|
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
|
|
|
|
|
|
|
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
|
|
|
|
|