NewsFeaturesDownloadsDevelopmentSupportAbout Us

lifetype-1.1.6/bin-devel/chklocale.py File Reference

Go to the source code of this file.


Namespaces

namespace  chklocale

Classes

class  chklocale.mySys

Variables

tuple chklocale.params = mySys( sys.argv )
tuple chklocale.keysOnly = params.isArg( "--keys" )
tuple chklocale.localeFile = open( sys.argv[1], 'r' )
string chklocale.pattern = "\$messages\[\"(.+)\"] *= \"(.*)\n"
tuple chklocale.regExp = re.compile( pattern, re.IGNORECASE|re.MULTILINE|re.DOTALL )
list chklocale.result = []
tuple chklocale.grp = regExp.search( line )
tuple chklocale.item = grp.group(1)