|
__init__(self,
source=None)
Constructs a TranslationUnit containing the given source string. |
source code
|
|
string
|
|
|
|
|
|
|
|
|
|
|
|
|
match_header(self)
see if unit might be a header |
source code
|
|
|
add_spreadsheet_escapes(self,
source,
target)
add common spreadsheet escapes to two strings |
source code
|
|
|
remove_spreadsheet_escapes(self,
source,
target)
remove common spreadsheet escapes from two strings |
source code
|
|
|
|
|
|
|
__str__(self)
Converts to a string representation that can be parsed back using
parsestring() . |
source code
|
|
Inherited from base.TranslationUnit :
__eq__ ,
get_state_id ,
get_state_n ,
getunits ,
hasplural ,
infer_state ,
isblank ,
isheader ,
isobsolete ,
isreview ,
istranslatable ,
istranslated ,
makeobsolete ,
markreviewneeded ,
merge ,
multistring_to_rich ,
set_state_n ,
unit_iter
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__
|
Inherited from base.TranslationUnit :
getsourcelanguage ,
setsource
|
Inherited from base.TranslationUnit :
gettargetlanguage ,
gettargetlen ,
settarget
|
|
|
|
|
|
|
List
|
|
|
|
Inherited from base.TranslationUnit :
addlocations
|
Inherited from base.TranslationUnit :
adderror ,
geterrors
|