a unit of a PHP file i.e. a name and value, and any comments
associated
|
|
|
|
|
|
|
|
getoutput(self)
convert the unit back into formatted lines for a php 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:
gettargetlen
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List
|
|
|
Inherited from base.TranslationUnit:
addlocations
|
|
Inherited from base.TranslationUnit:
adderror,
geterrors
|