|
|
|
|
|
convertpot(self,
potsource,
posource=None)
helper that converts pot source to po source without requiring files |
source code
|
|
|
singleunit(self,
pofile)
checks that the pofile contains a single non-header unit, and returns
it |
source code
|
|
|
test_convertpot_blank(self)
checks that the convertpot function is working for a simple file
initialisation |
source code
|
|
|
test_convertpot_blank_plurals(self)
checks that the convertpot function is working for initialising
plurals correctly |
source code
|
|
|
test_merging_simple(self)
checks that the convertpot function is working for a simple merge |
source code
|
|
|
test_merging_messages_marked_fuzzy(self)
test that when we merge PO files with a fuzzy message that it remains
fuzzy |
source code
|
|
|
test_merging_plurals_with_fuzzy_matching(self)
test that when we merge PO files with a fuzzy message that it remains
fuzzy |
source code
|
|
|
xtest_merging_msgid_change(self)
tests that if the msgid changes but the location stays the same that
we merge |
source code
|
|
|
test_merging_location_change(self)
tests that if the location changes but the msgid stays the same that
we merge |
source code
|
|
|
test_merging_location_and_whitespace_change(self)
test that even if the location changes that if the msgid only has
whitespace changes we can still merge |
source code
|
|
|
test_merging_location_ambiguous_with_disambiguous(self)
test that when we have a PO in ambiguous (Gettext form) and merge
with disamabiguous (KDE comment form) that we don't duplicate the
location #: comments |
source code
|
|
|
wtest_merging_accelerator_changes(self)
test that a change in the accelerator localtion still allows merging |
source code
|
|
|
xtest_lines_cut_differently(self)
Checks that the correct formatting is preserved when pot an po lines
differ. |
source code
|
|
|
|
|
|
|
test_merging_comments_with_blank_comment_lines(self)
test that when we merge a comment that has a blank line we keep the
blank line |
source code
|
|
|
|
|
test_merging_msgidcomments(self)
ensure that we can merge msgidcomments messages |
source code
|
|
|
test_merging_msgid_with_msgidcomment(self)
test that we can merge an otherwise identical string that has a
different msgid |
source code
|
|
|
test_merging_plurals(self)
ensure that we can merge plural messages |
source code
|
|
|
test_merging_obsoleting_messages(self)
check that we obsolete messages no longer present in the new file |
source code
|
|
|
test_not_obsoleting_empty_messages(self)
check that we don't obsolete (and keep) untranslated messages |
source code
|
|
|
test_merging_new_before_obsolete(self)
test to check that we place new blank message before obsolete
messages |
source code
|
|
|
test_merging_resurect_obsolete_messages(self)
check that we can reuse old obsolete messages if the message comes
back |
source code
|
|
|
test_merging_resurect_obsolete_messages_into_msgidcomment(self)
check that we can reuse old obsolete messages even if the recipient
has a msgidcomment |
source code
|
|
|
test_header_initialisation(self)
test to check that we initialise the header correctly |
source code
|
|
|
test_merging_comments(self)
Test that we can merge comments correctly |
source code
|
|
|
test_merging_typecomments(self)
Test that we can merge with typecomments |
source code
|
|