Package translate :: Package convert :: Module test_xliff2po :: Class TestXLIFF2PO

[hide private]
[frames] | no frames]

# Class TestXLIFF2PO

source code

Known Subclasses:
  - TestBasicXLIFF2PO

Instance Methods | [hide private]

xliff2po(self, xliffsource) helper that converts xliff source to po source without requiring files | source code

test_minimal(self) | source code

test_basic(self) | source code

test_translatorcomments(self) Tests translator comments | source code

test_autocomment(self) Tests automatic comments | source code

test_locations(self) Tests location comments (#:) | source code

test_fuzzy(self) Tests fuzzyness | source code

test_plurals(self) Tests fuzzyness | source code

Class Variables | [hide private]

| xliffskeleton = ``'``<?xml version="1.0" ?>\n<xliff version="1.1"` `...``

Class Variable Details | [hide private]

### xliffskeleton

Value:

      '''<?xml version="1.0" ?>
      <xliff version="1.1" xmlns="urn:oasis:names:tc:xliff:document:1.1">
        <file original="filename.po" source-language="en-US" datatype="po">
          <body>
              %s
          </body>
        </file>
      </xliff>'''