Home | Trees | Indices | Help |
|
---|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
String |
|
||
|
|||
|
|||
string |
|
||
Inherited from Inherited from Inherited from |
|||
Source | |||
---|---|---|---|
|
|||
|
|||
Inherited from Inherited from |
|||
Target | |||
|
|||
|
|||
Inherited from Inherited from |
|||
Notes | |||
|
|||
|
|||
|
|||
Locations | |||
List |
|
||
|
|||
Inherited from |
|||
Errors | |||
Inherited from |
|
|||
|
|||
Inherited from |
|
|||
__shallow__ = ['_store']
|
|||
Inherited from Inherited from Inherited from |
|||
Source | |||
---|---|---|---|
source = property(getsource, setsource)
|
|||
Inherited from |
|||
Target | |||
target = property(gettarget, settarget)
|
|||
Inherited from |
|||
Notes | |||
Inherited from |
|
|||
Inherited from Inherited from |
|||
Source | |||
---|---|---|---|
Inherited from |
|||
Target | |||
Inherited from |
|
Constructs a TranslationUnit containing the given source string.
|
Sets the source string to the given value.
|
Sets the msgstr to the given (unescaped) value
|
Return comments based on origin value (programmer, developer, source code and translator)
|
This is modeled on the XLIFF method. See xliff.py::xliffunit.addnote
|
Remove all the translator's notes (other comments)
|
Merges the otherpo (with the same msgid) into this one. Overwrite non-blank self.msgstr only if overwrite is True merge comments only if comments is True
|
Indicates whether this unit is a header.
|
Used to see if this unit has no source or target string.
|
Check whether the given comment marker is present as # (commentmarker) ...
|
Indicates whether this unit is translated. This should be used rather than deducing it from .target, to ensure that other classes can implement more functionality (as XLIFF does).
|
Indicates whether this unit can be translated. This should be used to distinguish real units for translation from header, obsolete, binary or other blank units.
|
Indicates whether this unit is fuzzy.
|
|
Makes this unit obsolete
|
returns whether this pounit contains plural strings...
|
convert to a string. double check that unicode is handled somehow here
|
Get a list of locations from sourcecomments in the PO unit rtype: List return: A list of the locations with '#: ' stripped
|
Add a location to sourcecomments in the PO unit
|
Extract KDE style msgid comments from the unit.
|
Get the message context.
|
Set the message context
|
Returns a unique identifier for this unit.
|
Build a native unit from a foreign unit, preserving as much information as possible.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 12 18:11:57 2011 | http://epydoc.sourceforge.net |