A single term in the xliff file.
|
|
|
|
|
|
|
_gettype(self)
Returns the type of this translation. |
source code
|
|
|
_settype(self,
value=None)
Set the type of this translation. |
source code
|
|
|
|
|
|
|
|
string
|
|
|
|
|
|
|
merge(self,
otherunit,
overwrite=False,
comments=True,
authoritative=False)
Do basic format agnostic merging. |
source code
|
|
|
|
Inherited from lisa.LISAunit :
__eq__ ,
__init__ ,
__str__ ,
createPHnodes ,
getNodeText ,
getlanguageNode ,
namespaced
Inherited from lisa.LISAunit (private):
_set_property
Inherited from base.TranslationUnit :
getunits ,
isblank ,
isheader ,
istranslated ,
makeobsolete ,
markreviewneeded ,
multistring_to_rich ,
setcontext ,
setid ,
unit_iter
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__
|
|
|
|
|
Inherited from lisa.LISAunit :
get_source_dom ,
set_source_dom ,
setsource
Inherited from base.TranslationUnit :
getsourcelanguage
|
|
|
|
settarget(self,
text)
Sets the "target" string (second language), or
alternatively appends to the list |
source code
|
|
|
gettarget(self)
retrieves the "target" text (second entry), or the entry in
the specified language, if it exists |
source code
|
|
Inherited from lisa.LISAunit :
get_target_dom ,
set_target_dom ,
target_dom
Inherited from base.TranslationUnit :
gettargetlanguage ,
gettargetlen
|
|
addnote(self,
text,
origin=None,
position="append")
Add a note specifically in a "comment" tag |
source code
|
|
|
|
|
|
|
|
List
|
|
Inherited from base.TranslationUnit :
addlocations
|
Inherited from base.TranslationUnit :
adderror ,
geterrors
|
|
rootNode = "message"
|
|
languageNode = "source"
|
|
textNode = ""
|
|
namespace = ''
Parse an instance of this class from the start of the given string.
|
|
rich_parsers = [ <bound method type.regex_parse of <class 'tran...
A list of functions to use for parsing a string into a rich string
tree.
|
Inherited from lisa.LISAunit :
rid ,
xid
Inherited from lisa.LISAunit (private):
_default_xml_space
|
|
source = property(getsource, lisa.LISAunit.setsource)
|
|
rich_source = property(base.TranslationUnit._get_rich_source, ...
|
Inherited from lisa.LISAunit :
source_dom
|
|
target = property(gettarget, settarget)
|
|
rich_target = property(base.TranslationUnit._get_rich_target, ...
|