|
def | __init__ (self) |
|
def | cleanHtmlString (self, s) |
|
def | containsWords (self, s, ishtml) |
|
def | descendHDF (self, obj, prefix) |
|
def | dumpFiles (self, locations, lang) |
|
def | dumpStrings (self, locations, lang=None) |
|
def | fetchString (self, s_id, lang) |
|
def | findString (self, s) |
|
def | handleFile (self, file) |
|
def | loadMap (self, file, prefix, lang) |
|
def | loadStrings (self, one_file=None, verbose=0) |
|
def | parseCS (self, data) |
|
def | parseHDF (self, data) |
|
def | parseHTML (self, data, reset=1) |
|
def | parseHTMLTag (self, data) |
|
def | stringsHDF (self, prefix, locations, lang='en', exist=0, tiered=0) |
|
def | walkDirectory (self, path) |
|
Definition at line 47 of file trans.py.
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 |
|
staticprivate |
string pyclearsilver.trans.trans.Translator._CS_TAG_REGEX = '<\\?.+?\\?>' |
|
staticprivate |
pyclearsilver.trans.trans.Translator._HTML_CMT_RE = None |
|
staticprivate |
string pyclearsilver.trans.trans.Translator._HTML_CMT_REGEX = '<!--.*?-->' |
|
staticprivate |
pyclearsilver.trans.trans.Translator._html_in |
|
private |
pyclearsilver.trans.trans.Translator._html_state |
|
private |
pyclearsilver.trans.trans.Translator._HTML_TAG_RE = None |
|
staticprivate |
string pyclearsilver.trans.trans.Translator._HTML_TAG_REGEX = '<[^!][^>]*?>' |
|
staticprivate |
pyclearsilver.trans.trans.Translator.ignore_files |
pyclearsilver.trans.trans.Translator.ignore_paths |
pyclearsilver.trans.trans.Translator.ignore_patterns |
pyclearsilver.trans.trans.Translator.languages |
pyclearsilver.trans.trans.Translator.root |
pyclearsilver.trans.trans.Translator.tdb |
The documentation for this class was generated from the following file: