auth log messages are not longer translated, thanks Anthony
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.6.0-development+timestamp.2013.07.07.12.24.46
|
||||
Version 2.6.0-development+timestamp.2013.07.08.01.20.40
|
||||
|
||||
@@ -1747,6 +1747,9 @@ class Auth(object):
|
||||
else:
|
||||
user_id = None # user unknown
|
||||
vars = vars or {}
|
||||
# log messages should not be translated
|
||||
if type(descrption).__name__ == 'lazyT':
|
||||
description = description.m
|
||||
self.table_event().insert(
|
||||
description=str(description % vars),
|
||||
origin=origin, user_id=user_id)
|
||||
|
||||
Reference in New Issue
Block a user