$search

pyclearsilver::trans::trans::Translator Class Reference

List of all members.

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 = '<[^!][^>]*?>'

Detailed Description

Definition at line 47 of file trans.py.


Member Function Documentation

def pyclearsilver::trans::trans::Translator::__init__ (   self  ) 

Definition at line 55 of file trans.py.

def pyclearsilver::trans::trans::Translator::cleanHtmlString (   self,
  s 
)

Definition at line 282 of file trans.py.

def pyclearsilver::trans::trans::Translator::containsWords (   self,
  s,
  ishtml 
)

Definition at line 286 of file trans.py.

def pyclearsilver::trans::trans::Translator::descendHDF (   self,
  obj,
  prefix 
)

Definition at line 214 of file trans.py.

def pyclearsilver::trans::trans::Translator::dumpFiles (   self,
  locations,
  lang 
)

Definition at line 431 of file trans.py.

def pyclearsilver::trans::trans::Translator::dumpStrings (   self,
  locations,
  lang = None 
)

Definition at line 393 of file trans.py.

def pyclearsilver::trans::trans::Translator::fetchString (   self,
  s_id,
  lang 
)

Definition at line 415 of file trans.py.

def pyclearsilver::trans::trans::Translator::findString (   self,
  s 
)

Definition at line 299 of file trans.py.

def pyclearsilver::trans::trans::Translator::handleFile (   self,
  file 
)

Definition at line 240 of file trans.py.

def pyclearsilver::trans::trans::Translator::loadMap (   self,
  file,
  prefix,
  lang 
)

Definition at line 521 of file trans.py.

def pyclearsilver::trans::trans::Translator::loadStrings (   self,
  one_file = None,
  verbose = 0 
)

Definition at line 311 of file trans.py.

def pyclearsilver::trans::trans::Translator::parseCS (   self,
  data 
)

Definition at line 189 of file trans.py.

def pyclearsilver::trans::trans::Translator::parseHDF (   self,
  data 
)

Definition at line 233 of file trans.py.

def pyclearsilver::trans::trans::Translator::parseHTML (   self,
  data,
  reset = 1 
)

Definition at line 132 of file trans.py.

def pyclearsilver::trans::trans::Translator::parseHTMLTag (   self,
  data 
)

Definition at line 87 of file trans.py.

def pyclearsilver::trans::trans::Translator::stringsHDF (   self,
  prefix,
  locations,
  lang = 'en',
  exist = 0,
  tiered = 0 
)

Definition at line 358 of file trans.py.

def pyclearsilver::trans::trans::Translator::walkDirectory (   self,
  path 
)

Definition at line 262 of file trans.py.


Member Data Documentation

Definition at line 52 of file trans.py.

string pyclearsilver::trans::trans::Translator::_CS_TAG_REGEX = '<\\?.+?\\?>' [static, private]

Definition at line 53 of file trans.py.

Definition at line 50 of file trans.py.

string pyclearsilver::trans::trans::Translator::_HTML_CMT_REGEX = '<!--.*?-->' [static, private]

Definition at line 51 of file trans.py.

Definition at line 207 of file trans.py.

Definition at line 84 of file trans.py.

Definition at line 48 of file trans.py.

string pyclearsilver::trans::trans::Translator::_HTML_TAG_REGEX = '<[^!][^>]*?>' [static, private]

Definition at line 49 of file trans.py.

Definition at line 65 of file trans.py.

Definition at line 64 of file trans.py.

Definition at line 68 of file trans.py.

Definition at line 62 of file trans.py.

Definition at line 61 of file trans.py.

Definition at line 56 of file trans.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


pyclearsilver
Author(s): Scott Hassan/hassan@willowgarage.com
autogenerated on Sat Mar 2 14:23:47 2013