|
convert(self,
oosource,
sourcelanguage=' en-US ' ,
targetlanguage=' af-ZA ' )
helper that converts oo source to po source without requiring files |
source code
|
|
|
singleelement(self,
pofile)
checks that the pofile contains a single non-header element, and
returns it |
source code
|
|
|
roundtripstring(self,
filename,
entitystring)
Convert the supplied string as part of an OpenOffice.org GSI file to
po and back. |
source code
|
|
|
check_roundtrip(self,
filename,
text)
Checks that the text converted to po and back is the same as the
original. |
source code
|
|
|
test_simpleentity(self)
checks that a simple oo entry converts properly to a po entry |
source code
|
|
|
test_escapes(self)
checks that a simple oo entry converts escapes properly to a po entry |
source code
|
|
|
|
|
xtest_roundtrip_whitespaceonly(self)
check items that are only special instances of whitespce |
source code
|
|
|
|
|
test_escapes_helpcontent2(self)
checks that a helpcontent2 entry converts escapes properly to a po
entry |
source code
|
|
|
test_msgid_bug_error_address(self)
tests the we have the correct url for reporting msgid bugs |
source code
|
|
|
test_x_comment_inclusion(self)
test that we can merge x-comment language entries into comment
sections of the PO file |
source code
|
|