Public Member Functions | |
def | __init__ |
def | cleanHtmlString |
def | containsWords |
def | descendHDF |
def | dumpFiles |
def | dumpStrings |
def | fetchString |
def | findString |
def | handleFile |
def | loadMap |
def | loadStrings |
def | parseCS |
def | parseHDF |
def | parseHTML |
def | parseHTMLTag |
def | stringsHDF |
def | walkDirectory |
Public Attributes | |
ignore_files | |
ignore_paths | |
ignore_patterns | |
languages | |
root | |
tdb | |
Private Attributes | |
_html_in | |
_html_state | |
Static Private Attributes | |
_CS_TAG_RE = None | |
string | _CS_TAG_REGEX = '<\\?.+?\\?>' |
_HTML_CMT_RE = None | |
string | _HTML_CMT_REGEX = '<!--.*?-->' |
_HTML_TAG_RE = None | |
string | _HTML_TAG_REGEX = '<[^!][^>]*?>' |
def pyclearsilver.trans.trans.Translator.__init__ | ( | self | ) |
def pyclearsilver.trans.trans.Translator.cleanHtmlString | ( | self, | |
s | |||
) |
def pyclearsilver.trans.trans.Translator.containsWords | ( | self, | |
s, | |||
ishtml | |||
) |
def pyclearsilver.trans.trans.Translator.descendHDF | ( | self, | |
obj, | |||
prefix | |||
) |
def pyclearsilver.trans.trans.Translator.dumpFiles | ( | self, | |
locations, | |||
lang | |||
) |
def pyclearsilver.trans.trans.Translator.dumpStrings | ( | self, | |
locations, | |||
lang = None |
|||
) |
def pyclearsilver.trans.trans.Translator.fetchString | ( | self, | |
s_id, | |||
lang | |||
) |
def pyclearsilver.trans.trans.Translator.findString | ( | self, | |
s | |||
) |
def pyclearsilver.trans.trans.Translator.handleFile | ( | self, | |
file | |||
) |
def pyclearsilver.trans.trans.Translator.loadMap | ( | self, | |
file, | |||
prefix, | |||
lang | |||
) |
def pyclearsilver.trans.trans.Translator.loadStrings | ( | self, | |
one_file = None , |
|||
verbose = 0 |
|||
) |
def pyclearsilver.trans.trans.Translator.parseCS | ( | self, | |
data | |||
) |
def pyclearsilver.trans.trans.Translator.parseHDF | ( | self, | |
data | |||
) |
def pyclearsilver.trans.trans.Translator.parseHTML | ( | self, | |
data, | |||
reset = 1 |
|||
) |
def pyclearsilver.trans.trans.Translator.parseHTMLTag | ( | self, | |
data | |||
) |
def pyclearsilver.trans.trans.Translator.stringsHDF | ( | self, | |
prefix, | |||
locations, | |||
lang = 'en' , |
|||
exist = 0 , |
|||
tiered = 0 |
|||
) |
def pyclearsilver.trans.trans.Translator.walkDirectory | ( | self, | |
path | |||
) |
pyclearsilver::trans::trans.Translator::_CS_TAG_RE = None [static, private] |
string pyclearsilver::trans::trans.Translator::_CS_TAG_REGEX = '<\\?.+?\\?>' [static, private] |
pyclearsilver::trans::trans.Translator::_HTML_CMT_RE = None [static, private] |
string pyclearsilver::trans::trans.Translator::_HTML_CMT_REGEX = '<!--.*?-->' [static, private] |
pyclearsilver::trans::trans.Translator::_HTML_TAG_RE = None [static, private] |
string pyclearsilver::trans::trans.Translator::_HTML_TAG_REGEX = '<[^!][^>]*?>' [static, private] |