an element of a properties file i.e. a name and value, and any
comments associated
|
|
|
|
|
getoutput(self)
convert the element back into formatted lines for a .properties file |
source code
|
|
|
isblank(self)
returns whether this is a blank element, containing only comments... |
source code
|
|
Inherited from base.TranslationUnit :
__eq__ ,
getcontext ,
getid ,
getunits ,
hasplural ,
isfuzzy ,
isheader ,
isreview ,
istranslatable ,
istranslated ,
markfuzzy ,
markreviewneeded ,
merge ,
unit_iter
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__
|
|
setsource(self,
source)
Sets the source AND the target to be equal |
source code
|
|
|
|
Inherited from base.TranslationUnit :
getsourcelanguage
|
|
|
|
|
Inherited from base.TranslationUnit :
gettargetlanguage ,
gettargetlen
|
|
|
|
|
|
|
List
|
|
Inherited from base.TranslationUnit :
addlocation ,
addlocations
|
Inherited from base.TranslationUnit :
adderror ,
geterrors
|