Trees | Indices | Help |
|
---|
|
object --+ | base.TranslationUnit --+ | lisa.LISAunit --+ | tmxunit
A single unit in the TMX file.
|
|||
|
|||
string |
|
||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|||
Source | |||
---|---|---|---|
Inherited from Inherited from |
|||
Target | |||
Inherited from Inherited from |
|||
Notes | |||
|
|||
|
|||
|
|||
|
|||
Locations | |||
Inherited from |
|||
Errors | |||
|
|||
Dictionary |
|
|
|||
Inherited from Inherited from |
|
|||
rootNode =
|
|||
languageNode =
|
|||
textNode =
|
|||
Inherited from |
|
|||
Inherited from |
|||
Source | |||
---|---|---|---|
Inherited from |
|||
Target | |||
Inherited from |
|
returns a langset xml Element setup with given parameters
|
Returns the identifier for this unit. The optional tuid property is used if available, otherwise we inherit .getid(). Note that the tuid property is only mandated to be unique from TMX 2.0.
|
Indicates whether this unit can be translated. This should be used to distinguish real units for translation from header, obsolete, binary or other blank units.
|
Add a note specifically in a "note" tag. The origin parameter is ignored
|
Private method that returns the text from notes. The origin parameter is ignored.. |
Returns all notes about this unit. It will probably be freeform text or something reasonable that can be synthesised by the format. It should not include location comments (see getlocations()).
|
Remove all the translator notes.
|
Adds an error message to this unit.
|
Get all error messages.
|
Make a copy of the translation unit. We don't want to make a deep copy - this could duplicate the whole XML tree. For now we just serialise and reparse the unit's XML. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Sep 23 13:50:58 2008 | http://epydoc.sourceforge.net |