--- a/i18n/check-translation.py Fri Aug 15 04:37:45 2014 +0200
+++ b/i18n/check-translation.py Fri Aug 15 16:20:47 2014 +0200
@@ -7,7 +7,7 @@
checkers = []
-def checker(level, msgidpat):
+def levelchecker(level, msgidpat):
def decorator(func):
if msgidpat:
match = re.compile(msgidpat).search
@@ -33,7 +33,7 @@
####################
def fatalchecker(msgidpat=None):
- return checker('fatal', msgidpat)
+ return levelchecker('fatal', msgidpat)
@fatalchecker(r'\$\$')
def promptchoice(pe):
@@ -64,7 +64,7 @@
####################
def warningchecker(msgidpat=None):
- return checker('warning', msgidpat)
+ return levelchecker('warning', msgidpat)
@warningchecker()
def taildoublecolons(pe):