Package pology :: Class TextTrans

Class TextTrans

Class for intermediate handling of translated user-visible text.

Objects of this type are not functional if created manually, but only through t*_() translation calls.

Instance Methods
TextTrans
with_args(self, **kwargs)
Add arguments for substitution in the text, creating new object.
ColorString
to_string(self)
Translate the text to get ordinary string.
Method Details

with_args(self, **kwargs)

 

Add arguments for substitution in the text, creating new object.

Returns: TextTrans
new deferred translation

to_string(self)

 

Translate the text to get ordinary string.

Returns: ColorString
translated text