l.t.u.t.t.KdePOImporterTestCase(unittest.TestCase) : class documentation

Part of lp.translations.utilities.tests.test_kde_po_importer View In Hierarchy

Class test for gettext's .po file imports
Method setUp Undocumented
Method testInterface Check whether the object follows the interface.
Method testFormat Check whether KdePOImporter can handle the KDEPO file format.
Method testKDEPriorityIsHigherThanPOPriority Check if KdePOImporter has precedence over GettextPOImporter.
Method testGettextPOFileFormat Check that non-KDE PO files are recognized as regular PO files.
Method testTemplatePlurals Check whether legacy KDE plural forms are correctly imported.
Method testTranslationPlurals Check if translated legacy KDE plural forms are correctly imported.
Method testTemplateContext Check whether legacy KDE context is correctly imported.
Method testTranslationContext Check whether legacy KDE context is correctly imported.
def setUp(self):
Undocumented
def testInterface(self):
Check whether the object follows the interface.
def testFormat(self):
Check whether KdePOImporter can handle the KDEPO file format.
def testKDEPriorityIsHigherThanPOPriority(self):
Check if KdePOImporter has precedence over GettextPOImporter.
def testGettextPOFileFormat(self):
Check that non-KDE PO files are recognized as regular PO files.
def testTemplatePlurals(self):
Check whether legacy KDE plural forms are correctly imported.
def testTranslationPlurals(self):
Check if translated legacy KDE plural forms are correctly imported.
def testTemplateContext(self):
Check whether legacy KDE context is correctly imported.
def testTranslationContext(self):
Check whether legacy KDE context is correctly imported.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.