Back to index

moin  1.9.0~rc2
Classes | Functions | Variables
MoinMoin.i18n.tools.check_i18n Namespace Reference

Classes

class  TextFinder
class  Report

Functions

def visit

Variables

string output_encoding = 'utf-8'
list blacklist_files = []
list blacklist_langs = []
 MoinMoin_dir = os.curdir
tuple textFinder = TextFinder()
int found = 0
int unique = 0
int bad = 0
tuple path = os.path.join(root, name)
tuple new_unique = len(textFinder.dictionary())
tuple new_found = textFinder.found()
tuple new_bad = textFinder.bad()
list languages = sys.argv[1:]
dictionary report = {}
list dict = report[lang]

Function Documentation

def MoinMoin.i18n.tools.check_i18n.visit (   path,
  visitor 
)

Definition at line 173 of file check_i18n.py.

00173 
00174 def visit(path, visitor):
00175     visitor.setFilename(path)
00176     tree = compiler.parseFile(path)
00177     compiler.walk(tree, visitor)
00178 
00179 
00180 # MoinMoin specific stuff follows
00181 


Variable Documentation

Definition at line 259 of file check_i18n.py.

Definition at line 34 of file check_i18n.py.

Definition at line 35 of file check_i18n.py.

Definition at line 340 of file check_i18n.py.

Definition at line 257 of file check_i18n.py.

Definition at line 315 of file check_i18n.py.

Definition at line 243 of file check_i18n.py.

tuple MoinMoin.i18n.tools.check_i18n.new_bad = textFinder.bad()

Definition at line 276 of file check_i18n.py.

tuple MoinMoin.i18n.tools.check_i18n.new_found = textFinder.found()

Definition at line 272 of file check_i18n.py.

tuple MoinMoin.i18n.tools.check_i18n.new_unique = len(textFinder.dictionary())

Definition at line 271 of file check_i18n.py.

Definition at line 27 of file check_i18n.py.

tuple MoinMoin.i18n.tools.check_i18n.path = os.path.join(root, name)

Definition at line 266 of file check_i18n.py.

Definition at line 327 of file check_i18n.py.

Definition at line 256 of file check_i18n.py.

Definition at line 258 of file check_i18n.py.