Class representing a XLIFF file store.
|
|
|
|
String
|
|
|
|
|
_createcontext(self,
contextname,
comment=None)
Creates a context node with an optional comment |
source code
|
|
|
_getcontextname(self,
contextnode)
Returns the name of the given context node. |
source code
|
|
|
_getcontextnames(self)
Returns all contextnames in this TS file. |
source code
|
|
|
_getcontextnode(self,
contextname)
Returns the context node with the given name. |
source code
|
|
|
addunit(self,
unit,
new=True,
contextname=None,
createifmissing=False)
Adds the given unit to the last used body node (current context). |
source code
|
|
|
_switchcontext(self,
contextname,
createifmissing=False)
Switch the current context to the one named contextname, optionally
creating it if it doesn't exist. |
source code
|
|
|
|
|
|
Inherited from lisa.LISAfile :
addheader ,
addsourceunit ,
namespaced ,
parse ,
setsourcelanguage
Inherited from base.TranslationStore :
__getstate__ ,
__setstate__ ,
add_unit_to_index ,
findunit ,
findunits ,
getsourcelanguage ,
getunits ,
isempty ,
makeindex ,
remove_unit_from_index ,
require_index ,
save ,
savefile ,
translate ,
unit_iter
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__
|