Translate docstrings.

This commit is contained in:
Pavel Zuna
2011-02-10 13:00:00 -05:00
committed by Rob Crittenden
parent bbc94034b0
commit 8145952752
2 changed files with 8 additions and 4 deletions

View File

@@ -181,7 +181,7 @@ class Plugin(ReadOnly):
self.bases = tuple(
'%s.%s' % (b.__module__, b.__name__) for b in cls.__bases__
)
self.doc = inspect.getdoc(cls)
self.doc = _(inspect.getdoc(cls))
if self.doc is None:
self.summary = '<%s>' % self.fullname
else: