|
po2xliff(self,
posource,
sourcelanguage=' en ' ,
targetlanguage=None)
helper that converts po source to xliff source without requiring
files |
source code
|
|
|
getnode(self,
xliff)
Retrieves the trans-unit node from the dom |
source code
|
|
|
|
|
|
|
test_multiline(self)
Test multiline po entry |
source code
|
|
|
test_escapednewlines(self)
Test the escaping of newlines |
source code
|
|
|
test_escapedtabs(self)
Test the escaping of tabs |
source code
|
|
|
test_escapedquotes(self)
Test the escaping of quotes (and slash) |
source code
|
|
|
getcontexttuples(self,
node,
namespace)
Returns all the information in the context nodes as a list of tuples
of (type, text) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|