Package translate :: Package convert :: Module test_po2xliff :: Class TestPO2XLIFF

[hide private]
[frames] | no frames]

# Class TestPO2XLIFF

source code

Instance Methods | [hide private]

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_minimal(self) | source code

test_basic(self) | 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

test_locationcomments(self) | source code

test_othercomments(self) | source code

test_automaticcomments(self) | source code

test_header(self) | source code

test_fuzzy(self) | source code

test_germanic_plurals(self) | source code

test_funny_plurals(self) | source code

test_language_tags(self) | source code

test_variables(self) | source code

test_approved(self) | source code