Package s3 :: Module s3translate :: Class TranslateParseFiles
[frames] | no frames]

Class TranslateParseFiles

source code

object --+
         |
        TranslateParseFiles

Class to extract strings to translate from code files

Instance Methods
 
__init__(self)
Initializes all object variables
source code
 
parseList(self, entry, tmpstr)
Recursive function to extract strings from a parse tree
source code
 
parseConfig(self, spmod, strings, entry, modlist)
Function to extract strings from config.py / 000_config.py
source code
 
parseS3cfg(self, spmod, strings, entry, modlist)
Function to extract the strings from s3cfg.py
source code
 
parseMenu(self, spmod, strings, entry, level)
Function to extract the strings from menus.py
source code
 
parseAll(self, strings, entry)
Function to extract all the strings from a file
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

Initializes all object variables

Overrides: object.__init__

parseList(self, entry, tmpstr)

source code 

Recursive function to extract strings from a parse tree

parseConfig(self, spmod, strings, entry, modlist)

source code 

Function to extract strings from config.py / 000_config.py

parseS3cfg(self, spmod, strings, entry, modlist)

source code 

Function to extract the strings from s3cfg.py

parseMenu(self, spmod, strings, entry, level)

source code 

Function to extract the strings from menus.py

parseAll(self, strings, entry)

source code 

Function to extract all the strings from a file